@graphcms/validation
Advanced tools
Comparing version 1.3.17 to 1.3.18
@@ -243,2 +243,3 @@ var yup = require('yup'); | ||
var headerValue = yup.string().nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var secretKey = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(true).min(32, 'Choose a secret key that is min. 32 characters long.').max(64, 'The secret key may not exceed 64 characters.'); | ||
@@ -253,3 +254,4 @@ | ||
headerKey: headerKey, | ||
headerValue: headerValue | ||
headerValue: headerValue, | ||
secretKey: secretKey | ||
}); | ||
@@ -256,0 +258,0 @@ |
@@ -246,5 +246,6 @@ import { string, boolean, array, object } from 'yup'; | ||
var headerValue = string().nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var secretKey = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(true).min(32, 'Choose a secret key that is min. 32 characters long.').max(64, 'The secret key may not exceed 64 characters.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYmhvb2sudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixPQUFPLEdBQUEsQ0FBSSxPQUFPLEdBQUEsQ0FDYixNQURhLEVBQUEsQ0FFYixHQUZhLENBRVQsRUFGUyxDQUdiLFFBSGEsQ0FHSixNQUhJLENBSWIsU0FKYSxDQUlIO0FBQ2YsT0FBTyxHQUFBLENBQUksTUFBTSxHQUFBLENBQ1osTUFEWSxFQUFBLENBRVosU0FGWSxDQUVGLHdGQUZFLENBR1osUUFIWSxDQUdILE1BSEcsQ0FJWixHQUpZLENBSVIsaUNBSlEsQ0FLWixJQUxZLENBS1AsZ0JBQWdCLGtDQUFrQyxVQUFVLE9BQU87SUFDekUsSUFBSSxDQUFDO1FBQ0QsT0FBTztJQUNYLE9BQU8sS0FBQSxDQUF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clxuICAgIC5udWxsYWJsZShmYWxzZSlcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKTtcclxuZXhwb3J0IHZhciBzZWNyZXRLZXkgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAubnVsbGFibGUodHJ1ZSlcclxuICAgIC5taW4oMzIsICdDaG9vc2UgYSBzZWNyZXQga2V5IHRoYXQgaXMgbWluLiAzMiBjaGFyYWN0ZXJzIGxvbmcuJylcclxuICAgIC5tYXgoNjQsICdUaGUgc2VjcmV0IGtleSBtYXkgbm90IGV4Y2VlZCA2NCBjaGFyYWN0ZXJzLicpO1xyXG4iXX0= | ||
@@ -256,3 +257,4 @@ | ||
headerKey: headerKey, | ||
headerValue: headerValue | ||
headerValue: headerValue, | ||
secretKey: secretKey | ||
}); | ||
@@ -259,0 +261,0 @@ |
@@ -250,5 +250,6 @@ (function (global, factory) { | ||
var headerValue = yup.string().nullable(false).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!'); | ||
var secretKey = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').nullable(true).min(32, 'Choose a secret key that is min. 32 characters long.').max(64, 'The secret key may not exceed 64 characters.'); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYmhvb2sudHMob3JpZ2luYWwpIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFlBQVksU0FBUztBQUNyQixP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Ugc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5udWxsYWJsZShmYWxzZSlcclxuICAgIC5tYXRjaGVzKC9eW0EtWl1bQS1aYS16MC05LV0qJC8sICdUaGUga2V5IG1heSBvbmx5IHN0YXJ0IHdpdGggYSBjYXBpdGFsIGxldHRlciBhbmQgY29udGFpbiBvbmx5IGFscGhhbnVtZXJpYyBjaGFyYWN0ZXJzLicpO1xyXG5leHBvcnQgdmFyIGhlYWRlclZhbHVlID0geXVwXHJcbiAgICAuc3RyaW5nKClcclxuICAgIC5udWxsYWJsZShmYWxzZSlcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJzdHJpbmdcIiEnKTtcclxuZXhwb3J0IHZhciBzZWNyZXRLZXkgPSB5dXBcclxuICAgIC5zdHJpbmcoKVxyXG4gICAgLnR5cGVFcnJvcignVGhlIHN1cHBsaWVkIHZhbHVlIFwiJHt2YWx1ZX1cIiBvZiB0eXBlIFwiJHt0eXBlfVwiIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggdHlwZSBcInN0cmluZ1wiIScpXHJcbiAgICAubnVsbGFibGUodHJ1ZSlcclxuICAgIC5taW4oMzIsICdDaG9vc2UgYSBzZWNyZXQga2V5IHRoYXQgaXMgbWluLiAzMiBjaGFyYWN0ZXJzIGxvbmcuJylcclxuICAgIC5tYXgoNjQsICdUaGUgc2VjcmV0IGtleSBtYXkgbm90IGV4Y2VlZCA2NCBjaGFyYWN0ZXJzLicpO1xyXG4iXX0= | ||
@@ -260,3 +261,4 @@ | ||
headerKey: headerKey, | ||
headerValue: headerValue | ||
headerValue: headerValue, | ||
secretKey: secretKey | ||
}); | ||
@@ -263,0 +265,0 @@ |
@@ -6,1 +6,2 @@ import * as yup from 'yup'; | ||
export declare const headerValue: yup.StringSchema; | ||
export declare const secretKey: yup.StringSchema; |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.3.17", | ||
"version": "1.3.18", | ||
"main": "dist/validation.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
209033
1299