Hardening: Restore V3 Search legacy compatibility and fix Hosted File specialized delete logic

- Restored legacy query aliases (qry_ae_obj_li__event, qry__event_file, etc.) across Event modules to fix build errors.
- Fixed Hosted File deletion logic in core__hosted_files.ts to use specialized /hosted_file/{id} endpoint with fake_delete support.
- Standardized ID field usage (hosted_file_id vs hosted_file_id_random) in Archive Content and Event File upload components.
- Updated TODO.md to reflect completed search restoration tasks.
This commit is contained in:
Scott Idem
2026-01-22 17:30:20 -05:00
parent f190beb691
commit 0ab6d2b3e3
9 changed files with 52 additions and 22 deletions

View File

@@ -334,7 +334,7 @@
api_cfg: $ae_api,
archive_content_id: $idaa_slct.archive_content_id,
data_kv: {
hosted_file_id_random: hosted_file_obj_li[0].hosted_file_id_random,
hosted_file_id: hosted_file_obj_li[0].hosted_file_id,
// file_path: hosted_file_obj_li[0].file_path,
filename: hosted_file_obj_li[0].filename,
file_extension: hosted_file_obj_li[0].extension,
@@ -384,7 +384,7 @@
api_cfg: $ae_api,
archive_content_id: $idaa_slct.archive_content_id,
data_kv: {
hosted_file_id_random: slct_hosted_file_id,
hosted_file_id: slct_hosted_file_id,
// file_path: hosted_file_obj_li[0].file_path,
filename: slct_hosted_file_obj.filename,
file_extension: slct_hosted_file_obj.extension,
@@ -561,7 +561,7 @@
bind:upload_complete={
$idaa_slct.archive_content_obj.upload_complete
}
{log_lvl}
log_lvl={1}
>
{#snippet label()}
<span>
@@ -629,7 +629,7 @@
api_cfg: $ae_api,
archive_content_id: $idaa_slct.archive_content_id,
data_kv: {
hosted_file_id_random: null,
hosted_file_id: null,
file_path: null,
filename: null,
file_extension: null,