Split up the giant events functions file!

This commit is contained in:
Scott Idem
2024-06-24 14:32:25 -04:00
parent 5211f83f23
commit 31ba1c9200
9 changed files with 2265 additions and 1970 deletions

View File

@@ -550,7 +550,41 @@ export let create_ae_obj_crud = async function create_ae_obj_crud({api_cfg, obj_
// Updated 2023-06-28
export let update_ae_obj_id_crud = async function update_ae_obj_id_crud({api_cfg, obj_type, obj_id, field_name, field_value, fields={}, key, jwt=null, headers={}, params={}, data={}, return_obj=false, obj_v_name='', return_meta=false, log_lvl=0}) {
export let update_ae_obj_id_crud = async function update_ae_obj_id_crud(
{
api_cfg,
obj_type,
obj_id,
field_name,
field_value,
fields={},
key,
jwt=null,
headers={},
params={},
data={},
return_obj=false,
obj_v_name='',
return_meta=false,
log_lvl=0
} : {
api_cfg: any,
obj_type: string,
obj_id: string,
field_name?: string,
field_value?: any,
fields?: key_val,
key: string,
jwt?: string,
headers?: key_val,
params?: key_val,
data?: null|key_val,
return_obj?: boolean,
obj_v_name?: string,
return_meta?: boolean,
log_lvl?: number
}
) {
if (log_lvl) {
console.log('*** update_ae_obj_id_crud() ***');
}