@prismicio/types-internal
Advanced tools
Comparing version 2.9.0-alpha.1 to 2.9.0-alpha.2
@@ -13,2 +13,6 @@ import * as t from "io-ts"; | ||
allowText: t.BooleanC; | ||
/** | ||
* `repeat` property is used to allow multiple links to be added. | ||
* `undefined` means that the field is not repeatable (hence repeat = false). | ||
*/ | ||
repeat: t.BooleanC; | ||
@@ -31,2 +35,6 @@ }>>; | ||
allowText: t.BooleanC; | ||
/** | ||
* `repeat` property is used to allow multiple links to be added. | ||
* `undefined` means that the field is not repeatable (hence repeat = false). | ||
*/ | ||
repeat: t.BooleanC; | ||
@@ -33,0 +41,0 @@ }>>; |
@@ -46,3 +46,7 @@ "use strict"; | ||
allowText: t.boolean, | ||
repeat: (0, withFallback_1.withFallback)(t.boolean, false), | ||
/** | ||
* `repeat` property is used to allow multiple links to be added. | ||
* `undefined` means that the field is not repeatable (hence repeat = false). | ||
*/ | ||
repeat: t.boolean, | ||
})); | ||
@@ -55,7 +59,4 @@ exports.Link = t.exact(t.intersection([ | ||
fieldset: validators_1.StringOrNull, | ||
config: (0, withFallback_1.withFallback)(exports.LinkConfig, { | ||
select: null, | ||
repeat: false, | ||
}), | ||
config: exports.LinkConfig, | ||
}), | ||
])); |
{ | ||
"name": "@prismicio/types-internal", | ||
"version": "2.9.0-alpha.1", | ||
"version": "2.9.0-alpha.2", | ||
"description": "Prismic types for Custom Types and Prismic Data", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -82,3 +82,8 @@ import { either } from "fp-ts/lib/Either" | ||
allowText: t.boolean, | ||
repeat: withFallback(t.boolean, false), | ||
/** | ||
* `repeat` property is used to allow multiple links to be added. | ||
* `undefined` means that the field is not repeatable (hence repeat = false). | ||
*/ | ||
repeat: t.boolean, | ||
}), | ||
@@ -95,6 +100,3 @@ ) | ||
fieldset: StringOrNull, | ||
config: withFallback(LinkConfig, { | ||
select: null, | ||
repeat: false, | ||
}), | ||
config: LinkConfig, | ||
}), | ||
@@ -101,0 +103,0 @@ ]), |
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
3306688
79424
5