simpl-schema
Advanced tools
Comparing version 3.3.0 to 3.4.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ValidationContext = exports.toJsonSchema = void 0; | ||
exports.ValidationContext = exports.toJsonSchema = exports.schemaDefinitionOptions = void 0; | ||
require("./clean.js"); | ||
const SimpleSchema_js_1 = require("./SimpleSchema.js"); | ||
Object.defineProperty(exports, "schemaDefinitionOptions", { enumerable: true, get: function () { return SimpleSchema_js_1.schemaDefinitionOptions; } }); | ||
Object.defineProperty(exports, "ValidationContext", { enumerable: true, get: function () { return SimpleSchema_js_1.ValidationContext; } }); | ||
@@ -7,0 +8,0 @@ const toJsonSchema_js_1 = require("./toJsonSchema.js"); |
@@ -37,3 +37,2 @@ "use strict"; | ||
exports.ValidationContext = ValidationContext_js_1.default; | ||
// Exported for tests | ||
exports.schemaDefinitionOptions = [ | ||
@@ -40,0 +39,0 @@ 'autoValue', |
import './clean.js'; | ||
import { SimpleSchema, ValidationContext } from './SimpleSchema.js'; | ||
import { schemaDefinitionOptions, SimpleSchema, ValidationContext } from './SimpleSchema.js'; | ||
import { toJsonSchema } from './toJsonSchema.js'; | ||
export { toJsonSchema, ValidationContext }; | ||
export { schemaDefinitionOptions, toJsonSchema, ValidationContext }; | ||
export default SimpleSchema; |
import './clean.js'; | ||
import { SimpleSchema, ValidationContext } from './SimpleSchema.js'; | ||
import { schemaDefinitionOptions, SimpleSchema, ValidationContext } from './SimpleSchema.js'; | ||
import { toJsonSchema } from './toJsonSchema.js'; | ||
SimpleSchema.ValidationContext = ValidationContext; | ||
export { toJsonSchema, ValidationContext }; | ||
export { schemaDefinitionOptions, toJsonSchema, ValidationContext }; | ||
export default SimpleSchema; |
@@ -30,3 +30,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import ValidationContext from './ValidationContext.js'; | ||
// Exported for tests | ||
export const schemaDefinitionOptions = [ | ||
@@ -33,0 +32,0 @@ 'autoValue', |
@@ -91,2 +91,3 @@ import MongoObject from 'mongo-object'; | ||
clean?: CleanOptions; | ||
defaultLabel?: string; | ||
getErrorMessage?: GetErrorMessageFn; | ||
@@ -93,0 +94,0 @@ humanizeAutoLabels?: boolean; |
{ | ||
"name": "simpl-schema", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "A schema validation package that supports direct validation of MongoDB update modifier objects.", | ||
@@ -5,0 +5,0 @@ "author": "Eric Dobbertin <eric@dairystatedesigns.com>", |
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
333865