UNPKG

@cmk/fe_utils

Version:
53 lines (52 loc) 1.45 kB
export type EntityListType = { entity_list_id: number; base_entity_id: number; list_label?: string; disable_create_entity?: boolean; disable_edit_entity?: boolean; disable_delete_entity?: boolean; disable_excel_export?: boolean; list_type: string; }; export type EntityListPayloadType = EntityListType & { owner_user_id?: number; html_project_id: string; }; export type EntityTypeKeys = keyof EntityListType; export declare const EntityListDbFieldsDefs: ({ readonly name: "entity_list_id"; readonly data_type: "serial PRIMARY KEY"; readonly is_id_field: true; required?: 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: "list_label"; data_type: string; readonly is_id_field?: undefined; required?: undefined; ui_type?: undefined; } | { name: "list_type"; data_type: string; ui_type: string; readonly is_id_field?: undefined; required?: 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; })[];