style: Apply Prettier formatting with 4-space indentation

Applied consistent code formatting across the project using Prettier, now configured to use 4-space indentation instead of tabs.
This commit is contained in:
Scott Idem
2025-11-18 18:40:50 -05:00
parent 6d1f9989d0
commit 0987cd6ad9
346 changed files with 86645 additions and 84459 deletions

View File

@@ -6,55 +6,55 @@ import { browser } from '$app/environment';
import { core_func } from '$lib/ae_core/ae_core_functions';
export async function load({ params, parent, url }) {
// route
const log_lvl: number = 0;
// route
const log_lvl: number = 0;
const data = await parent();
data.log_lvl = log_lvl;
const data = await parent();
data.log_lvl = log_lvl;
const account_id = data.account_id;
const ae_acct = data[account_id];
// console.log(`ae_acct = `, ae_acct);
const account_id = data.account_id;
const ae_acct = data[account_id];
// console.log(`ae_acct = `, ae_acct);
// if (!account_id) {
// console.log(`ae Core - [account_id] +page.ts: The account_id was not found!!!`);
// error(404, {
// message: 'Account ID not found'
// });
// }
// if (!account_id) {
// console.log(`ae Core - [account_id] +page.ts: The account_id was not found!!!`);
// error(404, {
// message: 'Account ID not found'
// });
// }
// ae_acct.slct.account_id = account_id;
// ae_acct.slct.account_id = account_id;
const qry_limit = url.searchParams.get('limit') ?? 19;
if (!qry_limit) {
console.log(`qry_limit +page.ts: The qry_limit was not found in the params!!!`);
}
ae_acct.slct.qry_limit = qry_limit;
const qry_limit = url.searchParams.get('limit') ?? 19;
if (!qry_limit) {
console.log(`qry_limit +page.ts: The qry_limit was not found in the params!!!`);
}
ae_acct.slct.qry_limit = qry_limit;
if (browser) {
const load_hosted_file_obj_li = core_func.load_ae_obj_li__hosted_file({
api_cfg: ae_acct.api,
for_obj_type: 'account',
for_obj_id: account_id,
enabled: 'enabled',
hidden: 'not_hidden',
limit: qry_limit,
order_by_li: {
priority: 'DESC',
sort: 'DESC',
updated_on: 'DESC',
created_on: 'DESC',
title: 'ASC'
},
try_cache: true,
log_lvl: log_lvl
});
console.log(`load_hosted_file_obj_li = `, load_hosted_file_obj_li);
ae_acct.slct.hosted_file_obj_li = load_hosted_file_obj_li;
}
if (browser) {
const load_hosted_file_obj_li = core_func.load_ae_obj_li__hosted_file({
api_cfg: ae_acct.api,
for_obj_type: 'account',
for_obj_id: account_id,
enabled: 'enabled',
hidden: 'not_hidden',
limit: qry_limit,
order_by_li: {
priority: 'DESC',
sort: 'DESC',
updated_on: 'DESC',
created_on: 'DESC',
title: 'ASC'
},
try_cache: true,
log_lvl: log_lvl
});
console.log(`load_hosted_file_obj_li = `, load_hosted_file_obj_li);
ae_acct.slct.hosted_file_obj_li = load_hosted_file_obj_li;
}
// WARNING: Precaution against shared data between sites and sessions.
data[account_id] = ae_acct;
// WARNING: Precaution against shared data between sites and sessions.
data[account_id] = ae_acct;
return data;
return data;
}