@contember/schema-utils
Advanced tools
Comparing version 1.4.0-alpha.2 to 1.4.0-alpha.3
import { Schema } from '@contember/schema'; | ||
import { ValidationError, ValidationErrorCode } from './errors'; | ||
export interface SchemaValidatorSkippedErrors { | ||
code: ValidationErrorCode; | ||
skipUntil?: string; | ||
path?: string; | ||
readonly code: ValidationErrorCode; | ||
readonly skipUntil?: string; | ||
readonly path?: string; | ||
} | ||
@@ -8,0 +8,0 @@ export declare class SchemaValidator { |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.categoryEditorVariable = schema_definition_1.AclDefinition.createEntityVariable('category', 'Category', exports.editorRole); | ||
let Article = exports.Article = class Article { | ||
let Article = class Article { | ||
constructor() { | ||
@@ -22,2 +22,3 @@ this.title = schema_definition_1.SchemaDefinition.stringColumn(); | ||
}; | ||
exports.Article = Article; | ||
exports.Article = Article = __decorate([ | ||
@@ -34,3 +35,3 @@ schema_definition_1.AclDefinition.allow(exports.readerRole, { | ||
], Article); | ||
let Category = exports.Category = class Category { | ||
let Category = class Category { | ||
constructor() { | ||
@@ -40,2 +41,3 @@ this.name = schema_definition_1.SchemaDefinition.stringColumn(); | ||
}; | ||
exports.Category = Category; | ||
exports.Category = Category = __decorate([ | ||
@@ -42,0 +44,0 @@ schema_definition_1.AclDefinition.allow(exports.readerRole, { |
@@ -11,3 +11,3 @@ "use strict"; | ||
const schema_definition_1 = require("@contember/schema-definition"); | ||
let Article = exports.Article = class Article { | ||
let Article = class Article { | ||
constructor() { | ||
@@ -17,2 +17,3 @@ this.title = schema_definition_1.SchemaDefinition.stringColumn(); | ||
}; | ||
exports.Article = Article; | ||
exports.Article = Article = __decorate([ | ||
@@ -19,0 +20,0 @@ schema_definition_1.SchemaDefinition.Unique('title') |
{ | ||
"name": "@contember/schema-utils", | ||
"version": "1.4.0-alpha.2", | ||
"version": "1.4.0-alpha.3", | ||
"license": "Apache-2.0", | ||
@@ -15,9 +15,9 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@contember/schema": "1.4.0-alpha.2", | ||
"@contember/typesafe": "1.4.0-alpha.2" | ||
"@contember/schema": "1.4.0-alpha.3", | ||
"@contember/typesafe": "1.4.0-alpha.3" | ||
}, | ||
"devDependencies": { | ||
"@contember/schema-definition": "1.4.0-alpha.2", | ||
"@types/node": "^18" | ||
"@contember/schema-definition": "1.4.0-alpha.3", | ||
"@types/node": "^20.9.0" | ||
} | ||
} |
@@ -9,5 +9,5 @@ import { Schema } from '@contember/schema' | ||
export interface SchemaValidatorSkippedErrors { | ||
code: ValidationErrorCode | ||
skipUntil?: string | ||
path?: string | ||
readonly code: ValidationErrorCode | ||
readonly skipUntil?: string | ||
readonly path?: string | ||
} | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
618002
8458
+ Added@contember/schema@1.4.0-alpha.3(transitive)
+ Added@contember/typesafe@1.4.0-alpha.3(transitive)
- Removed@contember/schema@1.4.0-alpha.2(transitive)
- Removed@contember/typesafe@1.4.0-alpha.2(transitive)