@graphcms/validation
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -21,3 +21,4 @@ var yup = require('yup'); | ||
'input','node']; | ||
var reservedNonSystemTypeNames = ['Id','User','Search','Status','Color','Locale']; | ||
var reservedNonSystemTypeNames = ['Id','User','Search','Status','Color','Locale', | ||
'RichText']; | ||
var reservedNonSystemFieldNames = ['id','createdat','updatedat','versions','createdby']; | ||
@@ -24,0 +25,0 @@ var reservedModelApiIds = ['Type'].concat(reservedNonSystemTypeNames); |
@@ -21,3 +21,4 @@ import { string, boolean } from 'yup'; | ||
'input','node']; | ||
var reservedNonSystemTypeNames = ['Id','User','Search','Status','Color','Locale']; | ||
var reservedNonSystemTypeNames = ['Id','User','Search','Status','Color','Locale', | ||
'RichText']; | ||
var reservedNonSystemFieldNames = ['id','createdat','updatedat','versions','createdby']; | ||
@@ -29,3 +30,3 @@ var reservedModelApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2VydmVkV29yZHMudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sR0FBQSxDQUFJLG1CQUFtQixDQUMxQixNQUNBLFFBQ0EsU0FDQSxVQUNBLE9BQ0E7SUFDQSxRQUNBLFdBQ0EsV0FDQSxPQUNBLFdBQ0EsZUFDQSxTQUNBO0lBQ0EsUUFDQTtBQUVKLEdBQUEsQ0FBSSw2QkFBNkIsQ0FBQyxLQUFNLE9BQVEsU0FBVSxTQUFVLFFBQVM7QUFDN0UsR0FBQSxDQUFJLDhCQUE4QixDQUFDLEtBQU0sWUFBYSxZQUFhLFdBQVk7QUFDL0UsT0FBTyxHQUFBLENBQUksc0JBQXNCLENBQUMsT0FBRCxDQUFTLE1BQVQsQ0FBZ0I7QUFDakQsT0FBTyxHQUFBLENBQUksNEJBQTRCLENBQUMsT0FBRCxDQUFTLE1BQVQsQ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gJ3F1ZXJ5JyxcclxuICAgICdpbnB1dCcsXHJcbiAgICAnbm9kZScsXHJcbl07XHJcbnZhciByZXNlcnZlZE5vblN5c3RlbVR5cGVOYW1lcyA9IFsnSWQnLCAnVXNlcicsICdTZWFyY2gnLCAnU3RhdHVzJywgJ0NvbG9yJywgJ0xvY2FsZScsICdSaWNoVGV4dCddO1xyXG52YXIgcmVzZXJ2ZWROb25TeXN0ZW1GaWVsZE5hbWVzID0gWydpZCcsICdjcmVhdGVkYXQnLCAndXBkYXRlZGF0JywgJ3ZlcnNpb25zJywgJ2NyZWF0ZWRieSddO1xyXG5leHBvcnQgdmFyIHJlc2VydmVkTW9kZWxBcGlJZHMgPSBbJ1R5cGUnXS5jb25jYXQocmVzZXJ2ZWROb25TeXN0ZW1UeXBlTmFtZXMpO1xyXG5leHBvcnQgdmFyIHJlc2VydmVkRW51bWVyYXRpb25BcGlJZHMgPSBbJ1R5cGUnXS5jb25jYXQocmVzZXJ2ZWROb25TeXN0ZW1UeXBlTmFtZXMpO1xyXG5leHBvcnQgdmFyIHJlc2VydmVkRmllbGRBcGlJZHMgPSByZXNlcnZlZE5vblN5c3RlbUZpZWxkTmFtZXM7XHJcbiJdfQ== | ||
@@ -32,0 +33,0 @@ var apiId = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'The API ID of an enumeration must be at least one character long.').max(64, 'The API ID of an enumeration may not exceed 64 characters.').test({ |
@@ -25,3 +25,4 @@ (function (global, factory) { | ||
'input','node']; | ||
var reservedNonSystemTypeNames = ['Id','User','Search','Status','Color','Locale']; | ||
var reservedNonSystemTypeNames = ['Id','User','Search','Status','Color','Locale', | ||
'RichText']; | ||
var reservedNonSystemFieldNames = ['id','createdat','updatedat','versions','createdby']; | ||
@@ -33,3 +34,3 @@ var reservedModelApiIds = ['Type'].concat(reservedNonSystemTypeNames); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIn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HJlc2VydmVkRmllbGRBcGlJZHMgPSByZXNlcnZlZE5vblN5c3RlbUZpZWxkTmFtZXM7XHJcbiJdfQ== | ||
@@ -36,0 +37,0 @@ var apiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'The API ID of an enumeration must be at least one character long.').max(64, 'The API ID of an enumeration may not exceed 64 characters.').test({ |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"main": "dist/validation.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
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
314777
1113