@graphcms/validation
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -82,3 +82,3 @@ var yup = require('yup'); | ||
var API_REGIONS = ['EU_WEST_1','US_EAST_1']; | ||
var API_REGIONS = ['EU_WEST_1','US_EAST_1','US_WEST_1','AP_NORTHEAST_1']; | ||
var name$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a project can not be empty.'); | ||
@@ -85,0 +85,0 @@ var region = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).required('The region of a project can not be empty!').oneOf(API_REGIONS, 'The region can only be one of these values: ${values}'); |
@@ -85,3 +85,3 @@ import { string, array } from 'yup'; | ||
var API_REGIONS = ['EU_WEST_1','US_EAST_1']; | ||
var API_REGIONS = ['EU_WEST_1','US_EAST_1','US_WEST_1','AP_NORTHEAST_1']; | ||
var name$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a project can not be empty.'); | ||
@@ -102,3 +102,3 @@ var region = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).required('The region of a project can not be empty!').oneOf(API_REGIONS, 'The region can only be one of these values: ${values}'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3QudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxjQUFjLENBQUMsWUFBYTtBQUV2QyxPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixTQUZhLENBRUgsd0ZBRkcsQ0FHYixNQUhhLENBR04sS0FITSxDQUliLFFBSmEsQ0FJSjtBQUNkLE9BQU8sR0FBQSxDQUFJLFNBQVMsR0FBQSxDQUNmLE1BRGUsRUFBQSxDQUVmLFNBRmUsQ0F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BcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAucmVxdWlyZWQoJ0EgdG9rZW4gY2FuIG5vdCBiZSBlbXB0eSEnKTtcclxuZXhwb3J0IHZhciBjdXN0b21QcmlzbWEgPSB7IHVybDogdXJsLCB0b2tlbjogdG9rZW4gfTtcclxuIl19 | ||
@@ -105,0 +105,0 @@ |
@@ -89,3 +89,3 @@ (function (global, factory) { | ||
var API_REGIONS = ['EU_WEST_1','US_EAST_1']; | ||
var API_REGIONS = ['EU_WEST_1','US_EAST_1','US_WEST_1','AP_NORTHEAST_1']; | ||
var name$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a project can not be empty.'); | ||
@@ -106,3 +106,3 @@ var region = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).required('The region of a project can not be empty!').oneOf(API_REGIONS, 'The region can only be one of these values: ${values}'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3QudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxjQUFjLENBQUMsWUFBYTtBQUV2QyxPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixTQUZhLENBRUgsd0ZBRkcsQ0FHYixNQUhhLENBR04sS0FITSxDQUliLFFBSmEsQ0FJSjtBQUNkLE9BQU8sR0FBQSxDQUFJLFNBQVMsR0FBQSxDQUNmLE1BRGUsRU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yXG52YXIgdG9rZW4gPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAucmVxdWlyZWQoJ0EgdG9rZW4gY2FuIG5vdCBiZSBlbXB0eSEnKTtcclxuZXhwb3J0IHZhciBjdXN0b21QcmlzbWEgPSB7IHVybDogdXJsLCB0b2tlbjogdG9rZW4gfTtcclxuIl19 | ||
@@ -109,0 +109,0 @@ |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"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
476833