@lcem/meta-schemas
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -6,4 +6,7 @@ # Change Log | ||
## [0.8.1](https://github.com/salesforce/uem-js/compare/v0.7.4...v0.8.1) (2021-12-14) | ||
## [0.8.2](https://github.com/salesforce/uem-js/compare/v0.8.1...v0.8.2) (2021-12-15) | ||
**Note:** Version bump only for package @lcem/meta-schemas | ||
### Bug Fixes | ||
* uem shape metaschema changes ([#94](https://github.com/salesforce/uem-js/issues/94)) ([ec72e26](https://github.com/salesforce/uem-js/commit/ec72e26d113e85f75136e80cabb41a88b8b633ac)) |
{ | ||
"name": "@lcem/meta-schemas", | ||
"license": "MIT", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"types": "src/types/index.d.ts", | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
@@ -80,4 +80,9 @@ import fs from 'fs'; | ||
schemaPaths.reverse().forEach((path) => { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
ajv.addSchema(require(path)); | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
ajv.addSchema(require(path)); | ||
} catch (e) { | ||
console.error(`File Error: ${path}`); | ||
throw e; | ||
} | ||
}); | ||
@@ -84,0 +89,0 @@ } |
{ | ||
"$id": "https://salesforce.com/54.0/schemas/meta", | ||
"title": "Component Manifest file schema", | ||
"$defs": { | ||
"target": { | ||
"type": "object", | ||
"properties": { | ||
"config": { | ||
"type": "string" | ||
"$id": "https://salesforce.com/54.0/schemas/meta", | ||
"title": "Component Manifest file schema", | ||
"$defs": { | ||
"target": { | ||
"type": "object", | ||
"properties": { | ||
"config": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "number" | ||
}, | ||
"isExposed": { | ||
"type": "boolean" | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "number" | ||
}, | ||
"isExposed": { | ||
"type": "boolean" | ||
}, | ||
"masterLabel": { | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"targets": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/$defs/target" | ||
} | ||
} | ||
}, | ||
"masterLabel": { | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"targets": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/$defs/target" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"apiVersion" | ||
] | ||
} | ||
"additionalProperties": false, | ||
"required": ["apiVersion"] | ||
} |
@@ -16,15 +16,22 @@ { | ||
"$defs": { | ||
"properties": { | ||
"events": { | ||
"patternProperties": { | ||
"^.+$": { | ||
"$ref": "schema" | ||
"^[A-Za-z0-9]+$": { | ||
"$ref": "vocab/event" | ||
} | ||
} | ||
}, | ||
"events": { | ||
"slots": { | ||
"patternProperties": { | ||
"^[A-Za-z0-9]+$": { | ||
"$ref": "vocab/event" | ||
"$ref": "vocab/slot" | ||
} | ||
} | ||
}, | ||
"methods": { | ||
"patternProperties": { | ||
"^[A-Za-z0-9]+$": { | ||
"$ref": "vocab/method" | ||
} | ||
} | ||
} | ||
@@ -38,9 +45,11 @@ }, | ||
"properties": { | ||
"$ref": "#/$defs/properties" | ||
"$ref": "schema" | ||
}, | ||
"slots": { | ||
"$ref": "vocab/slot" | ||
"$ref": "#/$defs/slots" | ||
}, | ||
"methods": true | ||
"methods": { | ||
"$ref": "#/$defs/methods" | ||
} | ||
} | ||
} |
@@ -6,3 +6,4 @@ { | ||
}, | ||
"type": "object" | ||
"title": "Slot meta schema", | ||
"$ref": "../schema" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56219
101
2031