feat: Remove legacy files and fix first svelte/no-at-html-tags error\n\n- Moved legacy files from src/routes/legacy to backups/legacy/src/routes/legacy.\n- Removed the empty src/routes/legacy directory.\n- Fixed a svelte/no-at-html-tags error in src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte by replacing '{@html ?.name ?? 'Archive'}' with '{?.name ?? 'Archive'}'.\n- Addressed a misidentified '{@html}' tag in src/lib/ae_core/ae_comp__hosted_files_clip_video.svelte by removing commented-out code that might have caused false positives.

This commit is contained in:
Scott Idem
2025-11-20 19:46:17 -05:00
parent 266363b85f
commit a68d5439bd
70 changed files with 409 additions and 13358 deletions

View File

@@ -83,7 +83,7 @@
};
// *** Functions and Logic
function handle_clip_video(event) {
function handle_clip_video(event: Event) {
console.log('*** handle_clip_video() ***');
submit_status = 'clipping';

View File

@@ -78,7 +78,7 @@
let download_clip_filename: string;
// *** Functions and Logic
async function handle_submit_form_files(event) {
async function handle_submit_form_files(event: SubmitEvent) {
console.log('*** handle_submit_form() ***');
$ae_sess.files.disable_submit__hosted_file_obj = true;

View File

@@ -385,7 +385,7 @@ export async function qry__event_badge({
hidden,
limit,
offset,
// order_by_li, params: { ...params, ...params_json },
// order_by_li, params: { ...params, ...params_json },
try_cache,
log_lvl
});

View File

@@ -63,7 +63,7 @@ if ($ae_loc.app_cfg.theme_mode == 'light') {
onchange={(event) => {
// $slct_trigger = 'set_theme_name';
let new_theme_name = event.target.value;
let new_theme_name = (event.target as HTMLInputElement).value;
// document.documentElement.theme = new_theme_name;
console.log(`$ae_loc?.theme_name=${$ae_loc?.theme_name}`);

View File

@@ -321,12 +321,12 @@
// });
// }
function handle_oninput_dispatch(event) {
function handle_oninput_dispatch(event: InputEvent) {
console.log(event.target);
console.log(value);
dispatch('oninput', {
name: event.target.name,
value: event.target.value
value: (event.target as HTMLInputElement).value
});
}

View File

@@ -178,8 +178,7 @@
ae_promises[event_file_obj.event_file_id] =
api.download_hosted_file({
api_cfg: $ae_api,
hosted_file_id:
event_file_obj.hosted_file_id,
hosted_file_id: event_file_obj.hosted_file_id,
return_file: true,
filename: event_file_obj.filename,
auto_download: true,
@@ -465,8 +464,7 @@
ae_promises.update__event_file_obj = events_func
.update_ae_obj__event_file({
api_cfg: $ae_api,
event_file_id:
event_file_obj.event_file_id,
event_file_id: event_file_obj.event_file_id,
data_kv: event_file_data,
log_lvl: 0
})
@@ -533,8 +531,7 @@
ae_promises.delete__event_file_obj =
await events_func.delete_ae_obj_id__event_file({
api_cfg: $ae_api,
event_file_id:
event_file_obj.event_file_id,
event_file_id: event_file_obj.event_file_id,
log_lvl: 1
});
}}
@@ -584,8 +581,7 @@
);
let event_file_data = {
event_file_id:
event_file_obj.event_file_id,
event_file_id: event_file_obj.event_file_id,
file_purpose: e.target.value
};