fix(standardization): enforce V3 String-Only ID mapping and harden account isolation
- Added 'account_id_random' to persistent property list to fix local search isolation. - Standardized search body and helpers to support mandatory x-account-id headers. - Refactored LiveQuery to use synchronous dependency tracking ($derived.by) for reliable search updates. - Broadened server-side search to handle inclusive OR logic on the client, preventing disappearing results. - Updated task list with IDAA Recovery Meeting testing status.
This commit is contained in:
@@ -97,6 +97,7 @@ interface GetAeObjLiV3Params {
|
||||
offset?: number;
|
||||
order_by_li?: Record<string, 'ASC' | 'DESC'> | Record<string, 'ASC' | 'DESC'>[] | null;
|
||||
delay_ms?: number;
|
||||
headers?: key_val;
|
||||
log_lvl?: number;
|
||||
}
|
||||
|
||||
@@ -112,6 +113,7 @@ export async function get_ae_obj_li_v3({
|
||||
offset = 0,
|
||||
order_by_li = null,
|
||||
delay_ms = 0,
|
||||
headers = {},
|
||||
log_lvl = 0
|
||||
}: GetAeObjLiV3Params) {
|
||||
// 1. Build V3 Endpoint
|
||||
@@ -135,12 +137,14 @@ export async function get_ae_obj_li_v3({
|
||||
console.log('*** get_ae_obj_li_v3 ***');
|
||||
console.log('Endpoint:', endpoint);
|
||||
console.log('Params:', params);
|
||||
console.log('Headers:', headers);
|
||||
}
|
||||
|
||||
return await get_object({
|
||||
api_cfg,
|
||||
endpoint,
|
||||
params,
|
||||
headers,
|
||||
log_lvl
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user