@graphcms/validation
Advanced tools
Comparing version 1.3.15 to 1.3.16
@@ -47,1 +47,3 @@ import * as yup from 'yup'; | ||
export declare const isHidden: yup.BooleanSchema; | ||
export declare const isApiOnly: yup.BooleanSchema; | ||
export declare const isReadOnly: yup.BooleanSchema; |
@@ -115,2 +115,4 @@ var yup = require('yup'); | ||
var isHidden = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
var isApiOnly = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
var isReadOnly = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
@@ -127,3 +129,5 @@ | ||
isList: isList, | ||
isHidden: isHidden | ||
isHidden: isHidden, | ||
isApiOnly: isApiOnly, | ||
isReadOnly: isReadOnly | ||
}); | ||
@@ -130,0 +134,0 @@ |
@@ -118,5 +118,7 @@ import { string, boolean, array, object } from 'yup'; | ||
var isHidden = boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
var isApiOnly = boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
var isReadOnly = 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZpZWxkLnRzKG9yaWdpbmFsKSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLFNBQVM7QUFDckIsUUFBUyxrQkFBa0IsMEJBQTJCO0FBWXRELE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLE1BSGMsQ0FHUCxLQUhPLENBSWQsR0FKYyxDQUlWLEdBQUcsbUJBSk8sQ0FLZCxHQUxjLENBS1YsSUFBSSxvRE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IgaXNIaWRkZW4gPSB5dXBcclxuICAgIC5ib29sZWFuKClcclxuICAgIC5zdHJpY3QodHJ1ZSlcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJib29sZWFuXCIhJyk7XHJcbmV4cG9ydCB2YXIgaXNBcGlPbmx5ID0geXVwXHJcbiAgICAuYm9vbGVhbigpXHJcbiAgICAuc3RyaWN0KHRydWUpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwiYm9vbGVhblwiIScpO1xyXG5leHBvcnQgdmFyIGlzUmVhZE9ubHkgPSB5dXBcclxuICAgIC5ib29sZWFuKClcclxuICAgIC5zdHJpY3QodHJ1ZSlcclxuICAgIC50eXBlRXJyb3IoJ1RoZSBzdXBwbGllZCB2YWx1ZSBcIiR7dmFsdWV9XCIgb2YgdHlwZSBcIiR7dHlwZX1cIiBpcyBub3QgY29tcGF0aWJsZSB3aXRoIHR5cGUgXCJib29sZWFuXCIhJyk7XHJcbiJdfQ== | ||
@@ -130,3 +132,5 @@ | ||
isList: isList, | ||
isHidden: isHidden | ||
isHidden: isHidden, | ||
isApiOnly: isApiOnly, | ||
isReadOnly: isReadOnly | ||
}); | ||
@@ -133,0 +137,0 @@ |
@@ -122,5 +122,7 @@ (function (global, factory) { | ||
var isHidden = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
var isApiOnly = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
var isReadOnly = yup.boolean().strict(true).typeError('The supplied value "${value}" of type "${type}" is not compatible with type "boolean"!'); | ||
//# s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hJyk7XHJcbiJdfQ== | ||
@@ -134,3 +136,5 @@ | ||
isList: isList, | ||
isHidden: isHidden | ||
isHidden: isHidden, | ||
isApiOnly: isApiOnly, | ||
isReadOnly: isReadOnly | ||
}); | ||
@@ -137,0 +141,0 @@ |
{ | ||
"name": "@graphcms/validation", | ||
"version": "1.3.15", | ||
"version": "1.3.16", | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1288
175469
105
1