@graphcms/validation
Advanced tools
Comparing version 1.2.14 to 1.3.0
@@ -29,3 +29,3 @@ var yup = require('yup'); | ||
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({ | ||
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: 'no-graphql-type', | ||
@@ -37,3 +37,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -57,8 +57,8 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[A-Z][a-zA-Z0-9_]*$/, 'An The API ID of an enumeration may only start with a capital letter and contain only alphanumeric characters and underscores.'); | ||
var displayName = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'The display name may not be empty.').trim('The display name may not have leading or trailing whitespaces.'); | ||
}).matches(/^[A-Z][a-zA-Z0-9_]*$/, 'Start with a capital letter and use only alphanumeric characters.'); | ||
var displayName = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a Display Name.').trim('The display name may not have leading or trailing whitespaces.'); | ||
var description$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var valueItemApiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'An enumeration value must be at least one character long.').max(191, 'An enumeration value may not exceed 191 characters.').matches(/^[A-Z][a-zA-Z0-9_]*$/, 'An enumeration value may only start with an uppercase letter and contain alphanumeric characters and underscores only.'); | ||
var valueItemApiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a value.').max(191, 'Use a value that is shorter than 191 characters.').matches(/^[A-Z][a-zA-Z0-9_]*$/, 'Start with a capital letter, and use only alphanumeric characters or underscores.'); | ||
var valueItemDisplayName = displayName; | ||
@@ -80,3 +80,3 @@ var enumerationId = yup.string().strict(true); | ||
var apiId$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The API ID of a field must be at least one character long.').max(32, 'The API ID of a field may not exceed 32 characters.').test({ | ||
var apiId$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter an Api Id.').max(32, 'Use an Api Id that is shorter than 32 characters.').test({ | ||
name: 'no-graphql-type', | ||
@@ -88,3 +88,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -102,7 +102,7 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'The API ID of a field may only start with a lowercase letter and contain alphanumeric characters.'); | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'Start with a lowercase letter and use only alphanumeric characters.'); | ||
var reverseRelationFieldApiId = apiId$1.concat(yup.string().max(64, 'The API ID of a field may not exceed 64 characters.')); | ||
var displayName$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The display name of a field must be at least one character long.').test('no-letter', 'The display name of a field should contain at least one non-whitespace character', function (value) { | ||
var displayName$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter a Display Name.').test('no-letter', 'Enter a Display Name.', function (value) { | ||
if (!value) { | ||
@@ -112,3 +112,3 @@ return true; | ||
if (value && typeof value === 'string') { | ||
return value.replace(' ', '').length > 0; | ||
return value.replace(/\s/g, '').length > 0; | ||
} | ||
@@ -144,3 +144,3 @@ return false; | ||
var apiId$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The API ID of a model must be at least one character long.').max(64, 'The API ID of a model may not exceed 64 characters.').test({ | ||
var apiId$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter an Api ID.').max(64, 'Use an Api Id that is shorter than 64 characters.').test({ | ||
name: 'no-graphql-type', | ||
@@ -152,3 +152,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -166,6 +166,6 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[A-Z][a-zA-Z0-9]*$/, 'The API ID of a model may only start with a capital letter and contain only alphanumeric characters.'); | ||
var displayName$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).trim('Display names may not have leading or trailing whitespaces.'); | ||
}).matches(/^[A-Z][a-zA-Z0-9]*$/, 'Start with a capital letter and use only alphanumeric characters.'); | ||
var displayName$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter a Display Name').trim('Display names may not have leading or trailing whitespaces.'); | ||
var description$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
@@ -186,3 +186,3 @@ var modelId = yup.string().strict(true); | ||
var API_REGIONS = ['EU_WEST_1','EU_WEST_3','US_EAST_1','US_WEST_1','AP_NORTHEAST_1']; | ||
var name$1 = yup.string().min(1).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true); | ||
var name$1 = yup.string().min(1, 'Enter a Name').typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true); | ||
var region = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true).min(1).oneOf(API_REGIONS, 'The region can only be one of these values: ${values}'); | ||
@@ -213,3 +213,3 @@ var description$4 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var name$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a role may not start or end with whitespace characters!').min(1, 'The name of a role must be at least one character long.').max(32, 'The name of a role may not exceed 32 characters.'); | ||
var name$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The role name may not start or end with whitespace characters.').min(1, 'Choose a name for this role.').max(32, 'Choose an name that is shorter than 32 characters.'); | ||
@@ -224,4 +224,4 @@ | ||
var name$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a stage may not start or end with whitespace characters!').min(1, 'The name of a stage must be at least one character long.').max(32, 'The name of a stage may not exceed 32 characters.').matches(new RegExp('^[a-zA-Z][a-zA-Z0-9\\-_]*$'), 'Stage names may only start with a letter and can contain alphanumeric characters, "-", and "_".'); | ||
var displayName$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var name$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a stage may not start or end with whitespace characters!').min(1, 'Enter a Name.').max(32, 'Choose a name that is shorter than 32 letters.').matches(new RegExp('^[a-zA-Z][a-zA-Z0-9\\-_]*$'), 'Start with a letter, and use only alphanumeric characters, "-", and "_".'); | ||
var displayName$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Choose a Display Name.').trim('Display names may not have leading or trailing whitespaces.'); | ||
@@ -228,0 +228,0 @@ |
@@ -32,3 +32,3 @@ import { string, boolean } from 'yup'; | ||
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({ | ||
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({ | ||
name: 'no-graphql-type', | ||
@@ -40,3 +40,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -60,8 +60,8 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[A-Z][a-zA-Z0-9_]*$/, 'An The API ID of an enumeration may only start with a capital letter and contain only alphanumeric characters and underscores.'); | ||
var displayName = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'The display name may not be empty.').trim('The display name may not have leading or trailing whitespaces.'); | ||
}).matches(/^[A-Z][a-zA-Z0-9_]*$/, 'Start with a capital letter and use only alphanumeric characters.'); | ||
var displayName = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a Display Name.').trim('The display name may not have leading or trailing whitespaces.'); | ||
var description$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var valueItemApiId = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'An enumeration value must be at least one character long.').max(191, 'An enumeration value may not exceed 191 characters.').matches(/^[A-Z][a-zA-Z0-9_]*$/, 'An enumeration value may only start with an uppercase letter and contain alphanumeric characters and underscores only.'); | ||
var valueItemApiId = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a value.').max(191, 'Use a value that is shorter than 191 characters.').matches(/^[A-Z][a-zA-Z0-9_]*$/, 'Start with a capital letter, and use only alphanumeric characters or underscores.'); | ||
var valueItemDisplayName = displayName; | ||
@@ -71,3 +71,3 @@ var enumerationId = string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVudW1lcmF0aW9uLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsZ0NBQWlDO0FBVTVELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLEdBSGMsQ0FHVixHQUFHLG9FQUhPLENBSWQsR0FKYyxDQUlWLElBQUksNkRBSk0sQ0FLZCxJQUxjLENBS1Q7SUFDTixNQUFNLGlCQURBLENBQUE7SUFFTixNQUFNLFVBQVUsT0FBTztRQUNuQixPQUFPLENBQUMsZ0JBQUEsQ0FBaUIsSUFBakIsQ0FBc0IsVUFBVSxjQUFjO1lBQUUsT0FBUSxLQUFBLEdBQVEsWUFBQSxDQUFBLEdBQUEsQ0FBaUIsS0FBQSxDQUFNLFdBQU4sS0FBc0I7UUFBdkg7SUFDQSxDQUpVLENBQUE7SUFLTixTQUFTLHNEQUxILENBQUE7SUFNTixXQUFXO0VBWEksQ0FhZCxJQWJjLENBYVQ7SUFDTixNQUFNLGtCQURBLENBQUE7SUFFTixNQUFNLFVBQVUsT0FBTztRQUNuQixHQUFBLENBQUksVUFBVSxJQUFBLENBQUs7UUFDbkIsSUFBSSxPQUFBLENBQVEsT0FBUixDQUFBLEVBQUEsQ0FBbUIsT0FBQSxDQUFRLE9BQVIsQ0FBZ0IsVUFBVTtZQUM3QyxPQUFPO1FBQ25CO1FBQ1EsR0FBQSxDQUFJLGlCQUFpQjtRQUNyQixJQUFJLE9BQUEsQ0FBUSxPQUFSLENBQUEsRUFBQSxDQUFtQixPQUFBLENBQVEsT0FBUix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BsYXlOYW1lO1xyXG5leHBvcnQgdmFyIGVudW1lcmF0aW9uSWQgPSB5dXAuc3RyaW5nKCkuc3RyaWN0KHRydWUpO1xyXG4iXX0= | ||
@@ -84,3 +84,3 @@ | ||
var apiId$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The API ID of a field must be at least one character long.').max(32, 'The API ID of a field may not exceed 32 characters.').test({ | ||
var apiId$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter an Api Id.').max(32, 'Use an Api Id that is shorter than 32 characters.').test({ | ||
name: 'no-graphql-type', | ||
@@ -92,3 +92,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -106,7 +106,7 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'The API ID of a field may only start with a lowercase letter and contain alphanumeric characters.'); | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'Start with a lowercase letter and use only alphanumeric characters.'); | ||
var reverseRelationFieldApiId = apiId$1.concat(string().max(64, 'The API ID of a field may not exceed 64 characters.')); | ||
var displayName$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The display name of a field must be at least one character long.').test('no-letter', 'The display name of a field should contain at least one non-whitespace character', function (value) { | ||
var displayName$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter a Display Name.').test('no-letter', 'Enter a Display Name.', function (value) { | ||
if (!value) { | ||
@@ -116,3 +116,3 @@ return true; | ||
if (value && typeof value === 'string') { | ||
return value.replace(' ', '').length > 0; | ||
return value.replace(/\s/g, '').length > 0; | ||
} | ||
@@ -126,3 +126,3 @@ return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oIHR5cGUgXCJib29sZWFuXCIhJyk7XHJcbmV4cG9ydCB2YXIgaXNIaWRkZW4gPSB5dXBcclxuICAgIC5ib29sZWFuKClcclxuICAgIC5zdHJpY3QodHJ1ZSlcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJib29sZWFuXCIhJyk7XHJcbiJdfQ== | ||
@@ -149,3 +149,3 @@ | ||
var apiId$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The API ID of a model must be at least one character long.').max(64, 'The API ID of a model may not exceed 64 characters.').test({ | ||
var apiId$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter an Api ID.').max(64, 'Use an Api Id that is shorter than 64 characters.').test({ | ||
name: 'no-graphql-type', | ||
@@ -157,3 +157,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -171,6 +171,6 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[A-Z][a-zA-Z0-9]*$/, 'The API ID of a model may only start with a capital letter and contain only alphanumeric characters.'); | ||
var displayName$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).trim('Display names may not have leading or trailing whitespaces.'); | ||
}).matches(/^[A-Z][a-zA-Z0-9]*$/, 'Start with a capital letter and use only alphanumeric characters.'); | ||
var displayName$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter a Display Name').trim('Display names may not have leading or trailing whitespaces.'); | ||
var description$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
@@ -180,3 +180,3 @@ var modelId = string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1vZGVsLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsMEJBQTJCO0FBYXRELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLE1BSGMsQ0FHUCxLQUhPLENBSWQsR0FKYyxDQUlWLEdBQUcsNkRBSk8sQ0FLZCxHQUxjLENBS1YsSUFBSSxzREFMTSxDQU1kLElBTmMsQ0FNVDtJQUNOLE1BQU0saUJBREEsQ0FBQTtJQUVOLE1BQU0sVUFBVSxPQUFPO1FBQ25CLE9BQU8sQ0FBQyxnQkFBQSxDQUFpQixJQUFqQixDQUFzQixVQUFVLGNBQWM7WUFBRSxPQUFRLEtBQUEsR0FBUSxZQUFBLENBQUEsR0FBQSxDQUFpQixLQUFBLENBQU0sV0FBTixLQUFzQjtRQUF2SDtJQUNBLENBSlUsQ0FBQTtJQUtOLFNBQVMsc0RBTEgsQ0FBQTtJQU1OLFdBQVc7RUFaSSxDQWNkLElBZGMsQ0FjVDtJQUNOLE1BQU0sa0JBREEsQ0FBQTtJQUVOLE1BQU0sVUFBVSxPQUFPO1FBQ25CLEdBQUEsQ0FBSSxVQUFVLElBQUEsQ0FBSztRQUNuQixJQUFJLE9BQUEsQ0FBUSxPQUFSLENBQUEsRUFBQSxDQUFtQixPQUFBLENBQVEsT0FBUixDQUFnQixVQUFVO1lBQzdDLE9BQU87UUFDbkI7UUFDUSxPQUFPLENBQUMsbUJBQUEsQ0FBb0IsSUFBcEIsQ0FBeUIsVUFBVSxjQUFjO1lBQUUsT0FBUSxLQUFBLEdBQVEsW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E5hbWUnKVxyXG4gICAgLnRyaW0oJ0Rpc3BsYXkgbmFtZXMgbWF5IG5vdCBoYXZlIGxlYWRpbmcgb3IgdHJhaWxpbmcgd2hpdGVzcGFjZXMuJyk7XHJcbi8qKlxyXG4gKiBNYXRjaGVyIGZvciBtb2RlbCBkZXNjcmlwdGlvbnM6XHJcbiAqXHJcbiAqIC5zdHJpbmcoKSAgICAgICAgICAtPiBFbnN1cmVzIHRoYXQgb25seSBzdHJpbmdzIGNhbiBiZSB2YWxpZGF0ZWQgd2l0aCBzdWNjZXNzXHJcbiAqIC50eXBlRXJyb3IoOnN0cmluZyktPiBFbnN1cmVzIHRoYXQgdHlwZXMgb3RoZXIgdGhhbiBzdHJpbmcgcmV0dXJuIGZhbHNlXHJcbiAqIC5lbnN1cmUoKSAgICAgICAgICAtPiBUcmFuc2Zvcm1zIHRoZSB2YWx1ZXMgXCJ1bmRlZmluZWRcIiBhbmQgXCJudWxsXCIgaW50byBlbXB0eSBzdHJpbmdzXHJcbiAqL1xyXG5leHBvcnQgdmFyIGRlc2NyaXB0aW9uID0geXVwXHJcbiAgICAuc3RyaW5nKClcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKVxyXG4gICAgLmVuc3VyZSgpO1xyXG5leHBvcnQgdmFyIG1vZGVsSWQgPSB5dXAuc3RyaW5nKCkuc3RyaWN0KHRydWUpO1xyXG4iXX0= | ||
@@ -192,3 +192,3 @@ | ||
var API_REGIONS = ['EU_WEST_1','EU_WEST_3','US_EAST_1','US_WEST_1','AP_NORTHEAST_1']; | ||
var name$1 = string().min(1).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true); | ||
var name$1 = string().min(1, 'Enter a Name').typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true); | ||
var region = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true).min(1).oneOf(API_REGIONS, 'The region can only be one of these values: ${values}'); | ||
@@ -208,3 +208,3 @@ var description$4 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3QudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxjQUFjLENBQUMsWUFBYSxZQUFhLFlBQWEsWUFBYTtBQUU5RSxPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixHQUZhLENBRVQsRUFGUyxDQUdiLFNBSGEsQ0FHSCx3RkFIRyxDQUliLFFBSmEsQ0FJSixNQUpJLENBS2IsTUFMYSxDQUtOO0FBQ1osT0FBTyxHQUFBLENBQUksU0FBUyxHQUFBLENBQ2YsTUFEZSxFQUFBLENBRWYsU0FGZSxDQUVMLHdGQUZLLENBR2YsUUFIZSxDQUdOLE1BSE0sQ0FJZixNQUplLENBSVIsS0FKUSxDQUtmLEdBTGUsQ0FLWCxFQUxXLENBTWYsS0FOZSxDQU1ULGFBQWE7QUFDeEIsT0FBTyxHQUFBLENBQUksY0FBYyxHQUFBLENBQ3BCLE1BRG9CLEVBQUEsQ0FFcEIsU0FGb0IsQ0FFVjtBQUNmLEdBQUEsQ0FBSSxNQUFNLEdBQUEsQ0FDTCxNQURLLEVBQUEsQ0FFTCxTQUZLLENBRUssd0ZBRkwsQ0FHTCxNQUhLLENBR0UsS0FIRixDQUlMLEdBSkssQ0FJRCxFQUpDLENBS0wsR0FMSyxDQUtELGtEQUxDLENBTUwsSUFOSyxDQU1BLDBCQUEwQiw2REFBNkQsVUFBVSxPQUFPO0lBQz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ub3QgZW5kIHdpdGggXCIvbWFuYWdlbWVudFwiJywgZnVuY3Rpb24gKHZhbHVlKSB7XHJcbiAgICBpZiAoIXZhbHVlKVxyXG4gICAgICAgIHJldHVybiBmYWxzZTtcclxuICAgIHJldHVybiAhdmFsdWUuZW5kc1dpdGgoJy9tYW5hZ2VtZW50Jyk7XHJcbn0pO1xyXG52YXIgdG9rZW4gPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAucmVxdWlyZWQoJ0EgdG9rZW4gY2FuIG5vdCBiZSBlbXB0eSEnKTtcclxuZXhwb3J0IHZhciBjdXN0b21QcmlzbWEgPSB7IHVybDogdXJsLCB0b2tlbjogdG9rZW4gfTtcclxuIl19 | ||
@@ -220,6 +220,6 @@ | ||
var name$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a role may not start or end with whitespace characters!').min(1, 'The name of a role must be at least one character long.').max(32, 'The name of a role may not exceed 32 characters.'); | ||
var name$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The role name may not start or end with whitespace characters.').min(1, 'Choose a name for this role.').max(32, 'Choose an name that is shorter than 32 characters.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJvbGUudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixTQUZhLENBRUgsd0ZBRkcsQ0FHYixNQUhhL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NLENBTWIsR0FOYSxDQU1ULElBQUk7QUFQYiIsImZpbGUiOiJyb2xlLnRzKG9yaWdpbmFsKSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIHl1cCBmcm9tICd5dXAnO1xyXG5leHBvcnQgdmFyIG5hbWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAudHJpbSgnVGhlIHJvbGUgbmFtZSBtYXkgbm90IHN0YXJ0IG9yIGVuZCB3aXRoIHdoaXRlc3BhY2UgY2hhcmFjdGVycy4nKVxyXG4gICAgLm1pbigxLCAnQ2hvb3NlIGEgbmFtZSBmb3IgdGhpcyByb2xlLicpXHJcbiAgICAubWF4KDMyLCAnQ2hvb3NlIGFuIG5hbWUgdGhhdCBpcyBzaG9ydGVyIHRoYW4gMzIgY2hhcmFjdGVycy4nKTtcclxuIl19 | ||
@@ -231,7 +231,7 @@ | ||
var name$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a stage may not start or end with whitespace characters!').min(1, 'The name of a stage must be at least one character long.').max(32, 'The name of a stage may not exceed 32 characters.').matches(new RegExp('^[a-zA-Z][a-zA-Z0-9\\-_]*$'), 'Stage names may only start with a letter and can contain alphanumeric characters, "-", and "_".'); | ||
var displayName$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var name$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a stage may not start or end with whitespace characters!').min(1, 'Enter a Name.').max(32, 'Choose a name that is shorter than 32 letters.').matches(new RegExp('^[a-zA-Z][a-zA-Z0-9\\-_]*$'), 'Start with a letter, and use only alphanumeric characters, "-", and "_".'); | ||
var displayName$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Choose a Display Name.').trim('Display names may not have leading or trailing whitespaces.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0YWdlLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsT0FBTyxHQUFBLENBQUksT0FBTyxHQUFBLENBQ2IsTUFEYSxFQUFBLENBRWIsU0FGYSxDQUVILHdGQUZHLENBR2IsTUFIYSxDQUdOLEtBSE0sQ0FJYixJQUphLENBSVIsdUVBSlEsQ0FLYixHQUxhLENBS1QsR0FBRywyREFMTSxDQU1iLEdBTmEsQ0FNVCxJQUFJLG9EQU5LLENBT2IsT0FQYSxDQU9MLElBQUksTUFBSixDQUFXLCtCQUN4QjtBQUNBLE9BQU8sR0FBQSxDQUFJLGNBQWMsR0FBQSxDQUNwQixNQURvQixFQUFBLENBRXBCLFNBRm9CLENBRVY7QUFaZiIsImZpbGUiOiJzdGFnZS50cyhvcmlnaW5hbCkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyB5dXAgZnJvbSAneXVwJztcclxuZXhwb3J0IHZhciBuYW1lID0geXVwXHJcbiAgICAuc3RyaW5nKClcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKVxyXG4gICAgLnN0cmljdCh0cnVlKVxyXG4gICAgLnRyaW0oJ1RoZSBuYW1lIG9mIGEgc3RhZ2UgbWF5IG5vdCBzdGFydCBvciBlbmQgd2l0aCB3aGl0ZXNwYWNlIGNoYXJhY3RlcnMhJ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C05XFxcXC1fXSokJyksIC8vIDwtLSBUaG9zZSBhcmUgdmFsaWRhdGlvbnMgZW5mb3JjZWQgYnkgcHJpc21hOiBodHRwczovL2dpdGh1Yi5jb20vZ3JhcGhjb29sL3ByaXNtYS9ibG9iL21hc3Rlci9zZXJ2ZXIvc2VydmVycy9kZXBsb3kvc3JjL21haW4vc2NhbGEvY29tL3ByaXNtYS9kZXBsb3kvdmFsaWRhdGlvbi9OYW1lQ29uc3RyYWludHMuc2NhbGFcclxuJ1N0YXJ0IHdpdGggYSBsZXR0ZXIsIGFuZCB1c2Ugb25seSBhbHBoYW51bWVyaWMgY2hhcmFjdGVycywgXCItXCIsIGFuZCBcIl9cIi4nKTtcclxuZXhwb3J0IHZhciBkaXNwbGF5TmFtZSA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5zdHJpY3QodHJ1ZSlcclxuICAgIC5taW4oMSwgJ0Nob29zZSBhIERpc3BsYXkgTmFtZS4nKVxyXG4gICAgLnRyaW0oJ0Rpc3BsYXkgbmFtZXMgbWF5IG5vdCBoYXZlIGxlYWRpbmcgb3IgdHJhaWxpbmcgd2hpdGVzcGFjZXMuJyk7XHJcbiJdfQ== | ||
@@ -238,0 +238,0 @@ |
@@ -36,3 +36,3 @@ (function (global, factory) { | ||
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({ | ||
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: 'no-graphql-type', | ||
@@ -44,3 +44,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -64,8 +64,8 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[A-Z][a-zA-Z0-9_]*$/, 'An The API ID of an enumeration may only start with a capital letter and contain only alphanumeric characters and underscores.'); | ||
var displayName = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'The display name may not be empty.').trim('The display name may not have leading or trailing whitespaces.'); | ||
}).matches(/^[A-Z][a-zA-Z0-9_]*$/, 'Start with a capital letter and use only alphanumeric characters.'); | ||
var displayName = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a Display Name.').trim('The display name may not have leading or trailing whitespaces.'); | ||
var description$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var valueItemApiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'An enumeration value must be at least one character long.').max(191, 'An enumeration value may not exceed 191 characters.').matches(/^[A-Z][a-zA-Z0-9_]*$/, 'An enumeration value may only start with an uppercase letter and contain alphanumeric characters and underscores only.'); | ||
var valueItemApiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a value.').max(191, 'Use a value that is shorter than 191 characters.').matches(/^[A-Z][a-zA-Z0-9_]*$/, 'Start with a capital letter, and use only alphanumeric characters or underscores.'); | ||
var valueItemDisplayName = displayName; | ||
@@ -75,3 +75,3 @@ var enumerationId = yup.string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVudW1lcmF0aW9uLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpb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MgbWF4aW11bSByZXF1aXJlZCBsZW5ndGggb2Ygc3RyaW5nIHRvIDY0IGNoYXJhY3RlcnNcclxuICogLnRlc3QoKSAgICAgICAgICAgIC0+IEV4ZWN1dGVzIGFuIGFyYml0cmFyeSB0ZXN0IG9uIHRoZSBpbnB1dCB2YWx1ZVxyXG4gKiAubWF0Y2hlcyg6UmVnRXhwcikgLT4gTWF0Y2hlcyB0aGUgaW5wdXQgdmFsdWUgYWdhaW5zdCBhIHJlZ3VsYXIgZXhwcmVzc2lvblxyXG4gKi9cclxuZXhwb3J0IHZhciB2YWx1ZUl0ZW1BcGlJZCA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5taW4oMSwgJ0VudGVyIGEgdmFsdWUuJylcclxuICAgIC5tYXgoMTkxLCAnVXNlIGEgdmFsdWUgdGhhdCBpcyBzaG9ydGVyIHRoYW4gMTkxIGNoYXJhY3RlcnMuJylcclxuICAgIC5tYXRjaGVzKC9eW0EtWl1bYS16QS1aMC05X10qJC8sICdTdGFydCB3aXRoIGEgY2FwaXRhbCBsZXR0ZXIsIGFuZCB1c2Ugb25seSBhbHBoYW51bWVyaWMgY2hhcmFjdGVycyBvciB1bmRlcnNjb3Jlcy4nKTtcclxuZXhwb3J0IHZhciB2YWx1ZUl0ZW1EaXNwbGF5TmFtZSA9IGRpc3BsYXlOYW1lO1xyXG5leHBvcnQgdmFyIGVudW1lcmF0aW9uSWQgPSB5dXAuc3RyaW5nKCkuc3RyaWN0KHRydWUpO1xyXG4iXX0= | ||
@@ -88,3 +88,3 @@ | ||
var apiId$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The API ID of a field must be at least one character long.').max(32, 'The API ID of a field may not exceed 32 characters.').test({ | ||
var apiId$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter an Api Id.').max(32, 'Use an Api Id that is shorter than 32 characters.').test({ | ||
name: 'no-graphql-type', | ||
@@ -96,3 +96,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -110,7 +110,7 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'The API ID of a field may only start with a lowercase letter and contain alphanumeric characters.'); | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'Start with a lowercase letter and use only alphanumeric characters.'); | ||
var reverseRelationFieldApiId = apiId$1.concat(yup.string().max(64, 'The API ID of a field may not exceed 64 characters.')); | ||
var displayName$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The display name of a field must be at least one character long.').test('no-letter', 'The display name of a field should contain at least one non-whitespace character', function (value) { | ||
var displayName$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter a Display Name.').test('no-letter', 'Enter a Display Name.', function (value) { | ||
if (!value) { | ||
@@ -120,3 +120,3 @@ return true; | ||
if (value && typeof value === 'string') { | ||
return value.replace(' ', '').length > 0; | ||
return value.replace(/\s/g, '').length > 0; | ||
} | ||
@@ -130,3 +130,3 @@ return false; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZpZWxkLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsMEJBQTJCO0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Igb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJib29sZWFuXCIhJyk7XHJcbiJdfQ== | ||
@@ -153,3 +153,3 @@ | ||
var apiId$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'The API ID of a model must be at least one character long.').max(64, 'The API ID of a model may not exceed 64 characters.').test({ | ||
var apiId$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter an Api ID.').max(64, 'Use an Api Id that is shorter than 64 characters.').test({ | ||
name: 'no-graphql-type', | ||
@@ -161,3 +161,3 @@ test: function (value) { | ||
}, | ||
message: '"${value}" is a restricted word by the graphql spec.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
@@ -175,6 +175,6 @@ }).test({ | ||
}, | ||
message: '"${value}" is a restricted word, which can cause issues in stage deployment.', | ||
message: '"${value}" is a restricted word and cannot be used here.', | ||
exclusive: false | ||
}).matches(/^[A-Z][a-zA-Z0-9]*$/, 'The API ID of a model may only start with a capital letter and contain only alphanumeric characters.'); | ||
var displayName$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).trim('Display names may not have leading or trailing whitespaces.'); | ||
}).matches(/^[A-Z][a-zA-Z0-9]*$/, 'Start with a capital letter and use only alphanumeric characters.'); | ||
var displayName$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Enter a Display Name').trim('Display names may not have leading or trailing whitespaces.'); | ||
var description$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
@@ -184,3 +184,3 @@ var modelId = yup.string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1vZGVsLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10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mlwdGlvbnM6XHJcbiAqXHJcbiAqIC5zdHJpbmcoKSAgICAgICAgICAtPiBFbnN1cmVzIHRoYXQgb25seSBzdHJpbmdzIGNhbiBiZSB2YWxpZGF0ZWQgd2l0aCBzdWNjZXNzXHJcbiAqIC50eXBlRXJyb3IoOnN0cmluZyktPiBFbnN1cmVzIHRoYXQgdHlwZXMgb3RoZXIgdGhhbiBzdHJpbmcgcmV0dXJuIGZhbHNlXHJcbiAqIC5lbnN1cmUoKSAgICAgICAgICAtPiBUcmFuc2Zvcm1zIHRoZSB2YWx1ZXMgXCJ1bmRlZmluZWRcIiBhbmQgXCJudWxsXCIgaW50byBlbXB0eSBzdHJpbmdzXHJcbiAqL1xyXG5leHBvcnQgdmFyIGRlc2NyaXB0aW9uID0geXVwXHJcbiAgICAuc3RyaW5nKClcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKVxyXG4gICAgLmVuc3VyZSgpO1xyXG5leHBvcnQgdmFyIG1vZGVsSWQgPSB5dXAuc3RyaW5nKCkuc3RyaWN0KHRydWUpO1xyXG4iXX0= | ||
@@ -196,3 +196,3 @@ | ||
var API_REGIONS = ['EU_WEST_1','EU_WEST_3','US_EAST_1','US_WEST_1','AP_NORTHEAST_1']; | ||
var name$1 = yup.string().min(1).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true); | ||
var name$1 = yup.string().min(1, 'Enter a Name').typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true); | ||
var region = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).strict(true).min(1).oneOf(API_REGIONS, 'The region can only be one of these values: ${values}'); | ||
@@ -212,3 +212,3 @@ var description$4 = yup.string().typeError('The supplied value "${value}" of type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dGgoJy9tYW5hZ2VtZW50Jyk7XHJcbn0pO1xyXG52YXIgdG9rZW4gPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAucmVxdWlyZWQoJ0EgdG9rZW4gY2FuIG5vdCBiZSBlbXB0eSEnKTtcclxuZXhwb3J0IHZhciBjdXN0b21QcmlzbWEgPSB7IHVybDogdXJsLCB0b2tlbjogdG9rZW4gfTtcclxuIl19 | ||
@@ -224,6 +224,6 @@ | ||
var name$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a role may not start or end with whitespace characters!').min(1, 'The name of a role must be at least one character long.').max(32, 'The name of a role may not exceed 32 characters.'); | ||
var name$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The role name may not start or end with whitespace characters.').min(1, 'Choose a name for this role.').max(32, 'Choose an name that is shorter than 32 characters.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJvbGUudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixTQUZhLENBRUgsd0ZBRkcsQ0FHYixNQUhhLENBR04sS0FITSxDQUliLElBSmEsQ0FJUixzRUFKUSxDQUtiLEdBTGEsQ0FLVCxHQUFHLDBEQUxNLENBTWIsR0FOYSxDQU1ULElBQUk7QUFQYiIsImZpbGUiOiJyb2xlLnRzKG9yaWdpbmFsKSIsInN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yIG5hbWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAudHJpbSgnVGhlIHJvbGUgbmFtZSBtYXkgbm90IHN0YXJ0IG9yIGVuZCB3aXRoIHdoaXRlc3BhY2UgY2hhcmFjdGVycy4nKVxyXG4gICAgLm1pbigxLCAnQ2hvb3NlIGEgbmFtZSBmb3IgdGhpcyByb2xlLicpXHJcbiAgICAubWF4KDMyLCAnQ2hvb3NlIGFuIG5hbWUgdGhhdCBpcyBzaG9ydGVyIHRoYW4gMzIgY2hhcmFjdGVycy4nKTtcclxuIl19 | ||
@@ -235,7 +235,7 @@ | ||
var name$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a stage may not start or end with whitespace characters!').min(1, 'The name of a stage must be at least one character long.').max(32, 'The name of a stage may not exceed 32 characters.').matches(new RegExp('^[a-zA-Z][a-zA-Z0-9\\-_]*$'), 'Stage names may only start with a letter and can contain alphanumeric characters, "-", and "_".'); | ||
var displayName$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var name$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).trim('The name of a stage may not start or end with whitespace characters!').min(1, 'Enter a Name.').max(32, 'Choose a name that is shorter than 32 letters.').matches(new RegExp('^[a-zA-Z][a-zA-Z0-9\\-_]*$'), 'Start with a letter, and use only alphanumeric characters, "-", and "_".'); | ||
var displayName$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1, 'Choose a Display Name.').trim('Display names may not have leading or trailing whitespaces.'); | ||
//# sourceMappingUR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9iL21hc3Rlci9zZXJ2ZXIvc2VydmVycy9kZXBsb3kvc3JjL21haW4vc2NhbGEvY29tL3ByaXNtYS9kZXBsb3kvdmFsaWRhdGlvbi9OYW1lQ29uc3RyYWludHMuc2NhbGFcclxuJ1N0YXJ0IHdpdGggYSBsZXR0ZXIsIGFuZCB1c2Ugb25seSBhbHBoYW51bWVyaWMgY2hhcmFjdGVycywgXCItXCIsIGFuZCBcIl9cIi4nKTtcclxuZXhwb3J0IHZhciBkaXNwbGF5TmFtZSA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5zdHJpY3QodHJ1ZSlcclxuICAgIC5taW4oMSwgJ0Nob29zZSBhIERpc3BsYXkgTmFtZS4nKVxyXG4gICAgLnRyaW0oJ0Rpc3BsYXkgbmFtZXMgbWF5IG5vdCBoYXZlIGxlYWRpbmcgb3IgdHJhaWxpbmcgd2hpdGVzcGFjZXMuJyk7XHJcbiJdfQ== | ||
@@ -242,0 +242,0 @@ |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.2.14", | ||
"version": "1.3.0", | ||
"main": "dist/validation.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
module.exports = { | ||
singleQuote: true, | ||
printWidth: 120, | ||
printWidth: 100, | ||
trailingComma: 'es5', | ||
@@ -8,4 +8,3 @@ parser: 'typescript', | ||
bracketSpacing: true, | ||
arrowParens: 'always', | ||
filepath: 'src/**/*', | ||
}; |
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
242
161862
1136