@graphcms/validation
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -25,3 +25,3 @@ var yup = require('yup'); | ||
var reservedNonSystemFieldNames = ['id','createdat','updatedat','versions','createdby', | ||
'status']; | ||
'status','publishedat']; | ||
var reservedModelApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
@@ -28,0 +28,0 @@ var reservedEnumerationApiIds = ['Type'].concat(reservedNonSystemTypeNames); |
@@ -25,3 +25,3 @@ import { string, boolean } from 'yup'; | ||
var reservedNonSystemFieldNames = ['id','createdat','updatedat','versions','createdby', | ||
'status']; | ||
'status','publishedat']; | ||
var reservedModelApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
@@ -32,3 +32,3 @@ var reservedEnumerationApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2VydmVkV29yZHMudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sR0FBQSxDQUFJLG1CQUFtQixDQUMxQixNQUNBLFFBQ0EsU0FDQSxVQUNBLE9BQ0E7SUFDQSxRQUNBLFdBQ0EsV0FDQSxPQUNBLFdBQ0EsZUFDQSxTQUNBO0lBQ0EsUUFDQTtBQUVKLEdBQUEsQ0FBSSw2QkFBNkIsQ0FDN0IsS0FDQSxPQUNBLFNBQ0EsU0FDQSxTQUNBO0lBQ0EsY0FDQSxXQUNBLGdCQUNBLFFBQ0EsYUFDQTtJQUNBLFVBQ0EsTUFDQTtBQUVKLEdBQUEsQ0FBSSw4QkFBOEIsQ0FDOUIsS0FDQSxZQUNBLFlBQ0EsV0FDQTtJQUNBO0FBRUosT0FBTyxHQUFBLENBQUksc0JBQXNCLENBQUMsT0FBRCxDQUFTLE1BQVQsQ0FBZ0I7QUFDakQsT0FBTyxHQUFBLENBQUksNEJBQTRCLENBQUMsT0FBRCxDQUFTLE1BQVQsQ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zaW9ucycsXHJcbiAgICAnY3JlYXRlZGJ5JyxcclxuICAgICdzdGF0dXMnLFxyXG4gICAgJ3B1Ymxpc2hlZGF0JyxcclxuXTtcclxuZXhwb3J0IHZhciByZXNlcnZlZE1vZGVsQXBpSWRzID0gWydUeXBlJ10uY29uY2F0KHJlc2VydmVkTm9uU3lzdGVtVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEVudW1lcmF0aW9uQXBpSWRzID0gWydUeXBlJ10uY29uY2F0KHJlc2VydmVkTm9uU3lzdGVtVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEZpZWxkQXBpSWRzID0gcmVzZXJ2ZWROb25TeXN0ZW1GaWVsZE5hbWVzO1xyXG4iXX0= | ||
@@ -35,0 +35,0 @@ var apiId = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter an Api Id.').max(64, 'Use an Api Id that is shorter than 64 characters.').test({ |
@@ -29,3 +29,3 @@ (function (global, factory) { | ||
var reservedNonSystemFieldNames = ['id','createdat','updatedat','versions','createdby', | ||
'status']; | ||
'status','publishedat']; | ||
var reservedModelApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
@@ -36,3 +36,3 @@ var reservedEnumerationApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2VydmVkV29yZHMudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sR0FBQSxDQUFJLG1CQUFtQixDQUMxQixNQUNBLFFBQ0EsU0FDQSxVQUNBLE9BQ0E7SUFDQSxRQUNBLFdBQ0EsV0FDQSxPQUNBLFdBQ0EsZUFDQSxTQUNBO0lBQ0EsUUFDQTtBQUVKLEdBQUEsQ0FBSSw2QkFBNkIsQ0FDN0IsS0FDQSxPQUNBLFNBQ0EsU0FDQ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iAgICAnQ29sb3InLFxyXG4gICAgJ0NvbG9ySW5wdXQnLFxyXG4gICAgJ1JHQkFUcmFuc3BhcmVuY3knLFxyXG4gICAgJ1JHQkFIdWUnLFxyXG4gICAgJ0hFWCcsXHJcbiAgICAnUkdCQScsXHJcbl07XHJcbnZhciByZXNlcnZlZE5vblN5c3RlbUZpZWxkTmFtZXMgPSBbXHJcbiAgICAnaWQnLFxyXG4gICAgJ2NyZWF0ZWRhdCcsXHJcbiAgICAndXBkYXRlZGF0JyxcclxuICAgICd2ZXJzaW9ucycsXHJcbiAgICAnY3JlYXRlZGJ5JyxcclxuICAgICdzdGF0dXMnLFxyXG4gICAgJ3B1Ymxpc2hlZGF0JyxcclxuXTtcclxuZXhwb3J0IHZhciByZXNlcnZlZE1vZGVsQXBpSWRzID0gWydUeXBlJ10uY29uY2F0KHJlc2VydmVkTm9uU3lzdGVtVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEVudW1lcmF0aW9uQXBpSWRzID0gWydUeXBlJ10uY29uY2F0KHJlc2VydmVkTm9uU3lzdGVtVHlwZU5hbWVzKTtcclxuZXhwb3J0IHZhciByZXNlcnZlZEZpZWxkQXBpSWRzID0gcmVzZXJ2ZWROb25TeXN0ZW1GaWVsZE5hbWVzO1xyXG4iXX0= | ||
@@ -39,0 +39,0 @@ var apiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter an Api Id.').max(64, 'Use an Api Id that is shorter than 64 characters.').test({ |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
200326
179
0