@graphcms/validation
Advanced tools
Comparing version 1.1.5 to 1.2.0
@@ -7,6 +7,4 @@ import * as yup from 'yup'; | ||
* .typeError(:string)-> Ensures that types other than string return false | ||
* .strict(:boolean) -> Prevents manipulation of the string during validation | ||
* .min() -> Sets minimum required length of string to 1 character | ||
* .max() -> Sets maximum required length of string to 64 characters | ||
* .required() -> Ensures that empty strings are treated as invalid value | ||
* .matches(:RegExpr) -> Matches the input value against a regular expression | ||
@@ -20,9 +18,15 @@ */ | ||
* .typeError(:string)-> Ensures that types other than string return false | ||
* .strict(:boolean) -> Prevents manipulation of the string during validation | ||
* .trim() -> Since strict is true, this only validates that the input value is trimmed | ||
* This means that it checks that the value does not have any leading or trailing whitespaces. | ||
* .required() -> Ensures that empty strings are treated as invalid value | ||
*/ | ||
export declare const displayName: yup.StringSchema; | ||
/** | ||
* Matcher for model descriptions: | ||
* | ||
* .string() -> Ensures that only strings can be validated with success | ||
* .typeError(:string)-> Ensures that types other than string return false | ||
* .ensure() -> Transforms the values "undefined" and "null" into empty strings | ||
*/ | ||
export declare const description: yup.StringSchema; | ||
/** | ||
* Matcher for enumeration api IDs: | ||
@@ -35,19 +39,7 @@ * | ||
* .max() -> Sets maximum required length of string to 64 characters | ||
* .required() -> Ensures that empty strings are treated as invalid value | ||
* .test() -> Executes an arbitrary test on the input value | ||
* .matches(:RegExpr) -> Matches the input value against a regular expression | ||
*/ | ||
export declare const value: yup.StringSchema; | ||
/** | ||
* Matcher for model descriptions: | ||
* | ||
* .string() -> Ensures that only strings can be validated with success | ||
* .typeError(:string)-> Ensures that types other than string return false | ||
* .ensure() -> Transforms the values "undefined" and "null" into empty strings | ||
*/ | ||
export declare const description: yup.StringSchema; | ||
/** | ||
* Convenience schema for validating the values field of an enum. | ||
*/ | ||
export declare const values: yup.ArraySchema<string>; | ||
export declare const valueItemApiId: yup.StringSchema; | ||
export declare const valueItemDisplayName: yup.StringSchema; | ||
export declare const enumerationId: yup.StringSchema; |
@@ -8,3 +8,2 @@ import * as yup from 'yup'; | ||
* .strict(:boolean) -> Prevents manipulation of the string during validation | ||
* .required() -> Ensures that empty strings are treated as invalid value | ||
* .min() -> Sets minimum required length of string to 1 character | ||
@@ -22,3 +21,2 @@ * .max() -> Sets maximum required length of string to 32 characters | ||
* .strict(:boolean) -> Prevents manipulation of the string during validation | ||
* .required() -> Ensures that empty strings are treated as invalid value | ||
* .min() -> Sets minimum required length of string to 1 character | ||
@@ -25,0 +23,0 @@ * .max() -> Sets maximum required length of string to 32 characters |
var yup = require('yup'); | ||
var name = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).ensure().trim('The name of an authentication token may not start or end with white space characters.').required('The name is a required field.'); | ||
var name = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).ensure().trim('The name of an authentication token may not start or end with white space characters.'); | ||
var description = yup.string().nullable(true); | ||
var scope = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).ensure().trim('The scope of an authentication token may not start or end with white space characters.').required('The scope is a required field.').oneOf(['READ', | ||
var scope = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).oneOf(['READ', | ||
'WRITE','OPEN'], "An authentication token can only be set to one of 'READ', 'WRITE' or 'OPEN'"); | ||
@@ -27,3 +27,3 @@ | ||
var apiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of an enumeration may not be empty.').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, '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: 'no-graphql-type', | ||
@@ -51,7 +51,7 @@ test: function (value) { | ||
}).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"!').strict(true).required('The display name may not be empty.').trim('The display name may not have leading or trailing whitespaces.'); | ||
var value = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').required('An enumeration value can not be empty.').strict(true).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 description$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var values = yup.array().of(value).required('An enumeration must contain at least one value.'); | ||
var enumerationId = yup.string().strict(true).required(); | ||
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.'); | ||
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 valueItemDisplayName = displayName; | ||
var enumerationId = yup.string().strict(true); | ||
@@ -65,9 +65,9 @@ | ||
displayName: displayName, | ||
value: value, | ||
description: description$1, | ||
values: values, | ||
valueItemApiId: valueItemApiId, | ||
valueItemDisplayName: valueItemDisplayName, | ||
enumerationId: enumerationId | ||
}); | ||
var apiId$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of a field may not be empty!').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, '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({ | ||
name: 'no-graphql-type', | ||
@@ -95,3 +95,3 @@ test: function (value) { | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'The API ID of a field may only start with a lowercase letter and contain alphanumeric characters.'); | ||
var displayName$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The display name of a field may not be empty.').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, '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) { | ||
if (value && typeof value === 'string') { | ||
@@ -103,3 +103,3 @@ return value.replace(' ', '').length > 0; | ||
var description$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var isList = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!').required(); | ||
var isList = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
@@ -117,3 +117,3 @@ | ||
var email = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('E-Mail is a required field!').email('Only valid E-Mail addresses are allowed.'); | ||
var email = yup.string().nullable(false).min(1).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').email('Only valid E-Mail addresses are allowed.'); | ||
@@ -128,3 +128,3 @@ | ||
var apiId$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of a model may not be empty.').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, '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({ | ||
name: 'no-graphql-type', | ||
@@ -152,5 +152,5 @@ test: function (value) { | ||
}).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).required('The display name of a model may not be empty.').trim('Display names may not have leading or trailing whitespaces.'); | ||
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.'); | ||
var description$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var modelId = yup.string().strict(true).required(); | ||
var modelId = yup.string().strict(true); | ||
@@ -169,6 +169,6 @@ | ||
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.'); | ||
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}'); | ||
var description$4 = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).required('The url of a custom prisma endpoint can not be empty!').url('The custom prisma endpoint must be a valid url!').test('no-end-with-management', 'The custom prisma endpoint may not end with "/management"', function (value) { | ||
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 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}'); | ||
var description$4 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).url('The custom prisma endpoint must be a valid url!').test('no-end-with-management', 'The custom prisma endpoint may not end with "/management"', function (value) { | ||
if (!value) | ||
@@ -196,3 +196,3 @@ return false; | ||
var name$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a role may only be a non-empty string!').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 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.'); | ||
@@ -207,4 +207,4 @@ | ||
var name$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a stage may only be a non-empty string!').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"!').strict(true).required('The display name of a stage is required!'); | ||
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"!'); | ||
@@ -220,5 +220,4 @@ | ||
var name$4 = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The name of a webhook can't be empty."); | ||
var description$5 = yup.string().ensure(); | ||
var url$1 = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The URL can't be empty!").url('Only valid URLs are supported!').test('is-https-url', 'Only HTTPS URLs are supported!', function (value) { | ||
var name$4 = yup.string().min(1).nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).url('Only valid URLs are supported!').test('is-https-url', 'Only HTTPS URLs are supported!', function (value) { | ||
if (!value) | ||
@@ -228,4 +227,4 @@ return false; | ||
}); | ||
var headerKey = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The key of a header can't be empty!").matches(/^[A-Z][A-Za-z0-9-]*$/, 'The key may only start with a capital letter and contain only alphanumeric characters.'); | ||
var headerValue = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The value of a header can't be empty."); | ||
var headerKey = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).matches(/^[A-Z][A-Za-z0-9-]*$/, 'The key may only start with a capital letter and contain only alphanumeric characters.'); | ||
var headerValue = yup.string().nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
@@ -238,3 +237,2 @@ | ||
name: name$4, | ||
description: description$5, | ||
url: url$1, | ||
@@ -241,0 +239,0 @@ headerKey: headerKey, |
@@ -1,10 +0,10 @@ | ||
import { string, array, boolean } from 'yup'; | ||
import { string, boolean } from 'yup'; | ||
var name = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).ensure().trim('The name of an authentication token may not start or end with white space characters.').required('The name is a required field.'); | ||
var name = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).ensure().trim('The name of an authentication token may not start or end with white space characters.'); | ||
var description = string().nullable(true); | ||
var scope = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).ensure().trim('The scope of an authentication token may not start or end with white space characters.').required('The scope is a required field.').oneOf(['READ', | ||
var scope = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).oneOf(['READ', | ||
'WRITE','OPEN'], "An authentication token can only be set to one of 'READ', 'WRITE' or 'OPEN'"); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImF1dGh0b2tlbi50cyhvcmlnaW5hbCkiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxTQUFTO0FBQ3JCLE9BQU8sR0FBQSxDQUFJLE9BQU8sR0FBQSxDQUNiLE1BRGEsRUFBQSxDQUViLFNBRmEsQ0FFSCx3RkFGRyxDQUdiLE1BSGEsQ0FHTixLQUhNLENBSWIsTUFKYSxFQUFBLENBS2IsSUFMYSxDQUtSLHdGQUxRLENBTWIsUUFOYSxDQU1KO0FBQ2QsT0FBTyxHQUFBLENBQUksY0FBYyxHQUFBLENBQUksTUFBSixFQUFBLENBQWEsUUFBYixDQUFzQjtBQUMvQyxPQUFPLEdBQUEsQ0FBSSxRQUFRLEdBQUEsQ0FDZCxNQURjLEVBQUEsQ0FFZCxTQUZjLENBRUosd0ZBRkksQ0FHZCxNQUhjLENBR1AsS0FITyxDQUlkLE1BSmMsRUFBQSxDQUtkLElBTGMsQ0FLVCx5RkFMUyxDQU1kLFFBTmMsQ0FNTCxpQ0FOSyxDQU9kLEtBUGMsQ0FPUixDQUFDO0lBQVEsUUFBUyxTQUFTO0FBaEJ0QyIsImZpbGUiOiJhdXRodG9rZW4udHMob3JpZ2luYWwpIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgeXVwIGZyb20gJ3l1cCc7XHJcbmV4cG9ydCB2YXIgbmFtZSA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc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J0IG9yIGVuZCB3aXRoIHdoaXRlIHNwYWNlIGNoYXJhY3RlcnMuJyk7XHJcbmV4cG9ydCB2YXIgZGVzY3JpcHRpb24gPSB5dXAuc3RyaW5nKCkubnVsbGFibGUodHJ1ZSk7XHJcbmV4cG9ydCB2YXIgc2NvcGUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAub25lT2YoWydSRUFEJywgJ1dSSVRFJywgJ09QRU4nXSwgXCJBbiBhdXRoZW50aWNhdGlvbiB0b2tlbiBjYW4gb25seSBiZSBzZXQgdG8gb25lIG9mICdSRUFEJywgJ1dSSVRFJyBvciAnT1BFTidcIik7XHJcbiJdfQ== | ||
@@ -30,3 +30,3 @@ | ||
var apiId = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of an enumeration may not be empty.').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, '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: 'no-graphql-type', | ||
@@ -54,10 +54,10 @@ test: function (value) { | ||
}).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"!').strict(true).required('The display name may not be empty.').trim('The display name may not have leading or trailing whitespaces.'); | ||
var value = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').required('An enumeration value can not be empty.').strict(true).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 description$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var values = array().of(value).required('An enumeration must contain at least one value.'); | ||
var enumerationId = string().strict(true).required(); | ||
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.'); | ||
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 valueItemDisplayName = displayName; | ||
var enumerationId = string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVudW1lcmF0aW9uLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsZ0NBQWlDO0FBWTVELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLE1BSGMsQ0FHUCxLQUhPLENBSWQsUUFKYyxDQUlMLGlEQUpLLENBS2QsR0FMYyxDQUtWLEdBQUcsb0VBTE8sQ0FNZCxHQU5jLENBTVYsSUFBSSw2REFOTSxDQU9kLElBUGMsQ0FPVDtJQUNOLE1BQU0saUJBREEsQ0FBQTtJQUVOLE1BQU0sVUFBVSxPQUFPO1FBQ25CLE9BQU8sQ0FBQ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LnRlc3QoKSAgICAgICAgICAgIC0+IEV4ZWN1dGVzIGFuIGFyYml0cmFyeSB0ZXN0IG9uIHRoZSBpbnB1dCB2YWx1ZVxyXG4gKiAubWF0Y2hlcyg6UmVnRXhwcikgLT4gTWF0Y2hlcyB0aGUgaW5wdXQgdmFsdWUgYWdhaW5zdCBhIHJlZ3VsYXIgZXhwcmVzc2lvblxyXG4gKi9cclxuZXhwb3J0IHZhciB2YWx1ZUl0ZW1BcGlJZCA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5taW4oMSwgJ0FuIGVudW1lcmF0aW9uIHZhbHVlIG11c3QgYmUgYXQgbGVhc3Qgb25lIGNoYXJhY3RlciBsb25nLicpXHJcbiAgICAubWF4KDE5MSwgJ0FuIGVudW1lcmF0aW9uIHZhbHVlIG1heSBub3QgZXhjZWVkIDE5MSBjaGFyYWN0ZXJzLicpXHJcbiAgICAubWF0Y2hlcygvXltBLVpdW2EtekEtWjAtOV9dKiQvLCAnQW4gZW51bWVyYXRpb24gdmFsdWUgbWF5IG9ubHkgc3RhcnQgd2l0aCBhbiB1cHBlcmNhc2UgbGV0dGVyIGFuZCBjb250YWluIGFscGhhbnVtZXJpYyBjaGFyYWN0ZXJzIGFuZCB1bmRlcnNjb3JlcyBvbmx5LicpO1xyXG5leHBvcnQgdmFyIHZhbHVlSXRlbURpc3BsYXlOYW1lID0gZGlzcGxheU5hbWU7XHJcbmV4cG9ydCB2YXIgZW51bWVyYXRpb25JZCA9IHl1cC5zdHJpbmcoKS5zdHJpY3QodHJ1ZSk7XHJcbiJdfQ== | ||
@@ -68,9 +68,9 @@ | ||
displayName: displayName, | ||
value: value, | ||
description: description$1, | ||
values: values, | ||
valueItemApiId: valueItemApiId, | ||
valueItemDisplayName: valueItemDisplayName, | ||
enumerationId: enumerationId | ||
}); | ||
var apiId$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of a field may not be empty!').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, '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({ | ||
name: 'no-graphql-type', | ||
@@ -98,3 +98,3 @@ test: function (value) { | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'The API ID of a field may only start with a lowercase letter and contain alphanumeric characters.'); | ||
var displayName$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The display name of a field may not be empty.').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, '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) { | ||
if (value && typeof value === 'string') { | ||
@@ -106,6 +106,6 @@ return value.replace(' ', '').length > 0; | ||
var description$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var isList = boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!').required(); | ||
var isList = boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZpZWxkLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsMEJBQTJCO0FBYXRELE9BQU8sR0FBQSxDQ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ZXIgdGhhbiBzdHJpbmcgcmV0dXJuIGZhbHNlXHJcbiAqIC5lbnN1cmUoKSAgICAgICAgICAtPiBUcmFuc2Zvcm1zIHRoZSB2YWx1ZXMgXCJ1bmRlZmluZWRcIiBhbmQgXCJudWxsXCIgaW50byBlbXB0eSBzdHJpbmdzXHJcbiAqL1xyXG5leHBvcnQgdmFyIGRlc2NyaXB0aW9uID0geXVwXHJcbiAgICAuc3RyaW5nKClcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKVxyXG4gICAgLmVuc3VyZSgpO1xyXG5leHBvcnQgdmFyIGlzTGlzdCA9IHl1cFxyXG4gICAgLmJvb2xlYW4oKVxyXG4gICAgLnN0cmljdCh0cnVlKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcImJvb2xlYW5cIiEnKTtcclxuIl19 | ||
@@ -120,6 +120,6 @@ | ||
var email = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('E-Mail is a required field!').email('Only valid E-Mail addresses are allowed.'); | ||
var email = string().nullable(false).min(1).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').email('Only valid E-Mail addresses are allowed.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImludml0ZS50cyhvcmlnaW5hbCkiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxTQUFTO0FBQ3JCLE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLF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bmcoKVxyXG4gICAgLm51bGxhYmxlKGZhbHNlKVxyXG4gICAgLm1pbigxKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuZW1haWwoJ09ubHkgdmFsaWQgRS1NYWlsIGFkZHJlc3NlcyBhcmUgYWxsb3dlZC4nKTtcclxuIl19 | ||
@@ -131,3 +131,3 @@ | ||
var apiId$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of a model may not be empty.').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, '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({ | ||
name: 'no-graphql-type', | ||
@@ -155,8 +155,8 @@ test: function (value) { | ||
}).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).required('The display name of a model may not be empty.').trim('Display names may not have leading or trailing whitespaces.'); | ||
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.'); | ||
var description$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var modelId = string().strict(true).required(); | ||
var modelId = string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1vZGVsLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFN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wiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAubWluKDEpXHJcbiAgICAudHJpbSgnRGlzcGxheSBuYW1lcyBtYXkgbm90IGhhdmUgbGVhZGluZyBvciB0cmFpbGluZyB3aGl0ZXNwYWNlcy4nKTtcclxuLyoqXHJcbiAqIE1hdGNoZXIgZm9yIG1vZGVsIGRlc2NyaXB0aW9uczpcclxuICpcclxuICogLnN0cmluZygpICAgICAgICAgIC0+IEVuc3VyZXMgdGhhdCBvbmx5IHN0cmluZ3MgY2FuIGJlIHZhbGlkYXRlZCB3aXRoIHN1Y2Nlc3NcclxuICogLnR5cGVFcnJvcig6c3RyaW5nKS0+IEVuc3VyZXMgdGhhdCB0eXBlcyBvdGhlciB0aGFuIHN0cmluZyByZXR1cm4gZmFsc2VcclxuICogLmVuc3VyZSgpICAgICAgICAgIC0+IFRyYW5zZm9ybXMgdGhlIHZhbHVlcyBcInVuZGVmaW5lZFwiIGFuZCBcIm51bGxcIiBpbnRvIGVtcHR5IHN0cmluZ3NcclxuICovXHJcbmV4cG9ydCB2YXIgZGVzY3JpcHRpb24gPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuZW5zdXJlKCk7XHJcbmV4cG9ydCB2YXIgbW9kZWxJZCA9IHl1cC5zdHJpbmcoKS5zdHJpY3QodHJ1ZSk7XHJcbiJdfQ== | ||
@@ -172,6 +172,6 @@ | ||
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.'); | ||
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}'); | ||
var description$4 = string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).required('The url of a custom prisma endpoint can not be empty!').url('The custom prisma endpoint must be a valid url!').test('no-end-with-management', 'The custom prisma endpoint may not end with "/management"', function (value) { | ||
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 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}'); | ||
var description$4 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).url('The custom prisma endpoint must be a valid url!').test('no-end-with-management', 'The custom prisma endpoint may not end with "/management"', function (value) { | ||
if (!value) | ||
@@ -188,3 +188,3 @@ return false; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3QudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxjQUFjLENBQUMsWUFBYSxZQUFhLFlBQWE7QUFFakUsT0FBTyxHQUFBLENBQUksT0FBTyxHQUFBLENBQ2IsTUFEYSxFQUFBLENBRWIsU0FGYSxDQUVILHdGQUZHLENBR2IsTUFIYSxDQUdOLEtBSE0sQ0FJYixRQUphLENBSUo7QUFDZCxPQUFPLEdBQUEsQ0FBSSxTQUFTLEdBQUEsQ0FDZixNQURlLEVBQUEsQ0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dG9rZW4gY2FuIG5vdCBiZSBlbXB0eSEnKTtcclxuZXhwb3J0IHZhciBjdXN0b21QcmlzbWEgPSB7IHVybDogdXJsLCB0b2tlbjogdG9rZW4gfTtcclxuIl19 | ||
@@ -200,6 +200,6 @@ | ||
var name$2 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a role may only be a non-empty string!').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 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.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJvbGUudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixTQUZhLENBRUgsd0ZBRkcsQ0FHYixNQUhhLENBR04sS0FITSxDQUliLFFBSmEsQ0FJSixxREFKSSxDQUtiLElBTGEsQ0FLUixzRUFMUSxDQU1iLEdBTmEsQ0FNVCxHQUFHLDBEQU5NLENBT2IsR0FQYSxDQU9ULElBQUk7QUFSYiIsImZpbGUiOiJyb2xlLnRzKG9yaWdpbmFsKSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIHl1cCBmcm9tICd5dXAnO1xyXG5leHBvcnQgdmFyIG5hbWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlw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G5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAudHJpbSgnVGhlIG5hbWUgb2YgYSByb2xlIG1heSBub3Qgc3RhcnQgb3IgZW5kIHdpdGggd2hpdGVzcGFjZSBjaGFyYWN0ZXJzIScpXHJcbiAgICAubWluKDEsICdUaGUgbmFtZSBvZiBhIHJvbGUgbXVzdCBiZSBhdCBsZWFzdCBvbmUgY2hhcmFjdGVyIGxvbmcuJylcclxuICAgIC5tYXgoMzIsICdUaGUgbmFtZSBvZiBhIHJvbGUgbWF5IG5vdCBleGNlZWQgMzIgY2hhcmFjdGVycy4nKTtcclxuIl19 | ||
@@ -211,7 +211,7 @@ | ||
var name$3 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a stage may only be a non-empty string!').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"!').strict(true).required('The display name of a stage is required!'); | ||
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"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0YWdlLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzI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LTlcXFxcLV9dKiQnKSwgLy8gPC0tIFRob3NlIGFyZSB2YWxpZGF0aW9ucyBlbmZvcmNlZCBieSBwcmlzbWE6IGh0dHBzOi8vZ2l0aHViLmNvbS9ncmFwaGNvb2wvcHJpc21hL2Jsb2IvbWFzdGVyL3NlcnZlci9zZXJ2ZXJzL2RlcGxveS9zcmMvbWFpbi9zY2FsYS9jb20vcHJpc21hL2RlcGxveS92YWxpZGF0aW9uL05hbWVDb25zdHJhaW50cy5zY2FsYVxyXG4nU3RhZ2UgbmFtZXMgbWF5IG9ubHkgc3RhcnQgd2l0aCBhIGxldHRlciBhbmQgY2FuIGNvbnRhaW4gYWxwaGFudW1lcmljIGNoYXJhY3RlcnMsIFwiLVwiLCBhbmQgXCJfXCIuJyk7XHJcbmV4cG9ydCB2YXIgZGlzcGxheU5hbWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpO1xyXG4iXX0= | ||
@@ -224,5 +224,4 @@ | ||
var name$4 = string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The name of a webhook can't be empty."); | ||
var description$5 = string().ensure(); | ||
var url$1 = string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The URL can't be empty!").url('Only valid URLs are supported!').test('is-https-url', 'Only HTTPS URLs are supported!', function (value) { | ||
var name$4 = string().min(1).nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url$1 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).url('Only valid URLs are supported!').test('is-https-url', 'Only HTTPS URLs are supported!', function (value) { | ||
if (!value) | ||
@@ -232,7 +231,7 @@ return false; | ||
}); | ||
var headerKey = string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The key of a header can't be empty!").matches(/^[A-Z][A-Za-z0-9-]*$/, 'The key may only start with a capital letter and contain only alphanumeric characters.'); | ||
var headerValue = string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The value of a header can't be empty."); | ||
var headerKey = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).matches(/^[A-Z][A-Za-z0-9-]*$/, 'The key may only start with a capital letter and contain only alphanumeric characters.'); | ||
var headerValue = string().nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYmhvb2sudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixNQUZhLEVBQUEsQ0FHYixTQUhhLENBR0gsd0ZBSEcsQ0FJYixNQUphLENBSU4sS0FKTSxDQUtiLFFBTGEsQ0FLSjtBQUNkLE9BQU8sR0FBQSxDQUFJLGNBQWMsR0FBQSxDQUFJLE1BQUosRUFBQSxDQUFhLE1BQWI7QUFDekIsT0FBTyxHQUFBLENBQUksTUFBTSxHQUFBLENBQ1osTUFEWSxFQUFBLENBRVosTUFGWSxFQUFBLENBR1osU0FIWSxDQUdGLHdGQUhFLENBSVosTUFKWSxDQUlMLEtBSkssQ0FLWixRQUxZLENBS0gsMEJBTEcsQ0FNWixHQU5ZLENBTVIsaUNBTlEsQ0FPWixJQVBZLENBT1AsZ0JBQWdCLGtDQUFrQyxVQUFVLE9BQU87SUFDekUsSUFBSSxDQUFDO1FBQ0QsT0FBTztJQUNYLE9BQU8sS0FBQSxDQUFNLFVBQU4sQ0FBaUI7QUFDN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cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKVxyXG4gICAgLm51bGxhYmxlKGZhbHNlKVxyXG4gICAgLm1hdGNoZXMoL15bQS1aXVtBLVphLXowLTktXSokLywgJ1RoZSBrZXkgbWF5IG9ubHkgc3RhcnQgd2l0aCBhIGNhcGl0YWwgbGV0dGVyIGFuZCBjb250YWluIG9ubHkgYWxwaGFudW1lcmljIGNoYXJhY3RlcnMuJyk7XHJcbmV4cG9ydCB2YXIgaGVhZGVyVmFsdWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLm51bGxhYmxlKGZhbHNlKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpO1xyXG4iXX0= | ||
@@ -242,3 +241,2 @@ | ||
name: name$4, | ||
description: description$5, | ||
url: url$1, | ||
@@ -245,0 +243,0 @@ headerKey: headerKey, |
@@ -7,9 +7,9 @@ (function (global, factory) { | ||
var name = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).ensure().trim('The name of an authentication token may not start or end with white space characters.').required('The name is a required field.'); | ||
var name = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).ensure().trim('The name of an authentication token may not start or end with white space characters.'); | ||
var description = yup.string().nullable(true); | ||
var scope = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).ensure().trim('The scope of an authentication token may not start or end with white space characters.').required('The scope is a required field.').oneOf(['READ', | ||
var scope = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).oneOf(['READ', | ||
'WRITE','OPEN'], "An authentication token can only be set to one of 'READ', 'WRITE' or 'OPEN'"); | ||
//# sourceMappingURL=data:application/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GhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAub25lT2YoWydSRUFEJywgJ1dSSVRFJywgJ09QRU4nXSwgXCJBbiBhdXRoZW50aWNhdGlvbiB0b2tlbiBjYW4gb25seSBiZSBzZXQgdG8gb25lIG9mICdSRUFEJywgJ1dSSVRFJyBvciAnT1BFTidcIik7XHJcbiJdfQ== | ||
@@ -35,3 +35,3 @@ | ||
var apiId = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of an enumeration may not be empty.').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, '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: 'no-graphql-type', | ||
@@ -59,10 +59,10 @@ test: function (value) { | ||
}).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"!').strict(true).required('The display name may not be empty.').trim('The display name may not have leading or trailing whitespaces.'); | ||
var value = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').required('An enumeration value can not be empty.').strict(true).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 description$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var values = yup.array().of(value).required('An enumeration must contain at least one value.'); | ||
var enumerationId = yup.string().strict(true).required(); | ||
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.'); | ||
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 valueItemDisplayName = displayName; | ||
var enumerationId = yup.string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVudW1lcmF0aW9uLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsZ0NBQWlDO0FBWTVELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLE1BSGMsQ0FHUCxLQUhPLENBSWQsUUFKYyxDQUlMLGlEQUpLLENBS2QsR0FMYyxDQUtWLEdBQUcsb0VBTE8sQ0FNZCxHQU5jLENBTVYsSUFBSSw2REFOTSxDQU9kLElBUGMsQ0FPVDtJQUNOLE1BQU0saUJBREEsQ0FBQTtJQUVOLE1BQU0sVUFBVSxPQUFPO1FBQ25CLE9BQU8sQ0FBQyxnQkFBQSxDQUFpQixJQUFqQixDQUFzQixVQUFVLGNBQWM7WUFBRSxPQUFRLEtBQUEsR0FBUSxZQUFBLENBQUEsR0FBQSxDQUFpQixLQUFBLENBQU0sV0FBTixLQUFzQjtRQUF2SDtJQUNBLENBSlUsQ0FBQTtJQUtOLFNBQVMsc0RBTEgsQ0F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3VsYXIgZXhwcmVzc2lvblxyXG4gKi9cclxuZXhwb3J0IHZhciB2YWx1ZUl0ZW1BcGlJZCA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5taW4oMSwgJ0FuIGVudW1lcmF0aW9uIHZhbHVlIG11c3QgYmUgYXQgbGVhc3Qgb25lIGNoYXJhY3RlciBsb25nLicpXHJcbiAgICAubWF4KDE5MSwgJ0FuIGVudW1lcmF0aW9uIHZhbHVlIG1heSBub3QgZXhjZWVkIDE5MSBjaGFyYWN0ZXJzLicpXHJcbiAgICAubWF0Y2hlcygvXltBLVpdW2EtekEtWjAtOV9dKiQvLCAnQW4gZW51bWVyYXRpb24gdmFsdWUgbWF5IG9ubHkgc3RhcnQgd2l0aCBhbiB1cHBlcmNhc2UgbGV0dGVyIGFuZCBjb250YWluIGFscGhhbnVtZXJpYyBjaGFyYWN0ZXJzIGFuZCB1bmRlcnNjb3JlcyBvbmx5LicpO1xyXG5leHBvcnQgdmFyIHZhbHVlSXRlbURpc3BsYXlOYW1lID0gZGlzcGxheU5hbWU7XHJcbmV4cG9ydCB2YXIgZW51bWVyYXRpb25JZCA9IHl1cC5zdHJpbmcoKS5zdHJpY3QodHJ1ZSk7XHJcbiJdfQ== | ||
@@ -73,9 +73,9 @@ | ||
displayName: displayName, | ||
value: value, | ||
description: description$1, | ||
values: values, | ||
valueItemApiId: valueItemApiId, | ||
valueItemDisplayName: valueItemDisplayName, | ||
enumerationId: enumerationId | ||
}); | ||
var apiId$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of a field may not be empty!').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, '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({ | ||
name: 'no-graphql-type', | ||
@@ -103,3 +103,3 @@ test: function (value) { | ||
}).matches(/^[a-z][a-zA-Z0-9]*$/, 'The API ID of a field may only start with a lowercase letter and contain alphanumeric characters.'); | ||
var displayName$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The display name of a field may not be empty.').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, '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) { | ||
if (value && typeof value === 'string') { | ||
@@ -111,6 +111,6 @@ return value.replace(' ', '').length > 0; | ||
var description$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var isList = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!').required(); | ||
var isList = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZpZWxkLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsMEJBQTJCO0FBYXRELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLE1BSGMsQ0FHUCxLQUhPLENBSWQsUUFKYyxDQUlMLDBDQUpLLENBS2QsR0FMYyxDQUtWLEdBQUcsNkRBTE8sQ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pbmdzXHJcbiAqL1xyXG5leHBvcnQgdmFyIGRlc2NyaXB0aW9uID0geXVwXHJcbiAgICAuc3RyaW5nKClcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKVxyXG4gICAgLmVuc3VyZSgpO1xyXG5leHBvcnQgdmFyIGlzTGlzdCA9IHl1cFxyXG4gICAgLmJvb2xlYW4oKVxyXG4gICAgLnN0cmljdCh0cnVlKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcImJvb2xlYW5cIiEnKTtcclxuIl19 | ||
@@ -125,6 +125,6 @@ | ||
var email = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('E-Mail is a required field!').email('Only valid E-Mail addresses are allowed.'); | ||
var email = yup.string().nullable(false).min(1).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').email('Only valid E-Mail addresses are allowed.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImludml0ZS50cyhvcmlnaW5hbCkiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxTQUFTO0FBQ3JCLE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLE1BSGMsQ0FHUCxLQUhPLENBSWQsUUFKYyxDQUlMLDhCQUpLLENBS2QsS0FMYyxDQUtSO0FBTlgiLCJmaWxlIjoiaW52aXRlLnRzKG9yaWdpbmFsKSIsInNvdXJjZX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zIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuZW1haWwoJ09ubHkgdmFsaWQgRS1NYWlsIGFkZHJlc3NlcyBhcmUgYWxsb3dlZC4nKTtcclxuIl19 | ||
@@ -136,3 +136,3 @@ | ||
var apiId$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The API ID of a model may not be empty.').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, '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({ | ||
name: 'no-graphql-type', | ||
@@ -160,8 +160,8 @@ test: function (value) { | ||
}).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).required('The display name of a model may not be empty.').trim('Display names may not have leading or trailing whitespaces.'); | ||
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.'); | ||
var description$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').ensure(); | ||
var modelId = yup.string().strict(true).required(); | ||
var modelId = yup.string().strict(true); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1vZGVsLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsMEJBQTJCO0FBYXRELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQ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GlzcGxheSBuYW1lcyBtYXkgbm90IGhhdmUgbGVhZGluZyBvciB0cmFpbGluZyB3aGl0ZXNwYWNlcy4nKTtcclxuLyoqXHJcbiAqIE1hdGNoZXIgZm9yIG1vZGVsIGRlc2NyaXB0aW9uczpcclxuICpcclxuICogLnN0cmluZygpICAgICAgICAgIC0+IEVuc3VyZXMgdGhhdCBvbmx5IHN0cmluZ3MgY2FuIGJlIHZhbGlkYXRlZCB3aXRoIHN1Y2Nlc3NcclxuICogLnR5cGVFcnJvcig6c3RyaW5nKS0+IEVuc3VyZXMgdGhhdCB0eXBlcyBvdGhlciB0aGFuIHN0cmluZyByZXR1cm4gZmFsc2VcclxuICogLmVuc3VyZSgpICAgICAgICAgIC0+IFRyYW5zZm9ybXMgdGhlIHZhbHVlcyBcInVuZGVmaW5lZFwiIGFuZCBcIm51bGxcIiBpbnRvIGVtcHR5IHN0cmluZ3NcclxuICovXHJcbmV4cG9ydCB2YXIgZGVzY3JpcHRpb24gPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuZW5zdXJlKCk7XHJcbmV4cG9ydCB2YXIgbW9kZWxJZCA9IHl1cC5zdHJpbmcoKS5zdHJpY3QodHJ1ZSk7XHJcbiJdfQ== | ||
@@ -177,6 +177,6 @@ | ||
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.'); | ||
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}'); | ||
var description$4 = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).required('The url of a custom prisma endpoint can not be empty!').url('The custom prisma endpoint must be a valid url!').test('no-end-with-management', 'The custom prisma endpoint may not end with "/management"', function (value) { | ||
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 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}'); | ||
var description$4 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).min(1).url('The custom prisma endpoint must be a valid url!').test('no-end-with-management', 'The custom prisma endpoint may not end with "/management"', function (value) { | ||
if (!value) | ||
@@ -193,3 +193,3 @@ return false; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2plY3QudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxjQUFjLENBQUMsWUFBYSxZQUFhLFlBQWE7QUFFakUsT0FBTyxHQUFBLENBQUksT0FBTyxHQUFBLENBQ2IsTUFEYSxFQUFBLENBRWIsU0FGYSxDQUVILHdGQUZHLENBR2IsTUFIYSxDQUdOLEtBSE0sQ0FJYixRQUphLENBSUo7QUFDZCxPQUFPLEdBQUEsQ0FBSSxTQUFTLEdBQUEsQ0FDZixNQURlLEVBQUEsQ0FFZixTQUZlLENBRUwsd0ZBRkssQ0FHZixNQUhlLENBR1IsS0FIUSxDQUlmLEdBSmUsQ0FJWCxFQUpXLENBS2YsUUFMZSxDQUtOLDRDQUxNL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tcclxuIl19 | ||
@@ -205,6 +205,6 @@ | ||
var name$2 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a role may only be a non-empty string!').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 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.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJvbGUudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixTQUZhLENBRUgsd0ZBRkcsQ0FHYixNQUhhLENBR04sS0FITSxDQUliLFFBSmEsQ0FJSixxREFKSSxDQUtiLElBTGEsQ0FLUixzRUFMUSxDQU1iLEdBTmEsQ0FNVCxHQUFHLDBEQU5NLENBT2IsR0FQYSxDQU9ULElBQUk7QUFSYiIsImZpbGUiOiJyb2xlLnRzKG9yaWdpbmFsKSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIHl1cCBmcm9tICd5dXAnO1xyXG5leHBvcnQgdmFyIG5hbWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAucmVxdWlyZWQoJ1RoZSBuYW1lIG9mIGEgcm9sZSBtYXk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hbWUgb2YgYSByb2xlIG1heSBub3Qgc3RhcnQgb3IgZW5kIHdpdGggd2hpdGVzcGFjZSBjaGFyYWN0ZXJzIScpXHJcbiAgICAubWluKDEsICdUaGUgbmFtZSBvZiBhIHJvbGUgbXVzdCBiZSBhdCBsZWFzdCBvbmUgY2hhcmFjdGVyIGxvbmcuJylcclxuICAgIC5tYXgoMzIsICdUaGUgbmFtZSBvZiBhIHJvbGUgbWF5IG5vdCBleGNlZWQgMzIgY2hhcmFjdGVycy4nKTtcclxuIl19 | ||
@@ -216,7 +216,7 @@ | ||
var name$3 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required('The name of a stage may only be a non-empty string!').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"!').strict(true).required('The display name of a stage is required!'); | ||
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"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0YWdlLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsT0FBTyxHQUFBLENBQUksT0FBTyxHQUFBLENBQ2IsTUFEYSxFQUFBLENBRWI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dHBzOi8vZ2l0aHViLmNvbS9ncmFwaGNvb2wvcHJpc21hL2Jsb2IvbWFzdGVyL3NlcnZlci9zZXJ2ZXJzL2RlcGxveS9zcmMvbWFpbi9zY2FsYS9jb20vcHJpc21hL2RlcGxveS92YWxpZGF0aW9uL05hbWVDb25zdHJhaW50cy5zY2FsYVxyXG4nU3RhZ2UgbmFtZXMgbWF5IG9ubHkgc3RhcnQgd2l0aCBhIGxldHRlciBhbmQgY2FuIGNvbnRhaW4gYWxwaGFudW1lcmljIGNoYXJhY3RlcnMsIFwiLVwiLCBhbmQgXCJfXCIuJyk7XHJcbmV4cG9ydCB2YXIgZGlzcGxheU5hbWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpO1xyXG4iXX0= | ||
@@ -229,5 +229,4 @@ | ||
var name$4 = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The name of a webhook can't be empty."); | ||
var description$5 = yup.string().ensure(); | ||
var url$1 = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The URL can't be empty!").url('Only valid URLs are supported!').test('is-https-url', 'Only HTTPS URLs are supported!', function (value) { | ||
var name$4 = yup.string().min(1).nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var url$1 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).url('Only valid URLs are supported!').test('is-https-url', 'Only HTTPS URLs are supported!', function (value) { | ||
if (!value) | ||
@@ -237,7 +236,7 @@ return false; | ||
}); | ||
var headerKey = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The key of a header can't be empty!").matches(/^[A-Z][A-Za-z0-9-]*$/, 'The key may only start with a capital letter and contain only alphanumeric characters.'); | ||
var headerValue = yup.string().ensure().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').strict(true).required("The value of a header can't be empty."); | ||
var headerKey = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(false).matches(/^[A-Z][A-Za-z0-9-]*$/, 'The key may only start with a capital letter and contain only alphanumeric characters.'); | ||
var headerValue = yup.string().nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYmhvb2sudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixNQUZhLEVBQUEsQ0FHYixTQUhhLENBR0gsd0ZBSEcsQ0FJYixNQUphLENBSU4sS0FKTSxDQUtiLFFBTGEsQ0FLSjtBQUNkLE9BQU8sR0FBQSxDQUFJLGNBQWMsR0FBQSxDQUFJLE1BQUosRUFBQSxDQUFhLE1BQWI7QUFDekIsT0FBTyxHQUFBLENBQUksTUFBTSxHQUFBLENBQ1osTUFEWSxFQUFBLENBRVosTUFGWSxFQUFBLENBR1osU0FIWSxDQUdGLHdGQUhFLENBSVosTUFKWSxDQUlMLEtBSkssQ0FLWixRQUxZLENBS0gsMEJBTEcsQ0FNWixHQU5ZLENBTVIsaUNBTlEsQ0FPWixJQVBZLENBT1AsZ0JBQWdCLGtDQUFrQyxVQUFVLE9BQU87SUFDekUsSUFBSSxDQUFDO1FBQ0QsT0FBTztJQUNYLE9BQU8sS0FBQSxDQUFNLFVBQU4sQ0FBaUI7QUFDNUI7QUFDQSxPQUFPLEdBQUEsQ0FBSSxZQUFZLEdBQUEsQ0FDbEIsTUFEa0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XG4gICAgLm51bGxhYmxlKGZhbHNlKVxyXG4gICAgLm1hdGNoZXMoL15bQS1aXVtBLVphLXowLTktXSokLywgJ1RoZSBrZXkgbWF5IG9ubHkgc3RhcnQgd2l0aCBhIGNhcGl0YWwgbGV0dGVyIGFuZCBjb250YWluIG9ubHkgYWxwaGFudW1lcmljIGNoYXJhY3RlcnMuJyk7XHJcbmV4cG9ydCB2YXIgaGVhZGVyVmFsdWUgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLm51bGxhYmxlKGZhbHNlKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpO1xyXG4iXX0= | ||
@@ -247,3 +246,2 @@ | ||
name: name$4, | ||
description: description$5, | ||
url: url$1, | ||
@@ -250,0 +248,0 @@ headerKey: headerKey, |
import * as yup from 'yup'; | ||
export declare const name: yup.StringSchema; | ||
export declare const description: yup.StringSchema; | ||
export declare const url: yup.StringSchema; | ||
export declare const headerKey: yup.StringSchema; | ||
export declare const headerValue: yup.StringSchema; |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.1.5", | ||
"version": "1.2.0", | ||
"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
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
583137
1067