> osit-aether-app-svelte@3.12.08 check > svelte-kit sync && svelte-check --tsconfig ./tsconfig.json Loading svelte-check in workspace: /home/scott/OSIT_dev/aether_app_sveltekit Getting Svelte diagnostics... /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:25:33 Error: Cannot find module 'electron' or its corresponding type declarations. const path = require('path'); const { ipcRenderer } = require('electron'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:108:9 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. // Set the config path for macOS or Linux if (os.platform == 'darwin') { // config_directory = path.join(home_directory, 'Library/Application Support/OSIT'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:116:16 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. console.log(test_stats); } else if (os.platform == 'linux') { config_directory = path.join(home_directory, '.config/OSIT'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:122:23 Error: Argument of type 'string | null' is not assignable to parameter of type 'PathLike'. Type 'null' is not assignable to type 'PathLike'. // Look for the config file and copy the default if not found. if (fs.existsSync(config_directory)) { console.log('Config directory found: ' + config_directory); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:125:22 Error: No overload matches this call. Overload 1 of 3, '(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false | undefined; }) | null | undefined): void', gave the following error. Argument of type 'string | null' is not assignable to parameter of type 'PathLike'. Type 'null' is not assignable to type 'PathLike'. Overload 2 of 3, '(path: PathLike, options?: MakeDirectoryOptions | Mode | null | undefined): string | undefined', gave the following error. Argument of type 'string | null' is not assignable to parameter of type 'PathLike'. Type 'null' is not assignable to type 'PathLike'. } else { fs.mkdirSync(config_directory); console.log('Config directory created: ' + config_directory); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:134:29 Error: Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. config_path = path.join(config_directory, 'ae_native_app_config.json'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:175:35 Error: Argument of type 'NonSharedBuffer' is not assignable to parameter of type 'string'. let local_config = JSON.parse(fs.readFileSync(config_path)); console.log('Config file read.', local_config); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:233:89 Error: Parameter 'result' implicitly has an 'any' type. let import_config_to_ipc_result = ipcRenderer.invoke('import_config', config).then((result) => { console.log('IPC import config finished'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:243:38 Error: Parameter 'init_config' implicitly has an 'any' type. exports.load_full_config = function (init_config) { console.log('*** Aether App Native export: load_config() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:311:20 Error: Parameter 'result' implicitly has an 'any' type. .invoke('import_config', new_config) .then((result) => { console.log('IPC import config finished'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:324:28 Error: Parameter 'cfg' implicitly has an 'any' type. async function get_url_cfg(cfg) { let base_url = `${cfg.api_protocol}://${cfg.api_server}:${cfg.api_port}/${cfg.api_path}`; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:327:21 Error: Cannot find name 'axios'. let axios_api = axios.create({ baseURL: base_url, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:349:34 Error: Parameter 'progressEvent' implicitly has an 'any' type. params: params, onDownloadProgress: (progressEvent) => { let percent_completed = Math.round( /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:367:25 Error: Parameter 'response' implicitly has an 'any' type. }) .then(function (response) { console.log(`Response: ${response}`); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:378:26 Error: Parameter 'error' implicitly has an 'any' type. }) .catch(function (error) { console.log(`Base URL: ${base_url} | Endpoint: ${endpoint}`); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:401:46 Error: Binding element 'local_file_path' implicitly has an 'any' type. // Updated 2022-05-06 exports.check_local_file = async function ({ local_file_path, filename }) { console.log('*** Electron framework export: check_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:401:63 Error: Binding element 'filename' implicitly has an 'any' type. // Updated 2022-05-06 exports.check_local_file = async function ({ local_file_path, filename }) { console.log('*** Electron framework export: check_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:421:51 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. // Updated 2022-05-06 exports.check_hash_file_cache = async function ({ local_file_cache_path, hash }) { // console.log('*** Electron framework export: check_hash_file_cache() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:421:74 Error: Binding element 'hash' implicitly has an 'any' type. // Updated 2022-05-06 exports.check_hash_file_cache = async function ({ local_file_cache_path, hash }) { // console.log('*** Electron framework export: check_hash_file_cache() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:454:5 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. exports.check_hash_file_cache_v2 = async function ({ local_file_cache_path, hash, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:455:5 Error: Binding element 'hash' implicitly has an 'any' type. local_file_cache_path, hash, verify_hash = false /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:510:5 Error: Binding element 'api_base_url' implicitly has an 'any' type. exports.download_hash_file_to_cache = async function ({ api_base_url, local_file_cache_path, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:511:5 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. api_base_url, local_file_cache_path, event_file_id = null, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:535:13 Error: Cannot find name 'check_hash'. if (fs.existsSync(hash_file_cache_path)) { if (check_hash) { const file_buffer = fs.readFileSync(hash_file_cache_path); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:541:13 Error: Cannot find name 'S'. const file_hash_sha256_check = file_hash_sha256.digest('hex'); S; if (file_hash_sha256_check == hash) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:555:16 Error: Parameter 'result' implicitly has an 'any' type. .invoke('download_file', api_base_url, endpoint, hash_file_cache_path) .then((result) => { if (result) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:579:5 Error: Binding element 'api_base_url' implicitly has an 'any' type. exports.download_hash_file_to_cache_v2 = async function ({ api_base_url, api_base_url_backup, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:580:5 Error: Binding element 'api_base_url_backup' implicitly has an 'any' type. api_base_url, api_base_url_backup, local_file_cache_path, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:581:5 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. api_base_url_backup, local_file_cache_path, event_file_id = null, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:669:13 Error: 'stats' is possibly 'null'. // console.log(`Times: ${current_datetime} ${offset_datetime} | File ${stats.mtime}`); if (stats.mtime < offset_datetime) { // console.log(`Marking as expired temp file based on modified datetime. Expire after: ${offset_minutes} minutes`); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:692:22 Error: Parameter 'result' implicitly has an 'any' type. ) .then(async (result) => { if (result) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:735:22 Error: Parameter 'result' implicitly has an 'any' type. }) .then(async (result) => { if (result === false) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:753:32 Error: Parameter 'result_backup' implicitly has an 'any' type. ) .then((result_backup) => { if (result_backup) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:815:5 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. exports.open_hash_file_to_temp = async function ({ local_file_cache_path, hash, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:816:5 Error: Binding element 'hash' implicitly has an 'any' type. local_file_cache_path, hash, host_file_temp_path, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:817:5 Error: Binding element 'host_file_temp_path' implicitly has an 'any' type. hash, host_file_temp_path, filename /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:818:5 Error: Binding element 'filename' implicitly has an 'any' type. host_file_temp_path, filename }) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:836:16 Error: Parameter 'result' implicitly has an 'any' type. .invoke('open_hash_file_to_temp', subdirectory_path, hash, host_file_temp_path, filename) .then((result) => { console.log('IPC open hash file to temp finished'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:860:5 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. exports.open_hash_file_to_temp_v2 = async function ({ local_file_cache_path, hash, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:861:5 Error: Binding element 'hash' implicitly has an 'any' type. local_file_cache_path, hash, host_file_temp_path, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:862:5 Error: Binding element 'host_file_temp_path' implicitly has an 'any' type. hash, host_file_temp_path, filename, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:863:5 Error: Binding element 'filename' implicitly has an 'any' type. host_file_temp_path, filename, verify_hash = true /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:927:16 Error: Parameter 'result' implicitly has an 'any' type. ) .then((result) => { console.log('IPC open hash file to temp finished'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:973:45 Error: Binding element 'local_file_path' implicitly has an 'any' type. // Updated 2022-03-10 exports.open_local_file = async function ({ local_file_path, filename }) { console.log('*** Electron framework export: open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:973:62 Error: Binding element 'filename' implicitly has an 'any' type. // Updated 2022-03-10 exports.open_local_file = async function ({ local_file_path, filename }) { console.log('*** Electron framework export: open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:990:16 Error: Parameter 'result' implicitly has an 'any' type. .invoke('open_local_file', local_file_path, filename) .then((result) => { console.log('IPC open local file finished'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1064:35 Error: Binding element 'api_base_url' implicitly has an 'any' type. // Updated 2022-03-09 async function check_file_cache({ api_base_url, local_file_cache_path, event_file_id, hash }) { console.log('*** Electron framework: check_file_cache() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1064:49 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. // Updated 2022-03-09 async function check_file_cache({ api_base_url, local_file_cache_path, event_file_id, hash }) { console.log('*** Electron framework: check_file_cache() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1064:72 Error: Binding element 'event_file_id' implicitly has an 'any' type. // Updated 2022-03-09 async function check_file_cache({ api_base_url, local_file_cache_path, event_file_id, hash }) { console.log('*** Electron framework: check_file_cache() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1064:87 Error: Binding element 'hash' implicitly has an 'any' type. // Updated 2022-03-09 async function check_file_cache({ api_base_url, local_file_cache_path, event_file_id, hash }) { console.log('*** Electron framework: check_file_cache() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1087:63 Error: Parameter 'event' implicitly has an 'any' type. return new Promise((resolve, reject) => { ipcRenderer.once('download_file_reply', function (event, response) { console.log(response); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1087:70 Error: Parameter 'response' implicitly has an 'any' type. return new Promise((resolve, reject) => { ipcRenderer.once('download_file_reply', function (event, response) { console.log(response); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1120:34 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. // Updated 2022-03-09 async function open_local_file({ local_file_cache_path, hash, host_file_temp_path, filename }) { console.log('*** Electron framework: open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1120:57 Error: Binding element 'hash' implicitly has an 'any' type. // Updated 2022-03-09 async function open_local_file({ local_file_cache_path, hash, host_file_temp_path, filename }) { console.log('*** Electron framework: open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1120:63 Error: Binding element 'host_file_temp_path' implicitly has an 'any' type. // Updated 2022-03-09 async function open_local_file({ local_file_cache_path, hash, host_file_temp_path, filename }) { console.log('*** Electron framework: open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1120:84 Error: Binding element 'filename' implicitly has an 'any' type. // Updated 2022-03-09 async function open_local_file({ local_file_cache_path, hash, host_file_temp_path, filename }) { console.log('*** Electron framework: open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1145:5 Error: Binding element 'local_file_cache_path' implicitly has an 'any' type. exports.check_file_cache_and_open_local_file = async function ({ local_file_cache_path, event_file_id, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1146:5 Error: Binding element 'event_file_id' implicitly has an 'any' type. local_file_cache_path, event_file_id, hash, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1147:5 Error: Binding element 'hash' implicitly has an 'any' type. event_file_id, hash, host_file_temp_path, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1148:5 Error: Binding element 'host_file_temp_path' implicitly has an 'any' type. hash, host_file_temp_path, filename /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1149:5 Error: Binding element 'filename' implicitly has an 'any' type. host_file_temp_path, filename }) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1156:52 Error: Argument of type '{ local_file_cache_path: any; event_file_id: any; hash: any; }' is not assignable to parameter of type '{ api_base_url: any; local_file_cache_path: any; event_file_id: any; hash: any; }'. Property 'api_base_url' is missing in type '{ local_file_cache_path: any; event_file_id: any; hash: any; }' but required in type '{ api_base_url: any; local_file_cache_path: any; event_file_id: any; hash: any; }'. let check_file_cache_result = check_file_cache({ local_file_cache_path: local_file_cache_path, event_file_id: event_file_id, hash: hash }); console.log(check_file_cache_result); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1163:9 Error: This condition will always return true since this 'Promise' is always defined. if (check_file_cache_result) { let open_local_file_result = open_local_file({ /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1175:55 Error: Parameter 'event' implicitly has an 'any' type. ipcRenderer.once('download_file_reply', function (event, response) { console.log(response); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1175:62 Error: Parameter 'response' implicitly has an 'any' type. ipcRenderer.once('download_file_reply', function (event, response) { console.log(response); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1202:9 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. let cmd = ''; if (os.platform == 'darwin') { if (signal == 'HUP') { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1246:9 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. if (os.platform == 'darwin') { if (process_name == 'Parallels:Acrobat Reader') { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1291:9 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. if (os.platform == 'darwin') { } else { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1302:33 Error: Property 'length' does not exist on type 'never'. let cmds_str = ''; for (let i = 0; i < cmd.length; i++) { cmds_str += `-e '${cmd[i]}'`; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1349:37 Error: No overload matches this call. The last overload gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. if (!sync) { result = child_process.exec(cmd, (err, stdout, stdin) => { // if (err) throw err; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1368:41 Error: No overload matches this call. Overload 1 of 4, '(command: string, options: ExecSyncOptionsWithStringEncoding): string', gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. Overload 2 of 4, '(command: string, options: ExecSyncOptionsWithBufferEncoding): NonSharedBuffer', gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. Overload 3 of 4, '(command: string, options?: ExecSyncOptions | undefined): string | NonSharedBuffer', gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. } else { result = child_process.execSync(cmd, (err, stdout, stdin) => { // if (err) throw err; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1368:47 Error: Parameter 'err' implicitly has an 'any' type. } else { result = child_process.execSync(cmd, (err, stdout, stdin) => { // if (err) throw err; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1368:52 Error: Parameter 'stdout' implicitly has an 'any' type. } else { result = child_process.execSync(cmd, (err, stdout, stdin) => { // if (err) throw err; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1368:60 Error: Parameter 'stdin' implicitly has an 'any' type. } else { result = child_process.execSync(cmd, (err, stdout, stdin) => { // if (err) throw err; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1402:41 Error: No overload matches this call. Overload 1 of 4, '(command: string, options: ExecSyncOptionsWithStringEncoding): string', gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. Overload 2 of 4, '(command: string, options: ExecSyncOptionsWithBufferEncoding): NonSharedBuffer', gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. Overload 3 of 4, '(command: string, options?: ExecSyncOptions | undefined): string | NonSharedBuffer', gave the following error. Argument of type 'null' is not assignable to parameter of type 'string'. try { stdout = child_process.execSync(cmd, { encoding: 'utf8' }); console.log('Std Out:', stdout); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1477:9 Error: Cannot find name 'filesAdded'. if (filesAdded.indexOf('script.js') !== -1) return; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1491:5 Error: Cannot find name 'filesAdded'. // Adding the name of the file to keep record filesAdded += ' script.js'; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1496:9 Error: Cannot find name 'filesAdded'. function loadCSS() { if (filesAdded.indexOf('styles.css') !== -1) return; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1508:5 Error: Cannot find name 'filesAdded'. // Adding the name of the file to keep record filesAdded += ' styles.css'; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1517:9 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. if (os.platform == 'darwin') { let default_osit_sync_app_config_path = path.join( /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_native.js:1535:16 Error: This comparison appears to be unintentional because the types '() => Platform' and 'string' have no overlap. } } else if (os.platform == 'linux') { app_root_path = path.join(home_directory, '.config/OSIT'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:62:61 Error: Binding element 'process_name_li' implicitly has an 'any[]' type. // Updated 2022-05-07 export let kill_processes = async function kill_processes({ process_name_li = [] }) { console.log('*** kill_processes() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:77:47 Error: Cannot find name 'native_app'. let kill_processes_result = await native_app.kill_processes({ process_name: process_name, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:107:63 Error: Binding element 'file_path' implicitly has an 'any' type. // Updated 2022-05-06 export let open_local_file = async function open_local_file({ file_path, filename }) { console.log('*** open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:107:74 Error: Binding element 'filename' implicitly has an 'any' type. // Updated 2022-05-06 export let open_local_file = async function open_local_file({ file_path, filename }) { console.log('*** open_local_file() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:125:40 Error: Cannot find name 'native_app'. // console.log('Local file file found and ready to be opened.'); let open_local_file_result = await native_app.open_local_file({ local_file_path: file_path, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:141:69 Error: Binding element 'file_path' implicitly has an 'any' type. // Updated 2022-10-11 export let open_local_file_v2 = async function open_local_file_v2({ file_path, filename }) { console.log('*** open_local_file_v2() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:141:80 Error: Binding element 'filename' implicitly has an 'any' type. // Updated 2022-10-11 export let open_local_file_v2 = async function open_local_file_v2({ file_path, filename }) { console.log('*** open_local_file_v2() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:149:40 Error: Cannot find name 'ipcRenderer'. let open_local_file_result = await ipcRenderer .invoke('open_local_file', file_path, filename) /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:151:16 Error: Parameter 'result' implicitly has an 'any' type. .invoke('open_local_file', file_path, filename) .then((result) => { console.log('IPC open local file finished'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:241:32 Error: Cannot find name 'native_app'. let run_cmd_result = await native_app .run_cmd({ cmd: cmd, return_stdout: return_stdout }) /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:243:25 Error: Parameter 'result' implicitly has an 'any' type. .run_cmd({ cmd: cmd, return_stdout: return_stdout }) .then(function (result) { if (result) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:266:26 Error: Cannot find name 'native_app'. let run_cmd_result = native_app.run_cmd_sync({ cmd: cmd, return_stdout: return_stdout }); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:296:38 Error: Cannot find name 'native_app'. let run_osascript_result = await native_app.run_osascript({ cmd: cmd, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:316:63 Error: Binding element 'event_device_id' implicitly has an 'any' type. // Updated 2022-05-07 export let get_device_info = async function get_device_info({ event_device_id }) { console.log('*** get_device_info() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/electron/electron_relay.js:321:40 Error: Cannot find name 'native_app'. let get_device_info_result = await native_app.get_device_info(); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_api/api_get_object_v1.ts:117:56 Error: 'progressEvent.total' is possibly 'undefined'. const percent_completed = Math.round( (progressEvent.loaded * 100) / progressEvent.total ); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_api/api_get_object_v1.ts:332:56 Error: 'progressEvent.total' is possibly 'undefined'. const percent_completed = Math.round( (progressEvent.loaded * 100) / progressEvent.total ); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_api/api_get_object_v1.ts:417:51 Error: Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. link.href = url; link.setAttribute('download', filename); document.body.appendChild(link); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_core__address.ts:62:5 Error: Property 'order_by_li' does not exist on type '{ api_cfg: any; for_obj_type?: string | undefined; for_obj_id: string; enabled?: "enabled" | "all" | "not_enabled" | undefined; hidden?: "not_hidden" | "all" | "hidden" | undefined; ... 5 more ...; log_lvl?: number | undefined; }'. offset = 0, order_by_li = { city: 'ASC' }, try_cache = true, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__files.ts:67:59 Error: Parameter 'file' implicitly has an 'any' type. // Updated 2024-08-12 export const get_file_hash = async function get_file_hash(file) { return new Promise((resolve, reject) => { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__files.ts:72:17 Error: 'file_reader.result' is possibly 'null'. file_reader.onload = async function () { if (file_reader.result.byteLength !== file.size) { console.log('File was not read completely'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__files.ts:72:36 Error: Property 'byteLength' does not exist on type 'string | ArrayBuffer'. Property 'byteLength' does not exist on type 'string'. file_reader.onload = async function () { if (file_reader.result.byteLength !== file.size) { console.log('File was not read completely'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__files.ts:77:71 Error: Argument of type 'string | ArrayBuffer | null' is not assignable to parameter of type 'BufferSource'. Type 'null' is not assignable to type 'BufferSource'. const hash_buffer = await crypto.subtle.digest('SHA-256', file_reader.result); const hash_array = Array.from(new Uint8Array(hash_buffer)); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__set_obj_prop_display_name.ts:5:5 Error: Binding element 'prop_name' implicitly has an 'any' type. export function set_obj_prop_display_name({ prop_name, obj_type = null, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__return_obj_type_path.ts:64:25 Error: 'obj_type_prop_name' is possibly 'null'. // Need to loop through known for safety? obj_type_path = obj_type_prop_name.replaceAll('_', '/'); } else if (obj_type_prop_name) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__return_obj_type_path.ts:72:36 Error: Property 'startsWith' does not exist on type 'never'. // let guessed_obj_type = prop_name.startsWith(known_obj_type_li_dict[i] if (obj_type_prop_name.startsWith(known_obj_type_li_dict[i].name)) { console.log(`Found ${known_obj_type_li_dict[i].name}`); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__crypto.ts:82:28 Error: Type 'Uint8Array' is not assignable to type 'BufferSource'. Type 'Uint8Array' is not assignable to type 'ArrayBufferView'. Types of property 'buffer' are incompatible. Type 'ArrayBufferLike' is not assignable to type 'ArrayBuffer'. Type 'SharedArrayBuffer' is missing the following properties from type 'ArrayBuffer': resizable, resize, detached, transfer, transferToFixedLength const decryptedContent = await crypto.subtle.decrypt( { name: 'AES-CBC', iv }, key, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils__crypto.ts:99:31 Error: Object is possibly 'null'. const base64 = encrypted_base64_string; const iv = new Uint8Array(iv_hex.match(/.{1,2}/g).map((byte) => parseInt(byte, 16))); if (log_lvl) { /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:36:26 Error: Parameter 'x' implicitly has an 'any' type. /* This utility function will add commas to a number. */ function number_w_commas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:82:5 Error: Binding element 'account_id' implicitly has an 'any' type. function create_a_element({ account_id, base_url, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:83:5 Error: Binding element 'base_url' implicitly has an 'any' type. account_id, base_url, hosted_file_id, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:84:5 Error: Binding element 'hosted_file_id' implicitly has an 'any' type. base_url, hosted_file_id, filename = null, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:94:5 Error: Binding element 'account_id' implicitly has an 'any' type. function create_img_element({ account_id, base_url, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:95:5 Error: Binding element 'base_url' implicitly has an 'any' type. account_id, base_url, hosted_file_id, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:96:5 Error: Binding element 'hosted_file_id' implicitly has an 'any' type. base_url, hosted_file_id, filename = null, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:125:5 Error: Binding element 'account_id' implicitly has an 'any' type. function create_video_element({ account_id, base_url, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:126:5 Error: Binding element 'base_url' implicitly has an 'any' type. account_id, base_url, hosted_file_id, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_utils/ae_utils.ts:127:5 Error: Binding element 'hosted_file_id' implicitly has an 'any' type. base_url, hosted_file_id, filename = null, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_journals/ae_journals_export_templates.ts:48:34 Error: Property 'localeCompare' does not exist on type 'string | Date'. Property 'localeCompare' does not exist on type 'Date'. const sorted = [...entries].sort((a, b) => (a.created_on || '').localeCompare(b.created_on || '') ); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:163:17 Error: Type 'T' is generic and can only be indexed for reading. const newKey = key.slice(0, -7); // Remove '_random' suffix processed_obj[newKey] = processed_obj[key]; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:213:5 Error: Cannot find name 'ae_promises'. ae_promises.load__sponsorship_cfg_obj = api .get_ae_obj_id_crud({ /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:248:27 Error: Cannot find name 'db_save_ae_obj_li__ae_obj'. } await db_save_ae_obj_li__ae_obj({ db_instance: db_sponsorships, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:272:13 Error: Cannot find name 'ae_promises'. 'ae_promises.load__sponsorship_cfg_obj:', ae_promises.load__sponsorship_cfg_obj ); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:276:12 Error: Cannot find name 'ae_promises'. return ae_promises.load__sponsorship_cfg_obj; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:297:5 Error: Cannot find name 'ae_promises'. ae_promises.load__sponsorship_obj = api .get_ae_obj_id_crud({ /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:330:27 Error: Cannot find name 'db_save_ae_obj_li__ae_obj'. } await db_save_ae_obj_li__ae_obj({ db_instance: db_sponsorships, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:352:59 Error: Cannot find name 'ae_promises'. if (log_lvl) { console.log('ae_promises.load__sponsorship_obj:', ae_promises.load__sponsorship_obj); } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:355:12 Error: Cannot find name 'ae_promises'. return ae_promises.load__sponsorship_obj; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:399:5 Error: Cannot find name 'ae_promises'. ae_promises.load__sponsorship_obj_li = await api .get_ae_obj_li_for_obj_id_crud_v2({ /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:432:27 Error: Cannot find name 'db_save_ae_obj_li__ae_obj'. } await db_save_ae_obj_li__ae_obj({ db_instance: db_sponsorships, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:450:62 Error: Cannot find name 'ae_promises'. if (log_lvl) { console.log('ae_promises.load__sponsorship_obj_li:', ae_promises.load__sponsorship_obj_li); } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:453:12 Error: Cannot find name 'ae_promises'. return ae_promises.load__sponsorship_obj_li; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:486:5 Error: Cannot find name 'ae_promises'. ae_promises.download__sponsorship_export_file = await api.get_object({ api_cfg: api_cfg, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:498:9 Error: Cannot find name 'ae_promises'. 'ae_promises.download__sponsorship_export_file:', ae_promises.download__sponsorship_export_file ); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_sponsorships/ae_sponsorships_functions.ts:500:12 Error: Cannot find name 'ae_promises'. ); return ae_promises.download__sponsorship_export_file; } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/components/ui/button/button.svelte:59:51 Error: Type 'ClassValue | null | undefined' is not assignable to type 'ClassNameValue'. Type 'ClassArray' is not assignable to type 'ClassNameValue'. Type 'ClassValue[]' is not assignable to type 'ClassNameArray'. Type 'ClassValue' is not assignable to type 'ClassNameValue'. Type 'number' is not assignable to type 'ClassNameValue'. (ts) bind:this={ref} class={cn(buttonVariants({ variant, size, className }))} {href} /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/components/ui/button/button.svelte:68:51 Error: Type 'ClassValue | null | undefined' is not assignable to type 'ClassNameValue'. Type 'ClassArray' is not assignable to type 'ClassNameValue'. Type 'ClassValue[]' is not assignable to type 'ClassNameArray'. Type 'ClassValue' is not assignable to type 'ClassNameValue'. Type 'number' is not assignable to type 'ClassNameValue'. (ts) bind:this={ref} class={cn(buttonVariants({ variant, size, className }))} {type} /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/codemirror_modules.ts:130:9 Error: Object literal may only specify known properties, but 'EditorSelection' does not exist in type '{ EditorView: any; EditorState: any; markdown?: any; markdownLanguage?: any; keymap?: any; defaultKeymap?: any; history?: any; historyKeymap?: any; lineNumbers?: any; highlightSpecialChars?: any; drawSelection?: any; ... 24 more ...; placeholderExt?: any; }'. Did you mean to write 'drawSelection'? EditorState: stateMod.EditorState, EditorSelection: stateMod.EditorSelection, EditorState_allowMultipleSelections: stateMod.EditorState.allowMultipleSelections, /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/codemirror_modules.ts:136:33 Error: Property 'languages' does not exist on type 'typeof import("/home/scott/OSIT_dev/aether_app_sveltekit/node_modules/@codemirror/language/dist/index")'. Did you mean 'language'? markdownLanguage: markdownMod?.markdownLanguage, languages: languageMod?.languages, // From @codemirror/language-data, often re-exported by @codemirror/language /home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/not_used+layout.ts:6:30 Error: Binding element 'parent' implicitly has an 'any' type. export async function load({ parent }) { const log_lvl: number = 0; /home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/not_used+layout.ts:3:30 Error: Binding element 'params' implicitly has an 'any' type. export async function load({ params, parent }) { // route /home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/not_used+layout.ts:3:38 Error: Binding element 'parent' implicitly has an 'any' type. export async function load({ params, parent }) { // route /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:67:30 Warn: This reference only captures the initial value of `qr_fps`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // let qr_scan_cfg = { fps: 10, qrbox: 400 }; // default was 250 and using 300 when 600px let qr_scan_cfg = { fps: qr_fps, qrbox: qr_viewfinder_width }; // 275 seems good... Need to not let the this be larger than the container which changes based on the width of the screen/window. /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:67:45 Warn: This reference only captures the initial value of `qr_viewfinder_width`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // let qr_scan_cfg = { fps: 10, qrbox: 400 }; // default was 250 and using 300 when 600px let qr_scan_cfg = { fps: qr_fps, qrbox: qr_viewfinder_width }; // 275 seems good... Need to not let the this be larger than the container which changes based on the width of the screen/window. /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:554:5 Warn: Do not use empty rulesets (css) .ae_element.qr_scanner div.qr_scanner_viewfinder { /* max-width: 100vw; */ /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:110:70 Error: Argument of type '{ formatsToSupport: Html5QrcodeSupportedFormats.QR_CODE[]; }' is not assignable to parameter of type 'boolean | Html5QrcodeFullConfig | undefined'. Property 'verbose' is missing in type '{ formatsToSupport: Html5QrcodeSupportedFormats.QR_CODE[]; }' but required in type 'Html5QrcodeFullConfig'. (ts) html5_qr_code = new Html5Qrcode('qr_scanner_viewfinder', { formatsToSupport: [Html5QrcodeSupportedFormats.QR_CODE] }); } /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:121:33 Error: This comparison appears to be unintentional because the types '1' and '2' have no overlap. (ts) if (start_qr_scanner && 1 == 2) { console.log('Ready to start QR scanning! (after x500ms)'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:209:21 Error: Parameter 'err' implicitly has an 'any' type. (ts) }) .catch((err) => { console.log('There was an error while trying to start the QR scanner'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:244:37 Error: Parameter 'decoded_text' implicitly has an 'any' type. (ts) // Callback function for QrcodeSuccessCallback (decodedText: string, result: Html5QrcodeResult) function handle_qr_scan_success(decoded_text, decoded_result) { console.log( /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:244:51 Error: Parameter 'decoded_result' implicitly has an 'any' type. (ts) // Callback function for QrcodeSuccessCallback (decodedText: string, result: Html5QrcodeResult) function handle_qr_scan_success(decoded_text, decoded_result) { console.log( /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:265:35 Error: Parameter 'qr_error_message' implicitly has an 'any' type. (ts) // NOTE: Most of the time this is normal and not an actual error. It just did not find something to scan. function handle_qr_scan_error(qr_error_message, qr_code_error) { // console.log('*** handle_qr_scan_error() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:265:53 Error: Parameter 'qr_code_error' implicitly has an 'any' type. (ts) // NOTE: Most of the time this is normal and not an actual error. It just did not find something to scan. function handle_qr_scan_error(qr_error_message, qr_code_error) { // console.log('*** handle_qr_scan_error() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:316:38 Error: Parameter 'subject' implicitly has an 'any' type. (ts) function send_init_confirm_email(subject, message) { console.log(`*** send_init_confirm_email() *** ${subject}`); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:316:47 Error: Parameter 'message' implicitly has an 'any' type. (ts) function send_init_confirm_email(subject, message) { console.log(`*** send_init_confirm_email() *** ${subject}`); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:439:25 Error: Object literal may only specify known properties, and '"label"' does not exist in type 'HTMLProps<"input", HTMLAttributes>'. (ts) placeholder="Name or Email" label="Name or Email" value={search_query_str} /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:440:32 Error: Cannot find name 'search_query_str'. (ts) label="Name or Email" value={search_query_str} focus={true} /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/element_qr_scanner_v2.svelte:442:36 Error: Cannot find name 'handle_oninput_search_query_str'. (ts) focus={true} ononinput={handle_oninput_search_query_str} /> /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:425:5 Warn: Do not use empty rulesets (css) .file_size, .file_type { /* font-size: smaller; */ /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:43:38 Error: Parameter 'file_list' implicitly has an 'any' type. (ts) async function process_file_list(file_list) { console.log('*** process_file_list() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:225:76 Error: Type '{}' is not assignable to type 'string'. (ts) console.log( `Found file hash to lookup: ${ae_util.shorten_string({ string: file_hash })}` ); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:231:21 Error: Type '{}' is not assignable to type 'string'. (ts) api_cfg: $ae_api, hosted_file_hash: file_hash }); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:261:40 Error: Parameter 'index' implicitly has an 'any' type. (ts) function remove_file_from_filelist(index) { console.log('*** remove_file_from_filelist() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_files_tbl.svelte:292:23 Error: Property 'files' does not exist on type 'Element'. (ts) // input_element.files = Object.assign({}, dt.files); input_element.files = dt.files; // Assign the updates list // input_file_list = null; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:64:26 Warn: This reference only captures the initial value of `link_to_id`. Did you mean to reference it inside a closure instead? https://svelte.dev/e/state_referenced_locally (svelte) // Local Variables let task_id = $state(link_to_id); let input_file_list: any = $state(null); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:77:9 Error: Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. (ts) }; let download_clip_src: string = $state(); let download_clip_filename: string; /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:172:46 Error: Parameter 'input_upload_files' implicitly has an 'any' type. (ts) async function handle_input_upload_files(input_upload_files, form_kv, task_id) { console.log('*** handle_input_upload_files() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:172:66 Error: Parameter 'form_kv' implicitly has an 'any' type. (ts) async function handle_input_upload_files(input_upload_files, form_kv, task_id) { console.log('*** handle_input_upload_files() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:172:75 Error: Parameter 'task_id' implicitly has an 'any' type. (ts) async function handle_input_upload_files(input_upload_files, form_kv, task_id) { console.log('*** handle_input_upload_files() ***'); /home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:299:36 Error: Argument of type '(event: SubmitEvent) => Promise' is not assignable to parameter of type '(event: Event, ...args: unknown[]) => void'. Types of parameters 'event' and 'event' are incompatible. Property 'submitter' is missing in type 'Event' but required in type 'SubmitEvent'. (ts)