UNPKG

@cmk/fe_utils

Version:
28 lines (27 loc) 907 B
export declare const ENTITY_TYPES_MODEL_FIELD_DEFS: ({ readonly name: "entity_type_id"; readonly data_type: "serial PRIMARY KEY"; readonly is_id_field: true; required?: undefined; ui_type?: undefined; } | { readonly name: "entity_type"; readonly data_type: "varchar"; readonly required: true; readonly ui_type: "dropdown"; readonly is_id_field?: undefined; } | { readonly name: "required_list_field_types"; readonly data_type: "varchar []"; readonly required: true; readonly is_id_field?: undefined; ui_type?: undefined; })[]; type ENTITY_TYPES_MODEL_FIELD_DEFS_TYPE = typeof ENTITY_TYPES_MODEL_FIELD_DEFS; export type ENTITY_TYPE_MODEL_FIELDNAME_TYPE = ENTITY_TYPES_MODEL_FIELD_DEFS_TYPE[number]['name']; export type ENTITY_TYPE_TYPE = { entity_type_id: number; entity_type: string; required_list_field_types: string[]; }; export {};