UNPKG

@prismicio/types-internal

Version:
16 lines (15 loc) 685 B
import * as t from "io-ts"; export declare const GeoPointFieldType = "GeoPoint"; export declare const GeoPointConfig: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; }>>; export declare type GeoPointConfig = t.TypeOf<typeof GeoPointConfig>; export declare const GeoPoint: t.ExactC<t.IntersectionC<[t.TypeC<{ type: t.LiteralC<"GeoPoint">; }>, t.PartialC<{ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; config: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; }>>; }>]>>; export declare type GeoPoint = t.TypeOf<typeof GeoPoint>;