@prismicio/types-internal
Version:
Prismic types for Custom Types and Prismic Data
16 lines (15 loc) • 685 B
TypeScript
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>;