@prismicio/types-internal
Advanced tools
Comparing version 3.3.0-alpha.1 to 3.3.0-alpha.2
@@ -104,3 +104,3 @@ import type { Variation } from "../widgets/slices"; | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -274,3 +274,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -444,3 +444,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -613,3 +613,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -785,3 +785,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -955,3 +955,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -1125,3 +1125,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -1294,3 +1294,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -1297,0 +1297,0 @@ }) | ({ |
@@ -136,3 +136,3 @@ import * as t from "io-ts"; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -308,3 +308,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -475,3 +475,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -644,3 +644,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -818,3 +818,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -987,3 +987,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -990,0 +990,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ |
@@ -18,3 +18,7 @@ import * as t from "io-ts"; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
/** | ||
* `variants` allows an option to be picked from a list (e.g. "primary"). To | ||
* be considered, the list must have at least one item. | ||
*/ | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -41,5 +45,9 @@ export declare type LinkConfig = t.TypeOf<typeof LinkConfig>; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
/** | ||
* `variants` allows an option to be picked from a list (e.g. "primary"). To | ||
* be considered, the list must have at least one item. | ||
*/ | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
}>]>>; | ||
export declare type Link = t.TypeOf<typeof Link>; |
@@ -51,3 +51,7 @@ "use strict"; | ||
repeat: t.boolean, | ||
variant: t.array(t.string), | ||
/** | ||
* `variants` allows an option to be picked from a list (e.g. "primary"). To | ||
* be considered, the list must have at least one item. | ||
*/ | ||
variants: t.array(t.string), | ||
})); | ||
@@ -54,0 +58,0 @@ exports.Link = t.exact(t.intersection([ |
@@ -132,3 +132,3 @@ import * as t from "io-ts"; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -135,0 +135,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ |
@@ -145,3 +145,3 @@ import * as t from "io-ts"; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -306,3 +306,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -309,0 +309,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ |
@@ -133,3 +133,3 @@ import * as t from "io-ts"; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -302,3 +302,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -305,0 +305,0 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ |
@@ -132,3 +132,3 @@ import * as t from "io-ts"; | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -301,3 +301,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -470,3 +470,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat: t.BooleanC; | ||
variant: t.ArrayC<t.StringC>; | ||
variants: t.ArrayC<t.StringC>; | ||
}>>; | ||
@@ -591,3 +591,3 @@ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -761,3 +761,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -931,3 +931,3 @@ }) | ({ | ||
repeat?: boolean; | ||
variant?: string[]; | ||
variants?: string[]; | ||
}; | ||
@@ -934,0 +934,0 @@ }) | ({ |
{ | ||
"name": "@prismicio/types-internal", | ||
"version": "3.3.0-alpha.1", | ||
"version": "3.3.0-alpha.2", | ||
"description": "Prismic types for Custom Types and Prismic Data", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -89,3 +89,7 @@ import { either } from "fp-ts/lib/Either" | ||
variant: t.array(t.string), | ||
/** | ||
* `variants` allows an option to be picked from a list (e.g. "primary"). To | ||
* be considered, the list must have at least one item. | ||
*/ | ||
variants: t.array(t.string), | ||
}), | ||
@@ -92,0 +96,0 @@ ) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
3343753
80192