Renamed a bunch of functions!

This commit is contained in:
Scott Idem
2024-10-08 16:34:06 -04:00
parent c130e82fd0
commit 6694ec92c7
18 changed files with 50 additions and 48 deletions

View File

@@ -42,7 +42,7 @@ export async function load({ params, parent, url }) { // route
if (browser) {
console.log(`BROWSER Events - [event_id] launcher +layout.ts start`);
let load_event_obj = events_func.handle_load_ae_obj_id__event({
let load_event_obj = events_func.load_ae_obj_id__event({
api_cfg: ae_acct.api, event_id: event_id, try_cache: true
});
console.log(`load_event_obj = `, load_event_obj);

View File

@@ -508,7 +508,7 @@ async function handle_open_file() {
on:ae_crud_updated={e => {
console.log(`ae_crud_updated:`, e.detail);
events_func.handle_load_ae_obj_id__event_file({
events_func.load_ae_obj_id__event_file({
api_cfg: $ae_api,
event_file_id: event_file_obj?.event_file_id_random,
log_lvl: log_lvl

View File

@@ -40,7 +40,7 @@ export async function load({ params, parent }) { // route
// ae_acct.slct.event_obj = await load_event_obj;
if (browser) {
let load_event_obj = events_func.handle_load_ae_obj_id__event({
let load_event_obj = events_func.load_ae_obj_id__event({
api_cfg: ae_acct.api, event_id: event_id, try_cache: true
});
console.log(`load_event_obj = `, load_event_obj);

View File

@@ -85,7 +85,7 @@ export async function load({ params, parent }) { // route
qry__limit: 50
}
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
let load_event_file_obj_li = await events_func.load_ae_obj_li__event_file({
api_cfg: ae_acct.api,
for_obj_type: 'event_location',
for_obj_id: event_location_id,

View File

@@ -41,7 +41,7 @@ export async function load({ params, parent }) { // route
qry__limit: 50
}
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
let load_event_file_obj_li = await events_func.load_ae_obj_li__event_file({
api_cfg: ae_acct.api,
for_obj_type: 'event_presenter',
for_obj_id: event_presenter_id,

View File

@@ -226,7 +226,7 @@ async function handle_delete__event_file({event_file_id}) {
let link_to_type = 'event_presenter';
let link_to_id = $lq__event_presenter_obj?.event_presenter_id_random;
ae_promises.delete__event_file_obj = await events_func.handle_delete_ae_obj_id__event_file({
ae_promises.delete__event_file_obj = await events_func.delete_ae_obj_id__event_file({
api_cfg: $ae_api,
event_file_id: event_file_id,
log_lvl: 2

View File

@@ -25,7 +25,7 @@ export async function load({ parent }) {
return false;
}
let load_event_obj = events_func.handle_load_ae_obj_id__event({api_cfg: ae_acct.api, event_id: event_id, try_cache: true});
let load_event_obj = events_func.load_ae_obj_id__event({api_cfg: ae_acct.api, event_id: event_id, try_cache: true});
ae_acct.slct.event_obj = load_event_obj;

View File

@@ -23,7 +23,7 @@ export async function load({ parent }) {
return false;
}
let load_event_obj = events_func.handle_load_ae_obj_id__event({api_cfg: ae_acct.api, event_id: event_id, try_cache: true});
let load_event_obj = events_func.load_ae_obj_id__event({api_cfg: ae_acct.api, event_id: event_id, try_cache: true});
ae_acct.slct.event_obj = load_event_obj;

View File

@@ -86,7 +86,7 @@ async function handle_submit_form_files(event) {
qry__hidden: 'all',
}
events_func.handle_load_ae_obj_li__event_file({
events_func.load_ae_obj_li__event_file({
api_cfg: $ae_api,
for_obj_type: link_to_type,
for_obj_id: link_to_id,

View File

@@ -84,7 +84,7 @@ export async function load({ params, parent }) { // route
qry__limit: 50
}
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
let load_event_file_obj_li = await events_func.load_ae_obj_li__event_file({
api_cfg: ae_acct.api,
for_obj_type: 'event_session',
for_obj_id: event_session_id,

View File

@@ -30,7 +30,7 @@ export async function load({ parent }) {
return false;
}
let load_event_obj = events_func.handle_load_ae_obj_id__event({
let load_event_obj = events_func.load_ae_obj_id__event({
api_cfg: ae_acct.api,
event_id: event_id,
try_cache: true