0284a2211a
- Add axis.js: length axis rectangle state, 28 tests - 71/71 unit tests green
455 lines
18 KiB
TypeScript
455 lines
18 KiB
TypeScript
|
|
// this file is generated — do not edit it
|
|
|
|
|
|
/// <reference types="@sveltejs/kit" />
|
|
|
|
/**
|
|
* This module provides access to environment variables that are injected _statically_ into your bundle at build time and are limited to _private_ access.
|
|
*
|
|
* | | Runtime | Build time |
|
|
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
*
|
|
* Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
*
|
|
* **_Private_ access:**
|
|
*
|
|
* - This module cannot be imported into client-side code
|
|
* - This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured)
|
|
*
|
|
* For example, given the following build time environment:
|
|
*
|
|
* ```env
|
|
* ENVIRONMENT=production
|
|
* PUBLIC_BASE_URL=http://site.com
|
|
* ```
|
|
*
|
|
* With the default `publicPrefix` and `privatePrefix`:
|
|
*
|
|
* ```ts
|
|
* import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/private';
|
|
*
|
|
* console.log(ENVIRONMENT); // => "production"
|
|
* console.log(PUBLIC_BASE_URL); // => throws error during build
|
|
* ```
|
|
*
|
|
* The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
|
|
*/
|
|
declare module '$env/static/private' {
|
|
export const LESSOPEN: string;
|
|
export const TMUX: string;
|
|
export const HERMES_DELEGATED_CHILD_CONTEXT: string;
|
|
export const timezone: string;
|
|
export const CUDACXX: string;
|
|
export const BROWSERBASE_PROXIES: string;
|
|
export const HERMES_RESTART_DRAIN_TIMEOUT: string;
|
|
export const _HERMES_GATEWAY: string;
|
|
export const AI_AGENT: string;
|
|
export const USER: string;
|
|
export const SSH_CLIENT: string;
|
|
export const npm_config_user_agent: string;
|
|
export const TERMINAL_CONTAINER_CPU: string;
|
|
export const AGENT_BROWSER_EXECUTABLE_PATH: string;
|
|
export const TERMINAL_DOCKER_ENV: string;
|
|
export const TERMINAL_CWD: string;
|
|
export const HERMES_REAL_HOME: string;
|
|
export const XDG_SESSION_TYPE: string;
|
|
export const npm_node_execpath: string;
|
|
export const SHLVL: string;
|
|
export const HERMES_PROFILE: string;
|
|
export const npm_config_noproxy: string;
|
|
export const HOME: string;
|
|
export const OLDPWD: string;
|
|
export const TERMINAL_DOCKER_FORWARD_ENV: string;
|
|
export const TERM_PROGRAM_VERSION: string;
|
|
export const BROWSER_SESSION_TIMEOUT: string;
|
|
export const HERMES_KANBAN_BOARD: string;
|
|
export const SSH_TTY: string;
|
|
export const HERMES_HOME: string;
|
|
export const npm_package_json: string;
|
|
export const TERMINAL_DOCKER_EXTRA_ARGS: string;
|
|
export const HF_HUB_DISABLE_XET: string;
|
|
export const IM_CONFIG_ENTRY: string;
|
|
export const TERMINAL_DOCKER_IMAGE: string;
|
|
export const PAGER: string;
|
|
export const TERMINAL_DOCKER_MOUNT_CWD_TO_WORKSPACE: string;
|
|
export const TERMINAL_CONTAINER_MEMORY: string;
|
|
export const SSL_CERT_FILE: string;
|
|
export const TERMINAL_CONTAINER_PERSISTENT: string;
|
|
export const npm_config_userconfig: string;
|
|
export const npm_config_local_prefix: string;
|
|
export const HERMES_TURN_LEASE_TIMEOUT: string;
|
|
export const HERMES_MEDIA_DELIVERY_STRICT: string;
|
|
export const TERMINAL_MODAL_IMAGE: string;
|
|
export const DBUS_SESSION_BUS_ADDRESS: string;
|
|
export const COLORTERM: string;
|
|
export const TERMINAL_DOCKER_NETWORK: string;
|
|
export const file_read_max_chars: string;
|
|
export const COLOR: string;
|
|
export const DEBUGINFOD_URLS: string;
|
|
export const TERMINAL_DOCKER_VOLUMES: string;
|
|
export const TERMINAL_ENV: string;
|
|
export const TERMINAL_VERCEL_RUNTIME: string;
|
|
export const LOGNAME: string;
|
|
export const HERMES_KANBAN_DB: string;
|
|
export const IMAGE_TOOLS_DEBUG: string;
|
|
export const _: string;
|
|
export const npm_config_prefix: string;
|
|
export const npm_config_npm_version: string;
|
|
export const group_sessions_per_user: string;
|
|
export const HERMES_KANBAN_WORKSPACES_ROOT: string;
|
|
export const HERMES_SINGLE_QUERY_SESSION: string;
|
|
export const XDG_SESSION_CLASS: string;
|
|
export const BROWSERBASE_ADVANCED_STEALTH: string;
|
|
export const paste_collapse_threshold: string;
|
|
export const TERM: string;
|
|
export const TERMINAL_DAYTONA_IMAGE: string;
|
|
export const XDG_SESSION_ID: string;
|
|
export const npm_config_cache: string;
|
|
export const TERMINAL_TEMP_DIR: string;
|
|
export const TERMINAL_LIFETIME_SECONDS: string;
|
|
export const TERMINAL_TIMEOUT: string;
|
|
export const HERMES_GATEWAY_BUSY_INPUT_MODE: string;
|
|
export const paste_collapse_char_threshold: string;
|
|
export const TERMINAL_DOCKER_SHARED_CONTAINER_KEY: string;
|
|
export const npm_config_node_gyp: string;
|
|
export const PATH: string;
|
|
export const HERMES_AGENT_TIMEOUT: string;
|
|
export const NODE: string;
|
|
export const TERMINAL_DOCKER_SHM_SIZE: string;
|
|
export const HERMES_KANBAN_WORKSPACE: string;
|
|
export const XDG_RUNTIME_DIR: string;
|
|
export const TERMINAL_PERSISTENT_SHELL: string;
|
|
export const LANG: string;
|
|
export const HERMES_QUIET: string;
|
|
export const MOA_TOOLS_DEBUG: string;
|
|
export const HERMES_MEDIA_TRUST_RECENT_FILES: string;
|
|
export const LS_COLORS: string;
|
|
export const HERMES_MEDIA_TRUST_RECENT_SECONDS: string;
|
|
export const HERMES_MAX_ITERATIONS: string;
|
|
export const TERM_PROGRAM: string;
|
|
export const npm_lifecycle_script: string;
|
|
export const HERMES_SESSION_ID: string;
|
|
export const HERMES_AGENT_TIMEOUT_WARNING: string;
|
|
export const prefill_messages_file: string;
|
|
export const SHELL: string;
|
|
export const HERMES_AGENT_NOTIFY_INTERVAL: string;
|
|
export const TERMINAL_DEGRADED_MODE: string;
|
|
export const TERMINAL_MODAL_MODE: string;
|
|
export const npm_lifecycle_event: string;
|
|
export const WEB_TOOLS_DEBUG: string;
|
|
export const VISION_TOOLS_DEBUG: string;
|
|
export const LESSCLOSE: string;
|
|
export const TERMINAL_CONTAINER_DISK: string;
|
|
export const TERMINAL_DOCKER_RUN_AS_HOST_USER: string;
|
|
export const GIT_PAGER: string;
|
|
export const paste_collapse_threshold_fallback: string;
|
|
export const npm_config_globalconfig: string;
|
|
export const npm_config_init_module: string;
|
|
export const PWD: string;
|
|
export const HERMES_INTERACTIVE: string;
|
|
export const _config_version: string;
|
|
export const HERMES_AUTO_CONTINUE_FRESHNESS: string;
|
|
export const npm_execpath: string;
|
|
export const SSH_CONNECTION: string;
|
|
export const XDG_DATA_DIRS: string;
|
|
export const npm_config_global_prefix: string;
|
|
export const hooks_auto_accept: string;
|
|
export const npm_command: string;
|
|
export const TMUX_PLUGIN_MANAGER_PATH: string;
|
|
export const BROWSER_INACTIVITY_TIMEOUT: string;
|
|
export const HERMES_REDACT_SECRETS: string;
|
|
export const HERMES_CUSTOM_192_168_1_203_8084_API_KEY: string;
|
|
export const TERMINAL_SINGULARITY_IMAGE: string;
|
|
export const TMUX_PANE: string;
|
|
export const TERMINAL_HOME_MODE: string;
|
|
export const TERMINAL_DOCKER_SNAP_COMPAT: string;
|
|
export const HERMES_AGENT: string;
|
|
export const HERMES_SESSION_SOURCE: string;
|
|
export const INIT_CWD: string;
|
|
export const EDITOR: string;
|
|
export const TEST: string;
|
|
export const VITEST: string;
|
|
export const NODE_ENV: string;
|
|
}
|
|
|
|
/**
|
|
* This module provides access to environment variables that are injected _statically_ into your bundle at build time and are _publicly_ accessible.
|
|
*
|
|
* | | Runtime | Build time |
|
|
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
*
|
|
* Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
*
|
|
* **_Public_ access:**
|
|
*
|
|
* - This module _can_ be imported into client-side code
|
|
* - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included
|
|
*
|
|
* For example, given the following build time environment:
|
|
*
|
|
* ```env
|
|
* ENVIRONMENT=production
|
|
* PUBLIC_BASE_URL=http://site.com
|
|
* ```
|
|
*
|
|
* With the default `publicPrefix` and `privatePrefix`:
|
|
*
|
|
* ```ts
|
|
* import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/public';
|
|
*
|
|
* console.log(ENVIRONMENT); // => throws error during build
|
|
* console.log(PUBLIC_BASE_URL); // => "http://site.com"
|
|
* ```
|
|
*
|
|
* The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
|
|
*/
|
|
declare module '$env/static/public' {
|
|
|
|
}
|
|
|
|
/**
|
|
* This module provides access to environment variables set _dynamically_ at runtime and that are limited to _private_ access.
|
|
*
|
|
* | | Runtime | Build time |
|
|
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
*
|
|
* Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`.
|
|
*
|
|
* **_Private_ access:**
|
|
*
|
|
* - This module cannot be imported into client-side code
|
|
* - This module includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured)
|
|
*
|
|
* > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
*
|
|
* > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
* >
|
|
* > ```env
|
|
* > MY_FEATURE_FLAG=
|
|
* > ```
|
|
* >
|
|
* > You can override `.env` values from the command line like so:
|
|
* >
|
|
* > ```sh
|
|
* > MY_FEATURE_FLAG="enabled" npm run dev
|
|
* > ```
|
|
*
|
|
* For example, given the following runtime environment:
|
|
*
|
|
* ```env
|
|
* ENVIRONMENT=production
|
|
* PUBLIC_BASE_URL=http://site.com
|
|
* ```
|
|
*
|
|
* With the default `publicPrefix` and `privatePrefix`:
|
|
*
|
|
* ```ts
|
|
* import { env } from '$env/dynamic/private';
|
|
*
|
|
* console.log(env.ENVIRONMENT); // => "production"
|
|
* console.log(env.PUBLIC_BASE_URL); // => undefined
|
|
* ```
|
|
*/
|
|
declare module '$env/dynamic/private' {
|
|
export const env: {
|
|
LESSOPEN: string;
|
|
TMUX: string;
|
|
HERMES_DELEGATED_CHILD_CONTEXT: string;
|
|
timezone: string;
|
|
CUDACXX: string;
|
|
BROWSERBASE_PROXIES: string;
|
|
HERMES_RESTART_DRAIN_TIMEOUT: string;
|
|
_HERMES_GATEWAY: string;
|
|
AI_AGENT: string;
|
|
USER: string;
|
|
SSH_CLIENT: string;
|
|
npm_config_user_agent: string;
|
|
TERMINAL_CONTAINER_CPU: string;
|
|
AGENT_BROWSER_EXECUTABLE_PATH: string;
|
|
TERMINAL_DOCKER_ENV: string;
|
|
TERMINAL_CWD: string;
|
|
HERMES_REAL_HOME: string;
|
|
XDG_SESSION_TYPE: string;
|
|
npm_node_execpath: string;
|
|
SHLVL: string;
|
|
HERMES_PROFILE: string;
|
|
npm_config_noproxy: string;
|
|
HOME: string;
|
|
OLDPWD: string;
|
|
TERMINAL_DOCKER_FORWARD_ENV: string;
|
|
TERM_PROGRAM_VERSION: string;
|
|
BROWSER_SESSION_TIMEOUT: string;
|
|
HERMES_KANBAN_BOARD: string;
|
|
SSH_TTY: string;
|
|
HERMES_HOME: string;
|
|
npm_package_json: string;
|
|
TERMINAL_DOCKER_EXTRA_ARGS: string;
|
|
HF_HUB_DISABLE_XET: string;
|
|
IM_CONFIG_ENTRY: string;
|
|
TERMINAL_DOCKER_IMAGE: string;
|
|
PAGER: string;
|
|
TERMINAL_DOCKER_MOUNT_CWD_TO_WORKSPACE: string;
|
|
TERMINAL_CONTAINER_MEMORY: string;
|
|
SSL_CERT_FILE: string;
|
|
TERMINAL_CONTAINER_PERSISTENT: string;
|
|
npm_config_userconfig: string;
|
|
npm_config_local_prefix: string;
|
|
HERMES_TURN_LEASE_TIMEOUT: string;
|
|
HERMES_MEDIA_DELIVERY_STRICT: string;
|
|
TERMINAL_MODAL_IMAGE: string;
|
|
DBUS_SESSION_BUS_ADDRESS: string;
|
|
COLORTERM: string;
|
|
TERMINAL_DOCKER_NETWORK: string;
|
|
file_read_max_chars: string;
|
|
COLOR: string;
|
|
DEBUGINFOD_URLS: string;
|
|
TERMINAL_DOCKER_VOLUMES: string;
|
|
TERMINAL_ENV: string;
|
|
TERMINAL_VERCEL_RUNTIME: string;
|
|
LOGNAME: string;
|
|
HERMES_KANBAN_DB: string;
|
|
IMAGE_TOOLS_DEBUG: string;
|
|
_: string;
|
|
npm_config_prefix: string;
|
|
npm_config_npm_version: string;
|
|
group_sessions_per_user: string;
|
|
HERMES_KANBAN_WORKSPACES_ROOT: string;
|
|
HERMES_SINGLE_QUERY_SESSION: string;
|
|
XDG_SESSION_CLASS: string;
|
|
BROWSERBASE_ADVANCED_STEALTH: string;
|
|
paste_collapse_threshold: string;
|
|
TERM: string;
|
|
TERMINAL_DAYTONA_IMAGE: string;
|
|
XDG_SESSION_ID: string;
|
|
npm_config_cache: string;
|
|
TERMINAL_TEMP_DIR: string;
|
|
TERMINAL_LIFETIME_SECONDS: string;
|
|
TERMINAL_TIMEOUT: string;
|
|
HERMES_GATEWAY_BUSY_INPUT_MODE: string;
|
|
paste_collapse_char_threshold: string;
|
|
TERMINAL_DOCKER_SHARED_CONTAINER_KEY: string;
|
|
npm_config_node_gyp: string;
|
|
PATH: string;
|
|
HERMES_AGENT_TIMEOUT: string;
|
|
NODE: string;
|
|
TERMINAL_DOCKER_SHM_SIZE: string;
|
|
HERMES_KANBAN_WORKSPACE: string;
|
|
XDG_RUNTIME_DIR: string;
|
|
TERMINAL_PERSISTENT_SHELL: string;
|
|
LANG: string;
|
|
HERMES_QUIET: string;
|
|
MOA_TOOLS_DEBUG: string;
|
|
HERMES_MEDIA_TRUST_RECENT_FILES: string;
|
|
LS_COLORS: string;
|
|
HERMES_MEDIA_TRUST_RECENT_SECONDS: string;
|
|
HERMES_MAX_ITERATIONS: string;
|
|
TERM_PROGRAM: string;
|
|
npm_lifecycle_script: string;
|
|
HERMES_SESSION_ID: string;
|
|
HERMES_AGENT_TIMEOUT_WARNING: string;
|
|
prefill_messages_file: string;
|
|
SHELL: string;
|
|
HERMES_AGENT_NOTIFY_INTERVAL: string;
|
|
TERMINAL_DEGRADED_MODE: string;
|
|
TERMINAL_MODAL_MODE: string;
|
|
npm_lifecycle_event: string;
|
|
WEB_TOOLS_DEBUG: string;
|
|
VISION_TOOLS_DEBUG: string;
|
|
LESSCLOSE: string;
|
|
TERMINAL_CONTAINER_DISK: string;
|
|
TERMINAL_DOCKER_RUN_AS_HOST_USER: string;
|
|
GIT_PAGER: string;
|
|
paste_collapse_threshold_fallback: string;
|
|
npm_config_globalconfig: string;
|
|
npm_config_init_module: string;
|
|
PWD: string;
|
|
HERMES_INTERACTIVE: string;
|
|
_config_version: string;
|
|
HERMES_AUTO_CONTINUE_FRESHNESS: string;
|
|
npm_execpath: string;
|
|
SSH_CONNECTION: string;
|
|
XDG_DATA_DIRS: string;
|
|
npm_config_global_prefix: string;
|
|
hooks_auto_accept: string;
|
|
npm_command: string;
|
|
TMUX_PLUGIN_MANAGER_PATH: string;
|
|
BROWSER_INACTIVITY_TIMEOUT: string;
|
|
HERMES_REDACT_SECRETS: string;
|
|
HERMES_CUSTOM_192_168_1_203_8084_API_KEY: string;
|
|
TERMINAL_SINGULARITY_IMAGE: string;
|
|
TMUX_PANE: string;
|
|
TERMINAL_HOME_MODE: string;
|
|
TERMINAL_DOCKER_SNAP_COMPAT: string;
|
|
HERMES_AGENT: string;
|
|
HERMES_SESSION_SOURCE: string;
|
|
INIT_CWD: string;
|
|
EDITOR: string;
|
|
TEST: string;
|
|
VITEST: string;
|
|
NODE_ENV: string;
|
|
[key: `PUBLIC_${string}`]: undefined;
|
|
[key: `${string}`]: string | undefined;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* This module provides access to environment variables set _dynamically_ at runtime and that are _publicly_ accessible.
|
|
*
|
|
* | | Runtime | Build time |
|
|
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
*
|
|
* Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`.
|
|
*
|
|
* **_Public_ access:**
|
|
*
|
|
* - This module _can_ be imported into client-side code
|
|
* - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included
|
|
*
|
|
* > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
*
|
|
* > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
* >
|
|
* > ```env
|
|
* > MY_FEATURE_FLAG=
|
|
* > ```
|
|
* >
|
|
* > You can override `.env` values from the command line like so:
|
|
* >
|
|
* > ```sh
|
|
* > MY_FEATURE_FLAG="enabled" npm run dev
|
|
* > ```
|
|
*
|
|
* For example, given the following runtime environment:
|
|
*
|
|
* ```env
|
|
* ENVIRONMENT=production
|
|
* PUBLIC_BASE_URL=http://example.com
|
|
* ```
|
|
*
|
|
* With the default `publicPrefix` and `privatePrefix`:
|
|
*
|
|
* ```ts
|
|
* import { env } from '$env/dynamic/public';
|
|
* console.log(env.ENVIRONMENT); // => undefined, not public
|
|
* console.log(env.PUBLIC_BASE_URL); // => "http://example.com"
|
|
* ```
|
|
*
|
|
* ```
|
|
*
|
|
* ```
|
|
*/
|
|
declare module '$env/dynamic/public' {
|
|
export const env: {
|
|
[key: `PUBLIC_${string}`]: string | undefined;
|
|
}
|
|
}
|