yarramate 1.22.0 → 1.22.1
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/projection.d.ts +0 -11
- package/dist/projection.js +0 -4
- package/dist/schema-validators.generated.js +22 -34
- package/dist/visual-app/assets/index-CM1MWXT2.js +394 -0
- package/dist/visual-app/index.html +1 -1
- package/dist/visual-app-lib/editor.js +28379 -28468
- package/dist/visual-app-lib/types/projection.d.ts +0 -11
- package/dist/visual-app-lib/types/visual-app/graph-canvas.d.ts +2 -13
- package/dist/visual-app-lib/types/visual-app/query-fields.d.ts +2 -3
- package/dist/visual-app-lib/types/visual-app/query-panel.d.ts +3 -10
- package/dist/visual-app-lib/types/visual-app/workspace-state.d.ts +1 -8
- package/package.json +1 -1
- package/schema/yarramate-projection.schema.json +0 -4
- package/dist/visual-app/assets/index-C0nYrzna.js +0 -395
- package/dist/visual-app-lib/types/visual-app/constraint-rows.d.ts +0 -70
package/dist/projection.d.ts
CHANGED
|
@@ -78,17 +78,6 @@ export interface ProjectionDefinition {
|
|
|
78
78
|
readonly showLifecycle?: boolean;
|
|
79
79
|
readonly showEvidence?: boolean;
|
|
80
80
|
readonly showOwnership?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Whether a bound RULING draws as a row inside its holder rather than as a
|
|
83
|
-
* node of its own (#473 phase 3, ADR 0145).
|
|
84
|
-
*
|
|
85
|
-
* On the reference this takes the whole model from 173 boxes to 91, because
|
|
86
|
-
* 82 of its rulings are bound into slots and every one of them was drawing
|
|
87
|
-
* as a box with a single association edge. Presentation only: the model,
|
|
88
|
-
* the query and the selected set do not move, and turning it off restores
|
|
89
|
-
* the boxes.
|
|
90
|
-
*/
|
|
91
|
-
readonly showConstraints?: boolean;
|
|
92
81
|
/**
|
|
93
82
|
* The folder this view files itself under in an editor's rail: a label the
|
|
94
83
|
* author declares, nested with `/`, never the directory the projection
|
package/dist/projection.js
CHANGED
|
@@ -66,7 +66,6 @@ export function canonicalProjection(projection) {
|
|
|
66
66
|
...(presentation.showLifecycle === undefined ? {} : { showLifecycle: presentation.showLifecycle }),
|
|
67
67
|
...(presentation.showEvidence === undefined ? {} : { showEvidence: presentation.showEvidence }),
|
|
68
68
|
...(presentation.showOwnership === undefined ? {} : { showOwnership: presentation.showOwnership }),
|
|
69
|
-
...(presentation.showConstraints === undefined ? {} : { showConstraints: presentation.showConstraints }),
|
|
70
69
|
...(presentation.notation === undefined ? {} : { notation: presentation.notation }),
|
|
71
70
|
},
|
|
72
71
|
}),
|
|
@@ -632,9 +631,6 @@ export function evaluateProjection(graph, projection, profileContext, membership
|
|
|
632
631
|
...(projection.presentation.showOwnership === undefined
|
|
633
632
|
? {}
|
|
634
633
|
: { showOwnership: projection.presentation.showOwnership }),
|
|
635
|
-
...(projection.presentation.showConstraints === undefined
|
|
636
|
-
? {}
|
|
637
|
-
: { showConstraints: projection.presentation.showConstraints }),
|
|
638
634
|
...(projection.presentation.notation === undefined
|
|
639
635
|
? {}
|
|
640
636
|
: { notation: projection.presentation.notation }),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// file and not a runtime one; the two pure helpers imported below are
|
|
10
10
|
// all the runtime still takes from ajv.
|
|
11
11
|
//
|
|
12
|
-
// schema/ sha256:
|
|
12
|
+
// schema/ sha256: 71358391c82518d840a0bc538999ea67063aa97e7093f7ca099155f57c44abba
|
|
13
13
|
import ajvRuntime0Module from 'ajv/dist/runtime/ucs2length.js';
|
|
14
14
|
const ajvRuntime0 = ajvRuntime0Module.default ?? ajvRuntime0Module;
|
|
15
15
|
import ajvRuntime1Module from 'ajv/dist/runtime/equal.js';
|
|
@@ -4476,7 +4476,7 @@ else {
|
|
|
4476
4476
|
} validate61.errors = vErrors; return errors === 0; }
|
|
4477
4477
|
validate61.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
4478
4478
|
export const validateProjection = validate62;
|
|
4479
|
-
const schema113 = { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://yarramate.org/schema/projection/v1", "title": "YarraMate semantic projection", "type": "object", "additionalProperties": false, "required": ["format", "id", "version", "query"], "properties": { "format": { "const": "yarramate/projection/v1" }, "id": { "$ref": "#/$defs/id" }, "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" }, "query": { "$ref": "#/$defs/query" }, "presentation": { "$ref": "#/$defs/presentation" } }, "$defs": { "query": { "type": "object", "additionalProperties": false, "properties": { "subjects": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "instances": { "description": "Pattern instances whose CONTENTS this query selects (#473, ADR 0144). Each id names an instance, and the facet selects that instance together with everything the fold tree would draw inside it: the same closure `presentation.fold: \"instances\"` collapses into one box, read through this view's own `nesting`. This is the one facet that ADDS rather than narrows. `subjects` and `instances` are a single identity facet spelled two ways and their values combine with OR, while every other field still ANDs over the union. Naming the instance rather than hand-listing its members is what keeps a view from going stale the next time the pattern binds a slot. An id that names nothing is refused (YM921); one that names a subject which is not a pattern instance is refused separately (YM922), because a typo and a category error send an author to different places.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "exclude": { "description": "Subjects this query would otherwise select and the author has taken out: the exception a rule cannot state (#267, ADR 0122). Applied after every other facet and after relationship expansion, so an excluded subject is out whichever way it would have come back in. Naming a subject no facet selects is allowed and inert until the model grows into the rule.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "documents": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/id" } }, "kinds": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/qualifiedKind" } }, "layers": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/layer" } }, "statuses": { "type": "array", "uniqueItems": true, "items": { "enum": ["planned", "current", "retired"] } }, "excludeStatuses": { "description": "Drop concepts carrying one of these lifecycle statuses while keeping concepts that declare no status at all - 'everything except retired' for viewpoint projections, where a bare statuses filter would wrongly drop unstatused actors and motivation elements.", "type": "array", "uniqueItems": true, "items": { "enum": ["planned", "current", "retired"] } }, "states": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "owners": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "constraints": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "relationshipKinds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/qualifiedKind" } }, "kindMatching": { "enum": ["exact", "descendants"] }, "relationships": { "enum": ["between", "connected", "none"] }, "isolatedConcepts": { "enum": ["include", "exclude"] } } }, "presentation": { "type": "object", "additionalProperties": false, "properties": { "title": { "$ref": "#/$defs/nonEmptyText" }, "description": { "$ref": "#/$defs/nonEmptyText" }, "layout": { "enum": ["layered"] }, "direction": { "enum": ["top-down", "left-right"] }, "nesting": { "type": "array", "uniqueItems": true, "items": { "enum": ["composition", "assignment"] } }, "fold": { "description": "Whether this view draws pattern instances FOLDED by default (#473). \"instances\" collapses every instance to a single node carrying its members, with the edges into and out of them lifted onto the box; \"none\", the default, draws everything. A reader opens what they want, so this says where to START rather than what may be seen. Folding reads the same containment tree nesting does, so a view declaring fold without \"assignment\" in nesting collapses less than its author probably expects; the editor says so rather than the loader refusing it, because a diagnostic has no warning severity and this is not an error.", "enum": ["instances", "none"] }, "showLifecycle": { "type": "boolean" }, "showEvidence": { "type": "boolean" }, "showOwnership": { "type": "boolean" }, "
|
|
4479
|
+
const schema113 = { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://yarramate.org/schema/projection/v1", "title": "YarraMate semantic projection", "type": "object", "additionalProperties": false, "required": ["format", "id", "version", "query"], "properties": { "format": { "const": "yarramate/projection/v1" }, "id": { "$ref": "#/$defs/id" }, "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" }, "query": { "$ref": "#/$defs/query" }, "presentation": { "$ref": "#/$defs/presentation" } }, "$defs": { "query": { "type": "object", "additionalProperties": false, "properties": { "subjects": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "instances": { "description": "Pattern instances whose CONTENTS this query selects (#473, ADR 0144). Each id names an instance, and the facet selects that instance together with everything the fold tree would draw inside it: the same closure `presentation.fold: \"instances\"` collapses into one box, read through this view's own `nesting`. This is the one facet that ADDS rather than narrows. `subjects` and `instances` are a single identity facet spelled two ways and their values combine with OR, while every other field still ANDs over the union. Naming the instance rather than hand-listing its members is what keeps a view from going stale the next time the pattern binds a slot. An id that names nothing is refused (YM921); one that names a subject which is not a pattern instance is refused separately (YM922), because a typo and a category error send an author to different places.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "exclude": { "description": "Subjects this query would otherwise select and the author has taken out: the exception a rule cannot state (#267, ADR 0122). Applied after every other facet and after relationship expansion, so an excluded subject is out whichever way it would have come back in. Naming a subject no facet selects is allowed and inert until the model grows into the rule.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "documents": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/id" } }, "kinds": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/qualifiedKind" } }, "layers": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/layer" } }, "statuses": { "type": "array", "uniqueItems": true, "items": { "enum": ["planned", "current", "retired"] } }, "excludeStatuses": { "description": "Drop concepts carrying one of these lifecycle statuses while keeping concepts that declare no status at all - 'everything except retired' for viewpoint projections, where a bare statuses filter would wrongly drop unstatused actors and motivation elements.", "type": "array", "uniqueItems": true, "items": { "enum": ["planned", "current", "retired"] } }, "states": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "owners": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "constraints": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "relationshipKinds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/qualifiedKind" } }, "kindMatching": { "enum": ["exact", "descendants"] }, "relationships": { "enum": ["between", "connected", "none"] }, "isolatedConcepts": { "enum": ["include", "exclude"] } } }, "presentation": { "type": "object", "additionalProperties": false, "properties": { "title": { "$ref": "#/$defs/nonEmptyText" }, "description": { "$ref": "#/$defs/nonEmptyText" }, "layout": { "enum": ["layered"] }, "direction": { "enum": ["top-down", "left-right"] }, "nesting": { "type": "array", "uniqueItems": true, "items": { "enum": ["composition", "assignment"] } }, "fold": { "description": "Whether this view draws pattern instances FOLDED by default (#473). \"instances\" collapses every instance to a single node carrying its members, with the edges into and out of them lifted onto the box; \"none\", the default, draws everything. A reader opens what they want, so this says where to START rather than what may be seen. Folding reads the same containment tree nesting does, so a view declaring fold without \"assignment\" in nesting collapses less than its author probably expects; the editor says so rather than the loader refusing it, because a diagnostic has no warning severity and this is not an error.", "enum": ["instances", "none"] }, "showLifecycle": { "type": "boolean" }, "showEvidence": { "type": "boolean" }, "showOwnership": { "type": "boolean" }, "notation": { "enum": ["archimate"] }, "folder": { "type": "string", "description": "The folder this view files itself under in an editor's rail. A LABEL the author declares, never the directory the projection sits in: nest with '/' separators, and the filesystem is never consulted (ADR 0104).", "pattern": "^[^/]+(?:/[^/]+)*$", "minLength": 1 } } }, "id": { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" }, "qualifiedKind": { "type": "string", "pattern": "^[a-z][a-z0-9-]*(?:/[a-z][a-z0-9-]*)+@[0-9]+\\.[0-9]+#[a-z][A-Za-z0-9-]*$" }, "subjectIdentity": { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" }, "nonEmptyText": { "type": "string", "minLength": 1 }, "layer": { "enum": ["motivation", "strategy", "business", "application", "technology", "physical", "implementation", "composite"] } } };
|
|
4480
4480
|
const schema114 = { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" };
|
|
4481
4481
|
const schema115 = { "type": "object", "additionalProperties": false, "properties": { "subjects": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "instances": { "description": "Pattern instances whose CONTENTS this query selects (#473, ADR 0144). Each id names an instance, and the facet selects that instance together with everything the fold tree would draw inside it: the same closure `presentation.fold: \"instances\"` collapses into one box, read through this view's own `nesting`. This is the one facet that ADDS rather than narrows. `subjects` and `instances` are a single identity facet spelled two ways and their values combine with OR, while every other field still ANDs over the union. Naming the instance rather than hand-listing its members is what keeps a view from going stale the next time the pattern binds a slot. An id that names nothing is refused (YM921); one that names a subject which is not a pattern instance is refused separately (YM922), because a typo and a category error send an author to different places.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "exclude": { "description": "Subjects this query would otherwise select and the author has taken out: the exception a rule cannot state (#267, ADR 0122). Applied after every other facet and after relationship expansion, so an excluded subject is out whichever way it would have come back in. Naming a subject no facet selects is allowed and inert until the model grows into the rule.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "documents": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/id" } }, "kinds": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/qualifiedKind" } }, "layers": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/layer" } }, "statuses": { "type": "array", "uniqueItems": true, "items": { "enum": ["planned", "current", "retired"] } }, "excludeStatuses": { "description": "Drop concepts carrying one of these lifecycle statuses while keeping concepts that declare no status at all - 'everything except retired' for viewpoint projections, where a bare statuses filter would wrongly drop unstatused actors and motivation elements.", "type": "array", "uniqueItems": true, "items": { "enum": ["planned", "current", "retired"] } }, "states": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "owners": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "constraints": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/subjectIdentity" } }, "relationshipKinds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/qualifiedKind" } }, "kindMatching": { "enum": ["exact", "descendants"] }, "relationships": { "enum": ["between", "connected", "none"] }, "isolatedConcepts": { "enum": ["include", "exclude"] } } };
|
|
4482
4482
|
const schema116 = { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" };
|
|
@@ -5314,7 +5314,7 @@ else {
|
|
|
5314
5314
|
errors++;
|
|
5315
5315
|
} validate63.errors = vErrors; return errors === 0; }
|
|
5316
5316
|
validate63.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
5317
|
-
const schema126 = { "type": "object", "additionalProperties": false, "properties": { "title": { "$ref": "#/$defs/nonEmptyText" }, "description": { "$ref": "#/$defs/nonEmptyText" }, "layout": { "enum": ["layered"] }, "direction": { "enum": ["top-down", "left-right"] }, "nesting": { "type": "array", "uniqueItems": true, "items": { "enum": ["composition", "assignment"] } }, "fold": { "description": "Whether this view draws pattern instances FOLDED by default (#473). \"instances\" collapses every instance to a single node carrying its members, with the edges into and out of them lifted onto the box; \"none\", the default, draws everything. A reader opens what they want, so this says where to START rather than what may be seen. Folding reads the same containment tree nesting does, so a view declaring fold without \"assignment\" in nesting collapses less than its author probably expects; the editor says so rather than the loader refusing it, because a diagnostic has no warning severity and this is not an error.", "enum": ["instances", "none"] }, "showLifecycle": { "type": "boolean" }, "showEvidence": { "type": "boolean" }, "showOwnership": { "type": "boolean" }, "
|
|
5317
|
+
const schema126 = { "type": "object", "additionalProperties": false, "properties": { "title": { "$ref": "#/$defs/nonEmptyText" }, "description": { "$ref": "#/$defs/nonEmptyText" }, "layout": { "enum": ["layered"] }, "direction": { "enum": ["top-down", "left-right"] }, "nesting": { "type": "array", "uniqueItems": true, "items": { "enum": ["composition", "assignment"] } }, "fold": { "description": "Whether this view draws pattern instances FOLDED by default (#473). \"instances\" collapses every instance to a single node carrying its members, with the edges into and out of them lifted onto the box; \"none\", the default, draws everything. A reader opens what they want, so this says where to START rather than what may be seen. Folding reads the same containment tree nesting does, so a view declaring fold without \"assignment\" in nesting collapses less than its author probably expects; the editor says so rather than the loader refusing it, because a diagnostic has no warning severity and this is not an error.", "enum": ["instances", "none"] }, "showLifecycle": { "type": "boolean" }, "showEvidence": { "type": "boolean" }, "showOwnership": { "type": "boolean" }, "notation": { "enum": ["archimate"] }, "folder": { "type": "string", "description": "The folder this view files itself under in an editor's rail. A LABEL the author declares, never the directory the projection sits in: nest with '/' separators, and the filesystem is never consulted (ADR 0104).", "pattern": "^[^/]+(?:/[^/]+)*$", "minLength": 1 } } };
|
|
5318
5318
|
const schema127 = { "type": "string", "minLength": 1 };
|
|
5319
5319
|
function validate65(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) { let vErrors = null; let errors = 0; const evaluated0 = validate65.evaluated; if (evaluated0.dynamicProps) {
|
|
5320
5320
|
evaluated0.props = undefined;
|
|
@@ -5505,73 +5505,61 @@ function validate65(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5505
5505
|
errors++;
|
|
5506
5506
|
}
|
|
5507
5507
|
}
|
|
5508
|
-
if (data.showConstraints !== undefined) {
|
|
5509
|
-
if (typeof data.showConstraints !== "boolean") {
|
|
5510
|
-
const err14 = { instancePath: instancePath + "/showConstraints", schemaPath: "#/properties/showConstraints/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
5511
|
-
if (vErrors === null) {
|
|
5512
|
-
vErrors = [err14];
|
|
5513
|
-
}
|
|
5514
|
-
else {
|
|
5515
|
-
vErrors.push(err14);
|
|
5516
|
-
}
|
|
5517
|
-
errors++;
|
|
5518
|
-
}
|
|
5519
|
-
}
|
|
5520
5508
|
if (data.notation !== undefined) {
|
|
5521
5509
|
if (!(data.notation === "archimate")) {
|
|
5522
|
-
const
|
|
5510
|
+
const err14 = { instancePath: instancePath + "/notation", schemaPath: "#/properties/notation/enum", keyword: "enum", params: { allowedValues: schema126.properties.notation.enum }, message: "must be equal to one of the allowed values" };
|
|
5523
5511
|
if (vErrors === null) {
|
|
5524
|
-
vErrors = [
|
|
5512
|
+
vErrors = [err14];
|
|
5525
5513
|
}
|
|
5526
5514
|
else {
|
|
5527
|
-
vErrors.push(
|
|
5515
|
+
vErrors.push(err14);
|
|
5528
5516
|
}
|
|
5529
5517
|
errors++;
|
|
5530
5518
|
}
|
|
5531
5519
|
}
|
|
5532
5520
|
if (data.folder !== undefined) {
|
|
5533
|
-
let
|
|
5534
|
-
if (typeof
|
|
5535
|
-
if (func2(
|
|
5536
|
-
const
|
|
5521
|
+
let data11 = data.folder;
|
|
5522
|
+
if (typeof data11 === "string") {
|
|
5523
|
+
if (func2(data11) < 1) {
|
|
5524
|
+
const err15 = { instancePath: instancePath + "/folder", schemaPath: "#/properties/folder/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
|
|
5537
5525
|
if (vErrors === null) {
|
|
5538
|
-
vErrors = [
|
|
5526
|
+
vErrors = [err15];
|
|
5539
5527
|
}
|
|
5540
5528
|
else {
|
|
5541
|
-
vErrors.push(
|
|
5529
|
+
vErrors.push(err15);
|
|
5542
5530
|
}
|
|
5543
5531
|
errors++;
|
|
5544
5532
|
}
|
|
5545
|
-
if (!pattern15.test(
|
|
5546
|
-
const
|
|
5533
|
+
if (!pattern15.test(data11)) {
|
|
5534
|
+
const err16 = { instancePath: instancePath + "/folder", schemaPath: "#/properties/folder/pattern", keyword: "pattern", params: { pattern: "^[^/]+(?:/[^/]+)*$" }, message: "must match pattern \"" + "^[^/]+(?:/[^/]+)*$" + "\"" };
|
|
5547
5535
|
if (vErrors === null) {
|
|
5548
|
-
vErrors = [
|
|
5536
|
+
vErrors = [err16];
|
|
5549
5537
|
}
|
|
5550
5538
|
else {
|
|
5551
|
-
vErrors.push(
|
|
5539
|
+
vErrors.push(err16);
|
|
5552
5540
|
}
|
|
5553
5541
|
errors++;
|
|
5554
5542
|
}
|
|
5555
5543
|
}
|
|
5556
5544
|
else {
|
|
5557
|
-
const
|
|
5545
|
+
const err17 = { instancePath: instancePath + "/folder", schemaPath: "#/properties/folder/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
5558
5546
|
if (vErrors === null) {
|
|
5559
|
-
vErrors = [
|
|
5547
|
+
vErrors = [err17];
|
|
5560
5548
|
}
|
|
5561
5549
|
else {
|
|
5562
|
-
vErrors.push(
|
|
5550
|
+
vErrors.push(err17);
|
|
5563
5551
|
}
|
|
5564
5552
|
errors++;
|
|
5565
5553
|
}
|
|
5566
5554
|
}
|
|
5567
5555
|
}
|
|
5568
5556
|
else {
|
|
5569
|
-
const
|
|
5557
|
+
const err18 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
5570
5558
|
if (vErrors === null) {
|
|
5571
|
-
vErrors = [
|
|
5559
|
+
vErrors = [err18];
|
|
5572
5560
|
}
|
|
5573
5561
|
else {
|
|
5574
|
-
vErrors.push(
|
|
5562
|
+
vErrors.push(err18);
|
|
5575
5563
|
}
|
|
5576
5564
|
errors++;
|
|
5577
5565
|
} validate65.errors = vErrors; return errors === 0; }
|