feat: standardize OrderBy types and fix data model mismatches
- Update ae_types.ts with joined fields for deep layout loading - Fix OrderBy vs OrderBy[] type mismatch in API v2/v3 and generic CRUD - Apply 'as const' to order_by_li defaults in core/event libraries - Resolve type errors in reports_presenters and reports_files Svelte components
This commit is contained in:
@@ -119,7 +119,7 @@ export async function load_ae_obj_li__event_device({
|
||||
code: 'ASC',
|
||||
updated_on: 'DESC',
|
||||
created_on: 'DESC'
|
||||
},
|
||||
} as const,
|
||||
params = {},
|
||||
try_cache = true,
|
||||
log_lvl = 0
|
||||
@@ -547,7 +547,7 @@ export async function search__event_device({
|
||||
name: 'ASC',
|
||||
updated_on: 'DESC',
|
||||
created_on: 'DESC'
|
||||
};
|
||||
} as const;
|
||||
|
||||
// ae_promises.load__event_device_obj_li = await api.get_ae_obj_li_for_obj_id_crud({
|
||||
ae_promises.load__event_device_obj_li = await api
|
||||
|
||||
Reference in New Issue
Block a user