UNPKG

@cmk/fe_utils

Version:
63 lines (62 loc) 1.65 kB
export type EntityValueType = { entity_values_id: number; base_entity_id: number; list_label?: string; type?: string; sql_format_parmeter?: string; fe_mapping_key?: string; name?: string; }; export type EntityValuePayloadType = EntityValueType & { owner_user_id?: number; html_project_id?: string; }; export declare const EntityValuesDbFieldsDefs: ({ readonly name: "entity_values_id"; readonly data_type: "serial PRIMARY KEY"; readonly is_id_field: true; required?: undefined; ui_type?: undefined; } | { readonly name: "name"; readonly data_type: "varchar"; readonly required: true; readonly is_id_field?: undefined; ui_type?: undefined; } | { readonly name: "base_entity_id"; readonly data_type: "integer references _entities(entity_id)"; readonly required: true; readonly ui_type: "dropdown"; readonly is_id_field?: undefined; } | { name: "type"; data_type: string; required: boolean; ui_type: string; readonly is_id_field?: undefined; } | { name: "sql_format_parmeter"; data_type: string; readonly is_id_field?: undefined; required?: undefined; ui_type?: undefined; } | { name: "fe_mapping_key"; data_type: string; readonly is_id_field?: undefined; required?: undefined; ui_type?: undefined; } | { name: "owner_user_id"; data_type: string; readonly is_id_field?: undefined; required?: undefined; ui_type?: undefined; } | { name: "html_project_id"; data_type: string; readonly is_id_field?: undefined; required?: undefined; ui_type?: undefined; })[];