@adobe/ccweb-add-on-manifest 3.6.0 → 3.8.0
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/dist/AddOnManifestTypes.d.ts +5 -0
- package/dist/AddOnManifestTypes.d.ts.map +1 -1
- package/dist/AddOnManifestTypes.js +4 -0
- package/dist/AddOnManifestTypes.js.map +1 -1
- package/dist/generated/validateManifestSchema.d.mts.map +1 -1
- package/dist/generated/validateManifestSchema.mjs +174 -161
- package/dist/generated/validateManifestSchema.mjs.map +1 -1
- package/dist/test/utils/TestManifests.d.ts.map +1 -1
- package/dist/test/utils/TestManifests.js +2 -1
- package/dist/test/utils/TestManifests.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
export const validateSchemaV1 = validate10;
|
|
3
|
-
const schema11 = { "$id": "#/definitions/manifestSchemaV1", "type": "object", "properties": { "id": { "type": "string" }, "name": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "version": { "type": "string" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "string", "pattern": "^(Express)$" } }, "experimentalApis": { "type": "boolean" } }, "required": ["apps"], "additionalProperties": false }, "icon": { "anyOf": [{ "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false }, { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false } }] }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "label": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false } }, "required": ["type", "id", "label", "main"], "additionalProperties": false } }, "authorInfo": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "url": { "type": "string" } }, "required": ["name", "email"], "additionalProperties": false } }, "required": ["id", "name", "version", "manifestVersion", "requirements", "icon", "entryPoints"], "additionalProperties": false };
|
|
3
|
+
const schema11 = { "$id": "#/definitions/manifestSchemaV1", "type": "object", "properties": { "id": { "type": "string" }, "name": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "version": { "type": "string" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "string", "pattern": "^(Express)$" } }, "experimentalApis": { "type": "boolean" } }, "required": ["apps"], "additionalProperties": false }, "icon": { "anyOf": [{ "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false }, { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false } }] }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "label": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false } }, "required": ["type", "id", "label", "main"], "additionalProperties": false } }, "authorInfo": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "url": { "type": "string" } }, "required": ["name", "email"], "additionalProperties": false } }, "required": ["id", "name", "version", "manifestVersion", "requirements", "icon", "entryPoints"], "additionalProperties": false };
|
|
4
4
|
const pattern0 = new RegExp("^(Express)$", "u");
|
|
5
5
|
const pattern1 = new RegExp("^(lightest|light|medium|dark|darkest|all)$", "u");
|
|
6
|
-
const pattern3 = new RegExp("^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$", "u");
|
|
6
|
+
const pattern3 = new RegExp("^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$", "u");
|
|
7
7
|
const pattern4 = new RegExp("^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$", "u");
|
|
8
8
|
function validate10(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) { /*# sourceURL="#/definitions/manifestSchemaV1" */ ; let vErrors = null; let errors = 0; if (errors === 0) {
|
|
9
9
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
@@ -738,7 +738,7 @@ function validate10(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
738
738
|
if (errors === _errs69) {
|
|
739
739
|
if (typeof data27 === "string") {
|
|
740
740
|
if (!pattern3.test(data27)) {
|
|
741
|
-
validate10.errors = [{ instancePath: instancePath + "/entryPoints/" + i6 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" }, message: "must match pattern \"" + "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" + "\"" }];
|
|
741
|
+
validate10.errors = [{ instancePath: instancePath + "/entryPoints/" + i6 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" }, message: "must match pattern \"" + "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" + "\"" }];
|
|
742
742
|
return false;
|
|
743
743
|
}
|
|
744
744
|
}
|
|
@@ -1165,7 +1165,7 @@ function validate10(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
1165
1165
|
}
|
|
1166
1166
|
} validate10.errors = vErrors; return errors === 0; }
|
|
1167
1167
|
export const validateSchemaDeveloperV1 = validate11;
|
|
1168
|
-
const schema12 = { "$id": "#/definitions/manifestSchemaDeveloperV1", "type": "object", "properties": { "id": { "type": "string" }, "name": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "version": { "type": "string" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "string", "pattern": "^(Express)$" } }, "experimentalApis": { "type": "boolean" } }, "required": ["apps"], "additionalProperties": false }, "icon": { "anyOf": [{ "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false }, { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false } }] }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "label": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false } }, "required": ["type", "id", "label", "main"], "additionalProperties": false } }, "externalURL": { "type": "string" }, "authorInfo": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "url": { "type": "string" } }, "required": ["name", "email"], "additionalProperties": false } }, "required": ["id", "entryPoints"], "additionalProperties": true };
|
|
1168
|
+
const schema12 = { "$id": "#/definitions/manifestSchemaDeveloperV1", "type": "object", "properties": { "id": { "type": "string" }, "name": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "version": { "type": "string" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "string", "pattern": "^(Express)$" } }, "experimentalApis": { "type": "boolean" } }, "required": ["apps"], "additionalProperties": false }, "icon": { "anyOf": [{ "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false }, { "type": "array", "items": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" }, "href": { "type": "string" }, "theme": { "type": "array", "items": { "type": "string", "pattern": "^(lightest|light|medium|dark|darkest|all)$" } }, "scale": { "type": "array", "items": { "type": "number" } } }, "required": ["href", "theme"], "additionalProperties": false } }] }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "label": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" } }, "required": ["default"], "additionalProperties": true }] }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false } }, "required": ["type", "id", "label", "main"], "additionalProperties": false } }, "externalURL": { "type": "string" }, "authorInfo": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "url": { "type": "string" } }, "required": ["name", "email"], "additionalProperties": false } }, "required": ["id", "entryPoints"], "additionalProperties": true };
|
|
1169
1169
|
function validate11(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) { /*# sourceURL="#/definitions/manifestSchemaDeveloperV1" */ ; let vErrors = null; let errors = 0; if (errors === 0) {
|
|
1170
1170
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
1171
1171
|
let missing0;
|
|
@@ -1890,7 +1890,7 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
1890
1890
|
if (errors === _errs69) {
|
|
1891
1891
|
if (typeof data27 === "string") {
|
|
1892
1892
|
if (!pattern3.test(data27)) {
|
|
1893
|
-
validate11.errors = [{ instancePath: instancePath + "/entryPoints/" + i6 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" }, message: "must match pattern \"" + "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" + "\"" }];
|
|
1893
|
+
validate11.errors = [{ instancePath: instancePath + "/entryPoints/" + i6 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" }, message: "must match pattern \"" + "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" + "\"" }];
|
|
1894
1894
|
return false;
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
@@ -2329,7 +2329,7 @@ function validate11(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2329
2329
|
}
|
|
2330
2330
|
} validate11.errors = vErrors; return errors === 0; }
|
|
2331
2331
|
export const validateSchemaV2 = validate12;
|
|
2332
|
-
const schema13 = { "$id": "#/definitions/manifestSchemaV2", "type": "object", "properties": { "testId": { "type": "string" }, "name": { "type": "string", "pattern": "^[a-zA-Z0-9]+[a-zA-Z0-9 ]{2,44}$" }, "version": { "type": "string", "pattern": "^[0-9]+.[0-9]+.[0-9]+$" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^(Express)$" }, "apiVersion": { "type": "number" }, "supportedDeviceClass": { "type": "array", "items": { "type": "string", "pattern": "^(desktop|mobile|app|mobile-ios|mobile-android)$" } } }, "required": ["name", "apiVersion"], "additionalProperties": false } }, "experimentalApis": { "type": "boolean" }, "supportsTouch": { "type": "boolean" }, "renditionPreview": { "type": "boolean" }, "privilegedApis": { "type": "boolean" }, "_blessedPartnerAccess": { "type": "string" }, "trustedPartnerApis": { "type": "object", "properties": { "messaging": { "type": "boolean" }, "expressPrint": { "type": "boolean" }, "toastNotifications": { "type": "boolean" }, "addOnLifecycle": { "type": "boolean" }, "tiktokcml": { "type": "boolean" }, "formSubmission": { "type": "boolean" } }, "required": [], "additionalProperties": false } }, "required": ["apps"], "additionalProperties": false }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "script": { "type": "string" }, "documentSandbox": { "type": "string" }, "hostDomain": { "type": "string" }, "commands": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "supportedMimeTypes": { "type": "array", "items": { "type": "string" } }, "discoverable": { "type": "boolean" } }, "required": ["name"], "additionalProperties": false } }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" }, "clipboard": { "type": "array", "items": { "type": "string", "pattern": "^(clipboard-write|clipboard-read)$" } } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false }, "discoverable": { "type": "boolean" } }, "required": ["type", "id", "main"], "additionalProperties": false } } }, "required": ["version", "manifestVersion", "requirements", "entryPoints"], "additionalProperties": true };
|
|
2332
|
+
const schema13 = { "$id": "#/definitions/manifestSchemaV2", "type": "object", "properties": { "testId": { "type": "string" }, "name": { "type": "string", "pattern": "^[a-zA-Z0-9]+[a-zA-Z0-9 ]{2,44}$" }, "version": { "type": "string", "pattern": "^[0-9]+.[0-9]+.[0-9]+$" }, "manifestVersion": { "type": "number" }, "requirements": { "type": "object", "properties": { "apps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^(Express)$" }, "apiVersion": { "type": "number" }, "supportedDeviceClass": { "type": "array", "items": { "type": "string", "pattern": "^(desktop|mobile|app|mobile-ios|mobile-android)$" } } }, "required": ["name", "apiVersion"], "additionalProperties": false } }, "experimentalApis": { "type": "boolean" }, "supportsTouch": { "type": "boolean" }, "renditionPreview": { "type": "boolean" }, "privilegedApis": { "type": "boolean" }, "_blessedPartnerAccess": { "type": "string" }, "trustedPartnerApis": { "type": "object", "properties": { "messaging": { "type": "boolean" }, "expressPrint": { "type": "boolean" }, "toastNotifications": { "type": "boolean" }, "addOnLifecycle": { "type": "boolean" }, "tiktokcml": { "type": "boolean" }, "formSubmission": { "type": "boolean" }, "epsonPrint": { "type": "boolean" } }, "required": [], "additionalProperties": false } }, "required": ["apps"], "additionalProperties": false }, "entryPoints": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "pattern": "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" }, "id": { "type": "string" }, "main": { "type": "string" }, "script": { "type": "string" }, "documentSandbox": { "type": "string" }, "hostDomain": { "type": "string" }, "commands": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "supportedMimeTypes": { "type": "array", "items": { "type": "string" } }, "discoverable": { "type": "boolean" } }, "required": ["name"], "additionalProperties": false } }, "permissions": { "type": "object", "properties": { "sandbox": { "type": "array", "items": { "type": "string", "pattern": "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" } }, "oauth": { "type": "array", "items": { "type": "string" } }, "microphone": { "type": "string" }, "camera": { "type": "string" }, "clipboard": { "type": "array", "items": { "type": "string", "pattern": "^(clipboard-write|clipboard-read)$" } } }, "required": [], "additionalProperties": false }, "defaultSize": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } }, "required": ["width", "height"], "additionalProperties": false }, "discoverable": { "type": "boolean" } }, "required": ["type", "id", "main"], "additionalProperties": false } } }, "required": ["version", "manifestVersion", "requirements", "entryPoints"], "additionalProperties": true };
|
|
2333
2333
|
const pattern10 = new RegExp("^[a-zA-Z0-9]+[a-zA-Z0-9 ]{2,44}$", "u");
|
|
2334
2334
|
const pattern11 = new RegExp("^[0-9]+.[0-9]+.[0-9]+$", "u");
|
|
2335
2335
|
const pattern13 = new RegExp("^(desktop|mobile|app|mobile-ios|mobile-android)$", "u");
|
|
@@ -2623,7 +2623,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2623
2623
|
if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
|
|
2624
2624
|
const _errs38 = errors;
|
|
2625
2625
|
for (const key2 in data16) {
|
|
2626
|
-
if (!((((((key2 === "messaging") || (key2 === "expressPrint")) || (key2 === "toastNotifications")) || (key2 === "addOnLifecycle")) || (key2 === "tiktokcml")) || (key2 === "formSubmission"))) {
|
|
2626
|
+
if (!(((((((key2 === "messaging") || (key2 === "expressPrint")) || (key2 === "toastNotifications")) || (key2 === "addOnLifecycle")) || (key2 === "tiktokcml")) || (key2 === "formSubmission")) || (key2 === "epsonPrint"))) {
|
|
2627
2627
|
validate12.errors = [{ instancePath: instancePath + "/requirements/trustedPartnerApis", schemaPath: "#/properties/requirements/properties/trustedPartnerApis/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" }];
|
|
2628
2628
|
return false;
|
|
2629
2629
|
break;
|
|
@@ -2701,6 +2701,19 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2701
2701
|
else {
|
|
2702
2702
|
var valid5 = true;
|
|
2703
2703
|
}
|
|
2704
|
+
if (valid5) {
|
|
2705
|
+
if (data16.epsonPrint !== undefined) {
|
|
2706
|
+
const _errs51 = errors;
|
|
2707
|
+
if (typeof data16.epsonPrint !== "boolean") {
|
|
2708
|
+
validate12.errors = [{ instancePath: instancePath + "/requirements/trustedPartnerApis/epsonPrint", schemaPath: "#/properties/requirements/properties/trustedPartnerApis/properties/epsonPrint/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
|
|
2709
|
+
return false;
|
|
2710
|
+
}
|
|
2711
|
+
var valid5 = _errs51 === errors;
|
|
2712
|
+
}
|
|
2713
|
+
else {
|
|
2714
|
+
var valid5 = true;
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2704
2717
|
}
|
|
2705
2718
|
}
|
|
2706
2719
|
}
|
|
@@ -2739,39 +2752,39 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2739
2752
|
}
|
|
2740
2753
|
if (valid0) {
|
|
2741
2754
|
if (data.entryPoints !== undefined) {
|
|
2742
|
-
let
|
|
2743
|
-
const
|
|
2744
|
-
if (errors ===
|
|
2745
|
-
if (Array.isArray(
|
|
2755
|
+
let data24 = data.entryPoints;
|
|
2756
|
+
const _errs53 = errors;
|
|
2757
|
+
if (errors === _errs53) {
|
|
2758
|
+
if (Array.isArray(data24)) {
|
|
2746
2759
|
var valid6 = true;
|
|
2747
|
-
const len2 =
|
|
2760
|
+
const len2 = data24.length;
|
|
2748
2761
|
for (let i2 = 0; i2 < len2; i2++) {
|
|
2749
|
-
let
|
|
2750
|
-
const
|
|
2751
|
-
if (errors ===
|
|
2752
|
-
if (
|
|
2762
|
+
let data25 = data24[i2];
|
|
2763
|
+
const _errs55 = errors;
|
|
2764
|
+
if (errors === _errs55) {
|
|
2765
|
+
if (data25 && typeof data25 == "object" && !Array.isArray(data25)) {
|
|
2753
2766
|
let missing3;
|
|
2754
|
-
if ((((
|
|
2767
|
+
if ((((data25.type === undefined) && (missing3 = "type")) || ((data25.id === undefined) && (missing3 = "id"))) || ((data25.main === undefined) && (missing3 = "main"))) {
|
|
2755
2768
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2, schemaPath: "#/properties/entryPoints/items/required", keyword: "required", params: { missingProperty: missing3 }, message: "must have required property '" + missing3 + "'" }];
|
|
2756
2769
|
return false;
|
|
2757
2770
|
}
|
|
2758
2771
|
else {
|
|
2759
|
-
const
|
|
2760
|
-
for (const key3 in
|
|
2772
|
+
const _errs57 = errors;
|
|
2773
|
+
for (const key3 in data25) {
|
|
2761
2774
|
if (!(func2.call(schema13.properties.entryPoints.items.properties, key3))) {
|
|
2762
2775
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2, schemaPath: "#/properties/entryPoints/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key3 }, message: "must NOT have additional properties" }];
|
|
2763
2776
|
return false;
|
|
2764
2777
|
break;
|
|
2765
2778
|
}
|
|
2766
2779
|
}
|
|
2767
|
-
if (
|
|
2768
|
-
if (
|
|
2769
|
-
let
|
|
2770
|
-
const
|
|
2771
|
-
if (errors ===
|
|
2772
|
-
if (typeof
|
|
2773
|
-
if (!pattern3.test(
|
|
2774
|
-
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" }, message: "must match pattern \"" + "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action)$" + "\"" }];
|
|
2780
|
+
if (_errs57 === errors) {
|
|
2781
|
+
if (data25.type !== undefined) {
|
|
2782
|
+
let data26 = data25.type;
|
|
2783
|
+
const _errs58 = errors;
|
|
2784
|
+
if (errors === _errs58) {
|
|
2785
|
+
if (typeof data26 === "string") {
|
|
2786
|
+
if (!pattern3.test(data26)) {
|
|
2787
|
+
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/type", schemaPath: "#/properties/entryPoints/items/properties/type/pattern", keyword: "pattern", params: { pattern: "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" }, message: "must match pattern \"" + "^(panel|script|share|content-hub|content-hub-home|mobile.your-stuff.files|mobile.media.audio|mobile.more|mobile.share|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub|quick-action|review-and-approval)$" + "\"" }];
|
|
2775
2788
|
return false;
|
|
2776
2789
|
}
|
|
2777
2790
|
}
|
|
@@ -2780,125 +2793,125 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2780
2793
|
return false;
|
|
2781
2794
|
}
|
|
2782
2795
|
}
|
|
2783
|
-
var valid7 =
|
|
2796
|
+
var valid7 = _errs58 === errors;
|
|
2784
2797
|
}
|
|
2785
2798
|
else {
|
|
2786
2799
|
var valid7 = true;
|
|
2787
2800
|
}
|
|
2788
2801
|
if (valid7) {
|
|
2789
|
-
if (
|
|
2790
|
-
const
|
|
2791
|
-
if (typeof
|
|
2802
|
+
if (data25.id !== undefined) {
|
|
2803
|
+
const _errs60 = errors;
|
|
2804
|
+
if (typeof data25.id !== "string") {
|
|
2792
2805
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/id", schemaPath: "#/properties/entryPoints/items/properties/id/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2793
2806
|
return false;
|
|
2794
2807
|
}
|
|
2795
|
-
var valid7 =
|
|
2808
|
+
var valid7 = _errs60 === errors;
|
|
2796
2809
|
}
|
|
2797
2810
|
else {
|
|
2798
2811
|
var valid7 = true;
|
|
2799
2812
|
}
|
|
2800
2813
|
if (valid7) {
|
|
2801
|
-
if (
|
|
2802
|
-
const
|
|
2803
|
-
if (typeof
|
|
2814
|
+
if (data25.main !== undefined) {
|
|
2815
|
+
const _errs62 = errors;
|
|
2816
|
+
if (typeof data25.main !== "string") {
|
|
2804
2817
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/main", schemaPath: "#/properties/entryPoints/items/properties/main/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2805
2818
|
return false;
|
|
2806
2819
|
}
|
|
2807
|
-
var valid7 =
|
|
2820
|
+
var valid7 = _errs62 === errors;
|
|
2808
2821
|
}
|
|
2809
2822
|
else {
|
|
2810
2823
|
var valid7 = true;
|
|
2811
2824
|
}
|
|
2812
2825
|
if (valid7) {
|
|
2813
|
-
if (
|
|
2814
|
-
const
|
|
2815
|
-
if (typeof
|
|
2826
|
+
if (data25.script !== undefined) {
|
|
2827
|
+
const _errs64 = errors;
|
|
2828
|
+
if (typeof data25.script !== "string") {
|
|
2816
2829
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/script", schemaPath: "#/properties/entryPoints/items/properties/script/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2817
2830
|
return false;
|
|
2818
2831
|
}
|
|
2819
|
-
var valid7 =
|
|
2832
|
+
var valid7 = _errs64 === errors;
|
|
2820
2833
|
}
|
|
2821
2834
|
else {
|
|
2822
2835
|
var valid7 = true;
|
|
2823
2836
|
}
|
|
2824
2837
|
if (valid7) {
|
|
2825
|
-
if (
|
|
2826
|
-
const
|
|
2827
|
-
if (typeof
|
|
2838
|
+
if (data25.documentSandbox !== undefined) {
|
|
2839
|
+
const _errs66 = errors;
|
|
2840
|
+
if (typeof data25.documentSandbox !== "string") {
|
|
2828
2841
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/documentSandbox", schemaPath: "#/properties/entryPoints/items/properties/documentSandbox/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2829
2842
|
return false;
|
|
2830
2843
|
}
|
|
2831
|
-
var valid7 =
|
|
2844
|
+
var valid7 = _errs66 === errors;
|
|
2832
2845
|
}
|
|
2833
2846
|
else {
|
|
2834
2847
|
var valid7 = true;
|
|
2835
2848
|
}
|
|
2836
2849
|
if (valid7) {
|
|
2837
|
-
if (
|
|
2838
|
-
const
|
|
2839
|
-
if (typeof
|
|
2850
|
+
if (data25.hostDomain !== undefined) {
|
|
2851
|
+
const _errs68 = errors;
|
|
2852
|
+
if (typeof data25.hostDomain !== "string") {
|
|
2840
2853
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/hostDomain", schemaPath: "#/properties/entryPoints/items/properties/hostDomain/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2841
2854
|
return false;
|
|
2842
2855
|
}
|
|
2843
|
-
var valid7 =
|
|
2856
|
+
var valid7 = _errs68 === errors;
|
|
2844
2857
|
}
|
|
2845
2858
|
else {
|
|
2846
2859
|
var valid7 = true;
|
|
2847
2860
|
}
|
|
2848
2861
|
if (valid7) {
|
|
2849
|
-
if (
|
|
2850
|
-
let
|
|
2851
|
-
const
|
|
2852
|
-
if (errors ===
|
|
2853
|
-
if (Array.isArray(
|
|
2862
|
+
if (data25.commands !== undefined) {
|
|
2863
|
+
let data32 = data25.commands;
|
|
2864
|
+
const _errs70 = errors;
|
|
2865
|
+
if (errors === _errs70) {
|
|
2866
|
+
if (Array.isArray(data32)) {
|
|
2854
2867
|
var valid8 = true;
|
|
2855
|
-
const len3 =
|
|
2868
|
+
const len3 = data32.length;
|
|
2856
2869
|
for (let i3 = 0; i3 < len3; i3++) {
|
|
2857
|
-
let
|
|
2858
|
-
const
|
|
2859
|
-
if (errors ===
|
|
2860
|
-
if (
|
|
2870
|
+
let data33 = data32[i3];
|
|
2871
|
+
const _errs72 = errors;
|
|
2872
|
+
if (errors === _errs72) {
|
|
2873
|
+
if (data33 && typeof data33 == "object" && !Array.isArray(data33)) {
|
|
2861
2874
|
let missing4;
|
|
2862
|
-
if ((
|
|
2875
|
+
if ((data33.name === undefined) && (missing4 = "name")) {
|
|
2863
2876
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/commands/" + i3, schemaPath: "#/properties/entryPoints/items/properties/commands/items/required", keyword: "required", params: { missingProperty: missing4 }, message: "must have required property '" + missing4 + "'" }];
|
|
2864
2877
|
return false;
|
|
2865
2878
|
}
|
|
2866
2879
|
else {
|
|
2867
|
-
const
|
|
2868
|
-
for (const key4 in
|
|
2880
|
+
const _errs74 = errors;
|
|
2881
|
+
for (const key4 in data33) {
|
|
2869
2882
|
if (!(((key4 === "name") || (key4 === "supportedMimeTypes")) || (key4 === "discoverable"))) {
|
|
2870
2883
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/commands/" + i3, schemaPath: "#/properties/entryPoints/items/properties/commands/items/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" }];
|
|
2871
2884
|
return false;
|
|
2872
2885
|
break;
|
|
2873
2886
|
}
|
|
2874
2887
|
}
|
|
2875
|
-
if (
|
|
2876
|
-
if (
|
|
2877
|
-
const
|
|
2878
|
-
if (typeof
|
|
2888
|
+
if (_errs74 === errors) {
|
|
2889
|
+
if (data33.name !== undefined) {
|
|
2890
|
+
const _errs75 = errors;
|
|
2891
|
+
if (typeof data33.name !== "string") {
|
|
2879
2892
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/commands/" + i3 + "/name", schemaPath: "#/properties/entryPoints/items/properties/commands/items/properties/name/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2880
2893
|
return false;
|
|
2881
2894
|
}
|
|
2882
|
-
var valid9 =
|
|
2895
|
+
var valid9 = _errs75 === errors;
|
|
2883
2896
|
}
|
|
2884
2897
|
else {
|
|
2885
2898
|
var valid9 = true;
|
|
2886
2899
|
}
|
|
2887
2900
|
if (valid9) {
|
|
2888
|
-
if (
|
|
2889
|
-
let
|
|
2890
|
-
const
|
|
2891
|
-
if (errors ===
|
|
2892
|
-
if (Array.isArray(
|
|
2901
|
+
if (data33.supportedMimeTypes !== undefined) {
|
|
2902
|
+
let data35 = data33.supportedMimeTypes;
|
|
2903
|
+
const _errs77 = errors;
|
|
2904
|
+
if (errors === _errs77) {
|
|
2905
|
+
if (Array.isArray(data35)) {
|
|
2893
2906
|
var valid10 = true;
|
|
2894
|
-
const len4 =
|
|
2907
|
+
const len4 = data35.length;
|
|
2895
2908
|
for (let i4 = 0; i4 < len4; i4++) {
|
|
2896
|
-
const
|
|
2897
|
-
if (typeof
|
|
2909
|
+
const _errs79 = errors;
|
|
2910
|
+
if (typeof data35[i4] !== "string") {
|
|
2898
2911
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/commands/" + i3 + "/supportedMimeTypes/" + i4, schemaPath: "#/properties/entryPoints/items/properties/commands/items/properties/supportedMimeTypes/items/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2899
2912
|
return false;
|
|
2900
2913
|
}
|
|
2901
|
-
var valid10 =
|
|
2914
|
+
var valid10 = _errs79 === errors;
|
|
2902
2915
|
if (!valid10) {
|
|
2903
2916
|
break;
|
|
2904
2917
|
}
|
|
@@ -2909,19 +2922,19 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2909
2922
|
return false;
|
|
2910
2923
|
}
|
|
2911
2924
|
}
|
|
2912
|
-
var valid9 =
|
|
2925
|
+
var valid9 = _errs77 === errors;
|
|
2913
2926
|
}
|
|
2914
2927
|
else {
|
|
2915
2928
|
var valid9 = true;
|
|
2916
2929
|
}
|
|
2917
2930
|
if (valid9) {
|
|
2918
|
-
if (
|
|
2919
|
-
const
|
|
2920
|
-
if (typeof
|
|
2931
|
+
if (data33.discoverable !== undefined) {
|
|
2932
|
+
const _errs81 = errors;
|
|
2933
|
+
if (typeof data33.discoverable !== "boolean") {
|
|
2921
2934
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/commands/" + i3 + "/discoverable", schemaPath: "#/properties/entryPoints/items/properties/commands/items/properties/discoverable/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
|
|
2922
2935
|
return false;
|
|
2923
2936
|
}
|
|
2924
|
-
var valid9 =
|
|
2937
|
+
var valid9 = _errs81 === errors;
|
|
2925
2938
|
}
|
|
2926
2939
|
else {
|
|
2927
2940
|
var valid9 = true;
|
|
@@ -2936,7 +2949,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2936
2949
|
return false;
|
|
2937
2950
|
}
|
|
2938
2951
|
}
|
|
2939
|
-
var valid8 =
|
|
2952
|
+
var valid8 = _errs72 === errors;
|
|
2940
2953
|
if (!valid8) {
|
|
2941
2954
|
break;
|
|
2942
2955
|
}
|
|
@@ -2947,39 +2960,39 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2947
2960
|
return false;
|
|
2948
2961
|
}
|
|
2949
2962
|
}
|
|
2950
|
-
var valid7 =
|
|
2963
|
+
var valid7 = _errs70 === errors;
|
|
2951
2964
|
}
|
|
2952
2965
|
else {
|
|
2953
2966
|
var valid7 = true;
|
|
2954
2967
|
}
|
|
2955
2968
|
if (valid7) {
|
|
2956
|
-
if (
|
|
2957
|
-
let
|
|
2958
|
-
const
|
|
2959
|
-
if (errors ===
|
|
2960
|
-
if (
|
|
2961
|
-
const
|
|
2962
|
-
for (const key5 in
|
|
2969
|
+
if (data25.permissions !== undefined) {
|
|
2970
|
+
let data38 = data25.permissions;
|
|
2971
|
+
const _errs83 = errors;
|
|
2972
|
+
if (errors === _errs83) {
|
|
2973
|
+
if (data38 && typeof data38 == "object" && !Array.isArray(data38)) {
|
|
2974
|
+
const _errs85 = errors;
|
|
2975
|
+
for (const key5 in data38) {
|
|
2963
2976
|
if (!(((((key5 === "sandbox") || (key5 === "oauth")) || (key5 === "microphone")) || (key5 === "camera")) || (key5 === "clipboard"))) {
|
|
2964
2977
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions", schemaPath: "#/properties/entryPoints/items/properties/permissions/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key5 }, message: "must NOT have additional properties" }];
|
|
2965
2978
|
return false;
|
|
2966
2979
|
break;
|
|
2967
2980
|
}
|
|
2968
2981
|
}
|
|
2969
|
-
if (
|
|
2970
|
-
if (
|
|
2971
|
-
let
|
|
2972
|
-
const
|
|
2973
|
-
if (errors ===
|
|
2974
|
-
if (Array.isArray(
|
|
2982
|
+
if (_errs85 === errors) {
|
|
2983
|
+
if (data38.sandbox !== undefined) {
|
|
2984
|
+
let data39 = data38.sandbox;
|
|
2985
|
+
const _errs86 = errors;
|
|
2986
|
+
if (errors === _errs86) {
|
|
2987
|
+
if (Array.isArray(data39)) {
|
|
2975
2988
|
var valid12 = true;
|
|
2976
|
-
const len5 =
|
|
2989
|
+
const len5 = data39.length;
|
|
2977
2990
|
for (let i5 = 0; i5 < len5; i5++) {
|
|
2978
|
-
let
|
|
2979
|
-
const
|
|
2980
|
-
if (errors ===
|
|
2981
|
-
if (typeof
|
|
2982
|
-
if (!pattern4.test(
|
|
2991
|
+
let data40 = data39[i5];
|
|
2992
|
+
const _errs88 = errors;
|
|
2993
|
+
if (errors === _errs88) {
|
|
2994
|
+
if (typeof data40 === "string") {
|
|
2995
|
+
if (!pattern4.test(data40)) {
|
|
2983
2996
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/sandbox/" + i5, schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/sandbox/items/pattern", keyword: "pattern", params: { pattern: "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" }, message: "must match pattern \"" + "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$" + "\"" }];
|
|
2984
2997
|
return false;
|
|
2985
2998
|
}
|
|
@@ -2989,7 +3002,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2989
3002
|
return false;
|
|
2990
3003
|
}
|
|
2991
3004
|
}
|
|
2992
|
-
var valid12 =
|
|
3005
|
+
var valid12 = _errs88 === errors;
|
|
2993
3006
|
if (!valid12) {
|
|
2994
3007
|
break;
|
|
2995
3008
|
}
|
|
@@ -3000,26 +3013,26 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3000
3013
|
return false;
|
|
3001
3014
|
}
|
|
3002
3015
|
}
|
|
3003
|
-
var valid11 =
|
|
3016
|
+
var valid11 = _errs86 === errors;
|
|
3004
3017
|
}
|
|
3005
3018
|
else {
|
|
3006
3019
|
var valid11 = true;
|
|
3007
3020
|
}
|
|
3008
3021
|
if (valid11) {
|
|
3009
|
-
if (
|
|
3010
|
-
let
|
|
3011
|
-
const
|
|
3012
|
-
if (errors ===
|
|
3013
|
-
if (Array.isArray(
|
|
3022
|
+
if (data38.oauth !== undefined) {
|
|
3023
|
+
let data41 = data38.oauth;
|
|
3024
|
+
const _errs90 = errors;
|
|
3025
|
+
if (errors === _errs90) {
|
|
3026
|
+
if (Array.isArray(data41)) {
|
|
3014
3027
|
var valid13 = true;
|
|
3015
|
-
const len6 =
|
|
3028
|
+
const len6 = data41.length;
|
|
3016
3029
|
for (let i6 = 0; i6 < len6; i6++) {
|
|
3017
|
-
const
|
|
3018
|
-
if (typeof
|
|
3030
|
+
const _errs92 = errors;
|
|
3031
|
+
if (typeof data41[i6] !== "string") {
|
|
3019
3032
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/oauth/" + i6, schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/oauth/items/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
3020
3033
|
return false;
|
|
3021
3034
|
}
|
|
3022
|
-
var valid13 =
|
|
3035
|
+
var valid13 = _errs92 === errors;
|
|
3023
3036
|
if (!valid13) {
|
|
3024
3037
|
break;
|
|
3025
3038
|
}
|
|
@@ -3030,49 +3043,49 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3030
3043
|
return false;
|
|
3031
3044
|
}
|
|
3032
3045
|
}
|
|
3033
|
-
var valid11 =
|
|
3046
|
+
var valid11 = _errs90 === errors;
|
|
3034
3047
|
}
|
|
3035
3048
|
else {
|
|
3036
3049
|
var valid11 = true;
|
|
3037
3050
|
}
|
|
3038
3051
|
if (valid11) {
|
|
3039
|
-
if (
|
|
3040
|
-
const
|
|
3041
|
-
if (typeof
|
|
3052
|
+
if (data38.microphone !== undefined) {
|
|
3053
|
+
const _errs94 = errors;
|
|
3054
|
+
if (typeof data38.microphone !== "string") {
|
|
3042
3055
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/microphone", schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/microphone/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
3043
3056
|
return false;
|
|
3044
3057
|
}
|
|
3045
|
-
var valid11 =
|
|
3058
|
+
var valid11 = _errs94 === errors;
|
|
3046
3059
|
}
|
|
3047
3060
|
else {
|
|
3048
3061
|
var valid11 = true;
|
|
3049
3062
|
}
|
|
3050
3063
|
if (valid11) {
|
|
3051
|
-
if (
|
|
3052
|
-
const
|
|
3053
|
-
if (typeof
|
|
3064
|
+
if (data38.camera !== undefined) {
|
|
3065
|
+
const _errs96 = errors;
|
|
3066
|
+
if (typeof data38.camera !== "string") {
|
|
3054
3067
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/camera", schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/camera/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
3055
3068
|
return false;
|
|
3056
3069
|
}
|
|
3057
|
-
var valid11 =
|
|
3070
|
+
var valid11 = _errs96 === errors;
|
|
3058
3071
|
}
|
|
3059
3072
|
else {
|
|
3060
3073
|
var valid11 = true;
|
|
3061
3074
|
}
|
|
3062
3075
|
if (valid11) {
|
|
3063
|
-
if (
|
|
3064
|
-
let
|
|
3065
|
-
const
|
|
3066
|
-
if (errors ===
|
|
3067
|
-
if (Array.isArray(
|
|
3076
|
+
if (data38.clipboard !== undefined) {
|
|
3077
|
+
let data45 = data38.clipboard;
|
|
3078
|
+
const _errs98 = errors;
|
|
3079
|
+
if (errors === _errs98) {
|
|
3080
|
+
if (Array.isArray(data45)) {
|
|
3068
3081
|
var valid14 = true;
|
|
3069
|
-
const len7 =
|
|
3082
|
+
const len7 = data45.length;
|
|
3070
3083
|
for (let i7 = 0; i7 < len7; i7++) {
|
|
3071
|
-
let
|
|
3072
|
-
const
|
|
3073
|
-
if (errors ===
|
|
3074
|
-
if (typeof
|
|
3075
|
-
if (!pattern16.test(
|
|
3084
|
+
let data46 = data45[i7];
|
|
3085
|
+
const _errs100 = errors;
|
|
3086
|
+
if (errors === _errs100) {
|
|
3087
|
+
if (typeof data46 === "string") {
|
|
3088
|
+
if (!pattern16.test(data46)) {
|
|
3076
3089
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/permissions/clipboard/" + i7, schemaPath: "#/properties/entryPoints/items/properties/permissions/properties/clipboard/items/pattern", keyword: "pattern", params: { pattern: "^(clipboard-write|clipboard-read)$" }, message: "must match pattern \"" + "^(clipboard-write|clipboard-read)$" + "\"" }];
|
|
3077
3090
|
return false;
|
|
3078
3091
|
}
|
|
@@ -3082,7 +3095,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3082
3095
|
return false;
|
|
3083
3096
|
}
|
|
3084
3097
|
}
|
|
3085
|
-
var valid14 =
|
|
3098
|
+
var valid14 = _errs100 === errors;
|
|
3086
3099
|
if (!valid14) {
|
|
3087
3100
|
break;
|
|
3088
3101
|
}
|
|
@@ -3093,7 +3106,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3093
3106
|
return false;
|
|
3094
3107
|
}
|
|
3095
3108
|
}
|
|
3096
|
-
var valid11 =
|
|
3109
|
+
var valid11 = _errs98 === errors;
|
|
3097
3110
|
}
|
|
3098
3111
|
else {
|
|
3099
3112
|
var valid11 = true;
|
|
@@ -3109,53 +3122,53 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3109
3122
|
return false;
|
|
3110
3123
|
}
|
|
3111
3124
|
}
|
|
3112
|
-
var valid7 =
|
|
3125
|
+
var valid7 = _errs83 === errors;
|
|
3113
3126
|
}
|
|
3114
3127
|
else {
|
|
3115
3128
|
var valid7 = true;
|
|
3116
3129
|
}
|
|
3117
3130
|
if (valid7) {
|
|
3118
|
-
if (
|
|
3119
|
-
let
|
|
3120
|
-
const
|
|
3121
|
-
if (errors ===
|
|
3122
|
-
if (
|
|
3131
|
+
if (data25.defaultSize !== undefined) {
|
|
3132
|
+
let data47 = data25.defaultSize;
|
|
3133
|
+
const _errs102 = errors;
|
|
3134
|
+
if (errors === _errs102) {
|
|
3135
|
+
if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
|
|
3123
3136
|
let missing5;
|
|
3124
|
-
if (((
|
|
3137
|
+
if (((data47.width === undefined) && (missing5 = "width")) || ((data47.height === undefined) && (missing5 = "height"))) {
|
|
3125
3138
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/required", keyword: "required", params: { missingProperty: missing5 }, message: "must have required property '" + missing5 + "'" }];
|
|
3126
3139
|
return false;
|
|
3127
3140
|
}
|
|
3128
3141
|
else {
|
|
3129
|
-
const
|
|
3130
|
-
for (const key6 in
|
|
3142
|
+
const _errs104 = errors;
|
|
3143
|
+
for (const key6 in data47) {
|
|
3131
3144
|
if (!((key6 === "width") || (key6 === "height"))) {
|
|
3132
3145
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key6 }, message: "must NOT have additional properties" }];
|
|
3133
3146
|
return false;
|
|
3134
3147
|
break;
|
|
3135
3148
|
}
|
|
3136
3149
|
}
|
|
3137
|
-
if (
|
|
3138
|
-
if (
|
|
3139
|
-
let
|
|
3140
|
-
const
|
|
3141
|
-
if (!((typeof
|
|
3150
|
+
if (_errs104 === errors) {
|
|
3151
|
+
if (data47.width !== undefined) {
|
|
3152
|
+
let data48 = data47.width;
|
|
3153
|
+
const _errs105 = errors;
|
|
3154
|
+
if (!((typeof data48 == "number") && (isFinite(data48)))) {
|
|
3142
3155
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize/width", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/properties/width/type", keyword: "type", params: { type: "number" }, message: "must be number" }];
|
|
3143
3156
|
return false;
|
|
3144
3157
|
}
|
|
3145
|
-
var valid15 =
|
|
3158
|
+
var valid15 = _errs105 === errors;
|
|
3146
3159
|
}
|
|
3147
3160
|
else {
|
|
3148
3161
|
var valid15 = true;
|
|
3149
3162
|
}
|
|
3150
3163
|
if (valid15) {
|
|
3151
|
-
if (
|
|
3152
|
-
let
|
|
3153
|
-
const
|
|
3154
|
-
if (!((typeof
|
|
3164
|
+
if (data47.height !== undefined) {
|
|
3165
|
+
let data49 = data47.height;
|
|
3166
|
+
const _errs107 = errors;
|
|
3167
|
+
if (!((typeof data49 == "number") && (isFinite(data49)))) {
|
|
3155
3168
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/defaultSize/height", schemaPath: "#/properties/entryPoints/items/properties/defaultSize/properties/height/type", keyword: "type", params: { type: "number" }, message: "must be number" }];
|
|
3156
3169
|
return false;
|
|
3157
3170
|
}
|
|
3158
|
-
var valid15 =
|
|
3171
|
+
var valid15 = _errs107 === errors;
|
|
3159
3172
|
}
|
|
3160
3173
|
else {
|
|
3161
3174
|
var valid15 = true;
|
|
@@ -3169,19 +3182,19 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3169
3182
|
return false;
|
|
3170
3183
|
}
|
|
3171
3184
|
}
|
|
3172
|
-
var valid7 =
|
|
3185
|
+
var valid7 = _errs102 === errors;
|
|
3173
3186
|
}
|
|
3174
3187
|
else {
|
|
3175
3188
|
var valid7 = true;
|
|
3176
3189
|
}
|
|
3177
3190
|
if (valid7) {
|
|
3178
|
-
if (
|
|
3179
|
-
const
|
|
3180
|
-
if (typeof
|
|
3191
|
+
if (data25.discoverable !== undefined) {
|
|
3192
|
+
const _errs109 = errors;
|
|
3193
|
+
if (typeof data25.discoverable !== "boolean") {
|
|
3181
3194
|
validate12.errors = [{ instancePath: instancePath + "/entryPoints/" + i2 + "/discoverable", schemaPath: "#/properties/entryPoints/items/properties/discoverable/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" }];
|
|
3182
3195
|
return false;
|
|
3183
3196
|
}
|
|
3184
|
-
var valid7 =
|
|
3197
|
+
var valid7 = _errs109 === errors;
|
|
3185
3198
|
}
|
|
3186
3199
|
else {
|
|
3187
3200
|
var valid7 = true;
|
|
@@ -3203,7 +3216,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3203
3216
|
return false;
|
|
3204
3217
|
}
|
|
3205
3218
|
}
|
|
3206
|
-
var valid6 =
|
|
3219
|
+
var valid6 = _errs55 === errors;
|
|
3207
3220
|
if (!valid6) {
|
|
3208
3221
|
break;
|
|
3209
3222
|
}
|
|
@@ -3214,7 +3227,7 @@ function validate12(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
3214
3227
|
return false;
|
|
3215
3228
|
}
|
|
3216
3229
|
}
|
|
3217
|
-
var valid0 =
|
|
3230
|
+
var valid0 = _errs53 === errors;
|
|
3218
3231
|
}
|
|
3219
3232
|
else {
|
|
3220
3233
|
var valid0 = true;
|