Setting the type to number for log_lvl.

This commit is contained in:
Scott Idem
2024-12-03 15:29:19 -05:00
parent b3dfb5deec
commit 747e9fdb26
59 changed files with 59 additions and 59 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
/** @type {import('./$types').LayoutData} */
let log_lvl = 0;
let log_lvl: number = 0;
if (log_lvl) {
console.log(`ae_idaa_archives +layout.svelte data:`, data);
}

View File

@@ -6,7 +6,7 @@ import { browser } from '$app/environment';
import { archives_func } from '$lib/ae_archives/ae_archives_functions';
export async function load({ fetch, params, parent }) { // route
let log_lvl = 0;
let log_lvl: number = 0;
let data = await parent();
data.log_lvl = log_lvl;

View File

@@ -6,7 +6,7 @@ import { browser } from '$app/environment';
import { archives_func } from '$lib/ae_archives/ae_archives_functions';
export async function load({ params, parent }) { // route
// let log_lvl = 0;
// let log_lvl: number = 0;
// let data = await parent();
// data.log_lvl = log_lvl;

View File

@@ -1,6 +1,6 @@
<script lang="ts">
/** @type {import('./$types').PageData} */
let log_lvl = 0;
let log_lvl: number = 0;
// *** Import Svelte specific
import { browser } from '$app/environment';

View File

@@ -6,7 +6,7 @@ import { browser } from '$app/environment';
import { archives_func } from '$lib/ae_archives/ae_archives_functions';
export async function load({ params, parent }) { // route
let log_lvl = 1;
let log_lvl: number = 0;
let data = await parent();
data.log_lvl = log_lvl;

View File

@@ -1,5 +1,5 @@
<script lang="ts">
export let log_lvl = 1;
export let log_lvl: number = 0;
// *** Import Svelte core
import { onMount } from 'svelte';
import { fade } from 'svelte/transition';

View File

@@ -1,5 +1,5 @@
<script lang="ts">
export let log_lvl = 1;
export let log_lvl: number = 0;
// *** Import Svelte core
import { onMount } from 'svelte';
import { fade } from 'svelte/transition';

View File

@@ -7,7 +7,7 @@ import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$
import { idaa_loc, idaa_sess, idaa_slct, idaa_trig, idaa_prom } from '$lib/ae_idaa_stores';
import { archives_func } from '$lib/ae_archives/ae_archives_functions';
export let log_lvl = 0;
export let log_lvl: number = 0;
export let lq__archive_obj: any;
export let lq__archive_content_obj_li: any;

View File

@@ -1,5 +1,5 @@
<script lang="ts">
let log_lvl = 0;
let log_lvl: number = 0;
// *** Import Svelte specific
import { goto } from '$app/navigation';