altair-graphql-core 7.2.1 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/script/evaluator-client-engine.js +1 -1
- package/build/cjs/script/types.d.ts +1 -1
- package/build/cjs/types/state/settings.interfaces.d.ts +20 -0
- package/build/partial_settings.schema.json +20 -0
- package/build/script/evaluator-client-engine.js +1 -1
- package/build/script/types.d.ts +1 -1
- package/build/settings.schema.json +20 -0
- package/build/types/state/settings.interfaces.d.ts +20 -0
- package/build/validate-partial-settings.js +1 -1
- package/build/validate-settings.js +1 -1
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ class ScriptEvaluatorClientEngine {
|
|
|
9
9
|
this.timeout = timeout;
|
|
10
10
|
}
|
|
11
11
|
async getClient() {
|
|
12
|
-
const client = this.client ?? this.engineFactory.create();
|
|
12
|
+
const client = this.client ?? (await this.engineFactory.create());
|
|
13
13
|
this.client = client;
|
|
14
14
|
return client;
|
|
15
15
|
}
|
|
@@ -119,7 +119,7 @@ export interface ScriptWorkerMessageData {
|
|
|
119
119
|
payload: any;
|
|
120
120
|
}
|
|
121
121
|
export interface ScriptEvaluatorClientFactory {
|
|
122
|
-
create: () => ScriptEvaluatorClient
|
|
122
|
+
create: () => Promise<ScriptEvaluatorClient>;
|
|
123
123
|
}
|
|
124
124
|
export declare abstract class ScriptEvaluatorClient {
|
|
125
125
|
abstract subscribe<T extends ScriptEvent>(type: T, handler: (type: T, e: ScriptEventData<T>) => void): void;
|
|
@@ -128,6 +128,26 @@ export interface SettingsState {
|
|
|
128
128
|
* Enable the scrollbar in the tab list
|
|
129
129
|
*/
|
|
130
130
|
enableTablistScrollbar?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Whether to include descriptions in the introspection result
|
|
133
|
+
*/
|
|
134
|
+
'introspection.options.description'?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Whether to include `specifiedByUrl` in the introspection result
|
|
137
|
+
*/
|
|
138
|
+
'introspection.options.specifiedByUrl'?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Whether to include `isRepeatable` flag on directives
|
|
141
|
+
*/
|
|
142
|
+
'introspection.options.directiveIsRepeatable'?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Whether to include `description` field on schema
|
|
145
|
+
*/
|
|
146
|
+
'introspection.options.schemaDescription'?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Whether target GraphQL server supports deprecation of input values
|
|
149
|
+
*/
|
|
150
|
+
'introspection.options.inputValueDeprecation'?: boolean;
|
|
131
151
|
}
|
|
132
152
|
export {};
|
|
133
153
|
//# sourceMappingURL=settings.interfaces.d.ts.map
|
|
@@ -296,6 +296,26 @@
|
|
|
296
296
|
"description": "Number of items allowed in history pane",
|
|
297
297
|
"type": "number"
|
|
298
298
|
},
|
|
299
|
+
"introspection.options.description": {
|
|
300
|
+
"description": "Whether to include descriptions in the introspection result",
|
|
301
|
+
"type": "boolean"
|
|
302
|
+
},
|
|
303
|
+
"introspection.options.directiveIsRepeatable": {
|
|
304
|
+
"description": "Whether to include `isRepeatable` flag on directives",
|
|
305
|
+
"type": "boolean"
|
|
306
|
+
},
|
|
307
|
+
"introspection.options.inputValueDeprecation": {
|
|
308
|
+
"description": "Whether target GraphQL server supports deprecation of input values",
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
},
|
|
311
|
+
"introspection.options.schemaDescription": {
|
|
312
|
+
"description": "Whether to include `description` field on schema",
|
|
313
|
+
"type": "boolean"
|
|
314
|
+
},
|
|
315
|
+
"introspection.options.specifiedByUrl": {
|
|
316
|
+
"description": "Whether to include `specifiedByUrl` in the introspection result",
|
|
317
|
+
"type": "boolean"
|
|
318
|
+
},
|
|
299
319
|
"language": {
|
|
300
320
|
"$ref": "#/definitions/SettingsLanguage",
|
|
301
321
|
"description": "Specifies the language"
|
|
@@ -6,7 +6,7 @@ export class ScriptEvaluatorClientEngine {
|
|
|
6
6
|
this.timeout = timeout;
|
|
7
7
|
}
|
|
8
8
|
async getClient() {
|
|
9
|
-
const client = this.client ?? this.engineFactory.create();
|
|
9
|
+
const client = this.client ?? (await this.engineFactory.create());
|
|
10
10
|
this.client = client;
|
|
11
11
|
return client;
|
|
12
12
|
}
|
package/build/script/types.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export interface ScriptWorkerMessageData {
|
|
|
119
119
|
payload: any;
|
|
120
120
|
}
|
|
121
121
|
export interface ScriptEvaluatorClientFactory {
|
|
122
|
-
create: () => ScriptEvaluatorClient
|
|
122
|
+
create: () => Promise<ScriptEvaluatorClient>;
|
|
123
123
|
}
|
|
124
124
|
export declare abstract class ScriptEvaluatorClient {
|
|
125
125
|
abstract subscribe<T extends ScriptEvent>(type: T, handler: (type: T, e: ScriptEventData<T>) => void): void;
|
|
@@ -296,6 +296,26 @@
|
|
|
296
296
|
"description": "Number of items allowed in history pane",
|
|
297
297
|
"type": "number"
|
|
298
298
|
},
|
|
299
|
+
"introspection.options.description": {
|
|
300
|
+
"description": "Whether to include descriptions in the introspection result",
|
|
301
|
+
"type": "boolean"
|
|
302
|
+
},
|
|
303
|
+
"introspection.options.directiveIsRepeatable": {
|
|
304
|
+
"description": "Whether to include `isRepeatable` flag on directives",
|
|
305
|
+
"type": "boolean"
|
|
306
|
+
},
|
|
307
|
+
"introspection.options.inputValueDeprecation": {
|
|
308
|
+
"description": "Whether target GraphQL server supports deprecation of input values",
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
},
|
|
311
|
+
"introspection.options.schemaDescription": {
|
|
312
|
+
"description": "Whether to include `description` field on schema",
|
|
313
|
+
"type": "boolean"
|
|
314
|
+
},
|
|
315
|
+
"introspection.options.specifiedByUrl": {
|
|
316
|
+
"description": "Whether to include `specifiedByUrl` in the introspection result",
|
|
317
|
+
"type": "boolean"
|
|
318
|
+
},
|
|
299
319
|
"language": {
|
|
300
320
|
"$ref": "#/definitions/SettingsLanguage",
|
|
301
321
|
"description": "Specifies the language"
|
|
@@ -128,6 +128,26 @@ export interface SettingsState {
|
|
|
128
128
|
* Enable the scrollbar in the tab list
|
|
129
129
|
*/
|
|
130
130
|
enableTablistScrollbar?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Whether to include descriptions in the introspection result
|
|
133
|
+
*/
|
|
134
|
+
'introspection.options.description'?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Whether to include `specifiedByUrl` in the introspection result
|
|
137
|
+
*/
|
|
138
|
+
'introspection.options.specifiedByUrl'?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Whether to include `isRepeatable` flag on directives
|
|
141
|
+
*/
|
|
142
|
+
'introspection.options.directiveIsRepeatable'?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Whether to include `description` field on schema
|
|
145
|
+
*/
|
|
146
|
+
'introspection.options.schemaDescription'?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Whether target GraphQL server supports deprecation of input values
|
|
149
|
+
*/
|
|
150
|
+
'introspection.options.inputValueDeprecation'?: boolean;
|
|
131
151
|
}
|
|
132
152
|
export {};
|
|
133
153
|
//# sourceMappingURL=settings.interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["doc.hideDeprecatedItems"] !== undefined){const _errs15 = errors;if(typeof data["doc.hideDeprecatedItems"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/doc.hideDeprecatedItems",schemaPath:"#/properties/doc.hideDeprecatedItems/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data8 = data["editor.shortcuts"];const _errs17 = errors;if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs20 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs22 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data11 = data.historyDepth;const _errs24 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data12 = data.language;const _errs26 = errors;if(typeof data12 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data12 === "cs-CZ") || (data12 === "de-DE")) || (data12 === "en-US")) || (data12 === "es-ES")) || (data12 === "fr-FR")) || (data12 === "it-IT")) || (data12 === "ja-JP")) || (data12 === "ko-KR")) || (data12 === "pl-PL")) || (data12 === "pt-BR")) || (data12 === "ro-RO")) || (data12 === "ru-RU")) || (data12 === "sr-SP")) || (data12 === "uk-UA")) || (data12 === "vi-VN")) || (data12 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs26 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data13 = data["plugin.list"];const _errs29 = errors;if(errors === _errs29){if(Array.isArray(data13)){var valid3 = true;const len0 = data13.length;for(let i0=0; i0<len0; i0++){const _errs31 = errors;if(typeof data13[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs31 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs29 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs33 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs35 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs35 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data17 = data["response.stream.strategy"];const _errs37 = errors;if(typeof data17 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data17 === "append") || (data17 === "auto")) || (data17 === "concatenate")) || (data17 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs37 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs40 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs40 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data19 = data["script.allowedCookies"];const _errs42 = errors;if(errors === _errs42){if(Array.isArray(data19)){var valid5 = true;const len1 = data19.length;for(let i1=0; i1<len1; i1++){const _errs44 = errors;if(typeof data19[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs44 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs42 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data21 = data.tabSize;const _errs46 = errors;if(!((typeof data21 == "number") && (isFinite(data21)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs46 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs48 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs50 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs52 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data25 = data["theme.editorFontSize"];const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data26 = data["theme.fontsize"];const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs58 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs58 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs59 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs59 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
|
|
1
|
+
"use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"introspection.options.description":{"description":"Whether to include descriptions in the introspection result","type":"boolean"},"introspection.options.directiveIsRepeatable":{"description":"Whether to include `isRepeatable` flag on directives","type":"boolean"},"introspection.options.inputValueDeprecation":{"description":"Whether target GraphQL server supports deprecation of input values","type":"boolean"},"introspection.options.schemaDescription":{"description":"Whether to include `description` field on schema","type":"boolean"},"introspection.options.specifiedByUrl":{"description":"Whether to include `specifiedByUrl` in the introspection result","type":"boolean"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["doc.hideDeprecatedItems"] !== undefined){const _errs15 = errors;if(typeof data["doc.hideDeprecatedItems"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/doc.hideDeprecatedItems",schemaPath:"#/properties/doc.hideDeprecatedItems/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data8 = data["editor.shortcuts"];const _errs17 = errors;if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs20 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs22 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data11 = data.historyDepth;const _errs24 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.description"] !== undefined){const _errs26 = errors;if(typeof data["introspection.options.description"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.description",schemaPath:"#/properties/introspection.options.description/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs26 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.directiveIsRepeatable"] !== undefined){const _errs28 = errors;if(typeof data["introspection.options.directiveIsRepeatable"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.directiveIsRepeatable",schemaPath:"#/properties/introspection.options.directiveIsRepeatable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.inputValueDeprecation"] !== undefined){const _errs30 = errors;if(typeof data["introspection.options.inputValueDeprecation"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.inputValueDeprecation",schemaPath:"#/properties/introspection.options.inputValueDeprecation/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs30 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.schemaDescription"] !== undefined){const _errs32 = errors;if(typeof data["introspection.options.schemaDescription"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.schemaDescription",schemaPath:"#/properties/introspection.options.schemaDescription/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs32 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.specifiedByUrl"] !== undefined){const _errs34 = errors;if(typeof data["introspection.options.specifiedByUrl"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.specifiedByUrl",schemaPath:"#/properties/introspection.options.specifiedByUrl/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs34 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data17 = data.language;const _errs36 = errors;if(typeof data17 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data17 === "cs-CZ") || (data17 === "de-DE")) || (data17 === "en-US")) || (data17 === "es-ES")) || (data17 === "fr-FR")) || (data17 === "it-IT")) || (data17 === "ja-JP")) || (data17 === "ko-KR")) || (data17 === "pl-PL")) || (data17 === "pt-BR")) || (data17 === "ro-RO")) || (data17 === "ru-RU")) || (data17 === "sr-SP")) || (data17 === "uk-UA")) || (data17 === "vi-VN")) || (data17 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs36 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data18 = data["plugin.list"];const _errs39 = errors;if(errors === _errs39){if(Array.isArray(data18)){var valid3 = true;const len0 = data18.length;for(let i0=0; i0<len0; i0++){const _errs41 = errors;if(typeof data18[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs41 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs39 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs43 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs43 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs45 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs45 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data22 = data["response.stream.strategy"];const _errs47 = errors;if(typeof data22 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data22 === "append") || (data22 === "auto")) || (data22 === "concatenate")) || (data22 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs47 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs50 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data24 = data["script.allowedCookies"];const _errs52 = errors;if(errors === _errs52){if(Array.isArray(data24)){var valid5 = true;const len1 = data24.length;for(let i1=0; i1<len1; i1++){const _errs54 = errors;if(typeof data24[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs54 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data26 = data.tabSize;const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs58 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs58 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs60 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs60 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs62 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs62 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data30 = data["theme.editorFontSize"];const _errs64 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs64 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data31 = data["theme.fontsize"];const _errs66 = errors;if(!((typeof data31 == "number") && (isFinite(data31)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs66 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs68 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs68 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs69 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs69 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["doc.hideDeprecatedItems"] !== undefined){const _errs15 = errors;if(typeof data["doc.hideDeprecatedItems"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/doc.hideDeprecatedItems",schemaPath:"#/properties/doc.hideDeprecatedItems/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data8 = data["editor.shortcuts"];const _errs17 = errors;if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs20 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs22 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data11 = data.historyDepth;const _errs24 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data12 = data.language;const _errs26 = errors;if(typeof data12 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data12 === "cs-CZ") || (data12 === "de-DE")) || (data12 === "en-US")) || (data12 === "es-ES")) || (data12 === "fr-FR")) || (data12 === "it-IT")) || (data12 === "ja-JP")) || (data12 === "ko-KR")) || (data12 === "pl-PL")) || (data12 === "pt-BR")) || (data12 === "ro-RO")) || (data12 === "ru-RU")) || (data12 === "sr-SP")) || (data12 === "uk-UA")) || (data12 === "vi-VN")) || (data12 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs26 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data13 = data["plugin.list"];const _errs29 = errors;if(errors === _errs29){if(Array.isArray(data13)){var valid3 = true;const len0 = data13.length;for(let i0=0; i0<len0; i0++){const _errs31 = errors;if(typeof data13[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs31 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs29 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs33 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs35 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs35 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data17 = data["response.stream.strategy"];const _errs37 = errors;if(typeof data17 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data17 === "append") || (data17 === "auto")) || (data17 === "concatenate")) || (data17 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs37 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs40 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs40 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data19 = data["script.allowedCookies"];const _errs42 = errors;if(errors === _errs42){if(Array.isArray(data19)){var valid5 = true;const len1 = data19.length;for(let i1=0; i1<len1; i1++){const _errs44 = errors;if(typeof data19[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs44 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs42 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data21 = data.tabSize;const _errs46 = errors;if(!((typeof data21 == "number") && (isFinite(data21)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs46 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs48 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs48 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs50 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs52 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data25 = data["theme.editorFontSize"];const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data26 = data["theme.fontsize"];const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs58 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs58 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs59 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs59 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
|
|
1
|
+
"use strict";module.exports = validate20;module.exports.default = validate20;const schema22 = {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"MultiResponseStrategy":{"enum":["append","auto","concatenate","patch"],"type":"string"},"Record<string,string>":{"type":"object"},"RecursivePartial<ITheme>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"},"RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>":{"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"},"RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>":{"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"},"RecursivePartial<{color:string;opacity:number;}>":{"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"},"RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>":{"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{default:string;}>_1":{"properties":{"default":{"type":"string"}},"type":"object"},"RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>":{"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"},"RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>":{"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"},"SettingsLanguage":{"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"}},"properties":{"addQueryDepthLimit":{"description":"Specifies how deep the 'Add query' functionality should go. You can specify any valid positive integer.","type":"number"},"alert.disableUpdateNotification":{"description":"Disable update notification","type":"boolean"},"alert.disableWarnings":{"description":"Disable warning alerts","type":"boolean"},"beta.disable.newEditor":{"description":"Disable new editor beta","type":"boolean"},"beta.disable.newScript":{"description":"Disable new script beta","type":"boolean"},"disableLineNumbers":{"description":"Disable line numbers","type":"boolean"},"disablePushNotification":{"default":false,"description":"Specifies if native push notifications should be disabled","type":"boolean"},"doc.hideDeprecatedItems":{"description":"Hides deprecated Doc items","type":"boolean"},"editor.shortcuts":{"$ref":"#/definitions/Record<string,string>","description":"Contains shortcut to action mapping"},"enableExperimental":{"default":false,"description":"Enable experimental features.\nNote: The features might be unstable","type":"boolean"},"enableTablistScrollbar":{"description":"Enable the scrollbar in the tab list","type":"boolean"},"historyDepth":{"description":"Number of items allowed in history pane","type":"number"},"introspection.options.description":{"description":"Whether to include descriptions in the introspection result","type":"boolean"},"introspection.options.directiveIsRepeatable":{"description":"Whether to include `isRepeatable` flag on directives","type":"boolean"},"introspection.options.inputValueDeprecation":{"description":"Whether target GraphQL server supports deprecation of input values","type":"boolean"},"introspection.options.schemaDescription":{"description":"Whether to include `description` field on schema","type":"boolean"},"introspection.options.specifiedByUrl":{"description":"Whether to include `specifiedByUrl` in the introspection result","type":"boolean"},"language":{"$ref":"#/definitions/SettingsLanguage","description":"Specifies the language"},"plugin.list":{"default":[],"description":"Specifies a list of enabled plugins.\n\nPlugins are specified in a string format `<plugin-source>:<plugin-name>@<version>::[<opt>]->[<opt-value>]`:\n- `<plugin-source>`: The source of the plugin. Can be 'npm', 'url' or 'github'\n- `<plugin-name>` (required): The name of the plugin. Plugin names must begin with `altair-graphql-plugin-`\n- `<version>`: The version of the plugin. If not specified, the latest version will be used\n- `[<opt>]->[<opt-value>]`: Additional configuration for the plugin. This is used when you specify the source as 'url'. In this case, you can specify the URL where the plugin is hosted.","items":{"type":"string"},"type":"array"},"request.withCredentials":{"description":"Send requests with credentials (cookies)","type":"boolean"},"response.hideExtensions":{"description":"Hides extensions object","type":"boolean"},"response.stream.strategy":{"$ref":"#/definitions/MultiResponseStrategy","description":"Determine the handling strategy for multiple responses"},"schema.reloadOnStart":{"description":"Reload schema on app start","type":"boolean"},"script.allowedCookies":{"default":[],"description":"List of cookies to be accessible in the pre-request script","items":{"type":"string"},"type":"array"},"tabSize":{"description":"Specifies the tab size for the editor","type":"number"},"theme":{"default":"'system'","description":"Specifies the theme. Themes available by default are 'light', 'dark', 'system', 'dracula'.\nAdditional themes can be added via plugins.","type":"string"},"theme.dark":{"description":"Specifies the theme for dark mode","type":"string"},"theme.editorFontFamily":{"description":"Specifies the font family for the editors. Any valid CSS font family combination can be used here","type":"string"},"theme.editorFontSize":{"description":"Specifies the font size for the editors","type":"number"},"theme.fontsize":{"default":24,"description":"Specifies the base font size","type":"number"},"themeConfig":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Specify custom theme config to override the specified theme values"},"themeConfig.dark":{"$ref":"#/definitions/RecursivePartial<ITheme>","description":"Theme config object for dark mode"}},"type":"object"};const schema23 = {"type":"object"};const schema24 = {"enum":["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],"type":"string"};const schema25 = {"enum":["append","auto","concatenate","patch"],"type":"string"};const func0 = require("ajv/dist/runtime/equal").default;const schema26 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>"},"easing":{"type":"string"},"editor":{"$ref":"#/definitions/RecursivePartial<{fontFamily:{default:string;};fontSize:number;colors:{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;};}>"},"isSystem":{"type":"boolean"},"shadow":{"$ref":"#/definitions/RecursivePartial<{color:string;opacity:number;}>"},"type":{"$ref":"#/definitions/RecursivePartial<{fontSize:{base:number;remBase:number;body:number;bodySmaller:number;};fontFamily:{default:string;};}>"}},"type":"object"};const schema27 = {"properties":{"bg":{"type":"string"},"black":{"type":"string"},"blue":{"type":"string"},"border":{"type":"string"},"cerise":{"type":"string"},"darkGray":{"type":"string"},"darkPurple":{"type":"string"},"font":{"type":"string"},"gray":{"type":"string"},"green":{"type":"string"},"headerBg":{"type":"string"},"lightGray":{"type":"string"},"lightRed":{"type":"string"},"offBg":{"type":"string"},"offBorder":{"type":"string"},"offFont":{"type":"string"},"orange":{"type":"string"},"primary":{"type":"string"},"red":{"type":"string"},"rose":{"type":"string"},"secondary":{"type":"string"},"tertiary":{"type":"string"},"white":{"type":"string"},"yellow":{"type":"string"}},"type":"object"};const schema31 = {"properties":{"color":{"type":"string"},"opacity":{"type":"number"}},"type":"object"};const schema28 = {"properties":{"colors":{"$ref":"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>"},"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>_1"},"fontSize":{"type":"number"}},"type":"object"};const schema29 = {"properties":{"atom":{"type":"string"},"attribute":{"type":"string"},"builtin":{"type":"string"},"comment":{"type":"string"},"cursor":{"type":"string"},"definition":{"type":"string"},"keyword":{"type":"string"},"number":{"type":"string"},"property":{"type":"string"},"punctuation":{"type":"string"},"string":{"type":"string"},"variable":{"type":"string"}},"type":"object"};const schema30 = {"properties":{"default":{"type":"string"}},"type":"object"};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.atom !== undefined){const _errs4 = errors;if(typeof data0.atom !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/atom",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/atom/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.attribute !== undefined){const _errs6 = errors;if(typeof data0.attribute !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/attribute",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/attribute/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.builtin !== undefined){const _errs8 = errors;if(typeof data0.builtin !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/builtin",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/builtin/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.comment !== undefined){const _errs10 = errors;if(typeof data0.comment !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/comment",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/comment/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cursor !== undefined){const _errs12 = errors;if(typeof data0.cursor !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/cursor",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/cursor/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.definition !== undefined){const _errs14 = errors;if(typeof data0.definition !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/definition",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/definition/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.keyword !== undefined){const _errs16 = errors;if(typeof data0.keyword !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/keyword",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/keyword/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.number !== undefined){const _errs18 = errors;if(typeof data0.number !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/number",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/number/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.property !== undefined){const _errs20 = errors;if(typeof data0.property !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/property",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/property/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.punctuation !== undefined){const _errs22 = errors;if(typeof data0.punctuation !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/punctuation",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/punctuation/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.string !== undefined){const _errs24 = errors;if(typeof data0.string !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/string",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/string/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.variable !== undefined){const _errs26 = errors;if(typeof data0.variable !== "string"){validate22.errors = [{instancePath:instancePath+"/colors/variable",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/properties/variable/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}}}}}}}}}}}}}else {validate22.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{comment:string;string:string;number:string;variable:string;keyword:string;atom:string;attribute:string;property:string;punctuation:string;definition:string;builtin:string;cursor:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontFamily !== undefined){let data13 = data.fontFamily;const _errs28 = errors;const _errs29 = errors;if(errors === _errs29){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.default !== undefined){if(typeof data13.default !== "string"){validate22.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate22.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>_1/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data15 = data.fontSize;const _errs33 = errors;if(!((typeof data15 == "number") && (isFinite(data15)))){validate22.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/properties/fontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs33 === errors;}else {var valid0 = true;}}}}else {validate22.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate22.errors = vErrors;return errors === 0;}const schema32 = {"properties":{"fontFamily":{"$ref":"#/definitions/RecursivePartial<{default:string;}>"},"fontSize":{"$ref":"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>"}},"type":"object"};const schema33 = {"properties":{"default":{"type":"string"}},"type":"object"};const schema34 = {"properties":{"base":{"type":"number"},"body":{"type":"number"},"bodySmaller":{"type":"number"},"remBase":{"type":"number"}},"type":"object"};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.fontFamily !== undefined){let data0 = data.fontFamily;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.default !== undefined){if(typeof data0.default !== "string"){validate24.errors = [{instancePath:instancePath+"/fontFamily/default",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/properties/default/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}else {validate24.errors = [{instancePath:instancePath+"/fontFamily",schemaPath:"#/definitions/RecursivePartial<{default:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.fontSize !== undefined){let data2 = data.fontSize;const _errs6 = errors;const _errs7 = errors;if(errors === _errs7){if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.base !== undefined){let data3 = data2.base;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate24.errors = [{instancePath:instancePath+"/fontSize/base",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/base/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs9 === errors;}else {var valid4 = true;}if(valid4){if(data2.body !== undefined){let data4 = data2.body;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate24.errors = [{instancePath:instancePath+"/fontSize/body",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/body/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs11 === errors;}else {var valid4 = true;}if(valid4){if(data2.bodySmaller !== undefined){let data5 = data2.bodySmaller;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate24.errors = [{instancePath:instancePath+"/fontSize/bodySmaller",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/bodySmaller/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs13 === errors;}else {var valid4 = true;}if(valid4){if(data2.remBase !== undefined){let data6 = data2.remBase;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate24.errors = [{instancePath:instancePath+"/fontSize/remBase",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/properties/remBase/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs15 === errors;}else {var valid4 = true;}}}}}else {validate24.errors = [{instancePath:instancePath+"/fontSize",schemaPath:"#/definitions/RecursivePartial<{base:number;remBase:number;body:number;bodySmaller:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}else {validate24.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate24.errors = vErrors;return errors === 0;}function validate21(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.colors !== undefined){let data0 = data.colors;const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.bg !== undefined){const _errs4 = errors;if(typeof data0.bg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/bg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/bg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.black !== undefined){const _errs6 = errors;if(typeof data0.black !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/black",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/black/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.blue !== undefined){const _errs8 = errors;if(typeof data0.blue !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/blue",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/blue/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}if(valid2){if(data0.border !== undefined){const _errs10 = errors;if(typeof data0.border !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/border",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/border/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs10 === errors;}else {var valid2 = true;}if(valid2){if(data0.cerise !== undefined){const _errs12 = errors;if(typeof data0.cerise !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/cerise",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/cerise/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs12 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkGray !== undefined){const _errs14 = errors;if(typeof data0.darkGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs14 === errors;}else {var valid2 = true;}if(valid2){if(data0.darkPurple !== undefined){const _errs16 = errors;if(typeof data0.darkPurple !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/darkPurple",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/darkPurple/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs16 === errors;}else {var valid2 = true;}if(valid2){if(data0.font !== undefined){const _errs18 = errors;if(typeof data0.font !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/font",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/font/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs18 === errors;}else {var valid2 = true;}if(valid2){if(data0.gray !== undefined){const _errs20 = errors;if(typeof data0.gray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/gray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/gray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs20 === errors;}else {var valid2 = true;}if(valid2){if(data0.green !== undefined){const _errs22 = errors;if(typeof data0.green !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/green",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/green/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs22 === errors;}else {var valid2 = true;}if(valid2){if(data0.headerBg !== undefined){const _errs24 = errors;if(typeof data0.headerBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/headerBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/headerBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs24 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightGray !== undefined){const _errs26 = errors;if(typeof data0.lightGray !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightGray",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightGray/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs26 === errors;}else {var valid2 = true;}if(valid2){if(data0.lightRed !== undefined){const _errs28 = errors;if(typeof data0.lightRed !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/lightRed",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/lightRed/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs28 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBg !== undefined){const _errs30 = errors;if(typeof data0.offBg !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBg",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBg/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs30 === errors;}else {var valid2 = true;}if(valid2){if(data0.offBorder !== undefined){const _errs32 = errors;if(typeof data0.offBorder !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offBorder",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offBorder/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs32 === errors;}else {var valid2 = true;}if(valid2){if(data0.offFont !== undefined){const _errs34 = errors;if(typeof data0.offFont !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/offFont",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/offFont/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data0.orange !== undefined){const _errs36 = errors;if(typeof data0.orange !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/orange",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/orange/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data0.primary !== undefined){const _errs38 = errors;if(typeof data0.primary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/primary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/primary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data0.red !== undefined){const _errs40 = errors;if(typeof data0.red !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/red",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/red/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data0.rose !== undefined){const _errs42 = errors;if(typeof data0.rose !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/rose",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/rose/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}if(valid2){if(data0.secondary !== undefined){const _errs44 = errors;if(typeof data0.secondary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/secondary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/secondary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}if(valid2){if(data0.tertiary !== undefined){const _errs46 = errors;if(typeof data0.tertiary !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/tertiary",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/tertiary/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs46 === errors;}else {var valid2 = true;}if(valid2){if(data0.white !== undefined){const _errs48 = errors;if(typeof data0.white !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/white",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/white/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs48 === errors;}else {var valid2 = true;}if(valid2){if(data0.yellow !== undefined){const _errs50 = errors;if(typeof data0.yellow !== "string"){validate21.errors = [{instancePath:instancePath+"/colors/yellow",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/properties/yellow/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs50 === errors;}else {var valid2 = true;}}}}}}}}}}}}}}}}}}}}}}}}}else {validate21.errors = [{instancePath:instancePath+"/colors",schemaPath:"#/definitions/RecursivePartial<{black:string;darkGray:string;gray:string;lightGray:string;white:string;green:string;blue:string;rose:string;cerise:string;red:string;orange:string;yellow:string;lightRed:string;darkPurple:string;primary:string;secondary:string;tertiary:string;bg:string;offBg:string;font:string;offFont:string;border:string;offBorder:string;headerBg:string;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.easing !== undefined){const _errs52 = errors;if(typeof data.easing !== "string"){validate21.errors = [{instancePath:instancePath+"/easing",schemaPath:"#/properties/easing/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.editor !== undefined){const _errs54 = errors;if(!(validate22(data.editor, {instancePath:instancePath+"/editor",parentData:data,parentDataProperty:"editor",rootData}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}var valid0 = _errs54 === errors;}else {var valid0 = true;}if(valid0){if(data.isSystem !== undefined){const _errs55 = errors;if(typeof data.isSystem !== "boolean"){validate21.errors = [{instancePath:instancePath+"/isSystem",schemaPath:"#/properties/isSystem/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs55 === errors;}else {var valid0 = true;}if(valid0){if(data.shadow !== undefined){let data28 = data.shadow;const _errs57 = errors;const _errs58 = errors;if(errors === _errs58){if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(data28.color !== undefined){const _errs60 = errors;if(typeof data28.color !== "string"){validate21.errors = [{instancePath:instancePath+"/shadow/color",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/color/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid4 = _errs60 === errors;}else {var valid4 = true;}if(valid4){if(data28.opacity !== undefined){let data30 = data28.opacity;const _errs62 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate21.errors = [{instancePath:instancePath+"/shadow/opacity",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/properties/opacity/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs62 === errors;}else {var valid4 = true;}}}else {validate21.errors = [{instancePath:instancePath+"/shadow",schemaPath:"#/definitions/RecursivePartial<{color:string;opacity:number;}>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs57 === errors;}else {var valid0 = true;}if(valid0){if(data.type !== undefined){const _errs64 = errors;if(!(validate24(data.type, {instancePath:instancePath+"/type",parentData:data,parentDataProperty:"type",rootData}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}var valid0 = _errs64 === errors;}else {var valid0 = true;}}}}}}}else {validate21.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate21.errors = vErrors;return errors === 0;}function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(data.addQueryDepthLimit !== undefined){let data0 = data.addQueryDepthLimit;const _errs1 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate20.errors = [{instancePath:instancePath+"/addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableUpdateNotification"] !== undefined){const _errs3 = errors;if(typeof data["alert.disableUpdateNotification"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableUpdateNotification",schemaPath:"#/properties/alert.disableUpdateNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs3 === errors;}else {var valid0 = true;}if(valid0){if(data["alert.disableWarnings"] !== undefined){const _errs5 = errors;if(typeof data["alert.disableWarnings"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/alert.disableWarnings",schemaPath:"#/properties/alert.disableWarnings/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newEditor"] !== undefined){const _errs7 = errors;if(typeof data["beta.disable.newEditor"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newEditor",schemaPath:"#/properties/beta.disable.newEditor/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs7 === errors;}else {var valid0 = true;}if(valid0){if(data["beta.disable.newScript"] !== undefined){const _errs9 = errors;if(typeof data["beta.disable.newScript"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/beta.disable.newScript",schemaPath:"#/properties/beta.disable.newScript/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs9 === errors;}else {var valid0 = true;}if(valid0){if(data.disableLineNumbers !== undefined){const _errs11 = errors;if(typeof data.disableLineNumbers !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disableLineNumbers",schemaPath:"#/properties/disableLineNumbers/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.disablePushNotification !== undefined){const _errs13 = errors;if(typeof data.disablePushNotification !== "boolean"){validate20.errors = [{instancePath:instancePath+"/disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}if(valid0){if(data["doc.hideDeprecatedItems"] !== undefined){const _errs15 = errors;if(typeof data["doc.hideDeprecatedItems"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/doc.hideDeprecatedItems",schemaPath:"#/properties/doc.hideDeprecatedItems/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs15 === errors;}else {var valid0 = true;}if(valid0){if(data["editor.shortcuts"] !== undefined){let data8 = data["editor.shortcuts"];const _errs17 = errors;if(!(data8 && typeof data8 == "object" && !Array.isArray(data8))){validate20.errors = [{instancePath:instancePath+"/editor.shortcuts",schemaPath:"#/definitions/Record<string,string>/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}var valid0 = _errs17 === errors;}else {var valid0 = true;}if(valid0){if(data.enableExperimental !== undefined){const _errs20 = errors;if(typeof data.enableExperimental !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableExperimental",schemaPath:"#/properties/enableExperimental/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs20 === errors;}else {var valid0 = true;}if(valid0){if(data.enableTablistScrollbar !== undefined){const _errs22 = errors;if(typeof data.enableTablistScrollbar !== "boolean"){validate20.errors = [{instancePath:instancePath+"/enableTablistScrollbar",schemaPath:"#/properties/enableTablistScrollbar/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs22 === errors;}else {var valid0 = true;}if(valid0){if(data.historyDepth !== undefined){let data11 = data.historyDepth;const _errs24 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate20.errors = [{instancePath:instancePath+"/historyDepth",schemaPath:"#/properties/historyDepth/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs24 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.description"] !== undefined){const _errs26 = errors;if(typeof data["introspection.options.description"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.description",schemaPath:"#/properties/introspection.options.description/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs26 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.directiveIsRepeatable"] !== undefined){const _errs28 = errors;if(typeof data["introspection.options.directiveIsRepeatable"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.directiveIsRepeatable",schemaPath:"#/properties/introspection.options.directiveIsRepeatable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs28 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.inputValueDeprecation"] !== undefined){const _errs30 = errors;if(typeof data["introspection.options.inputValueDeprecation"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.inputValueDeprecation",schemaPath:"#/properties/introspection.options.inputValueDeprecation/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs30 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.schemaDescription"] !== undefined){const _errs32 = errors;if(typeof data["introspection.options.schemaDescription"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.schemaDescription",schemaPath:"#/properties/introspection.options.schemaDescription/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs32 === errors;}else {var valid0 = true;}if(valid0){if(data["introspection.options.specifiedByUrl"] !== undefined){const _errs34 = errors;if(typeof data["introspection.options.specifiedByUrl"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/introspection.options.specifiedByUrl",schemaPath:"#/properties/introspection.options.specifiedByUrl/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs34 === errors;}else {var valid0 = true;}if(valid0){if(data.language !== undefined){let data17 = data.language;const _errs36 = errors;if(typeof data17 !== "string"){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((((((((((((((data17 === "cs-CZ") || (data17 === "de-DE")) || (data17 === "en-US")) || (data17 === "es-ES")) || (data17 === "fr-FR")) || (data17 === "it-IT")) || (data17 === "ja-JP")) || (data17 === "ko-KR")) || (data17 === "pl-PL")) || (data17 === "pt-BR")) || (data17 === "ro-RO")) || (data17 === "ru-RU")) || (data17 === "sr-SP")) || (data17 === "uk-UA")) || (data17 === "vi-VN")) || (data17 === "zh-CN"))){validate20.errors = [{instancePath:instancePath+"/language",schemaPath:"#/definitions/SettingsLanguage/enum",keyword:"enum",params:{allowedValues: schema24.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs36 === errors;}else {var valid0 = true;}if(valid0){if(data["plugin.list"] !== undefined){let data18 = data["plugin.list"];const _errs39 = errors;if(errors === _errs39){if(Array.isArray(data18)){var valid3 = true;const len0 = data18.length;for(let i0=0; i0<len0; i0++){const _errs41 = errors;if(typeof data18[i0] !== "string"){validate20.errors = [{instancePath:instancePath+"/plugin.list/" + i0,schemaPath:"#/properties/plugin.list/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs41 === errors;if(!valid3){break;}}}else {validate20.errors = [{instancePath:instancePath+"/plugin.list",schemaPath:"#/properties/plugin.list/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs39 === errors;}else {var valid0 = true;}if(valid0){if(data["request.withCredentials"] !== undefined){const _errs43 = errors;if(typeof data["request.withCredentials"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/request.withCredentials",schemaPath:"#/properties/request.withCredentials/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs43 === errors;}else {var valid0 = true;}if(valid0){if(data["response.hideExtensions"] !== undefined){const _errs45 = errors;if(typeof data["response.hideExtensions"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/response.hideExtensions",schemaPath:"#/properties/response.hideExtensions/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs45 === errors;}else {var valid0 = true;}if(valid0){if(data["response.stream.strategy"] !== undefined){let data22 = data["response.stream.strategy"];const _errs47 = errors;if(typeof data22 !== "string"){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data22 === "append") || (data22 === "auto")) || (data22 === "concatenate")) || (data22 === "patch"))){validate20.errors = [{instancePath:instancePath+"/response.stream.strategy",schemaPath:"#/definitions/MultiResponseStrategy/enum",keyword:"enum",params:{allowedValues: schema25.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs47 === errors;}else {var valid0 = true;}if(valid0){if(data["schema.reloadOnStart"] !== undefined){const _errs50 = errors;if(typeof data["schema.reloadOnStart"] !== "boolean"){validate20.errors = [{instancePath:instancePath+"/schema.reloadOnStart",schemaPath:"#/properties/schema.reloadOnStart/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid0 = _errs50 === errors;}else {var valid0 = true;}if(valid0){if(data["script.allowedCookies"] !== undefined){let data24 = data["script.allowedCookies"];const _errs52 = errors;if(errors === _errs52){if(Array.isArray(data24)){var valid5 = true;const len1 = data24.length;for(let i1=0; i1<len1; i1++){const _errs54 = errors;if(typeof data24[i1] !== "string"){validate20.errors = [{instancePath:instancePath+"/script.allowedCookies/" + i1,schemaPath:"#/properties/script.allowedCookies/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs54 === errors;if(!valid5){break;}}}else {validate20.errors = [{instancePath:instancePath+"/script.allowedCookies",schemaPath:"#/properties/script.allowedCookies/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs52 === errors;}else {var valid0 = true;}if(valid0){if(data.tabSize !== undefined){let data26 = data.tabSize;const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate20.errors = [{instancePath:instancePath+"/tabSize",schemaPath:"#/properties/tabSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs56 === errors;}else {var valid0 = true;}if(valid0){if(data.theme !== undefined){const _errs58 = errors;if(typeof data.theme !== "string"){validate20.errors = [{instancePath:instancePath+"/theme",schemaPath:"#/properties/theme/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs58 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.dark"] !== undefined){const _errs60 = errors;if(typeof data["theme.dark"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.dark",schemaPath:"#/properties/theme.dark/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs60 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontFamily"] !== undefined){const _errs62 = errors;if(typeof data["theme.editorFontFamily"] !== "string"){validate20.errors = [{instancePath:instancePath+"/theme.editorFontFamily",schemaPath:"#/properties/theme.editorFontFamily/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs62 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.editorFontSize"] !== undefined){let data30 = data["theme.editorFontSize"];const _errs64 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate20.errors = [{instancePath:instancePath+"/theme.editorFontSize",schemaPath:"#/properties/theme.editorFontSize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs64 === errors;}else {var valid0 = true;}if(valid0){if(data["theme.fontsize"] !== undefined){let data31 = data["theme.fontsize"];const _errs66 = errors;if(!((typeof data31 == "number") && (isFinite(data31)))){validate20.errors = [{instancePath:instancePath+"/theme.fontsize",schemaPath:"#/properties/theme.fontsize/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid0 = _errs66 === errors;}else {var valid0 = true;}if(valid0){if(data.themeConfig !== undefined){const _errs68 = errors;if(!(validate21(data.themeConfig, {instancePath:instancePath+"/themeConfig",parentData:data,parentDataProperty:"themeConfig",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs68 === errors;}else {var valid0 = true;}if(valid0){if(data["themeConfig.dark"] !== undefined){const _errs69 = errors;if(!(validate21(data["themeConfig.dark"], {instancePath:instancePath+"/themeConfig.dark",parentData:data,parentDataProperty:"themeConfig.dark",rootData}))){vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);errors = vErrors.length;}var valid0 = _errs69 === errors;}else {var valid0 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate20.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate20.errors = vErrors;return errors === 0;}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "altair-graphql-core",
|
|
3
3
|
"description": "Several of the core logic for altair graphql client",
|
|
4
|
-
"version": "7.2.
|
|
4
|
+
"version": "7.2.2",
|
|
5
5
|
"author": "Samuel Imolorhe <altair@sirmuel.design> (https://sirmuel.design)",
|
|
6
6
|
"bugs": "https://github.com/altair-graphql/altair/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"test": "jest"
|
|
77
77
|
},
|
|
78
78
|
"types": "./build/index.d.ts",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "b4bb105113b498fc8a82fbc3c1e1fc42d9531155"
|
|
80
80
|
}
|