@contember/schema
Advanced tools
Comparing version 0.8.0-alpha.2 to 0.8.0-alpha.3
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Result = exports.Validation = exports.Acl = exports.Model = exports.Input = void 0; | ||
const input_1 = require("./schema/input"); | ||
@@ -16,3 +24,3 @@ exports.Input = input_1.default; | ||
exports.Result = result_1.default; | ||
__export(require("./ProjectRole")); | ||
__exportStar(require("./ProjectRole"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProjectRole = void 0; | ||
var ProjectRole; | ||
@@ -4,0 +5,0 @@ (function (ProjectRole) { |
@@ -13,4 +13,5 @@ import Input from './input'; | ||
} | ||
type VariableValue = string | number | (string | number)[]; | ||
interface VariablesMap { | ||
[name: string]: string | number | (string | number)[]; | ||
[name: string]: VariableValue; | ||
} | ||
@@ -17,0 +18,0 @@ type PredicateVariable = string; |
@@ -5,2 +5,3 @@ import Value from './value'; | ||
ok: boolean; | ||
errorMessage?: string; | ||
errors: ExecutionError[]; | ||
@@ -12,2 +13,3 @@ validation: ValidationResult; | ||
ok: boolean; | ||
errorMessage?: string; | ||
errors: ExecutionError[]; | ||
@@ -19,2 +21,3 @@ validation: ValidationResult; | ||
ok: boolean; | ||
errorMessage?: string; | ||
errors: ExecutionError[]; | ||
@@ -25,2 +28,3 @@ node: Value.Object | null; | ||
ok: boolean; | ||
errorMessage?: string; | ||
validation: ValidationResult; | ||
@@ -41,3 +45,5 @@ } | ||
NotFoundOrDenied = "NotFoundOrDenied", | ||
NonUniqueWhereInput = "NonUniqueWhereInput" | ||
NonUniqueWhereInput = "NonUniqueWhereInput", | ||
InvalidDataInput = "InvalidDataInput", | ||
SqlError = "SqlError" | ||
} | ||
@@ -44,0 +50,0 @@ interface ExecutionError { |
@@ -12,2 +12,4 @@ "use strict"; | ||
ExecutionErrorType["NonUniqueWhereInput"] = "NonUniqueWhereInput"; | ||
ExecutionErrorType["InvalidDataInput"] = "InvalidDataInput"; | ||
ExecutionErrorType["SqlError"] = "SqlError"; | ||
})(ExecutionErrorType = Result.ExecutionErrorType || (Result.ExecutionErrorType = {})); | ||
@@ -14,0 +16,0 @@ })(Result || (Result = {})); |
{ | ||
"name": "@contember/schema", | ||
"version": "0.8.0-alpha.2", | ||
"version": "0.8.0-alpha.3", | ||
"license": "Apache-2.0", | ||
@@ -9,5 +9,5 @@ "main": "dist/src/index.js", | ||
"devDependencies": { | ||
"typescript": "^3.7.4" | ||
"typescript": "^3.9.5" | ||
}, | ||
"gitHead": "dfc666f11f4d24a67b260bf57f62b420657d51c2" | ||
"gitHead": "8c72aa88a27d3120a52e6968fe0e188490005b39" | ||
} |
@@ -28,4 +28,6 @@ import Input from './input' | ||
export type VariableValue = string | number | (string | number)[] | ||
export interface VariablesMap { | ||
[name: string]: string | number | (string | number)[] | ||
[name: string]: VariableValue | ||
} | ||
@@ -32,0 +34,0 @@ |
@@ -6,2 +6,3 @@ import Value from './value' | ||
ok: boolean | ||
errorMessage?: string | ||
errors: ExecutionError[] | ||
@@ -14,2 +15,3 @@ validation: ValidationResult | ||
ok: boolean | ||
errorMessage?: string | ||
errors: ExecutionError[] | ||
@@ -22,2 +24,3 @@ validation: ValidationResult | ||
ok: boolean | ||
errorMessage?: string | ||
errors: ExecutionError[] | ||
@@ -29,2 +32,3 @@ node: Value.Object | null | ||
ok: boolean | ||
errorMessage?: string | ||
validation: ValidationResult | ||
@@ -49,2 +53,4 @@ } | ||
NonUniqueWhereInput = 'NonUniqueWhereInput', | ||
InvalidDataInput = 'InvalidDataInput', | ||
SqlError = 'SqlError', | ||
} | ||
@@ -51,0 +57,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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
182651
1276