@graphcms/validation
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -6,3 +6,3 @@ var yup = require('yup'); | ||
var reservedFieldNames = ['ID','createdAt','updatedAt']; | ||
var reservedEnumerationNames = []; | ||
var reservedEnumerationNames = ['Status']; | ||
var reservedModelApiIds = reservedModelNames.concat(graphQlTypeNames); | ||
@@ -9,0 +9,0 @@ var reservedFieldApiIds = reservedFieldNames.concat(graphQlTypeNames); |
@@ -6,3 +6,3 @@ import { string } from 'yup'; | ||
var reservedFieldNames = ['ID','createdAt','updatedAt']; | ||
var reservedEnumerationNames = []; | ||
var reservedEnumerationNames = ['Status']; | ||
var reservedModelApiIds = reservedModelNames.concat(graphQlTypeNames); | ||
@@ -13,3 +13,3 @@ var reservedFieldApiIds = reservedFieldNames.concat(graphQlTypeNames); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2VydmVkV29yZHMudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLEdBQUEsQ0FBSSxtQkFBbUIsQ0FBQyxNQUFPLFFBQVMsU0FBVSxVQUFXO0FBQzdELEdBQUEsQ0FBSSxxQkFBcUI7QUFDekIsR0FBQSxDQUFJLHFCQUFxQixDQUFDLEtBQU0sWUFBYTtBQUM3QyxHQUFBLENBQUksMkJBQTJCO0FBQy9CLE9BQU8sR0FBQSxDQUFJLHNCQUFzQixrQkFBQSxDQUFtQixNQUFuQixDQUEwQjtBQUMzRCxPQUFPLEdBQUEsQ0FBSSxzQkFBc0Isa0JBQUEsQ0FBbUIsTUFBbkIsQ0FBMEI7QUFDM0QsT0FBTyxHQUFBLENBQUksNEJBQTRCLHdCQUFBLENBQXlCLE1BQXpCLENBQWdDO0FBTnZFIiwiZmlsZSI6InJlc2VydmVkV29yZHMudHMob3JpZ2luYWwpIiwic291cmNlc0NvbnRlbnQiOlsidmFyIGdyYXBoUWxUeXBlTmFtZXMgPSB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0QkFBNEIsd0JBQUEsQ0FBeUIsTUFBekIsQ0FBZ0M7QUFOdkUiLCJmaWxlIjoicmVzZXJ2ZWRXb3Jkcy50cyhvcmlnaW5hbCkiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgZ3JhcGhRbFR5cGVOYW1lcyA9IFsnSW50JywgJ0Zsb2F0JywgJ1N0cmluZycsICdCb29sZWFuJywgJ0lEJ107XHJcbnZhciByZXNlcnZlZE1vZGVsTmFtZXMgPSBbXTtcclxudmFyIHJlc2VydmVkRmllbGROYW1lcyA9IFsnSUQnLCAnY3JlYXRlZEF0JywgJ3VwZGF0ZWRBdCddO1xyXG52YXIgcmVzZXJ2ZWRFbnVtZXJhdGlvbk5hbWVzID0gWydTdGF0dXMnXTtcclxuZXhwb3J0IHZhciByZXNlcnZlZE1vZGVsQXBpSWRzID0gcmVzZXJ2ZWRNb2RlbE5hbWVzLmNvbmNhdChncmFwaFFsVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEZpZWxkQXBpSWRzID0gcmVzZXJ2ZWRGaWVsZE5hbWVzLmNvbmNhdChncmFwaFFsVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEVudW1lcmF0aW9uQXBpSWRzID0gcmVzZXJ2ZWRFbnVtZXJhdGlvbk5hbWVzLmNvbmNhdChncmFwaFFsVHlwZU5hbWVzKTtcclxuIl19 | ||
@@ -16,0 +16,0 @@ var apiId = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).max(64).required('The apiID of a model may not be "undefined" or an empty string!').test('first-uppercase', '${path} first Letter is not Uppercase', function (value) { |
@@ -10,3 +10,3 @@ (function (global, factory) { | ||
var reservedFieldNames = ['ID','createdAt','updatedAt']; | ||
var reservedEnumerationNames = []; | ||
var reservedEnumerationNames = ['Status']; | ||
var reservedModelApiIds = reservedModelNames.concat(graphQlTypeNames); | ||
@@ -17,3 +17,3 @@ var reservedFieldApiIds = reservedField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wb3J0IHZhciByZXNlcnZlZE1vZGVsQXBpSWRzID0gcmVzZXJ2ZWRNb2RlbE5hbWVzLmNvbmNhdChncmFwaFFsVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEZpZWxkQXBpSWRzID0gcmVzZXJ2ZWRGaWVsZE5hbWVzLmNvbmNhdChncmFwaFFsVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEVudW1lcmF0aW9uQXBpSWRzID0gcmVzZXJ2ZWRFbnVtZXJhdGlvbk5hbWVzLmNvbmNhdChncmFwaFFsVHlwZU5hbWVzKTtcclxuIl19 | ||
@@ -20,0 +20,0 @@ var apiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).max(64).required('The apiID of a model may not be "undefined" or an empty string!').test('first-uppercase', '${path} first Letter is not Uppercase', function (value) { |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"main": "dist/validation.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
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
489335