@prismicio/types-internal 3.16.1 → 3.17.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2239,6 +2239,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2239
2239
|
page: string;
|
|
2240
2240
|
custom: string;
|
|
2241
2241
|
}>;
|
|
2242
|
+
route: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2242
2243
|
}>]>>;
|
|
2243
2244
|
export declare type StaticCustomType = t.TypeOf<typeof StaticCustomType>;
|
|
2244
2245
|
export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -3660,6 +3661,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3660
3661
|
page: string;
|
|
3661
3662
|
custom: string;
|
|
3662
3663
|
}>;
|
|
3664
|
+
route: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3663
3665
|
}>]>>;
|
|
3664
3666
|
export declare type CustomType = t.TypeOf<typeof CustomType>;
|
|
3665
3667
|
export declare function flattenWidgets(customType: CustomType): Array<[string, DynamicWidget]>;
|
package/package.json
CHANGED