Fix: System-wide type hardening and V3 API alignment

This commit is contained in:
Scott Idem
2026-01-22 19:22:16 -05:00
parent 9de1d4b23e
commit 4976f2d897
11 changed files with 87 additions and 56 deletions

View File

@@ -102,14 +102,14 @@
</script>
{#if show_create_badge_modal}
<Modal bind:show={show_create_badge_modal}>
<Modal bind:open={show_create_badge_modal}>
<div class="card p-4">
<h3 class="h3">Create New Badge</h3>
<Comp_badge_create_form
event_id={$events_slct?.event_id ?? ''}
on:success={() => {
show_create_badge_modal = false;
ae_triggers.event_badge_qry = true; // Trigger a refresh of the list
$events_trigger.event_badge_qry = true; // Trigger a refresh of the list
}}
on:cancel={() => (show_create_badge_modal = false)}
/>
@@ -118,14 +118,14 @@
{/if}
{#if show_upload_badge_modal}
<Modal bind:show={show_upload_badge_modal}>
<Modal bind:open={show_upload_badge_modal}>
<div class="card p-4">
<h3 class="h3">Upload Badges (CSV)</h3>
<Comp_badge_upload_form
event_id={$events_slct?.event_id ?? ''}
on:success={() => {
show_upload_badge_modal = false;
ae_triggers.event_badge_qry = true; // Trigger a refresh of the list
$events_trigger.event_badge_qry = true; // Trigger a refresh of the list
}}
on:cancel={() => (show_upload_badge_modal = false)}
/>

View File

@@ -72,7 +72,6 @@ export async function load({ params, parent }) {
enabled: 'all',
hidden: 'all',
limit: 19,
params: {},
try_cache: true,
log_lvl: 2
});