Done with clean up for the night. Still need to rename all of the shared functions that start with handle_.

This commit is contained in:
Scott Idem
2024-09-25 19:09:28 -04:00
parent 702da83ce5
commit 0f40629bfe
5 changed files with 278 additions and 133 deletions

View File

@@ -11,8 +11,8 @@ export async function handle_load_ae_obj_id__event_file(
{
api_cfg,
event_file_id,
try_cache=false,
log_lvl=0
try_cache = false,
log_lvl = 0
}: {
api_cfg: any,
event_file_id: string,
@@ -57,9 +57,9 @@ export async function handle_load_ae_obj_li__event_file(
api_cfg,
for_obj_type,
for_obj_id,
params={},
try_cache=true,
log_lvl=0
params = {},
try_cache = true,
log_lvl = 0
}: {
api_cfg: any,
for_obj_type: string,
@@ -130,8 +130,8 @@ export async function handle_delete_ae_obj_id__event_file(
{
api_cfg,
event_file_id,
params={},
log_lvl=0
params = {},
log_lvl = 0
}: {
api_cfg: any,
event_file_id: string,
@@ -165,12 +165,12 @@ export async function create_event_file_obj_from_hosted_file_async(
{
api_cfg,
hosted_file_id,
params={},
data={},
return_obj=false,
inc_hosted_file=false,
return_meta=false,
log_lvl=0
params = {},
data = {},
return_obj = false,
inc_hosted_file = false,
return_meta = false,
log_lvl = 0
}: {
api_cfg: any,
hosted_file_id: string,
@@ -228,8 +228,8 @@ export async function handle_update_ae_obj__event_file(
api_cfg,
event_file_id,
data_kv,
params={},
log_lvl=0
params = {},
log_lvl = 0
}: {
api_cfg: any,
event_file_id: string,
@@ -403,7 +403,7 @@ export function db_save_ae_obj_li__event_file(
{
obj_type,
obj_li,
log_lvl=0
log_lvl = 0
}: {
obj_type: string,
obj_li: any,
@@ -574,4 +574,4 @@ export function db_update_ae_obj_id__event_file(
return true;
}
return false;
}
}