diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte index 507ba719..566b5aab 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte @@ -85,7 +85,7 @@ } } - return results; + return results as Archive; }) ); diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte index b9b9e3dc..eb00bba5 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte @@ -1038,7 +1038,7 @@ archives_func.delete_ae_obj_id__archive_content({ api_cfg: $ae_api, archive_content_id: $idaa_slct.archive_content_id, - method: method, + method: method as any, log_lvl: log_lvl }); @@ -1075,7 +1075,7 @@ archives_func.delete_ae_obj_id__archive_content({ api_cfg: $ae_api, archive_content_id: $idaa_slct.archive_content_id, - method: method, + method: method as any, log_lvl: log_lvl }); diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte index da1a6530..404036d7 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte @@ -260,7 +260,7 @@ method = 'disable' }: { archive_id: string; - method?: string; + method?: 'delete' | 'soft_delete' | 'disable' | 'hide'; }) { if (log_lvl) { console.log('*** handle_delete_archive_obj() ***'); diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte index d6140684..9ee6d806 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte @@ -259,7 +259,7 @@ .delete_ae_obj_id__post({ api_cfg: $ae_api, post_id: post_id, - method: method, + method: method as any, log_lvl: log_lvl }) .then(function (post_obj_delete_result) { diff --git a/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte b/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte index a8ab1b5a..7def517c 100644 --- a/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte @@ -708,7 +708,7 @@ .delete_ae_obj_id__event({ api_cfg: $ae_api, event_id: event_id, - method: method, + method: method as any, log_lvl: log_lvl }) .then(function (event_obj_delete_result) {