@prismicio/types-internal
Version:
Prismic types for Custom Types and Prismic Data
22 lines (21 loc) • 689 B
TypeScript
import * as t from "io-ts";
export declare const TableFieldType = "Table";
declare const TableConfig: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
}>>;
export declare type TableConfig = t.TypeOf<typeof TableConfig>;
export declare const Table: t.ExactC<t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"Table">;
}>, t.PartialC<{
config: t.ExactC<t.PartialC<{
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
}>>;
}>]>>;
export declare type Table = t.TypeOf<typeof Table>;
export declare const TableCell: {
type: "StructuredText";
config: {
multi: string;
};
};
export {};