chore: move ae_events_functions.ts into ae_events/ module

Relocates the functions file from lib root into its module directory,
matching the pattern used by all other modules (ae_journals, ae_archives, etc.).
Updated all 85 import paths from \$lib/ae_events_functions → \$lib/ae_events/ae_events_functions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-03-20 09:52:13 -04:00
parent bf834aa165
commit 519f5b949c
85 changed files with 84 additions and 84 deletions

View File

@@ -24,7 +24,7 @@
events_slct,
events_trigger
} from '$lib/stores/ae_events_stores';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import Comp_badge_search from './ae_comp__badge_search.svelte';
import Comp_badge_obj_li from './ae_comp__badge_obj_li.svelte';

View File

@@ -2,7 +2,7 @@
console.log(`Events - Badges [badge_id] +page.ts start`);
import { browser } from '$app/environment';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
// This file needs to load the Event Badge ID. It should also include the associated Event Badge Template for the specific badge ID.
export async function load({ params, parent, url }) {

View File

@@ -20,7 +20,7 @@
import type { key_val } from '$lib/stores/ae_stores';
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { browser } from '$app/environment';
import { Check, ChevronDown, ChevronRight, Eye, EyeOff, Info, LoaderCircle, Pencil, Printer, RotateCcw, X } from '@lucide/svelte';
interface Props {

View File

@@ -34,7 +34,7 @@
import { browser } from '$app/environment';
import type { key_val } from '$lib/stores/ae_stores';
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { core_func } from '$lib/ae_core/ae_core_functions';
import { ae_util } from '$lib/ae_utils/ae_utils';
import { Modal } from 'flowbite-svelte';

View File

@@ -2,7 +2,7 @@
console.log(`Events - Badges [badge_id]/print +page.ts start`);
import { browser } from '$app/environment';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
// Loads badge + template for the print page (non-blocking background refresh)
export async function load({ params, parent }) {

View File

@@ -2,7 +2,7 @@
console.log(`Events - Badges [badge_id]/review +page.ts start`);
import { browser } from '$app/environment';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
// Loads badge + template for the review page (non-blocking background refresh)
export async function load({ params, parent }) {

View File

@@ -2,7 +2,7 @@
// import { createEventDispatcher } from 'svelte';
import { Loader2 } from '@lucide/svelte';
import type { key_val } from '$lib/stores/ae_stores';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { ae_api } from '$lib/stores/ae_stores';
interface Props {

View File

@@ -2,7 +2,7 @@
// import { createEventDispatcher } from 'svelte';
import { Loader2 } from '@lucide/svelte';
import type { key_val } from '$lib/stores/ae_stores';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { ae_api } from '$lib/stores/ae_stores';
interface Props {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { liveQuery } from 'dexie';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { ae_api } from '$lib/stores/ae_stores';
import { events_slct } from '$lib/stores/ae_events_stores';
import Comp_badge_obj_view from '../[badge_id]/ae_comp__badge_obj_view.svelte';

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { liveQuery } from 'dexie';
import { Pencil, Plus, Trash2 } from '@lucide/svelte';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { ae_api } from '$lib/stores/ae_stores';
import { Modal } from 'flowbite-svelte';
import Comp_badge_template_form from './ae_comp__badge_template_form.svelte';

View File

@@ -2,7 +2,7 @@
import { untrack } from 'svelte';
import { Loader2 } from '@lucide/svelte';
import type { key_val } from '$lib/stores/ae_stores';
import { events_func } from '$lib/ae_events_functions';
import { events_func } from '$lib/ae_events/ae_events_functions';
import { ae_api } from '$lib/stores/ae_stores';
interface Props {