5974 lines
338 KiB
Plaintext
5974 lines
338 KiB
Plaintext
|
|
> 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<any>' 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<ArrayBufferLike>' is not assignable to type 'BufferSource'.
|
|
Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'ArrayBufferView<ArrayBuffer>'.
|
|
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<any>>'. (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<void>' 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)
|
|
<!-- class:hidden={!$ae_loc.trusted_access} -->
|
|
<form onsubmit={preventDefault(handle_submit_form_files)} class="{class_li_default} {class_li}">
|
|
<label class="label"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_clip_video_v1.svelte:424:27
|
|
Error: Variable 'download_clip_filename' is used before being assigned. (ts)
|
|
href={download_clip_src}
|
|
download={download_clip_filename}
|
|
class="ae_btn btn_lg btn_primary"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte:69:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte:71:76
|
|
Warn: This reference only captures the initial value of `hosted_file_id`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`ae_comp__hosted_files_download_button.svelte hosted_file_id=${hosted_file_id}`,
|
|
hosted_file_obj
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_download_button.svelte:72:13
|
|
Warn: This reference only captures the initial value of `hosted_file_obj`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
`ae_comp__hosted_files_download_button.svelte hosted_file_id=${hosted_file_id}`,
|
|
hosted_file_obj
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:66: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_upload.svelte:97:13
|
|
Error: Object is possibly 'null'. (ts)
|
|
(target[input_element_id] as HTMLInputElement)?.files &&
|
|
(target[input_element_id] as HTMLInputElement).files.length > 0
|
|
) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:104:33
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
// processed_file_list[i] has the file hash_sha256, hash_sha256_match, warnings, uploaded, uploaded_bytes, filename, and file_size_bytes.
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:104:33
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'.
|
|
No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts)
|
|
// processed_file_list[i] has the file hash_sha256, hash_sha256_match, warnings, uploaded, uploaded_bytes, filename, and file_size_bytes.
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:105:32
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:105:32
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'.
|
|
No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts)
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:124:13
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
$ae_sess = $ae_sess; // Is this needed? 2025-03-17
|
|
event.target.reset();
|
|
// await tick();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:124:26
|
|
Error: Property 'reset' does not exist on type 'EventTarget'. (ts)
|
|
$ae_sess = $ae_sess; // Is this needed? 2025-03-17
|
|
event.target.reset();
|
|
// await tick();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_core/ae_comp__hosted_files_upload.svelte:256:32
|
|
Error: Argument of type '(event: SubmitEvent) => Promise<void>' 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)
|
|
<!-- class:hidden={!$ae_loc.trusted_access} -->
|
|
<form onsubmit={preventDefault(handle_submit_form_files)} class="{class_li_default} {class_li}">
|
|
{#await ae_promises.upload__hosted_file_obj}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_codemirror_v5.svelte:176:5
|
|
Warn: Do not use empty rulesets (css)
|
|
}
|
|
.codemirror-wrapper :global(.cm-editor) {
|
|
/* font-size: .8rem; */
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_codemirror_v5.svelte:46:9
|
|
Error: Type 'HTMLDivElement | undefined' is not assignable to type 'HTMLDivElement'.
|
|
Type 'undefined' is not assignable to type 'HTMLDivElement'. (ts)
|
|
|
|
let editor_element: HTMLDivElement = $state();
|
|
// let editorView: any = $state(); // Removed redundant declaration
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_elements/AE_AITools.svelte:96:54
|
|
Error: No overload matches this call.
|
|
Overload 3 of 3, '(body: ChatCompletionCreateParamsBase, options?: RequestOptions | undefined): APIPromise<ChatCompletion | Stream<...>>', gave the following error.
|
|
Type 'string | undefined' is not assignable to type '(string & {}) | ChatModel'.
|
|
Type 'undefined' is not assignable to type '(string & {}) | ChatModel'.
|
|
Overload 3 of 3, '(body: ChatCompletionCreateParamsBase, options?: RequestOptions | undefined): APIPromise<ChatCompletion | Stream<...>>', gave the following error.
|
|
Type '{ role: "system"; content: string | undefined; }' is not assignable to type 'ChatCompletionMessageParam'.
|
|
Types of property 'content' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string | ChatCompletionContentPartText[]'.
|
|
Type 'undefined' is not assignable to type 'string | ChatCompletionContentPartText[]'. (ts)
|
|
try {
|
|
ae_promises = ai_client.chat.completions.create({
|
|
model: model,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/ae_elements/AE_AITools.svelte:197:29
|
|
Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.
|
|
To mark a property as bindable: 'let { theme_mode = $bindable() } = $props()' (ts)
|
|
bind:new_content={tmp_summary}
|
|
bind:theme_mode={$ae_loc.theme_mode}
|
|
placeholder="AI Result will appear here..."
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:8:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let { log_lvl = 0, site_google_tracking_id = $bindable('') }: Props = $props();
|
|
if (log_lvl) {
|
|
console.log(`AE Analytics: site_google_tracking_id = `, site_google_tracking_id);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:19:13
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
window.gtag('config', site_google_tracking_id);
|
|
if (log_lvl) {
|
|
console.log(`AE Analytics: Google Analytics Tracking ID = `, site_google_tracking_id);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:13:16
|
|
Error: Property 'dataLayer' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
if (typeof window !== 'undefined') {
|
|
window.dataLayer = window.dataLayer || [];
|
|
window.gtag = function gtag(): void {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:13:35
|
|
Error: Property 'dataLayer' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
if (typeof window !== 'undefined') {
|
|
window.dataLayer = window.dataLayer || [];
|
|
window.gtag = function gtag(): void {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:14:16
|
|
Error: Property 'gtag' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
window.dataLayer = window.dataLayer || [];
|
|
window.gtag = function gtag(): void {
|
|
window.dataLayer.push(arguments);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:15:20
|
|
Error: Property 'dataLayer' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
window.gtag = function gtag(): void {
|
|
window.dataLayer.push(arguments);
|
|
};
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:17:16
|
|
Error: Property 'gtag' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
};
|
|
window.gtag('js', new Date());
|
|
window.gtag('config', site_google_tracking_id);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/analytics.svelte:18:16
|
|
Error: Property 'gtag' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
window.gtag('js', new Date());
|
|
window.gtag('config', site_google_tracking_id);
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_access_type.svelte:147:13
|
|
Error: Argument of type '() => Promise<void>' is not assignable to parameter of type '() => void | (() => void)'.
|
|
Type 'Promise<void>' is not assignable to type 'void | (() => void)'. (ts)
|
|
|
|
$effect(async () => {
|
|
if (trigger_clear_access) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_access_type.svelte:418:77
|
|
Error: This comparison appears to be unintentional because the types '1' and '3' have no overlap. (ts)
|
|
<div class="flex flex-row flex-wrap gap-1 items-end justify-end w-full transition-all">
|
|
{#if $ae_loc?.access_type && $ae_loc?.access_type == 'anonymous' && 1 == 3}
|
|
<span>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_cfg.svelte:195:48
|
|
Error: Expected 0 arguments, but got 1. (ts)
|
|
// $ae_loc.
|
|
window.location.reload(true);
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_clipboard.svelte:48:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`Clipboard component initialized with value:`, value);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_help_tech.svelte:77:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`Help - technical support component loaded`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_help_tech.svelte:518:52
|
|
Error: Expected 0 arguments, but got 1. (ts)
|
|
|
|
window.location.reload(true);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:39:23
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let url_user_id = data.url.searchParams.get('user_id');
|
|
let url_user_key = data.url.searchParams.get('user_key'); // Reminder that "key" is the site's auth key.
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:40:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_user_id = data.url.searchParams.get('user_id');
|
|
let url_user_key = data.url.searchParams.get('user_key'); // Reminder that "key" is the site's auth key.
|
|
let url_user_username = data.url.searchParams.get('username');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:41:29
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_user_key = data.url.searchParams.get('user_key'); // Reminder that "key" is the site's auth key.
|
|
let url_user_username = data.url.searchParams.get('username');
|
|
let url_user_email = data.url.searchParams.get('user_email');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:42:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_user_username = data.url.searchParams.get('username');
|
|
let url_user_email = data.url.searchParams.get('user_email');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:414:69
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
value={$ae_sess.auth__entered_email ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_email = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:414:78
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$ae_sess.auth__entered_email ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_email = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:671:75
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
value={$ae_sess.auth__entered_user_id ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_user_id = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:671:84
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$ae_sess.auth__entered_user_id ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_user_id = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:678:76
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
value={$ae_sess.auth__entered_user_key ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_user_key = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:678:85
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$ae_sess.auth__entered_user_key ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_user_key = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:686:76
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
value={$ae_sess.auth__entered_username ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_username = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:686:85
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$ae_sess.auth__entered_username ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_username = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:693:76
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
value={$ae_sess.auth__entered_password ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_password = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sign_in_out.svelte:693:85
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$ae_sess.auth__entered_password ?? ''}
|
|
oninput={(e) => ($ae_sess.auth__entered_password = e.target.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/app_components/e_app_sys_menu.svelte:119:28
|
|
Error: This comparison appears to be unintentional because the types '1' and '3' have no overlap. (ts)
|
|
"
|
|
class:top-0={expand && 1 == 3}
|
|
class:opacity-100={expand}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud.svelte:78:9
|
|
Error: Type 'string | key_val | Promise<any> | null | undefined' is not assignable to type 'string | key_val | Promise<any> | null'.
|
|
Type 'undefined' is not assignable to type 'string | key_val | Promise<any> | null'. (ts)
|
|
let ae_promises: key_val = $state({}); // Promise<any>;
|
|
let patch_result: null | Promise<any> | key_val | string = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud.svelte:119:42
|
|
Error: Cannot find name 'core_func'. (ts)
|
|
|
|
ae_promises.api_update__ae_obj = core_func
|
|
.handle_update_ae_obj_id_crud({
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud.svelte:130:29
|
|
Error: Parameter 'results' implicitly has an 'any' type. (ts)
|
|
})
|
|
.then(function (results) {
|
|
console.log('Field PATCH Promise', results);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:464:5
|
|
Warn: Unused CSS selector ".ae_crud .field_editing_wrapper"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
|
|
.ae_crud .field_editing_wrapper {
|
|
/* outline: dashed thin pink; */
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:507:5
|
|
Warn: Unused CSS selector ".ae_crud.show_crud.display_inline .field_editing_wrapper:hover"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
|
|
.ae_crud.show_crud.display_inline .field_editing_wrapper:hover {
|
|
background-color: hsla(60, 60%, 90%, 0.8);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:512:5
|
|
Warn: Unused CSS selector ".ae_crud.show_crud.display_inline .field_editing_wrapper"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
|
|
.ae_crud.show_crud.display_inline .field_editing_wrapper {
|
|
/* display: block; */
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_ae_crud_v2.svelte:535:5
|
|
Warn: Unused CSS selector ".ae_crud.show_crud.display_inline .field_editing_wrapper.display_block_edit"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
|
|
.ae_crud.show_crud.display_inline .field_editing_wrapper.display_block_edit {
|
|
/* display: block; */
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_codemirror_editor.svelte:13:9
|
|
Error: Type 'HTMLDivElement | undefined' is not assignable to type 'HTMLDivElement'.
|
|
Type 'undefined' is not assignable to type 'HTMLDivElement'. (ts)
|
|
|
|
let editor_container: HTMLDivElement = $state();
|
|
let editor_view: any;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_codemirror_editor_wrapper.svelte:21:13
|
|
Error: Object literal may only specify known properties, and '"class"' does not exist in type 'Props'. (ts)
|
|
<ElementCodemirrorEditor
|
|
class="p-1 transition-all duration-1000"
|
|
bind:content={html_text}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:55:10
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (!ae_ds_tmp || !ae_ds_tmp.id) {
|
|
ds_loading_status = '-- loading --';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:55:24
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (!ae_ds_tmp || !ae_ds_tmp.id) {
|
|
ds_loading_status = '-- loading --';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:117:68
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log('ae_e_data_store Browser detected.');
|
|
ae_ds_loc_test = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
console.log(`ae_e_data_store ae_ds_loc_test = `, ae_ds_loc_test);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:128:9
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
browser &&
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:129:9
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:130:9
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:132:40
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
) {
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:132:62
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
) {
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:133:34
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
let now = new Date();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:137:28
|
|
Warn: This reference only captures the initial value of `expire_minutes`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let diff_minutes = diff / (1000 * 60);
|
|
if (diff_minutes > expire_minutes) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:139:48
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`ae_e_data_store: Data Store ${ds_code} stale. Last loaded on: ${loaded_on.toISOString()}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:156:10
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// This is a secondary check... The account_id should either be null or match the current account_id.
|
|
if (!ae_ds_tmp || !ae_ds_tmp.account_id === null || $ae_loc.account_id == $ae_loc.account_id) {
|
|
trigger = 'load__ds__code';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:156:24
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// This is a secondary check... The account_id should either be null or match the current account_id.
|
|
if (!ae_ds_tmp || !ae_ds_tmp.account_id === null || $ae_loc.account_id == $ae_loc.account_id) {
|
|
trigger = 'load__ds__code';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:12:28
|
|
Error: Block-scoped variable 'ds_code' used before its declaration. (ts)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:12:28
|
|
Error: Variable 'ds_code' is used before being assigned. (ts)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:12:48
|
|
Error: Block-scoped variable 'for_type' used before its declaration. (ts)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:12:48
|
|
Error: Variable 'for_type' is used before being assigned. (ts)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:12:67
|
|
Error: Block-scoped variable 'for_id' used before its declaration. (ts)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:12:67
|
|
Error: Variable 'for_id' is used before being assigned. (ts)
|
|
console.log(
|
|
`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:16:9
|
|
Error: Type 'key_val | Promise<any> | undefined' is not assignable to type 'key_val | Promise<any>'.
|
|
Type 'undefined' is not assignable to type 'key_val | Promise<any>'. (ts)
|
|
let ae_promises: key_val = {}; // Promise<any>;
|
|
let ds_get_results: Promise<any> | key_val = $state();
|
|
let ds_loading_status: string = 'starting...';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:18:9
|
|
Error: Type 'key_val | Promise<any> | undefined' is not assignable to type 'key_val | Promise<any>'.
|
|
Type 'undefined' is not assignable to type 'key_val | Promise<any>'. (ts)
|
|
let ds_loading_status: string = 'starting...';
|
|
let ds_submit_results: Promise<any> | key_val = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:28:15
|
|
Error: Block-scoped variable 'ds_code' used before its declaration. (ts)
|
|
account_id: null,
|
|
code: ds_code,
|
|
name: ds_name,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:28:15
|
|
Error: Variable 'ds_code' is used before being assigned. (ts)
|
|
account_id: null,
|
|
code: ds_code,
|
|
name: ds_name,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:29:15
|
|
Error: Block-scoped variable 'ds_name' used before its declaration. (ts)
|
|
code: ds_code,
|
|
name: ds_name,
|
|
type: ds_type,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:29:15
|
|
Error: Variable 'ds_name' is used before being assigned. (ts)
|
|
code: ds_code,
|
|
name: ds_name,
|
|
type: ds_type,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:30:15
|
|
Error: Block-scoped variable 'ds_type' used before its declaration. (ts)
|
|
name: ds_name,
|
|
type: ds_type,
|
|
for_type: null, // for_type
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:30:15
|
|
Error: Variable 'ds_type' is used before being assigned. (ts)
|
|
name: ds_name,
|
|
type: ds_type,
|
|
for_type: null, // for_type
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:44:9
|
|
Error: Type 'key_val | undefined' is not assignable to type 'key_val'.
|
|
Type 'undefined' is not assignable to type 'key_val'. (ts)
|
|
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:45:51
|
|
Error: Block-scoped variable 'ds_code' used before its declaration. (ts)
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:45:51
|
|
Error: Variable 'ds_code' is used before being assigned. (ts)
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:46:32
|
|
Error: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'. (ts)
|
|
if (browser && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:46:63
|
|
Error: Block-scoped variable 'ds_code' used before its declaration. (ts)
|
|
if (browser && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:46:63
|
|
Error: Variable 'ds_code' is used before being assigned. (ts)
|
|
if (browser && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:53:44
|
|
Error: Block-scoped variable 'ds_code' used before its declaration. (ts)
|
|
// console.log(`ae_e_data_store cached: ${ds_code} = `, ae_ds_tmp);
|
|
console.log(`ae_e_data_store cached: ${ds_code} account_id=${$ae_loc.account_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:53:44
|
|
Error: Variable 'ds_code' is used before being assigned. (ts)
|
|
// console.log(`ae_e_data_store cached: ${ds_code} = `, ae_ds_tmp);
|
|
console.log(`ae_e_data_store cached: ${ds_code} account_id=${$ae_loc.account_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:117:37
|
|
Error: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'. (ts)
|
|
console.log('ae_e_data_store Browser detected.');
|
|
ae_ds_loc_test = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`));
|
|
console.log(`ae_e_data_store ae_ds_loc_test = `, ae_ds_loc_test);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:381:26
|
|
Error: Argument of type '(ds_val_result: any) => void' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (ds_val_result) {
|
|
console.log(`ae_ ds_val_result = `, ds_val_result);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:381:36
|
|
Error: Parameter 'ds_val_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (ds_val_result) {
|
|
console.log(`ae_ ds_val_result = `, ds_val_result);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:415:48
|
|
Error: Binding element 'obj_type' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_create__data_store({ obj_type, data }) {
|
|
console.log('*** handle_create__data_store() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:415:58
|
|
Error: Binding element 'data' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_create__data_store({ obj_type, data }) {
|
|
console.log('*** handle_create__data_store() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:439:22
|
|
Error: Argument of type '(create__obj_result: any) => any' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (create__obj_result) {
|
|
$ae_sess.ds.create_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:439:32
|
|
Error: Parameter 'create__obj_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (create__obj_result) {
|
|
$ae_sess.ds.create_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:447:48
|
|
Error: Binding element 'obj_type' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__data_store({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__data_store() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:447:58
|
|
Error: Binding element 'obj_id' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__data_store({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__data_store() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:447:66
|
|
Error: Binding element 'data' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__data_store({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__data_store() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:472:22
|
|
Error: Argument of type '(update__obj_result: any) => any' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (update__obj_result) {
|
|
$ae_sess.ds.update_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store.svelte:472:32
|
|
Error: Parameter 'update__obj_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (update__obj_result) {
|
|
$ae_sess.ds.update_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:81:15
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
account_id: null,
|
|
code: ds_code,
|
|
name: ds_name,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:82:15
|
|
Warn: This reference only captures the initial value of `ds_name`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
code: ds_code,
|
|
name: ds_name,
|
|
type: ds_type,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:83:15
|
|
Warn: This reference only captures the initial value of `ds_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
name: ds_name,
|
|
type: ds_type,
|
|
for_type: null, // for_type
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:98:20
|
|
Warn: This reference only captures the initial value of `try_cache`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:98:64
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:99:13
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
if (log_lvl) {
|
|
console.log(`ae_e_data_store: Found cached data for ${ds_code}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:100:67
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`ae_e_data_store: Found cached data for ${ds_code}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:102:63
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`) ?? '{}');
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:103:13
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
ae_ds_tmp = JSON.parse(localStorage.getItem(`ae_ds__${ds_code}`) ?? '{}');
|
|
if (log_lvl) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:105:44
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`ae_e_data_store cached: ${ds_code} account_id=${$ae_loc.account_id}`,
|
|
ae_ds_tmp
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:106:17
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
`ae_e_data_store cached: ${ds_code} account_id=${$ae_loc.account_id}`,
|
|
ae_ds_tmp
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:123:9
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
browser &&
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:124:9
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
ae_ds_tmp &&
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:125:9
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
ae_ds_tmp.loaded_on &&
|
|
ae_ds_tmp.chk_account_id == $ae_loc.account_id
|
|
) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:127:40
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
) {
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:127:62
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
) {
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:128:34
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`ae_e_data_store ${ds_code} loaded_on: ${ae_ds_tmp.loaded_on}`);
|
|
let loaded_on = new Date(ae_ds_tmp.loaded_on);
|
|
let now = new Date();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:132:28
|
|
Warn: This reference only captures the initial value of `expire_minutes`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let diff_minutes = diff / (1000 * 60);
|
|
if (diff_minutes > expire_minutes) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:134:48
|
|
Warn: This reference only captures the initial value of `ds_code`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`ae_e_data_store: Data Store ${ds_code} stale. Last loaded on: ${loaded_on.toISOString()}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:151:10
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// This is a secondary check... The account_id should either be null or match the current account_id.
|
|
if (!ae_ds_tmp || !ae_ds_tmp.account_id === null || $ae_loc.account_id == $ae_loc.account_id) {
|
|
trigger = 'load__ds__code';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:151:24
|
|
Warn: This reference only captures the initial value of `ae_ds_tmp`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// This is a secondary check... The account_id should either be null or match the current account_id.
|
|
if (!ae_ds_tmp || !ae_ds_tmp.account_id === null || $ae_loc.account_id == $ae_loc.account_id) {
|
|
trigger = 'load__ds__code';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:155:20
|
|
Warn: This reference only captures the initial value of `mount_reload_sec`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (browser && mount_reload_sec) {
|
|
// Wait for random number of milliseconds to avoid all data stores being reloaded at the same time.
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:157:52
|
|
Warn: This reference only captures the initial value of `mount_reload_sec`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Wait for random number of milliseconds to avoid all data stores being reloaded at the same time.
|
|
let random_ms = Math.floor(Math.random() * mount_reload_sec * 1000);
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:158:13
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let random_ms = Math.floor(Math.random() * mount_reload_sec * 1000);
|
|
if (log_lvl) {
|
|
console.log(`ae_e_data_store: Random number of milliseconds: ${random_ms}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:27:9
|
|
Error: Type 'key_val | Promise<any> | undefined' is not assignable to type 'key_val | Promise<any>'.
|
|
Type 'undefined' is not assignable to type 'key_val | Promise<any>'. (ts)
|
|
|
|
let ds_get_results: Promise<any> | key_val = $state();
|
|
let ds_submit_results: Promise<any> | key_val = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:28:9
|
|
Error: Type 'key_val | Promise<any> | undefined' is not assignable to type 'key_val | Promise<any>'.
|
|
Type 'undefined' is not assignable to type 'key_val | Promise<any>'. (ts)
|
|
let ds_get_results: Promise<any> | key_val = $state();
|
|
let ds_submit_results: Promise<any> | key_val = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:97:9
|
|
Error: Type 'key_val | undefined' is not assignable to type 'key_val'.
|
|
Type 'undefined' is not assignable to type 'key_val'. (ts)
|
|
|
|
let ae_ds_tmp: key_val = $state();
|
|
if (browser && try_cache && localStorage.getItem(`ae_ds__${ds_code}`)) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:390:26
|
|
Error: Argument of type '(ds_val_result: any) => void' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (ds_val_result) {
|
|
console.log(`ae_ ds_val_result = `, ds_val_result);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:390:36
|
|
Error: Parameter 'ds_val_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (ds_val_result) {
|
|
console.log(`ae_ ds_val_result = `, ds_val_result);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:456:22
|
|
Error: Argument of type '(create__obj_result: any) => any' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (create__obj_result) {
|
|
$ae_sess.ds.create_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:456:32
|
|
Error: Parameter 'create__obj_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (create__obj_result) {
|
|
$ae_sess.ds.create_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:499:22
|
|
Error: Argument of type '(update__obj_result: any) => any' is not assignable to parameter of type '() => void'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0. (ts)
|
|
})
|
|
.finally(function (update__obj_result) {
|
|
$ae_sess.ds.update_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_data_store_v2.svelte:499:32
|
|
Error: Parameter 'update__obj_result' implicitly has an 'any' type. (ts)
|
|
})
|
|
.finally(function (update__obj_result) {
|
|
$ae_sess.ds.update_status = 'finished';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_file.svelte:448: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_file.svelte:53: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_file.svelte:235: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_file.svelte:241: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_file.svelte:271: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_file.svelte:302: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/elements/element_input_v2.svelte:148:9
|
|
Warn: This reference only captures the initial value of `type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (type == 'date_time' && value) {
|
|
console.log(`date_time value: ${value}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:160:16
|
|
Warn: This reference only captures the initial value of `type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// value_time = value_datetime.toISOString();
|
|
} else if (type == 'date_time') {
|
|
console.log('No datetime value passed');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:163:9
|
|
Warn: This reference only captures the initial value of `type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
if (type == 'date_time') {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:165:76
|
|
Warn: This reference only captures the initial value of `value_date`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`Input date_time value_datetime=${value_datetime} value_date=${value_date} value_time=${value_time} date_time_tz=${date_time_tz}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:165:101
|
|
Warn: This reference only captures the initial value of `value_time`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`Input date_time value_datetime=${value_datetime} value_date=${value_date} value_time=${value_time} date_time_tz=${date_time_tz}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:165:128
|
|
Warn: This reference only captures the initial value of `date_time_tz`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`Input date_time value_datetime=${value_datetime} value_date=${value_date} value_time=${value_time} date_time_tz=${date_time_tz}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:6:22
|
|
Error: Cannot find module './utilities.js' or its corresponding type declarations. (ts)
|
|
|
|
import util from './utilities.js';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:10:31
|
|
Error: Block-scoped variable 'name' used before its declaration. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:10:31
|
|
Error: Variable 'name' is used before being assigned. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:10:45
|
|
Error: Block-scoped variable 'value' used before its declaration. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:10:45
|
|
Error: Variable 'value' is used before being assigned. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:12:35
|
|
Error: Block-scoped variable 'original_value' used before its declaration. (ts)
|
|
|
|
console.log('Original Value', original_value);
|
|
console.log('Data Type:', data_type);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:12:35
|
|
Error: Variable 'original_value' is used before being assigned. (ts)
|
|
|
|
console.log('Original Value', original_value);
|
|
console.log('Data Type:', data_type);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:13:31
|
|
Error: Block-scoped variable 'data_type' used before its declaration. (ts)
|
|
console.log('Original Value', original_value);
|
|
console.log('Data Type:', data_type);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:13:31
|
|
Error: Variable 'data_type' is used before being assigned. (ts)
|
|
console.log('Original Value', original_value);
|
|
console.log('Data Type:', data_type);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:15:34
|
|
Error: Parameter 'node' implicitly has an 'any' type. (ts)
|
|
|
|
let set_input_type = $state((node) => {
|
|
node.type = 'text';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:19:42
|
|
Error: Block-scoped variable 'type' used before its declaration. (ts)
|
|
let input_element_type_list = ['checkbox', 'date', 'email', 'hidden', 'number', 'text'];
|
|
if (input_element_type_list.includes(type)) {
|
|
set_input_type = (node) => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:19:42
|
|
Error: Variable 'type' is used before being assigned. (ts)
|
|
let input_element_type_list = ['checkbox', 'date', 'email', 'hidden', 'number', 'text'];
|
|
if (input_element_type_list.includes(type)) {
|
|
set_input_type = (node) => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:26:31
|
|
Error: Block-scoped variable 'name' used before its declaration. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value} type=${type}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:26:31
|
|
Error: Variable 'name' is used before being assigned. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value} type=${type}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:26:45
|
|
Error: Block-scoped variable 'value' used before its declaration. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value} type=${type}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:26:45
|
|
Error: Variable 'value' is used before being assigned. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value} type=${type}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:26:59
|
|
Error: Block-scoped variable 'type' used before its declaration. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value} type=${type}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:26:59
|
|
Error: Variable 'type' is used before being assigned. (ts)
|
|
|
|
console.log(`Input name=${name} value=${value} type=${type}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:32:37
|
|
Error: Block-scoped variable 'input_mode' used before its declaration. (ts)
|
|
|
|
console.log(`Input input_mode=${input_mode}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:32:37
|
|
Error: Variable 'input_mode' is used before being assigned. (ts)
|
|
|
|
console.log(`Input input_mode=${input_mode}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:38:9
|
|
Error: Block-scoped variable 'type' used before its declaration. (ts)
|
|
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:38:9
|
|
Error: Variable 'type' is used before being assigned. (ts)
|
|
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:39:44
|
|
Error: Block-scoped variable 'size' used before its declaration. (ts)
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:39:44
|
|
Error: Variable 'size' is used before being assigned. (ts)
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:39:57
|
|
Error: Block-scoped variable 'rows' used before its declaration. (ts)
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:39:57
|
|
Error: Variable 'rows' is used before being assigned. (ts)
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:39:70
|
|
Error: Block-scoped variable 'cols' used before its declaration. (ts)
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:39:70
|
|
Error: Variable 'cols' is used before being assigned. (ts)
|
|
if (type == 'textarea') {
|
|
console.log(`Input textarea size=${size} rows=${rows} cols=${cols}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:138:9
|
|
Error: Type 'null' is not assignable to type 'number'. (ts)
|
|
option_none_text = '-- Not Selected --',
|
|
size = null,
|
|
rows = 3,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:328:19
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
dispatch('oninput', {
|
|
name: event.target.name,
|
|
value: (event.target as HTMLInputElement).value
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:328:32
|
|
Error: Property 'name' does not exist on type 'EventTarget'. (ts)
|
|
dispatch('oninput', {
|
|
name: event.target.name,
|
|
value: (event.target as HTMLInputElement).value
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:357:26
|
|
Error: Cannot find name 'Quill'. (ts)
|
|
|
|
var editor = new Quill(editor_element, {
|
|
modules: {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:467:17
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
data-obj_prop_name={obj_prop_name}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:498:17
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
data-obj_prop_name={obj_prop_name}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:528:22
|
|
Error: Type 'unknown' is not assignable to type 'boolean | null | undefined'. (ts)
|
|
{required}
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:529:21
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:533:14
|
|
Error: Variable 'checkbox_li' is used before being assigned. (ts)
|
|
{/if}
|
|
{#if checkbox_li.length}
|
|
{#if content_layout == 'label_start' && label}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:538:35
|
|
Error: No overload matches this call.
|
|
Overload 1 of 2, '(o: { [s: string]: unknown; } | ArrayLike<unknown>): [string, unknown][]', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type '{ [s: string]: unknown; } | ArrayLike<unknown>'.
|
|
Overload 2 of 2, '(o: {}): [string, any][]', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type '{}'. (ts)
|
|
|
|
{#each Object.entries(checkbox_li) as [li_key, li_value]}
|
|
{#if li_key.toString() === value.toString()}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:539:44
|
|
Error: 'value' is possibly 'null'. (ts)
|
|
{#each Object.entries(checkbox_li) as [li_key, li_value]}
|
|
{#if li_key.toString() === value.toString()}
|
|
<label
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:547:29
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
checked
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:557:29
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
value={li_key}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:585:18
|
|
Error: Type 'unknown' is not assignable to type 'boolean | null | undefined'. (ts)
|
|
data-obj_prop_name={obj_prop_name}
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:586:17
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:596:27
|
|
Error: 'radio_option_class_li' is possibly 'undefined'. (ts)
|
|
{/if}
|
|
<label class={radio_option_class_li.join(' ')}
|
|
>{@html radio_none_text}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:605:22
|
|
Error: Type 'unknown' is not assignable to type 'boolean | null | undefined'. (ts)
|
|
{required}
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:606:21
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:626:33
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
value={li_key}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:638:33
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
checked
|
|
oninput={handle_oninput_dispatch}
|
|
/> Z
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:649:33
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
value={li_key}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:684:18
|
|
Error: Type 'unknown' is not assignable to type 'boolean | null | undefined'. (ts)
|
|
data-obj_prop_name={obj_prop_name}
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:685:17
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLInputElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLInputElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
{checked}
|
|
oninput={handle_oninput_dispatch}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:717:13
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLTextAreaElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLTextAreaElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
data-obj_prop_name={obj_prop_name}
|
|
oninput={handle_oninput_dispatch}
|
|
></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:760:13
|
|
Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLSelectElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'Event & { currentTarget: EventTarget & HTMLSelectElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more. (ts)
|
|
data-obj_prop_name={obj_prop_name}
|
|
oninput={handle_oninput_dispatch}
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_input_v2.svelte:768:39
|
|
Error: No overload matches this call.
|
|
Overload 1 of 2, '(o: { [s: string]: unknown; } | ArrayLike<unknown>): [string, unknown][]', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type '{ [s: string]: unknown; } | ArrayLike<unknown>'.
|
|
Overload 2 of 2, '(o: {}): [string, any][]', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type '{}'. (ts)
|
|
{:else}
|
|
{#each Object.entries(select_option_li) as [li_key, li_value]}
|
|
{#if value === null}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:580:83
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
console.log(
|
|
`Selected file_purpose: ${e.target.value}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:580:92
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
console.log(
|
|
`Selected file_purpose: ${e.target.value}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:585:71
|
|
Error: 'e.target' is possibly 'null'. (ts)
|
|
event_file_id: event_file_obj.event_file_id,
|
|
file_purpose: e.target.value
|
|
};
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:585:80
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
event_file_id: event_file_obj.event_file_id,
|
|
file_purpose: e.target.value
|
|
};
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:620:92
|
|
Error: Property 'disabled' does not exist on type '{}'. (ts)
|
|
key}
|
|
disabled={file_purpose_option?.disabled &&
|
|
!$ae_loc.edit_mode}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:622:96
|
|
Error: Property 'hidden' does not exist on type '{}'. (ts)
|
|
!$ae_loc.edit_mode}
|
|
class:hidden={file_purpose_option?.hidden &&
|
|
!$ae_loc.edit_mode}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li.svelte:625:83
|
|
Error: Property 'name' does not exist on type '{}'. (ts)
|
|
>
|
|
{file_purpose_option?.name}
|
|
</option>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_all.svelte:44:36
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_all.svelte:45:36
|
|
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)
|
|
let dq__where_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_direct.svelte:46:36
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let dq__where_val: string = `for_type`;
|
|
let dq__where_eq_val: string = link_to_type;
|
|
let dq__where_for_id_eq_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_event_file_li_direct.svelte:47:43
|
|
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)
|
|
let dq__where_eq_val: string = link_to_type;
|
|
let dq__where_for_id_eq_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:48:55
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
console.log(`HERE HERE HERE HERE: link_to_type: ${link_to_type} link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:48:83
|
|
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)
|
|
|
|
console.log(`HERE HERE HERE HERE: link_to_type: ${link_to_type} link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:59:36
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_val: string = `${link_to_type}_id`; // no more _random ???
|
|
let dq__where_eq_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:60:36
|
|
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)
|
|
let dq__where_val: string = `${link_to_type}_id`; // no more _random ???
|
|
let dq__where_eq_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:82:33
|
|
Error: 'x.content_type' is possibly 'undefined'. (ts)
|
|
// .and((x) => (x.content_type == `video/${extension}`))
|
|
.and((x) => x.content_type.startsWith('video/'))
|
|
// .reverse()
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:91:33
|
|
Error: 'x.content_type' is possibly 'undefined'. (ts)
|
|
.equals(dq__where_eq_val)
|
|
.and((x) => x.content_type.startsWith('audio/'))
|
|
.sortBy('created_on');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:98:33
|
|
Error: 'x.content_type' is possibly 'undefined'. (ts)
|
|
.equals(dq__where_eq_val)
|
|
.and((x) => x.content_type.startsWith('image/'))
|
|
.sortBy('created_on');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_manage_hosted_file_li_all.svelte:105:33
|
|
Error: 'x.content_type' is possibly 'undefined'. (ts)
|
|
.equals(dq__where_eq_val)
|
|
.and((x) => x.content_type.startsWith('application/'))
|
|
.sortBy('created_on');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:27:17
|
|
Warn: This reference only captures the initial value of `obj`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}: Props = $props();
|
|
console.log(obj);
|
|
console.log(typeof obj);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:28:24
|
|
Warn: This reference only captures the initial value of `obj`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(obj);
|
|
console.log(typeof obj);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:24:9
|
|
Error: Type 'null' is not assignable to type 'string'. (ts)
|
|
row_header = false,
|
|
primary_obj_li_type = $bindable(slct_obj_li_type),
|
|
obj = null
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:76:29
|
|
Error: Type 'string' is not assignable to type 'null | undefined'. (ts)
|
|
prop_name: obj_prop_name,
|
|
obj_type: primary_obj_li_type
|
|
})}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:84:29
|
|
Error: Type 'string' is not assignable to type 'null'. (ts)
|
|
onclick={() => {
|
|
slct_obj_type = obj_prop_name.replace('_id_random', '');
|
|
slct_obj_id = obj_prop_value;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:85:29
|
|
Error: Type 'unknown' is not assignable to type 'null'. (ts)
|
|
slct_obj_type = obj_prop_name.replace('_id_random', '');
|
|
slct_obj_id = obj_prop_value;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:88:29
|
|
Error: Type 'string' is not assignable to type 'null'. (ts)
|
|
onkeypress={() => {
|
|
slct_obj_type = obj_prop_name.replace('_id_random', '');
|
|
slct_obj_id = obj_prop_value;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:89:29
|
|
Error: Type 'unknown' is not assignable to type 'null'. (ts)
|
|
slct_obj_type = obj_prop_name.replace('_id_random', '');
|
|
slct_obj_id = obj_prop_value;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:100:37
|
|
Error: Type 'string' is not assignable to type 'null | undefined'. (ts)
|
|
href="/{ae_util.return_obj_type_path({
|
|
obj_type_prop_name: obj_prop_name
|
|
})}/{obj_prop_value}"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:103:49
|
|
Error: Property 'substring' does not exist on type '{}'. (ts)
|
|
>
|
|
{obj_prop_value.substring(0, 25)}
|
|
</a>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:121:29
|
|
Error: Type 'string' is not assignable to type 'null | undefined'. (ts)
|
|
prop_name: obj_prop_name.replaceAll('[URL]', ''),
|
|
obj_type: primary_obj_li_type
|
|
})}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:129:29
|
|
Error: Type 'string' is not assignable to type 'null'. (ts)
|
|
onclick={() => {
|
|
slct_obj_type = obj_prop_name.replaceAll('[URL]', '');
|
|
slct_obj_id = obj_prop_value;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:130:29
|
|
Error: Type 'unknown' is not assignable to type 'null'. (ts)
|
|
slct_obj_type = obj_prop_name.replaceAll('[URL]', '');
|
|
slct_obj_id = obj_prop_value;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:133:29
|
|
Error: Type 'string' is not assignable to type 'null'. (ts)
|
|
onkeypress={() => {
|
|
slct_obj_type = obj_prop_name.replaceAll('[URL]', '');
|
|
slct_obj_id = obj_prop_value;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:134:29
|
|
Error: Type 'unknown' is not assignable to type 'null'. (ts)
|
|
slct_obj_type = obj_prop_name.replaceAll('[URL]', '');
|
|
slct_obj_id = obj_prop_value;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:137:28
|
|
Error: Type 'unknown' is not assignable to type 'string | null | undefined'. (ts)
|
|
>
|
|
<a href={obj_prop_value}>{obj_prop_value}</a>
|
|
</td>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:144:25
|
|
Error: Type 'string' is not assignable to type 'null | undefined'. (ts)
|
|
prop_name: obj_prop_name,
|
|
obj_type: primary_obj_li_type
|
|
})}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:150:63
|
|
Error: Property 'length' does not exist on type '{}'. (ts)
|
|
{#if obj_prop_value}
|
|
{#if obj_prop_value && obj_prop_value.length > 25}
|
|
{obj_prop_value.substring(0, 25)} ...
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_obj_tbl_row.svelte:151:45
|
|
Error: Property 'substring' does not exist on type '{}'. (ts)
|
|
{#if obj_prop_value && obj_prop_value.length > 25}
|
|
{obj_prop_value.substring(0, 25)} ...
|
|
{:else}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_sql_qry.svelte:65:35
|
|
Error: Parameter 'qry' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_run_sql(qry, data, as_list = false, log_lvl = 0) {
|
|
console.log('*** handle_run_sql() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_sql_qry.svelte:65:40
|
|
Error: Parameter 'data' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_run_sql(qry, data, as_list = false, log_lvl = 0) {
|
|
console.log('*** handle_run_sql() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:87:36
|
|
Error: Binding element 'group_id' implicitly has an 'any' type. (ts)
|
|
|
|
function ws_connect_group_id({ group_id, client_id }) {
|
|
if (!group_id) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:87:46
|
|
Error: Binding element 'client_id' implicitly has an 'any' type. (ts)
|
|
|
|
function ws_connect_group_id({ group_id, client_id }) {
|
|
if (!group_id) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:333:13
|
|
Error: Type 'string' is not assignable to type 'null'. (ts)
|
|
ws_data.type = 'cmd';
|
|
ws_data.cmd = cmd;
|
|
handle_send_ws_data();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:537:41
|
|
Error: Property 'group_id' does not exist on type 'string'. (ts)
|
|
<span>
|
|
[{cmd_entry.group_id || 'No Group ID'}]
|
|
{cmd_entry.client_id.toString().slice(-5) || 'No Client ID'}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:538:40
|
|
Error: Property 'client_id' does not exist on type 'string'. (ts)
|
|
[{cmd_entry.group_id || 'No Group ID'}]
|
|
{cmd_entry.client_id.toString().slice(-5) || 'No Client ID'}
|
|
—
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:540:40
|
|
Error: Property 'target' does not exist on type 'string'. (ts)
|
|
—
|
|
{cmd_entry.target || 'No Target'}
|
|
|
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:543:40
|
|
Error: Property 'type' does not exist on type 'string'. (ts)
|
|
<!-- — -->
|
|
{cmd_entry.type || 'No Type'}:
|
|
</span>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/lib/elements/element_websocket_v2.svelte:546:41
|
|
Error: Property 'cmd' does not exist on type 'string'. (ts)
|
|
<span class="justify-self-end">
|
|
"{cmd_entry.cmd}"
|
|
</span>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:70:53
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`ae_root +layout.svelte data:`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:74:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other. This should catch anything that is a child of this layout.svelte file.
|
|
$slct.account_id = data.account_id;
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:78:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
let ae_acct = data[$slct.account_id];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:370:20
|
|
Warn: This reference only captures the initial value of `flag_clear_idb`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $effect(() => {
|
|
if (browser && flag_clear_idb) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:456:20
|
|
Warn: This reference only captures the initial value of `flag_reload`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $effect(() => {
|
|
if (browser && flag_reload) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:471:13
|
|
Warn: This reference only captures the initial value of `flag_clear_local`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Clear localStorage and sessionStorage
|
|
if (flag_clear_local) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:478:13
|
|
Warn: This reference only captures the initial value of `flag_clear_sess`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
if (flag_clear_sess) {
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:594:22
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let iframe = data.url.searchParams.get('iframe');
|
|
if (iframe == 'true') {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:625:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// This is mainly for Precon CHOW
|
|
if (data.url.searchParams.get('event_id')) {
|
|
$events_slct.event_id = data.url.searchParams.get('event_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:626:37
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (data.url.searchParams.get('event_id')) {
|
|
$events_slct.event_id = data.url.searchParams.get('event_id');
|
|
$events_loc.event_id = data.url.searchParams.get('event_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:627:36
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
$events_slct.event_id = data.url.searchParams.get('event_id');
|
|
$events_loc.event_id = data.url.searchParams.get('event_id');
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:630:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (data.url.searchParams.get('sponsorship_cfg_id')) {
|
|
$slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:631:40
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (data.url.searchParams.get('sponsorship_cfg_id')) {
|
|
$slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
|
|
$ae_loc.mod.sponsorships.cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:632:47
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
$slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
|
|
$ae_loc.mod.sponsorships.cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+layout.svelte:938:44
|
|
Error: Expected 0 arguments, but got 1. (ts)
|
|
clear_idb();
|
|
window.location.reload(true);
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+page.svelte:73:44
|
|
Error: Expected 0 arguments, but got 1. (ts)
|
|
onclick={() => {
|
|
window.location.reload(true);
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+page.svelte:106:44
|
|
Error: Expected 0 arguments, but got 1. (ts)
|
|
);
|
|
window.location.reload(true);
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/+page.svelte:124:13
|
|
Error: Object literal may only specify known properties, and '"display"' does not exist in type 'Props'. (ts)
|
|
ds_name="Default: AE Hub - Site root page footer HTML"
|
|
display="block"
|
|
class_li={!$ae_loc.manager_access &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+layout.svelte:44:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other.
|
|
$slct.account_id = data.account_id;
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+layout.svelte:46:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+layout.svelte:44:29
|
|
Error: Property 'account_id' does not exist on type 'LayoutData'. (ts)
|
|
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other.
|
|
$slct.account_id = data.account_id;
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+layout.svelte:46:19
|
|
Error: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'LayoutData'. (ts)
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+page.svelte:2:49
|
|
Error: Block-scoped variable 'data' used before its declaration. (ts)
|
|
<script lang="ts">
|
|
console.log(`ae_events_badges +page data:`, data);
|
|
// console.log(`ae_events_badges Data Params:`, data.url.searchParams.get('event_id'));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+page.svelte:55:9
|
|
Error: Object literal may only specify known properties, and '"display"' does not exist in type 'Props'. (ts)
|
|
for_id={$ae_loc.event_id}
|
|
display="block"
|
|
class_li="p-2"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+page.svelte:104:17
|
|
Error: Object literal may only specify known properties, and '"display"' does not exist in type 'Props'. (ts)
|
|
ds_type="sql"
|
|
display="block"
|
|
class_li="p-2"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/admin/+page.svelte:124:17
|
|
Error: Object literal may only specify known properties, and '"display"' does not exist in type 'Props'. (ts)
|
|
ds_type="sql"
|
|
display="block"
|
|
class_li="p-2"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/+page.svelte:12:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Quickly save the data passed from the parent(s)
|
|
$slct.account_id = data.account_id;
|
|
</script>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/person_view.svelte:41:31
|
|
Warn: This reference only captures the initial value of `person_id`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
console.log(`person_id:`, person_id);
|
|
let lq__person_obj = $derived(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/+page.svelte:79:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Accounts</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/+page.svelte:102:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={load_accounts}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/+page.svelte:111:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Visibility</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_hidden} onchange={load_accounts}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:112:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Account Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={account.name} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:116:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Short Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={account.short_name} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:120:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Account Code</label>
|
|
<input class="input variant-filled-surface rounded-lg font-mono p-3" type="text" bind:value={account.code} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:124:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Description</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg p-3" rows="3" bind:value={account.description}></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:150:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Group</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={account.group} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:154:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Sort Order</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="number" bind:value={account.sort} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:19:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
account_id,
|
|
log_lvl: 1
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:45:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
account_id,
|
|
data_kv,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/accounts/[account_id]/+page.svelte:61:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
account_id,
|
|
method: 'disable',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/activity_logs/+page.svelte:75:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Keywords</label>
|
|
<form onsubmit={handle_search} class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/activity_logs/+page.svelte:93:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Display Limit</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={limit} onchange={load_logs}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:22:23
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let formData = $state({
|
|
attention_to: address?.attention_to ?? '',
|
|
organization_name: address?.organization_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:23:28
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
attention_to: address?.attention_to ?? '',
|
|
organization_name: address?.organization_name ?? '',
|
|
line_1: address?.line_1 ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:24:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
organization_name: address?.organization_name ?? '',
|
|
line_1: address?.line_1 ?? '',
|
|
line_2: address?.line_2 ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:25:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
line_1: address?.line_1 ?? '',
|
|
line_2: address?.line_2 ?? '',
|
|
line_3: address?.line_3 ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:26:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
line_2: address?.line_2 ?? '',
|
|
line_3: address?.line_3 ?? '',
|
|
city: address?.city ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:27:15
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
line_3: address?.line_3 ?? '',
|
|
city: address?.city ?? '',
|
|
state_province: address?.state_province ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:28:25
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
city: address?.city ?? '',
|
|
state_province: address?.state_province ?? '',
|
|
postal_code: address?.postal_code ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:29:22
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
state_province: address?.state_province ?? '',
|
|
postal_code: address?.postal_code ?? '',
|
|
country: address?.country ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:30:18
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
postal_code: address?.postal_code ?? '',
|
|
country: address?.country ?? '',
|
|
// country_name: address?.country_name ?? '', // DO NOT USE - Scott 2026-01-09
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:32:19
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// country_name: address?.country_name ?? '', // DO NOT USE - Scott 2026-01-09
|
|
timezone: address?.timezone ?? '',
|
|
latitude: address?.latitude ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:33:19
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
timezone: address?.timezone ?? '',
|
|
latitude: address?.latitude ?? '',
|
|
longitude: address?.longitude ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:34:20
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
latitude: address?.latitude ?? '',
|
|
longitude: address?.longitude ?? '',
|
|
notes: address?.notes ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:35:16
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
longitude: address?.longitude ?? '',
|
|
notes: address?.notes ?? '',
|
|
enable: address?.enable ?? true,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:36:17
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
notes: address?.notes ?? '',
|
|
enable: address?.enable ?? true,
|
|
hide: address?.hide ?? false,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:37:15
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
enable: address?.enable ?? true,
|
|
hide: address?.hide ?? false,
|
|
priority: address?.priority ?? false
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:38:19
|
|
Warn: This reference only captures the initial value of `address`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
hide: address?.hide ?? false,
|
|
priority: address?.priority ?? false
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:132:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Attention To / Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.attention_to} placeholder="John Doe" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:137:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Organization Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.organization_name} placeholder="Acme Corp" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:142:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Address Line 1</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.line_1} required placeholder="123 Main St" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:148:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Line 2</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.line_2} placeholder="Suite 100" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:152:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Line 3</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.line_3} placeholder="Floor 2" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:164:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">City</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.city} required placeholder="Metropolis" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:168:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">State / Province</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.state_province} placeholder="NY" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:175:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Postal Code</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.postal_code} placeholder="12345" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:179:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Country (Code)</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:193:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Timezone</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:202:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Latitude</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:209:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Longitude</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/ae_comp__address_form.svelte:238:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Internal Notes</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg placeholder-surface-400 p-2" rows="2" bind:value={formData.notes} placeholder="Notes about this address..."></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/+page.svelte:83:13
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="max-w-2xl space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Directory</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/[address_id]/+page.svelte:24:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
address_id,
|
|
log_lvl: 1
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/addresses/[address_id]/+page.svelte:42:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
address_id,
|
|
method: 'delete',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:22:16
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let formData = $state({
|
|
title: contact?.title ?? '',
|
|
tagline: contact?.tagline ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:23:18
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
title: contact?.title ?? '',
|
|
tagline: contact?.tagline ?? '',
|
|
email: contact?.email ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:24:16
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
tagline: contact?.tagline ?? '',
|
|
email: contact?.email ?? '',
|
|
phone_mobile: contact?.phone_mobile ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:25:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
email: contact?.email ?? '',
|
|
phone_mobile: contact?.phone_mobile ?? '',
|
|
phone_office: contact?.phone_office ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:26:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
phone_mobile: contact?.phone_mobile ?? '',
|
|
phone_office: contact?.phone_office ?? '',
|
|
website_url: contact?.website_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:27:22
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
phone_office: contact?.phone_office ?? '',
|
|
website_url: contact?.website_url ?? '',
|
|
facebook_url: contact?.facebook_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:28:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
website_url: contact?.website_url ?? '',
|
|
facebook_url: contact?.facebook_url ?? '',
|
|
instagram_url: contact?.instagram_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:29:24
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
facebook_url: contact?.facebook_url ?? '',
|
|
instagram_url: contact?.instagram_url ?? '',
|
|
linkedin_url: contact?.linkedin_url ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:30:23
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
instagram_url: contact?.instagram_url ?? '',
|
|
linkedin_url: contact?.linkedin_url ?? '',
|
|
notes: contact?.notes ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:31:16
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
linkedin_url: contact?.linkedin_url ?? '',
|
|
notes: contact?.notes ?? '',
|
|
enable: contact?.enable ?? true,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:32:17
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
notes: contact?.notes ?? '',
|
|
enable: contact?.enable ?? true,
|
|
hide: contact?.hide ?? false,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:33:15
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
enable: contact?.enable ?? true,
|
|
hide: contact?.hide ?? false,
|
|
priority: contact?.priority ?? false
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:34:19
|
|
Warn: This reference only captures the initial value of `contact`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
hide: contact?.hide ?? false,
|
|
priority: contact?.priority ?? false
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:128:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Title / Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.title} required placeholder="Business Office" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:133:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Tagline</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.tagline} placeholder="Primary contact for business inquiries" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:138:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Email Address</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:152:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Mobile Phone</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:159:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Office Phone</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:168:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Website URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:181:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">LinkedIn URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:190:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Facebook URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:197:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Instagram URL</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/ae_comp__contact_form.svelte:226:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Internal Notes</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg placeholder-surface-400 p-2" rows="2" bind:value={formData.notes} placeholder="Additional details..."></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/+page.svelte:83:13
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="max-w-2xl space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Directory</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/[contact_id]/+page.svelte:24:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
contact_id,
|
|
log_lvl: 1
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/contacts/[contact_id]/+page.svelte:42:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
contact_id,
|
|
method: 'delete',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/lookups/+page.svelte:20:21
|
|
Error: Property 'get_ae_obj_li_for_lu' does not exist on type '{ delete_object: ({ api_cfg, endpoint, headers, params, data, timeout, return_meta, log_lvl, retry_count }: { api_cfg: any; endpoint: string; headers?: any; params?: any; data?: any; timeout?: number | undefined; return_meta?: boolean | undefined; log_lvl?: number | undefined; retry_count?: number | undefined; }) =>...'. Did you mean 'get_ae_obj_id_crud'? (ts)
|
|
const [countries, time_zones] = await Promise.all([
|
|
api.get_ae_obj_li_for_lu({ api_cfg: $ae_api, for_lu_type: 'country', log_lvl: 0 }),
|
|
api.get_ae_obj_li_for_lu({ api_cfg: $ae_api, for_lu_type: 'time_zone', log_lvl: 0 })
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/lookups/+page.svelte:21:21
|
|
Error: Property 'get_ae_obj_li_for_lu' does not exist on type '{ delete_object: ({ api_cfg, endpoint, headers, params, data, timeout, return_meta, log_lvl, retry_count }: { api_cfg: any; endpoint: string; headers?: any; params?: any; data?: any; timeout?: number | undefined; return_meta?: boolean | undefined; log_lvl?: number | undefined; retry_count?: number | undefined; }) =>...'. Did you mean 'get_ae_obj_id_crud'? (ts)
|
|
api.get_ae_obj_li_for_lu({ api_cfg: $ae_api, for_lu_type: 'country', log_lvl: 0 }),
|
|
api.get_ae_obj_li_for_lu({ api_cfg: $ae_api, for_lu_type: 'time_zone', log_lvl: 0 })
|
|
]);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_search.svelte:48:13
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search People</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_search.svelte:72:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Account Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={handle_search}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_search.svelte:81:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Visibility</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_hidden} onchange={handle_search}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:22:21
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let formData = $state({
|
|
given_name: person?.given_name ?? '',
|
|
family_name: person?.family_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:23:22
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
given_name: person?.given_name ?? '',
|
|
family_name: person?.family_name ?? '',
|
|
middle_name: person?.middle_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:24:22
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
family_name: person?.family_name ?? '',
|
|
middle_name: person?.middle_name ?? '',
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:25:17
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
middle_name: person?.middle_name ?? '',
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:25:35
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
middle_name: person?.middle_name ?? '',
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:26:17
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
nickname: person?.informal_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:26:35
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
prefix: person?.prefix ?? person?.title_names ?? '',
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
nickname: person?.informal_name ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:27:19
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
suffix: person?.suffix ?? person?.designations ?? '',
|
|
nickname: person?.informal_name ?? '',
|
|
professional_title: person?.professional_title ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:28:29
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
nickname: person?.informal_name ?? '',
|
|
professional_title: person?.professional_title ?? '',
|
|
affiliations: person?.affiliations ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:29:23
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
professional_title: person?.professional_title ?? '',
|
|
affiliations: person?.affiliations ?? '',
|
|
primary_email: person?.primary_email ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:30:24
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
affiliations: person?.affiliations ?? '',
|
|
primary_email: person?.primary_email ?? '',
|
|
phone: person?.phone ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:31:16
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
primary_email: person?.primary_email ?? '',
|
|
phone: person?.phone ?? '',
|
|
tagline: person?.tagline ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:32:18
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
phone: person?.phone ?? '',
|
|
tagline: person?.tagline ?? '',
|
|
notes: person?.notes ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:33:16
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
tagline: person?.tagline ?? '',
|
|
notes: person?.notes ?? '',
|
|
user_id_random: person?.user_id_random ?? '',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:34:25
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
notes: person?.notes ?? '',
|
|
user_id_random: person?.user_id_random ?? '',
|
|
enable: person?.enable ?? true,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:35:17
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
user_id_random: person?.user_id_random ?? '',
|
|
enable: person?.enable ?? true,
|
|
hide: person?.hide ?? false,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:36:15
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
enable: person?.enable ?? true,
|
|
hide: person?.hide ?? false,
|
|
priority: person?.priority ?? false
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:37:19
|
|
Warn: This reference only captures the initial value of `person`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
hide: person?.hide ?? false,
|
|
priority: person?.priority ?? false
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:151:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-1">
|
|
<label class="label text-xs font-bold opacity-75">Prefix</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.prefix} placeholder="Mr." />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:155:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-3">
|
|
<label class="label text-xs font-bold opacity-75">Given Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.given_name} required placeholder="Jane" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:162:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-3">
|
|
<label class="label text-xs font-bold opacity-75">Family Name</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.family_name} required placeholder="Doe" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:166:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 col-span-1">
|
|
<label class="label text-xs font-bold opacity-75">Suffix</label>
|
|
<input class="input variant-filled-surface rounded-lg placeholder-surface-400 p-2" type="text" bind:value={formData.suffix} placeholder="PhD" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:172:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Middle Name / Informal Name (Nickname)</label>
|
|
<div class="grid grid-cols-2 gap-2">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:185:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Primary Email</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:193:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Phone Number</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:202:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Tagline</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:215:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Professional Title</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:223:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Affiliations</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:251:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Notes (Internal)</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg placeholder-surface-400 p-2" rows="3" bind:value={formData.notes} placeholder="Additional details..."></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/ae_comp__person_form.svelte:262:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 max-w-md">
|
|
<label class="label text-xs font-bold opacity-75">Linked User ID (Random)</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-filled-surface rounded-lg overflow-hidden">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:46:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Variables
|
|
$slct.account_id = data.account_id;
|
|
let ae_acct = data[$slct.account_id];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:47:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
$slct.account_id = data.account_id;
|
|
let ae_acct = data[$slct.account_id];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:49:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$ae_loc.url_origin = data.url.origin;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/people/[person_id]/+page.svelte:446:5
|
|
Warn: Unused CSS selector "section.ae_quick_popover"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
/* The section.ae_quick_popover should be above the rest of the content and centered on the page. */
|
|
section.ae_quick_popover {
|
|
position: fixed;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/+page.svelte:82:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Sites</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/+page.svelte:105:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={load_sites}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/+page.svelte:114:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Visibility</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_hidden} onchange={load_sites}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:142:29
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Site Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={site.name} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:146:29
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Site Code</label>
|
|
<input class="input variant-filled-surface rounded-lg font-mono p-3" type="text" bind:value={site.code} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:150:29
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 md:col-span-2">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Tagline</label>
|
|
<input class="input variant-filled-surface rounded-lg p-3" type="text" bind:value={site.tagline} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:154:29
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 md:col-span-2">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Description</label>
|
|
<textarea class="textarea variant-filled-surface rounded-lg p-3" rows="2" bind:value={site.description}></textarea>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:171:33
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 max-w-md animate-fade-in">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Access Key</label>
|
|
<input class="input variant-filled-surface rounded-lg font-mono p-3" type="text" bind:value={site.access_key} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:29:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
site_id,
|
|
log_lvl: 1
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:34:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
site_id,
|
|
enabled: 'all',
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:61:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
site_id,
|
|
data_kv,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:74:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
site_id,
|
|
data_kv: { fqdn, enable: true },
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:84:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
site_id,
|
|
site_domain_id: dom.site_domain_id_random,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/sites/[site_id]/+page.svelte:96:13
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
site_id,
|
|
site_domain_id: dom.site_domain_id_random,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/+page.svelte:85:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="flex-1 min-w-[280px] space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Search Users</label>
|
|
<div class="flex bg-surface-200-700-token rounded-lg overflow-hidden border border-surface-500/20 shadow-inner group focus-within:ring-2 focus-within:ring-primary-500/50 transition-all">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/+page.svelte:109:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Scope</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_account_scope} onchange={load_users}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/+page.svelte:118:21
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75 uppercase tracking-wider ml-1">Status</label>
|
|
<select class="select variant-filled-surface rounded-lg text-sm border border-surface-500/20 p-2" bind:value={qry_enabled} onchange={load_users}>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:29:23
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a derived instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let { data }: Props = $props();
|
|
let user = $state(data.user);
|
|
let saving = $state(false);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:116:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Display Name</label>
|
|
<input class="input variant-filled-surface rounded-lg p-2" type="text" bind:value={user.name} placeholder="Full Name" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:120:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-xs font-bold opacity-75">Email Address</label>
|
|
<input class="input variant-filled-surface rounded-lg p-2" type="email" bind:value={user.email} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/core/users/[user_id]/+page.svelte:124:25
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1 md:col-span-2">
|
|
<label class="label text-xs font-bold opacity-75">Username</label>
|
|
<div class="input-group input-group-divider grid-cols-[auto_1fr] variant-soft rounded-lg overflow-hidden border border-surface-500/20">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/+layout.svelte:41:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
if (log_lvl) {
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/+layout.svelte:44:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl.svelte:81:39
|
|
Error: Parameter 'ae_obj_li' implicitly has an 'any' type. (ts)
|
|
|
|
function generate_file_export_csv(ae_obj_li) {
|
|
console.log(`*** generate_file_export_csv() ***`, ae_obj_li);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl.svelte:201:9
|
|
Error: Object is possibly 'null'. (ts)
|
|
// document.querySelector('body').appendChild(download_link);
|
|
document.getElementById('download_csv_container').appendChild(download_link);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:48:38
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:48:67
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:58:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_id_val: string = link_to_id ?? '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_file_obj_tbl_wrapper.svelte:59:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_id_val: string = link_to_id ?? '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:66: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/routes/events/ae_comp__event_files_upload.svelte:91:13
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
|
|
if (event.target[input_element_id].files.length > 0) {
|
|
task_id = link_to_id; // Ideally this should be the file hash, but we may be uploading multiple files at once. This should be done with a loop instead?
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:91:13
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'.
|
|
No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts)
|
|
|
|
if (event.target[input_element_id].files.length > 0) {
|
|
task_id = link_to_id; // Ideally this should be the file hash, but we may be uploading multiple files at once. This should be done with a loop instead?
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:97:33
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
// processed_file_list[i] has the file hash_sha256, hash_sha256_match, warnings, uploaded, uploaded_bytes, filename, and file_size_bytes.
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:97:33
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'.
|
|
No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts)
|
|
// processed_file_list[i] has the file hash_sha256, hash_sha256_match, warnings, uploaded, uploaded_bytes, filename, and file_size_bytes.
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:98:32
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:98:32
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'EventTarget'.
|
|
No index signature with a parameter of type 'string' was found on type 'EventTarget'. (ts)
|
|
for (let i = 0; i < event.target[input_element_id].files.length; i++) {
|
|
let tmp_file = event.target[input_element_id].files[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:113:13
|
|
Error: 'event.target' is possibly 'null'. (ts)
|
|
$events_sess = $events_sess;
|
|
event.target.reset();
|
|
// await tick();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:113:26
|
|
Error: Property 'reset' does not exist on type 'EventTarget'. (ts)
|
|
$events_sess = $events_sess;
|
|
event.target.reset();
|
|
// await tick();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:134:46
|
|
Error: Parameter 'input_upload_files' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_input_upload_files(input_upload_files, task_id) {
|
|
log_lvl = 0;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_files_upload.svelte:134:66
|
|
Error: Parameter 'task_id' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_input_upload_files(input_upload_files, task_id) {
|
|
log_lvl = 0;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:49:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:50:38
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:50:67
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li.svelte:342:63
|
|
Error: 'new_person_obj' is possibly 'null'. (ts)
|
|
data_kv: {
|
|
person_id_random: new_person_obj.person_id_random
|
|
},
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:27:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:28:38
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:28:67
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:36:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_li_wrapper.svelte:37:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_li_wrapper.svelte:38:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl > 1) {
|
|
console.log(`event_session list: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_li_wrapper.svelte:39:58
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`event_session list: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_li_wrapper.svelte:39:87
|
|
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)
|
|
if (log_lvl > 1) {
|
|
console.log(`event_session list: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_li_wrapper.svelte:41:64
|
|
Warn: This reference only captures the initial value of `event_session_id_random_li`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`event_session list: event_session_id_random_li: ${event_session_id_random_li}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_li_wrapper.svelte:50:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_id_val: string = link_to_id ?? '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_li_wrapper.svelte:51:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_id_val: string = link_to_id ?? '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl.svelte:35:36
|
|
Warn: This reference only captures the initial value of `container_class_li`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`container_class_li: ${container_class_li}; show_location_fields: ${show_location_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl.svelte:35:81
|
|
Warn: This reference only captures the initial value of `show_location_fields`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`container_class_li: ${container_class_li}; show_location_fields: ${show_location_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:40:38
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:40:67
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:50:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/ae_comp__event_session_obj_tbl_wrapper.svelte:51:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+layout.svelte:44:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $slct.account_id = data.account_id;
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+layout.svelte:50:46
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`[event_id] +layout A: ${data.params.event_id}`);
|
|
console.log(`[event_id] +layout B: ${ae_acct.slct.event_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:47:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:48:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:52:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`event_id layout A: ${data.params.event_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:53:43
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`event_id layout A: ${data.params.event_id}`);
|
|
console.log(`event_id layout B: ${ae_acct.slct.event_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:57:20
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
let event_id = data.params.event_id;
|
|
$events_slct.event_id = ae_acct.slct.event_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/+page.svelte:425:19
|
|
Error: Object literal may only specify known properties, and 'data' does not exist in type 'Props'. (ts)
|
|
|
|
<Event_page_menu {data} {lq__event_obj} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:38:29
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let url_person_id = data.url.searchParams.get('person_id');
|
|
let url_person_pass = data.url.searchParams.get('person_pass');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:39:31
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_person_id = data.url.searchParams.get('person_id');
|
|
let url_person_pass = data.url.searchParams.get('person_pass');
|
|
let url_presentation_id = data.url.searchParams.get('presentation_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:40:35
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_person_pass = data.url.searchParams.get('person_pass');
|
|
let url_presentation_id = data.url.searchParams.get('presentation_id');
|
|
let url_presenter_id = data.url.searchParams.get('presenter_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:41:32
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_presentation_id = data.url.searchParams.get('presentation_id');
|
|
let url_presenter_id = data.url.searchParams.get('presenter_id');
|
|
let url_session_id = data.url.searchParams.get('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:42:30
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let url_presenter_id = data.url.searchParams.get('presenter_id');
|
|
let url_session_id = data.url.searchParams.get('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:82:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log('Remove the sign in fields from the URL.');
|
|
data.url.searchParams.delete('person_id');
|
|
data.url.searchParams.delete('person_pass');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:83:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
data.url.searchParams.delete('person_id');
|
|
data.url.searchParams.delete('person_pass');
|
|
data.url.searchParams.delete('presentation_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:84:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
data.url.searchParams.delete('person_pass');
|
|
data.url.searchParams.delete('presentation_id');
|
|
data.url.searchParams.delete('presenter_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:85:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
data.url.searchParams.delete('presentation_id');
|
|
data.url.searchParams.delete('presenter_id');
|
|
data.url.searchParams.delete('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:86:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
data.url.searchParams.delete('presenter_id');
|
|
data.url.searchParams.delete('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:88:27
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let new_url = data.url.toString();
|
|
console.log(new_url);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:213:81
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$events_sess.auth__entered_key ?? ''}
|
|
oninput={(e) => ($events_sess.auth__entered_key = e.target?.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/sign_in_out.svelte:220:86
|
|
Error: Property 'value' does not exist on type 'EventTarget'. (ts)
|
|
value={$events_sess.auth__entered_passcode ?? ''}
|
|
oninput={(e) => ($events_sess.auth__entered_passcode = e.target?.value)}
|
|
/>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_search.svelte:193:21
|
|
Error: Type 'string' is not assignable to type '"all" | "printed" | "not_printed" | undefined'. (ts)
|
|
type_code: qry_type_code,
|
|
printed_status: qry_printed_status,
|
|
affiliations_qry_str: qry_affiliations,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_search.svelte:203:56
|
|
Error: Property 'length' does not exist on type 'false | ae_EventBadge[]'.
|
|
Property 'length' does not exist on type 'false'. (ts)
|
|
|
|
for (let i = 0; i < search_results.length; i++) {
|
|
let event_badge_obj = search_results[i];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_search.svelte:204:47
|
|
Error: Element implicitly has an 'any' type because expression of type 'number' can't be used to index type 'false | ae_EventBadge[]'.
|
|
No index signature with a parameter of type 'number' was found on type 'false | ae_EventBadge[]'. (ts)
|
|
for (let i = 0; i < search_results.length; i++) {
|
|
let event_badge_obj = search_results[i];
|
|
let event_badge_id_random = event_badge_obj.event_badge_id_random;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_search.svelte:351:21
|
|
Error: Object literal may only specify known properties, and '"suggest"' does not exist in type 'HTMLProps<"input", HTMLAttributes<any>>'. (ts)
|
|
autofocus
|
|
suggest="off"
|
|
data-lpignore="true"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_obj_li.svelte:40:63
|
|
Error: 'item' is possibly 'undefined'. (ts)
|
|
const db_results_map = new Map(
|
|
db_results.filter(Boolean).map((item) => [item.event_badge_id_random, item])
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_obj_li.svelte:74:34
|
|
Error: 'event_badge_obj.print_count' is possibly 'null' or 'undefined'. (ts)
|
|
<div class="flex flex-row flex-wrap gap-1 items-center justify-start grow">
|
|
{#if event_badge_obj?.print_count < 1 || $ae_loc.trusted_access}
|
|
<a
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_obj_li.svelte:86:46
|
|
Error: 'event_badge_obj.print_count' is possibly 'null' or 'undefined'. (ts)
|
|
{/if}
|
|
{#if event_badge_obj?.print_count >= 1}
|
|
<!-- Show a green checkmark -->
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_obj_li.svelte:119:46
|
|
Error: 'event_badge_obj.print_count' is possibly 'null' or 'undefined'. (ts)
|
|
{/if}
|
|
{#if event_badge_obj?.print_count >= 1}
|
|
<!-- Show a green checkmark -->
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:15:9
|
|
Warn: `full_name_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
|
|
let full_name_override: string = '';
|
|
let professional_title_override: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:16:9
|
|
Warn: `professional_title_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let full_name_override: string = '';
|
|
let professional_title_override: string = '';
|
|
let affiliations_override: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:17:9
|
|
Warn: `affiliations_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let professional_title_override: string = '';
|
|
let affiliations_override: string = '';
|
|
let location_override: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:18:9
|
|
Warn: `location_override` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let affiliations_override: string = '';
|
|
let location_override: string = '';
|
|
let email: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:19:9
|
|
Warn: `email` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let location_override: string = '';
|
|
let email: string = '';
|
|
let allow_tracking: boolean = false;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:20:9
|
|
Warn: `allow_tracking` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let email: string = '';
|
|
let allow_tracking: boolean = false;
|
|
let badge_type_code: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:21:9
|
|
Warn: `badge_type_code` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let allow_tracking: boolean = false;
|
|
let badge_type_code: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_create_form.svelte:23:9
|
|
Warn: `submit_status` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
|
|
let submit_status: string = 'idle'; // idle, loading, success, error
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:16:9
|
|
Warn: `selected_file` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let file_input: HTMLInputElement;
|
|
let selected_file: File | null = null;
|
|
let upload_status: string = 'idle'; // idle, loading, processing, success, error
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:17:9
|
|
Warn: `upload_status` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let selected_file: File | null = null;
|
|
let upload_status: string = 'idle'; // idle, loading, processing, success, error
|
|
let upload_message: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:18:9
|
|
Warn: `upload_message` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let upload_status: string = 'idle'; // idle, loading, processing, success, error
|
|
let upload_message: string = '';
|
|
let processed_badges_count: number = 0;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:19:9
|
|
Warn: `processed_badges_count` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let upload_message: string = '';
|
|
let processed_badges_count: number = 0;
|
|
let total_badges_in_file: number = 0;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:20:9
|
|
Warn: `total_badges_in_file` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let processed_badges_count: number = 0;
|
|
let total_badges_in_file: number = 0;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/ae_comp__badge_upload_form.svelte:100:60
|
|
Error: 'error' is of type 'unknown'. (ts)
|
|
upload_status = 'error';
|
|
upload_message = `Error processing file: ${error.message}`;
|
|
console.error('Error during file upload:', error);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:53:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`Data Params: event_id=${test_event_id}`);
|
|
let url_test_val = data.url.searchParams.get('test_val');
|
|
console.log(`URL test_val = ${url_test_val}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:105:17
|
|
Error: Object literal may only specify known properties, and 'show' does not exist in type 'ModalProps'. (ts)
|
|
{#if show_create_badge_modal}
|
|
<Modal bind:show={show_create_badge_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:105:12
|
|
Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.
|
|
To mark a property as bindable: 'let { show = $bindable() } = $props()' (ts)
|
|
{#if show_create_badge_modal}
|
|
<Modal bind:show={show_create_badge_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:112:21
|
|
Error: Cannot find name 'ae_triggers'. (ts)
|
|
show_create_badge_modal = false;
|
|
ae_triggers.event_badge_qry = true; // Trigger a refresh of the list
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:121:17
|
|
Error: Object literal may only specify known properties, and 'show' does not exist in type 'ModalProps'. (ts)
|
|
{#if show_upload_badge_modal}
|
|
<Modal bind:show={show_upload_badge_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:121:12
|
|
Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.
|
|
To mark a property as bindable: 'let { show = $bindable() } = $props()' (ts)
|
|
{#if show_upload_badge_modal}
|
|
<Modal bind:show={show_upload_badge_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:128:21
|
|
Error: Cannot find name 'ae_triggers'. (ts)
|
|
show_upload_badge_modal = false;
|
|
ae_triggers.event_badge_qry = true; // Trigger a refresh of the list
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:139:58
|
|
Error: Property 'name' does not exist on type 'never'. (ts)
|
|
Badges -
|
|
{ae_util.shorten_string({ string: lq__event_obj?.name ?? '-- not set --', max_length: 12 })}
|
|
- OSIT's Æ Events
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/+page.svelte:214:9
|
|
Error: Object literal may only specify known properties, and '"qry_str"' does not exist in type 'Props'. (ts)
|
|
badge_obj_li={$events_sess.badge_li}
|
|
qry_str={$events_loc.badges.fulltext_search_qry_str}
|
|
qry_type_code={$events_loc.badges.search_badge_type_code}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:73:28
|
|
Warn: This reference only captures the initial value of `event_badge_id`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Set initial variables
|
|
$slct.event_badge_id = event_badge_id; // $page['page_for']['event_badge_id'];
|
|
let trigger = $state(null);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:295:13
|
|
Error: Argument of type '() => Promise<void>' is not assignable to parameter of type '() => void | (() => void)'.
|
|
Type 'Promise<void>' is not assignable to type 'void | (() => void)'. (ts)
|
|
|
|
$effect(async () => {
|
|
if (browser && $lq__event_badge_obj?.event_badge_id) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:310:36
|
|
Error: 'error' is of type 'unknown'. (ts)
|
|
} catch (error) {
|
|
qr_error_message = error.message;
|
|
console.error(error);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_obj_view.svelte:340:32
|
|
Error: 'error' is of type 'unknown'. (ts)
|
|
} catch (error) {
|
|
qr_error_message = error.message;
|
|
console.error(error);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/+page.svelte:41:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// let test_event_id = data.params.event_id;
|
|
let event_badge_id = data.params.badge_id;
|
|
// console.log(`Data Params: event_id=${test_event_id}; badge_id=${test_event_badge_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/+page.svelte:43:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`Data Params: event_id=${test_event_id}; badge_id=${test_event_badge_id}`);
|
|
let url_test_val = data.url.searchParams.get('test_val');
|
|
console.log(`URL test_val = ${url_test_val}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/[badge_id]/+page.svelte:95:13
|
|
Error: Type 'Event | undefined' is not assignable to type 'null'.
|
|
Type 'undefined' is not assignable to type 'null'. (ts)
|
|
const subscription = observable.subscribe((value) => {
|
|
lq__event_obj = value;
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/print_list/+page.svelte:15:28
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let event_id: string = data.params.event_id;
|
|
let printed_status_filter: string | null = data.url.searchParams.get('printed_status');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/print_list/+page.svelte:16:48
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let event_id: string = data.params.event_id;
|
|
let printed_status_filter: string | null = data.url.searchParams.get('printed_status');
|
|
let badge_type_code_filter: string | null = data.url.searchParams.get('badge_type_code');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/badges/print_list/+page.svelte:17:49
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let printed_status_filter: string | null = data.url.searchParams.get('printed_status');
|
|
let badge_type_code_filter: string | null = data.url.searchParams.get('badge_type_code');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:24:9
|
|
Warn: `name` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
// Form fields
|
|
let name: string = '';
|
|
let header_path: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:25:9
|
|
Warn: `header_path` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let name: string = '';
|
|
let header_path: string = '';
|
|
let logo_path: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:26:9
|
|
Warn: `logo_path` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let header_path: string = '';
|
|
let logo_path: string = '';
|
|
let header_row_1: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:27:9
|
|
Warn: `header_row_1` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let logo_path: string = '';
|
|
let header_row_1: string = '';
|
|
let header_row_2: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:28:9
|
|
Warn: `header_row_2` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let header_row_1: string = '';
|
|
let header_row_2: string = '';
|
|
let secondary_header_path: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:29:9
|
|
Warn: `secondary_header_path` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let header_row_2: string = '';
|
|
let secondary_header_path: string = '';
|
|
let footer_text: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:30:9
|
|
Warn: `footer_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let secondary_header_path: string = '';
|
|
let footer_text: string = '';
|
|
let show_qr_front: boolean = true;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:31:9
|
|
Warn: `show_qr_front` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let footer_text: string = '';
|
|
let show_qr_front: boolean = true;
|
|
let show_qr_back: boolean = true;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:32:9
|
|
Warn: `show_qr_back` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let show_qr_front: boolean = true;
|
|
let show_qr_back: boolean = true;
|
|
let wireless_ssid: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:33:9
|
|
Warn: `wireless_ssid` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let show_qr_back: boolean = true;
|
|
let wireless_ssid: string = '';
|
|
let wireless_password: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:34:9
|
|
Warn: `wireless_password` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let wireless_ssid: string = '';
|
|
let wireless_password: string = '';
|
|
let ticket_1_text: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:35:9
|
|
Warn: `ticket_1_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let wireless_password: string = '';
|
|
let ticket_1_text: string = '';
|
|
let ticket_2_text: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:36:9
|
|
Warn: `ticket_2_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let ticket_1_text: string = '';
|
|
let ticket_2_text: string = '';
|
|
let ticket_3_text: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:37:9
|
|
Warn: `ticket_3_text` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
let ticket_2_text: string = '';
|
|
let ticket_3_text: string = '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:39:9
|
|
Warn: `submit_status` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
|
|
let submit_status: string = 'idle'; // idle, loading, success, error
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/ae_comp__badge_template_form.svelte:42:13
|
|
Error: Argument of type '() => Promise<void>' is not assignable to parameter of type '() => void | (() => void)'.
|
|
Type 'Promise<void>' is not assignable to type 'void | (() => void)'. (ts)
|
|
// Load template data if in edit mode
|
|
$effect(async () => {
|
|
if (template_id) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:15:28
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let event_id: string = data.params.event_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:91:24
|
|
Error: Property 'length' does not exist on type 'Observable<any>'. (ts)
|
|
{:then templates}
|
|
{#if templates.length > 0}
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:94:28
|
|
Error: Argument of type 'Observable<any>' is not assignable to parameter of type 'ArrayLike<unknown> | Iterable<unknown> | null | undefined'. (ts)
|
|
<ul class="list-group">
|
|
{#each templates as template (template.event_badge_template_id_random)}
|
|
<li class="list-group-item flex justify-between items-center">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:94:51
|
|
Error: 'template' is of type 'unknown'. (ts)
|
|
<ul class="list-group">
|
|
{#each templates as template (template.event_badge_template_id_random)}
|
|
<li class="list-group-item flex justify-between items-center">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:96:36
|
|
Error: 'template' is of type 'unknown'. (ts)
|
|
<li class="list-group-item flex justify-between items-center">
|
|
<span>{template.name}</span>
|
|
<div>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:101:55
|
|
Error: 'template' is of type 'unknown'. (ts)
|
|
onclick={() =>
|
|
edit_template(template.event_badge_template_id_random)}
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:108:57
|
|
Error: 'template' is of type 'unknown'. (ts)
|
|
onclick={() =>
|
|
delete_template(template.event_badge_template_id_random)}
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:126:17
|
|
Error: Object literal may only specify known properties, and 'show' does not exist in type 'ModalProps'. (ts)
|
|
{#if show_create_template_modal}
|
|
<Modal bind:show={show_create_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:126:12
|
|
Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.
|
|
To mark a property as bindable: 'let { show = $bindable() } = $props()' (ts)
|
|
{#if show_create_template_modal}
|
|
<Modal bind:show={show_create_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:138:17
|
|
Error: Object literal may only specify known properties, and 'show' does not exist in type 'ModalProps'. (ts)
|
|
{#if show_edit_template_modal}
|
|
<Modal bind:show={show_edit_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(badges)/templates/hold+page.svelte:138:12
|
|
Error: Cannot use 'bind:' with this property. It is declared as non-bindable inside the component.
|
|
To mark a property as bindable: 'let { show = $bindable() } = $props()' (ts)
|
|
{#if show_edit_template_modal}
|
|
<Modal bind:show={show_edit_template_modal}>
|
|
<div class="card p-4">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte:105:50
|
|
Warn: This reference only captures the initial value of `event_file_id`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$events_loc.launcher.screen_saver_img_kv[event_file_id] = Object.create(event_file_obj);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte:169:65
|
|
Error: Property 'native_app' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
|
|
if ($events_loc.launcher.app_mode == 'native' && window.native_app) {
|
|
console.log('* ** *** **** BEGIN TESTING **** *** ** *');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte:181:61
|
|
Error: Property 'native_app' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
open_file_status_message = 'Checking local cache...';
|
|
let check_hash_file_cache_result = await window.native_app.check_hash_file_cache_v2({
|
|
local_file_cache_path: $events_loc.launcher.local_file_cache_path,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte:195:34
|
|
Error: Property 'native_app' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
let download_hash_file_to_cache_result =
|
|
await window.native_app.download_hash_file_to_cache_v2({
|
|
api_base_url: $events_loc.launcher.api.base_url,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher_file_cont.svelte:263:71
|
|
Error: Property 'native_app' does not exist on type 'Window & typeof globalThis'. (ts)
|
|
|
|
let electron_open_hash_file_to_temp_result = await window.native_app.open_hash_file_to_temp_v2(
|
|
{
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:61:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:107:29
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
$events_slct.event_id = data.params.event_id;
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:108:38
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
$events_slct.event_id = data.params.event_id;
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
$events_slct.event_session_id = data.url.searchParams.get('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:109:37
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
$events_slct.event_session_id = data.url.searchParams.get('session_id');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1234:5
|
|
Error: Type '"w-md"' is not assignable to type '"default" | "full" | "half" | undefined'. (ts)
|
|
}}
|
|
width={'w-md'}
|
|
bind:hidden={$events_loc.launcher.hide_drawer__cfg}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1288:5
|
|
Error: Type '"min-h-96 h-1/2"' is not assignable to type '"default" | "full" | "half" | undefined'. (ts)
|
|
}}
|
|
width={'min-h-96 h-1/2'}
|
|
bind:hidden={$events_loc.launcher.hide_drawer__debug}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1324:5
|
|
Error: Type '""' is not assignable to type '"md" | "none" | "sm" | "lg" | "xs" | "xl" | undefined'. (ts)
|
|
placement="top-center"
|
|
size=""
|
|
class="
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/+layout.svelte:1337:8
|
|
Error: Argument of type '"close"' is not assignable to parameter of type 'never'. (ts)
|
|
footerClass="text-center hidden"
|
|
on:close={async () => {
|
|
$events_sess.launcher.modal__open_event_file_id = null;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:61:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:66:30
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
console.log(`event_id: ${data.params.event_id}`);
|
|
$events_slct.event_id = data.params.event_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:67:29
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`event_id: ${data.params.event_id}`);
|
|
$events_slct.event_id = data.params.event_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:69:39
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
console.log(`event_location_id: ${data.params.event_location_id}`);
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(launcher)/launcher/[event_location_id]/+page.svelte:70:38
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`event_location_id: ${data.params.event_location_id}`);
|
|
$events_slct.event_location_id = data.params.event_location_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:45:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`Event Device List: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:46:57
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`Event Device List: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:46:86
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`Event Device List: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:61:9
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Functions and Logic
|
|
if (auto_refresh) {
|
|
// Add a random number of seconds to the auto_refresh interval to prevent all clients from refreshing at the same time.
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:63:32
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Add a random number of seconds to the auto_refresh interval to prevent all clients from refreshing at the same time.
|
|
let refresh_interval = auto_refresh + Math.floor(Math.random() * 15000);
|
|
console.log(`Auto refresh interval: ${refresh_interval}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:65:20
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`Auto refresh interval: ${refresh_interval}`);
|
|
if (typeof auto_refresh === 'number') {
|
|
refresh_interval = auto_refresh;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li.svelte:66:32
|
|
Warn: This reference only captures the initial value of `auto_refresh`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (typeof auto_refresh === 'number') {
|
|
refresh_interval = auto_refresh;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:27:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:29:57
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`Event Device List Wrapper: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:29:86
|
|
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)
|
|
console.log(
|
|
`Event Device List Wrapper: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:38:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/device/device/ae_comp__event_device_obj_li_wrapper.svelte:39:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_view.svelte:422:5
|
|
Warn: Unused CSS selector "div.ae_quick_modal_container"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
/* Use the div.ae_quick_modal_container to block background clicks when using the section.ae_quick_popover. */
|
|
div.ae_quick_modal_container {
|
|
position: fixed;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/location_view.svelte:435:5
|
|
Warn: Unused CSS selector "section.ae_quick_popover"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
/* The section.ae_quick_popover should be above the rest of the content and centered on the page. */
|
|
section.ae_quick_popover {
|
|
position: fixed;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/+page.svelte:58:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/location/[event_location_id]/+page.svelte:61:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$ae_loc.url_origin = data.url.origin;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/locations/+page.svelte:58:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/locations/+page.svelte:61:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$ae_loc.url_origin = data.url.origin;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/locations/+page.svelte:155:6
|
|
Error: Property 'link_to_id' is missing in type '{ lq__event_location_obj_li: Observable<Location[]>; }' but required in type 'Props'. (ts)
|
|
|
|
<Comp_event_location_obj_li {lq__event_location_obj_li} />
|
|
</section>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:43:36
|
|
Warn: This reference only captures the initial value of `container_class_li`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`container_class_li: ${container_class_li}; show_presentation_fields: ${show_presentation_fields}; show_session_fields: ${show_session_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:43:85
|
|
Warn: This reference only captures the initial value of `show_presentation_fields`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`container_class_li: ${container_class_li}; show_presentation_fields: ${show_presentation_fields}; show_session_fields: ${show_session_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:43:135
|
|
Warn: This reference only captures the initial value of `show_session_fields`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`container_class_li: ${container_class_li}; show_presentation_fields: ${show_presentation_fields}; show_session_fields: ${show_session_fields}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:63:44
|
|
Error: Parameter 'ae_obj_li' implicitly has an 'any' type. (ts)
|
|
|
|
function generate_presenter_export_csv(ae_obj_li) {
|
|
console.log(`*** generate_presenter_export_csv() ***`, ae_obj_li);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl.svelte:142:9
|
|
Error: Object is possibly 'null'. (ts)
|
|
// document.querySelector('body').appendChild(download_link);
|
|
document.getElementById('download_csv_container').appendChild(download_link);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl_wrapper.svelte:43:38
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl_wrapper.svelte:43:67
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl_wrapper.svelte:53:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
|
let dq__where_eq_id_val: string = link_to_id ?? '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/ae_comp__event_presenter_obj_tbl_wrapper.svelte:54:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
|
let dq__where_eq_id_val: string = link_to_id ?? '';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:62:38
|
|
Error: Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
|
|
Type 'null' is not assignable to type 'HTMLFormElement | undefined'. (ts)
|
|
// Data in
|
|
let form_data = new FormData(event.target);
|
|
console.log(form_data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:104:53
|
|
Error: Binding element 'obj_type' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__event_presenter({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__event_presenter() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:104:63
|
|
Error: Binding element 'obj_id' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__event_presenter({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__event_presenter() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/ae_comp__event_presenter_form_agree.svelte:104:71
|
|
Error: Binding element 'data' implicitly has an 'any' type. (ts)
|
|
|
|
async function handle_update__event_presenter({ obj_type, obj_id, data }) {
|
|
console.log('*** handle_update__event_presenter() ***');
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1167:53
|
|
Error: Element implicitly has an 'any' type because expression of type '""' can't be used to index type '{}'.
|
|
Property '' does not exist on type '{}'. (ts)
|
|
let person_obj_kv = {};
|
|
person_obj_kv[''] = '-- Select a person --';
|
|
person_obj_li.forEach((person_obj) => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1169:90
|
|
Error: Property 'last_first_name' does not exist on type 'ae_Person'. (ts)
|
|
person_obj_li.forEach((person_obj) => {
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id_random] =
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1170:57
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'. (ts)
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id_random] =
|
|
option_text;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/presenter_view.svelte:1297:62
|
|
Error: 'new_person_obj' is possibly 'null'. (ts)
|
|
event_presenter_id: $lq__event_presenter_obj?.event_presenter_id,
|
|
data_kv: { person_id_random: new_person_obj.person_id_random },
|
|
log_lvl: 0
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:50:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $slct.account_id = data.account_id;
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:51:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:55:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$ae_loc.url_origin = data.url.origin;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:131:27
|
|
Error: Object literal may only specify known properties, and 'data' does not exist in type 'Props'. (ts)
|
|
>
|
|
<Presenter_page_menu {data} {lq__event_obj} {lq__event_presenter_obj} />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/presenter/[presenter_id]/+page.svelte:263:37
|
|
Error: Type 'string | null | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
base_url: $ae_loc.url_origin,
|
|
person_id: $lq__event_presenter_obj?.person_id,
|
|
person_passcode:
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/reports_files.svelte:488:51
|
|
Error: Property 'name' does not exist on type '{}'. (ts)
|
|
>
|
|
{file_purpose_option?.name}
|
|
</option>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/+page.svelte:45:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/+page.svelte:66:9
|
|
Error: Type 'string[] | undefined' is not assignable to type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'. (ts)
|
|
// It is important that these not be set to a value! It messes with the Dexie LiveQuery.
|
|
let event_file_id_random_li: Array<string> = $state();
|
|
let event_session_id_random_li: Array<string> = $state();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/reports/+page.svelte:67:9
|
|
Error: Type 'string[] | undefined' is not assignable to type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'. (ts)
|
|
let event_file_id_random_li: Array<string> = $state();
|
|
let event_session_id_random_li: Array<string> = $state();
|
|
// let event_presentation_id_random_li: Array<string>;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/ae_comp__event_session_poc_form_agree.svelte:61:38
|
|
Error: Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
|
|
Type 'null' is not assignable to type 'HTMLFormElement | undefined'. (ts)
|
|
// Data in
|
|
let form_data = new FormData(event.target);
|
|
console.log(form_data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:20:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`ae_events_pres_mgmt session_view.svelte`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:531:49
|
|
Error: Element implicitly has an 'any' type because expression of type '""' can't be used to index type '{}'.
|
|
Property '' does not exist on type '{}'. (ts)
|
|
let event_location_obj_kv = {}; //: key_val = {};
|
|
event_location_obj_kv[''] =
|
|
'-- Select a location --';
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:536:57
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'. (ts)
|
|
let option_text = `${event_location_obj.name} (${event_location_obj.code})`;
|
|
event_location_obj_kv[
|
|
event_location_obj.event_location_id_random
|
|
] = option_text;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:792:49
|
|
Error: Element implicitly has an 'any' type because expression of type '""' can't be used to index type '{}'.
|
|
Property '' does not exist on type '{}'. (ts)
|
|
let person_obj_kv = {};
|
|
person_obj_kv[''] = '-- Select a person --';
|
|
person_obj_li.forEach((person_obj) => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:794:86
|
|
Error: Property 'last_first_name' does not exist on type 'ae_Person'. (ts)
|
|
person_obj_li.forEach((person_obj) => {
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id_random] =
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/session_view.svelte:795:53
|
|
Error: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'. (ts)
|
|
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
|
|
person_obj_kv[person_obj.person_id_random] =
|
|
option_text;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/+page.svelte:62:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// console.log(`$slct.account_id = `, $slct.account_id);
|
|
let ae_acct = data[$slct.account_id];
|
|
// console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/(pres_mgmt)/session/[session_id]/+page.svelte:65:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$ae_loc.url_origin = data.url.origin;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:25:13
|
|
Error: Type 'Event | undefined' is not assignable to type 'null'.
|
|
Type 'undefined' is not assignable to type 'null'. (ts)
|
|
const subscription = observable.subscribe((value) => {
|
|
event_obj = value;
|
|
});
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:45:17
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
event_id: event_id,
|
|
data_kv: data_kv
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:82:50
|
|
Error: Property 'cfg_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_form
|
|
bind:cfg_json={event_obj.cfg_json}
|
|
on:save={(e) => handle_save('cfg_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:89:59
|
|
Error: Property 'cfg_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.cfg_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:93:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.cfg_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:94:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.cfg_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:94:52
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.cfg_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:99:64
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('cfg_json', event_obj.cfg_json)}>Save</button
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:118:60
|
|
Error: Property 'mod_pres_mgmt_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_pres_mgmt_form
|
|
bind:mod_pres_mgmt_json={event_obj.mod_pres_mgmt_json}
|
|
on:save={(e) => handle_save('mod_pres_mgmt_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:125:59
|
|
Error: Property 'mod_pres_mgmt_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_pres_mgmt_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:129:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_pres_mgmt_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:130:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_pres_mgmt_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:130:62
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_pres_mgmt_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:136:63
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
onclick={() =>
|
|
handle_save('mod_pres_mgmt_json', event_obj.mod_pres_mgmt_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:156:57
|
|
Error: Property 'mod_badges_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_badges_form
|
|
bind:mod_badges_json={event_obj.mod_badges_json}
|
|
on:save={(e) => handle_save('mod_badges_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:163:59
|
|
Error: Property 'mod_badges_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_badges_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:167:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_badges_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:168:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_badges_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:168:59
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_badges_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:173:71
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('mod_badges_json', event_obj.mod_badges_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:193:60
|
|
Error: Property 'mod_abstracts_json' does not exist on type 'never'. (ts)
|
|
<Ae_comp_event_settings_abstracts_form
|
|
bind:mod_abstracts_json={event_obj.mod_abstracts_json}
|
|
on:save={(e) => handle_save('mod_abstracts_json', e.detail)}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:200:59
|
|
Error: Property 'mod_abstracts_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_abstracts_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:204:28
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_abstracts_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:205:29
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_abstracts_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:205:62
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_abstracts_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:211:63
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
onclick={() =>
|
|
handle_save('mod_abstracts_json', event_obj.mod_abstracts_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:224:55
|
|
Error: Property 'mod_exhibits_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_exhibits_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:228:24
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_exhibits_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:229:25
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_exhibits_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:229:57
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_exhibits_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:234:69
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('mod_exhibits_json', event_obj.mod_exhibits_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:246:55
|
|
Error: Property 'mod_meetings_json' does not exist on type 'never'. (ts)
|
|
readonly={false}
|
|
content={JSON.stringify(event_obj.mod_meetings_json, null, 4)}
|
|
show_line_numbers={true}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:250:24
|
|
Error: Argument of type '"change"' is not assignable to parameter of type 'never'. (ts)
|
|
class="p-1 preset-outlined-success-400-600 shadow-lg rounded-lg"
|
|
on:change={(e) => {
|
|
event_obj.mod_meetings_json = e.detail;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:251:25
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_meetings_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:251:57
|
|
Error: Property 'detail' does not exist on type 'never'. (ts)
|
|
on:change={(e) => {
|
|
event_obj.mod_meetings_json = e.detail;
|
|
}}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/events/[event_id]/settings/+page.svelte:256:69
|
|
Error: 'event_obj' is possibly 'null'. (ts)
|
|
class="btn preset-tonal-primary"
|
|
onclick={() => handle_save('mod_meetings_json', event_obj.mod_meetings_json)}
|
|
>Save</button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/+layout.svelte:191:18
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let iframe = data.url.searchParams.get('iframe');
|
|
if (browser && iframe == 'true') {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:31:26
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
$ae_loc.url_origin = data.url.origin;
|
|
$ae_loc.params = data.params;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:32:22
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
$ae_loc.url_origin = data.url.origin;
|
|
$ae_loc.params = data.params;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:35:45
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`+layout.svelte data:`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:39:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (browser) {
|
|
if (data.url.searchParams.get('uuid')) {
|
|
$idaa_loc.novi_uuid = data.url.searchParams.get('uuid'); // data.params.uuid;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:40:35
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (data.url.searchParams.get('uuid')) {
|
|
$idaa_loc.novi_uuid = data.url.searchParams.get('uuid'); // data.params.uuid;
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:42:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
if (data.url.searchParams.get('email')) {
|
|
$idaa_loc.novi_email = decodeURIComponent(data.url.searchParams.get('email'));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:43:55
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (data.url.searchParams.get('email')) {
|
|
$idaa_loc.novi_email = decodeURIComponent(data.url.searchParams.get('email'));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:47:13
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
if (data.url.searchParams.get('full_name')) {
|
|
$idaa_loc.novi_full_name = decodeURIComponent(data.url.searchParams.get('full_name'));
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/+layout.svelte:48:59
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (data.url.searchParams.get('full_name')) {
|
|
$idaa_loc.novi_full_name = decodeURIComponent(data.url.searchParams.get('full_name'));
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/+layout.svelte:25:56
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`ae_idaa_archives +layout.svelte`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/+layout.svelte:29:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
$slct.account_id = data.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/+layout.svelte:31:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:51:9
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:51:30
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:59:26
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
api_cfg: $ae_api,
|
|
log_lvl: log_lvl
|
|
})
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:107:38
|
|
Error: Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
|
|
Type 'null' is not assignable to type 'HTMLFormElement | undefined'. (ts)
|
|
|
|
let form_data = new FormData(event.target);
|
|
console.log(form_data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte:273:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
archive_id: archive_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:107:9
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:107:30
|
|
Warn: This reference only captures the initial value of `lu_time_zone_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// $ae_loc.lu_time_zone_list = [];
|
|
if (lu_time_zone_list && lu_time_zone_list.length > 0) {
|
|
// console.log('Already have time zone list!', lu_time_zone_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:115:26
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
api_cfg: $ae_api,
|
|
log_lvl: log_lvl
|
|
})
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:163:38
|
|
Error: Argument of type 'EventTarget | null' is not assignable to parameter of type 'HTMLFormElement | undefined'.
|
|
Type 'null' is not assignable to type 'HTMLFormElement | undefined'. (ts)
|
|
|
|
let form_data = new FormData(event.target);
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:1052:33
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
archive_content_id: $idaa_slct.archive_content_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte:1090:37
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
archive_content_id: $idaa_slct.archive_content_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__modal_media_player.svelte:24:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`lq__archive_content_obj:`, lq__archive_content_obj);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__modal_media_player.svelte:25:49
|
|
Warn: This reference only captures the initial value of `lq__archive_content_obj`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`lq__archive_content_obj:`, lq__archive_content_obj);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte:69:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte:327:36
|
|
Error: Property 'topic_name' does not exist on type 'Archive'. (ts)
|
|
<span class="float-right flex flex-row flex-wrap gap-1 items-center justify-end">
|
|
{#if $lq__archive_obj?.topic_name}
|
|
<span class="badge badge-info preset-tonal-tertiary"
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte:329:82
|
|
Error: Property 'topic_name' does not exist on type 'Archive'. (ts)
|
|
<span class="badge badge-info preset-tonal-tertiary"
|
|
><span class="fas fa-user-md m-1"></span> {$lq__archive_obj?.topic_name}</span
|
|
>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:34:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl > 1) {
|
|
console.log(`ae_idaa_bulletin_board +layout.svelte`, data);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:35:62
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`ae_idaa_bulletin_board +layout.svelte`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:39:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
$slct.account_id = data.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:41:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+layout.svelte:42:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
console.log(`ae_acct = `, ae_acct);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_options.svelte:41:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) console.log('** Component Loaded: ** Post Options');
|
|
</script>
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+page.svelte:62:62
|
|
Error: No overload matches this call.
|
|
Overload 1 of 4, '(value: string | number | Date): Date', gave the following error.
|
|
Argument of type 'Date | undefined' is not assignable to parameter of type 'string | number | Date'.
|
|
Type 'undefined' is not assignable to type 'string | number | Date'.
|
|
Overload 2 of 4, '(value: string | number): Date', gave the following error.
|
|
Argument of type 'Date | undefined' is not assignable to parameter of type 'string | number'.
|
|
Type 'undefined' is not assignable to type 'string | number'. (ts)
|
|
.where('account_id').equals($slct.account_id ?? '')
|
|
.filter((x) => x.archive_on === null || new Date(x.archive_on) > now)
|
|
.toArray();
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/+page.svelte:226:6
|
|
Error: Property 'data' is missing in type '{ lq__post_obj_li: Observable<Post[]>; }' but required in type 'Props'. (ts)
|
|
{#if $lq__post_obj_li && $lq__post_obj_li?.length}
|
|
<Comp__post_obj_li {lq__post_obj_li} />
|
|
{:else}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_comment_obj_id_edit.svelte:278:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
post_comment_id: post_comment_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte:262:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
post_id: post_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte:499:25
|
|
Error: Object literal may only specify known properties, and '"default_minimal"' does not exist in type 'Props'. (ts)
|
|
<CodeMirror_wrapper
|
|
default_minimal={true}
|
|
bind:html_text={content_new_html}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte:667:67
|
|
Error: Parameter 'hosted_file_obj' implicitly has an 'any' type. (ts)
|
|
$idaa_slct.post_obj.linked_li_json.filter(
|
|
function (hosted_file_obj) {
|
|
console.log(
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte:338:14
|
|
Error: Object literal may only specify known properties, and 'lq__post_comment_obj' does not exist in type 'Props'. (ts)
|
|
{lq__post_obj}
|
|
{lq__post_comment_obj}
|
|
{lq__post_comment_obj_li}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte:355:30
|
|
Error: Object literal may only specify known properties, and 'lq__post_comment_obj' does not exist in type 'Props'. (ts)
|
|
{lq__post_obj}
|
|
{lq__post_comment_obj}
|
|
{lq__post_comment_obj_li}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/bb/[post_id]/+page.svelte:44:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte:35:65
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`ae_idaa_recovery_meetings +layout.svelte`, data);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte:39:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
$slct.account_id = data.account_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+layout.svelte:41:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_qry.svelte:715:39
|
|
Error: Property 'handle_download_export__obj_type' does not exist on type '{ check_hosted_file_obj_w_hash: ({ api_cfg, hosted_file_hash, check_for_local, params, return_meta, log_lvl }: { api_cfg: any; hosted_file_hash: string; check_for_local?: boolean | undefined; params?: key_val | undefined; return_meta?: boolean | undefined; log_lvl?: number | undefined; }) => Promise<...>; ... 31 mor...'. Did you mean 'download_export__obj_type'? (ts)
|
|
ae_promises.download__events_export =
|
|
core_func.handle_download_export__obj_type({
|
|
api_cfg: $ae_api,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:42:13
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (browser) {
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:43:42
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:43:71
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li.svelte:587:5
|
|
Warn: Do not use empty rulesets (css)
|
|
|
|
.ae_header h3 {
|
|
/* font-size: 1.2em; */
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:39:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
if (log_lvl) {
|
|
console.log(`TEST event: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:40:50
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl) {
|
|
console.log(`TEST event: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:40:79
|
|
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)
|
|
if (log_lvl) {
|
|
console.log(`TEST event: link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:42:9
|
|
Warn: This reference only captures the initial value of `log_lvl`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
}
|
|
if (log_lvl > 1) {
|
|
console.log(`TEST event: event_id_random_li: ${event_id_random_li}`);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:43:56
|
|
Warn: This reference only captures the initial value of `event_id_random_li`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (log_lvl > 1) {
|
|
console.log(`TEST event: event_id_random_li: ${event_id_random_li}`);
|
|
}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:51:44
|
|
Warn: This reference only captures the initial value of `link_to_type`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`; // no more "xyz_id_random"
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_li_wrapper.svelte:52:39
|
|
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)
|
|
let dq__where_type_id_val: string = `${link_to_type}_id`; // no more "xyz_id_random"
|
|
let dq__where_eq_id_val: string = link_to_id;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/+page.svelte:261:29
|
|
Error: Object literal may only specify known properties, and 'qry_conference' does not exist in type '{ api_cfg: any; for_obj_type?: string | undefined; for_obj_id: string; qry_str?: string | undefined; qry_person_id?: string | null | undefined; enabled?: "enabled" | "all" | "not_enabled" | undefined; ... 5 more ...; log_lvl?: number | undefined; }'. (ts)
|
|
|
|
qry_conference: false,
|
|
qry_physical: and_physical,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:212:9
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Refresh the list at least 20% of the time.
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:212:28
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Refresh the list at least 20% of the time.
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:213:51
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:213:77
|
|
Warn: This reference only captures the initial value of `lu_country_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (lu_country_list && lu_country_list.length > 50 && Math.random() < 0.8) {
|
|
console.log(`Already have country list! ${lu_country_list.length}`, lu_country_list);
|
|
} else {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:250:9
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
if (
|
|
lu_country_subdivision_list &&
|
|
lu_country_subdivision_list.length > 50 &&
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:251:9
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
lu_country_subdivision_list &&
|
|
lu_country_subdivision_list.length > 50 &&
|
|
Math.random() < 0.8
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:255:55
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
console.log(
|
|
`Already have country subdivision list! ${lu_country_subdivision_list.length}`,
|
|
lu_country_subdivision_list
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:256:13
|
|
Warn: This reference only captures the initial value of `lu_country_subdivision_list`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
`Already have country subdivision list! ${lu_country_subdivision_list.length}`,
|
|
lu_country_subdivision_list
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:2788:20
|
|
Warn: Unused CSS selector ".event__recurring .ae_group"
|
|
https://svelte.dev/e/css_unused_selector (svelte)
|
|
|
|
<style lang="scss">
|
|
.event__physical_virtual .ae_group {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:711:17
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
event_id: event_id,
|
|
method: method,
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit.svelte:1737:39
|
|
Error: This comparison appears to be unintentional because the types '1' and '3' have no overlap. (ts)
|
|
autocomplete="url"
|
|
readonly={1 == 3}
|
|
bind:value={$idaa_slct.event_obj.attend_json.jitsi.full_url}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/[event_id]/+page.svelte:45:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
if (log_lvl) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/[event_id]/+page.svelte:248:125
|
|
Error: '$lq__event_obj.contact_li_json' is possibly 'null' or 'undefined'. (ts)
|
|
<!-- This checks if the currently logged in Novi user has a matching UUID or email address. -->
|
|
{#if ($ae_loc.trusted_access && $ae_loc.edit_mode) || $lq__event_obj?.external_person_id === $idaa_loc.novi_uuid || $lq__event_obj?.contact_li_json[0].email === $idaa_loc.novi_email}
|
|
<button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/recovery_meetings/[event_id]/+page.svelte:248:160
|
|
Error: Property 'email' does not exist on type 'string'. (ts)
|
|
<!-- This checks if the currently logged in Novi user has a matching UUID or email address. -->
|
|
{#if ($ae_loc.trusted_access && $ae_loc.edit_mode) || $lq__event_obj?.external_person_id === $idaa_loc.novi_uuid || $lq__event_obj?.contact_li_json[0].email === $idaa_loc.novi_email}
|
|
<button
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/video_conferences/+page.svelte:374:3
|
|
Error: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'. (ts)
|
|
// Set initial value for the profile editor inputs
|
|
name_input = display_name;
|
|
email_input = email;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/idaa/(idaa)/video_conferences/+page.svelte:375:3
|
|
Error: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'. (ts)
|
|
name_input = display_name;
|
|
email_input = email;
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+layout.svelte:35:24
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other.
|
|
$slct.account_id = data.account_id;
|
|
$effect(() => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+layout.svelte:41:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
});
|
|
let ae_acct = data[$slct.account_id];
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+layout.svelte:48:9
|
|
Warn: `box` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
|
|
https://svelte.dev/e/non_reactive_update (svelte)
|
|
|
|
let box: any;
|
|
let xLeft = $state(0);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+page.svelte:189:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-sm font-bold opacity-75">Journal Name</label>
|
|
<input
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/+page.svelte:198:17
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="space-y-1">
|
|
<label class="label text-sm font-bold opacity-75">Type Code</label>
|
|
<input
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/ae_comp__journal_entry_obj_li.svelte:258:66
|
|
Error: 'result' is possibly 'null'. (ts)
|
|
goto(
|
|
`/journals/${result.journal_id_random}/entry/${result.journal_entry_id_random}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/ae_comp__journal_entry_obj_li.svelte:258:100
|
|
Error: 'result' is possibly 'null'. (ts)
|
|
goto(
|
|
`/journals/${result.journal_id_random}/entry/${result.journal_entry_id_random}`
|
|
);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/ae_comp__journal_entry_obj_qry.svelte:72:13
|
|
Error: Argument of type '() => Promise<void>' is not assignable to parameter of type '() => void | (() => void)'.
|
|
Type 'Promise<void>' is not assignable to type 'void | (() => void)'. (ts)
|
|
// Trigger doing a search query for journal entries
|
|
$effect(async () => {
|
|
if ($journals_trig.journal_entry_qry) {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/ae_comp__modal_journal_export.svelte:134:13
|
|
Warn: A form label must be associated with a control
|
|
https://svelte.dev/e/a11y_label_has_associated_control (svelte)
|
|
<div class="form-control">
|
|
<label class="label flex justify-between items-center">
|
|
<span class="label-text">Preview</span>
|
|
<span class="text-[10px] opacity-50 uppercase tracking-widest">{selected_template.name}</span>
|
|
</label>
|
|
<textarea
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/ae_comp__obj_core_props.svelte:279:25
|
|
Error: Type 'string' is not assignable to type '"delete" | "soft_delete" | "disable" | "hide" | undefined'. (ts)
|
|
journal_entry_id: lq__journal_entry_obj?.journal_entry_id,
|
|
method: delete_method, // 'delete', 'disable', 'hide'
|
|
log_lvl: log_lvl
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+layout.svelte:27:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
|
|
let ae_acct = data[$slct.account_id];
|
|
$effect(() => {
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+layout.svelte:383:29
|
|
Error: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'. (ts)
|
|
api_cfg: $ae_api,
|
|
journal_id: $lq__journal_obj?.journal_id,
|
|
data_kv: data_kv,
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+page.svelte:79:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
let show_export_modal = $state(false);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/+page.svelte:367:9
|
|
Error: Type '(Journal_Entry | undefined)[]' is not assignable to type 'ae_JournalEntry[]'.
|
|
Type 'Journal_Entry | undefined' is not assignable to type 'ae_JournalEntry'.
|
|
Type 'undefined' is not assignable to type 'ae_JournalEntry'. (ts)
|
|
bind:open={show_export_modal}
|
|
entries={$lq__journal_entry_obj_li ?? []}
|
|
journal={$lq__journal_obj}
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/journals/[journal_id]/entry/[journal_entry_id]/+page.svelte:53:19
|
|
Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
|
|
https://svelte.dev/e/state_referenced_locally (svelte)
|
|
// *** Quickly pull out data from parent(s)
|
|
let ae_acct = data[$slct.account_id];
|
|
let show_export_modal = $state(false);
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/+page.svelte:186:17
|
|
Warn: Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
|
https://svelte.dev/e/element_invalid_self_closing_tag (svelte)
|
|
</div>
|
|
<div class="divider-vertical h-8" />
|
|
<div class="flex flex-col items-center px-2">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/+page.svelte:191:17
|
|
Warn: Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
|
https://svelte.dev/e/element_invalid_self_closing_tag (svelte)
|
|
</div>
|
|
<div class="divider-vertical h-8" />
|
|
<button class="btn-icon btn-icon-sm" onclick={update_db_counts} title="Refresh Counts">
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/+page.svelte:301:29
|
|
Warn: Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
|
https://svelte.dev/e/element_invalid_self_closing_tag (svelte)
|
|
<div class="placeholder animate-pulse space-y-4">
|
|
<div class="placeholder-circle w-12" />
|
|
<div class="placeholder-line w-full" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/+page.svelte:302:29
|
|
Warn: Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
|
https://svelte.dev/e/element_invalid_self_closing_tag (svelte)
|
|
<div class="placeholder-circle w-12" />
|
|
<div class="placeholder-line w-full" />
|
|
<div class="placeholder-line w-3/4" />
|
|
|
|
/home/scott/OSIT_dev/aether_app_sveltekit/src/routes/testing/+page.svelte:303:29
|
|
Warn: Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
|
https://svelte.dev/e/element_invalid_self_closing_tag (svelte)
|
|
<div class="placeholder-line w-full" />
|
|
<div class="placeholder-line w-3/4" />
|
|
</div>
|
|
|
|
====================================
|
|
svelte-check found 511 errors and 401 warnings in 140 files
|