/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Enable all font customizations */ export type EnableCustomFonts = boolean; /** * Reserved for future use to provide backwards compatibility */ export type ConfigurationVersion = string; export type IFontFace = IFontFacePrimitive[] | IFontFacePrimitive; export type IFontFacePrimitive = IFontFaceCamel | IFontFaceCanonical; export type IFontFaceCamel = { fontFamily: string; [k: string]: any | undefined; } & IFontFaceCommon; /** * This interface was referenced by `IJSSRoot`'s JSON-Schema definition * via the `patternProperty` ".*". */ export type ICSSOM = | ICSSOMPrimitive | ICSSOMPrimitive[] | { [k: string]: ICSSOM; }; export type ICSSOMPrimitive = string | number; export type IFontFaceCanonical = { 'font-family': string; [k: string]: any | undefined; } & IFontFaceCommon; /** * Settings for JupyterLab Fonts */ export interface Fonts { enabled?: EnableCustomFonts; version?: ConfigurationVersion; styles?: GlobalStyles; fonts?: EmbeddedFonts; fontLicenses?: EmbeddedFontLicenses; [k: string]: any | undefined; } /** * JSS-compatible JSON applied to the Global scope */ export interface GlobalStyles { '@font-face'?: IFontFace; ':root'?: IJSSRoot; [k: string]: (ICSSOM | IJSS | IFontFace | IJSSRoot) | undefined; } export interface IFontFaceCommon { src: ICSSOM; 'unicode-range'?: ICSSOM; 'font-variant'?: ICSSOM; 'font-feature-settings'?: ICSSOM; 'font-variation-settings'?: ICSSOM; 'font-stretch'?: ICSSOM; 'font-weight'?: ICSSOM; 'font-style'?: ICSSOM; unicodeRange?: ICSSOM; fontVariant?: ICSSOM; fontFeatureSettings?: ICSSOM; fontVariationSettings?: ICSSOM; fontStretch?: ICSSOM; fontWeight?: ICSSOM; fontStyle?: ICSSOM; [k: string]: any | undefined; } export interface IJSSRoot { [k: string]: ICSSOM; } export interface IJSS { [k: string]: | ( | IJSS | { [k: string]: any | undefined; } ) | undefined; } /** * Embedded JSS `@font-face` declarations grouped by `font-family` */ export interface EmbeddedFonts { [k: string]: IFontFacePrimitive[] | undefined; } /** * Rights for embedded fonts */ export interface EmbeddedFontLicenses { [k: string]: IFontLicensePrimitive; } /** * This interface was referenced by `EmbeddedFontLicenses`'s JSON-Schema definition * via the `patternProperty` ".*". */ export interface IFontLicensePrimitive { name: string; spdx: string; text: string; holders: string[]; [k: string]: any | undefined; }