feat: 更新环境变量声明并修改版本哈希
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
MSG_FILE="$1"
|
||||
HEADER="$(sed -n '1p' "$MSG_FILE" | tr -d '\r')"
|
||||
|
||||
# Allow merge commits and auto-generated revert headers.
|
||||
case "$HEADER" in
|
||||
"Merge "*|"Revert "*)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
PATTERN='^(feat|enhance|fix|refactor|perf|docs|test|build|ci|chore|revert)(\([a-zA-Z0-9._/-]+\))?: .+$'
|
||||
|
||||
if ! printf '%s\n' "$HEADER" | grep -Eq "$PATTERN"; then
|
||||
echo "提交信息格式不符合规范。" >&2
|
||||
echo "要求: <type>(<scope>): <subject> 或 <type>: <subject>" >&2
|
||||
echo "示例: enhance(ui): 优化首页按钮交互反馈与提示文案" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure subject contains at least one Chinese character.
|
||||
if ! printf '%s\n' "$HEADER" | grep -Eq '[一-龥]'; then
|
||||
echo "提交信息必须使用中文(subject 至少包含一个中文字符)。" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Reject sentence-ending Chinese period in header.
|
||||
if printf '%s\n' "$HEADER" | grep -Eq '。$'; then
|
||||
echo "subject 不要以句号结尾。" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
490
.svelte-kit/ambient.d.ts
vendored
490
.svelte-kit/ambient.d.ts
vendored
@@ -38,139 +38,140 @@
|
||||
* 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 AUTOJUMP_ERROR_PATH: string;
|
||||
export const GREP_COLOR: string;
|
||||
export const LDFLAGS: string;
|
||||
export const PYCHARM_VM_OPTIONS: string;
|
||||
export const STARSHIP_SHELL: string;
|
||||
export const WEBIDE_VM_OPTIONS: string;
|
||||
export const LESS_TERMCAP_mb: string;
|
||||
export const TERM_PROGRAM: string;
|
||||
export const FNM_LOGLEVEL: string;
|
||||
export const LESS_TERMCAP_md: string;
|
||||
export const NODE: string;
|
||||
export const ELECTRON_RUN_AS_NODE: string;
|
||||
export const ANDROID_API: string;
|
||||
export const ANDROID_HOME: string;
|
||||
export const AUTOJUMP_SOURCED: string;
|
||||
export const LESS_TERMCAP_me: string;
|
||||
export const JETBRAINSCLIENT_VM_OPTIONS: string;
|
||||
export const SHELL: string;
|
||||
export const TERM: string;
|
||||
export const FNM_NODE_DIST_MIRROR: string;
|
||||
export const CPPFLAGS: string;
|
||||
export const HOMEBREW_REPOSITORY: string;
|
||||
export const TMPDIR: string;
|
||||
export const TERM_PROGRAM_VERSION: string;
|
||||
export const HOMEBREW_AUTO_UPDATE_SECS: string;
|
||||
export const MallocNanoZone: string;
|
||||
export const TAURI_CLI_VERBOSITY: string;
|
||||
export const LESS_TERMCAP_ue: string;
|
||||
export const TAURI_ENV_DEBUG: string;
|
||||
export const JDK_17_HOME: string;
|
||||
export const GOPRIVATE: string;
|
||||
export const LC_ALL: string;
|
||||
export const PNPM_HOME: string;
|
||||
export const npm_config_local_prefix: string;
|
||||
export const BW_SESSION: string;
|
||||
export const FNM_COREPACK_ENABLED: string;
|
||||
export const LOGNOTE_HOME: string;
|
||||
export const USER: string;
|
||||
export const GM_QEMU_START_ARGS: string;
|
||||
export const TAURI_ENV_TARGET_TRIPLE: string;
|
||||
export const COMMAND_MODE: string;
|
||||
export const GREP_COLORS: string;
|
||||
export const CC_aarch64_unknown_linux_musl: string;
|
||||
export const HOMEBREW_INSTALL_FROM_API: string;
|
||||
export const PHPSTORM_VM_OPTIONS: string;
|
||||
export const SSH_AUTH_SOCK: string;
|
||||
export const PUB_HOSTED_URL: string;
|
||||
export const PYTORCH_ENABLE_MPS_FALLBACK: string;
|
||||
export const __CF_USER_TEXT_ENCODING: string;
|
||||
export const GOLAND_VM_OPTIONS: string;
|
||||
export const npm_execpath: string;
|
||||
export const ANDROID_NDK_HOME: string;
|
||||
export const APPCODE_VM_OPTIONS: string;
|
||||
export const GO111MODULE: string;
|
||||
export const TAURI_ENV_PLATFORM: string;
|
||||
export const FNM_VERSION_FILE_STRATEGY: string;
|
||||
export const JDK_21_HOME: string;
|
||||
export const LESS_TERMCAP_us: string;
|
||||
export const LSCOLORS: string;
|
||||
export const FNM_ARCH: string;
|
||||
export const AUTOJUMP_ERROR_PATH: string;
|
||||
export const AUTOJUMP_SOURCED: string;
|
||||
export const BUN_INSTALL: string;
|
||||
export const BW_SESSION: string;
|
||||
export const CC_aarch64_unknown_linux_musl: string;
|
||||
export const CIVITAI_TOKEN: string;
|
||||
export const DEVECOSTUDIO_VM_OPTIONS: string;
|
||||
export const PATH: string;
|
||||
export const RUSTROVER_VM_OPTIONS: string;
|
||||
export const GOPROXY: string;
|
||||
export const _: string;
|
||||
export const npm_package_json: string;
|
||||
export const TAURI_ENV_FAMILY: string;
|
||||
export const TAURI_ENV_PLATFORM_VERSION: string;
|
||||
export const __CFBundleIdentifier: string;
|
||||
export const PWD: string;
|
||||
export const npm_command: string;
|
||||
export const FLUTTER_STORAGE_BASE_URL: string;
|
||||
export const JAVA_HOME: string;
|
||||
export const VSCODE_NONCE: string;
|
||||
export const EDITOR: string;
|
||||
export const RUSTFLAGS: string;
|
||||
export const npm_lifecycle_event: string;
|
||||
export const CLION_VM_OPTIONS: string;
|
||||
export const IDEA_VM_OPTIONS: string;
|
||||
export const LANG: string;
|
||||
export const npm_package_name: string;
|
||||
export const BUN_INSPECT_CONNECT_TO: string;
|
||||
export const FNM_MULTISHELL_PATH: string;
|
||||
export const VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
|
||||
export const XPC_FLAGS: string;
|
||||
export const TAURI_ENV_ARCH: string;
|
||||
export const WEBSTORM_VM_OPTIONS: string;
|
||||
export const DATASPELL_VM_OPTIONS: string;
|
||||
export const JDK_8_HOME: string;
|
||||
export const COLORTERM: string;
|
||||
export const COMMAND_MODE: string;
|
||||
export const CPPFLAGS: string;
|
||||
export const CXX_aarch64_unknown_linux_musl: string;
|
||||
export const XPC_SERVICE_NAME: string;
|
||||
export const npm_package_version: string;
|
||||
export const DATAGRIP_VM_OPTIONS: string;
|
||||
export const DATASPELL_VM_OPTIONS: string;
|
||||
export const DEVECOSTUDIO_VM_OPTIONS: string;
|
||||
export const EDITOR: string;
|
||||
export const ELECTRON_MIRROR: string;
|
||||
export const ELECTRON_NO_ATTACH_CONSOLE: string;
|
||||
export const FLUTTER_STORAGE_BASE_URL: string;
|
||||
export const FNM_ARCH: string;
|
||||
export const FNM_COREPACK_ENABLED: string;
|
||||
export const FNM_DIR: string;
|
||||
export const FNM_LOGLEVEL: string;
|
||||
export const FNM_MULTISHELL_PATH: string;
|
||||
export const FNM_NODE_DIST_MIRROR: string;
|
||||
export const FNM_RESOLVE_ENGINES: string;
|
||||
export const FNM_VERSION_FILE_STRATEGY: string;
|
||||
export const GATEWAY_VM_OPTIONS: string;
|
||||
export const GHOSTTY_BIN_DIR: string;
|
||||
export const GHOSTTY_RESOURCES_DIR: string;
|
||||
export const GHOSTTY_SHELL_FEATURES: string;
|
||||
export const GM_QEMU_START_ARGS: string;
|
||||
export const GO111MODULE: string;
|
||||
export const GOLAND_VM_OPTIONS: string;
|
||||
export const GOPATH: string;
|
||||
export const GOPRIVATE: string;
|
||||
export const GOPROXY: string;
|
||||
export const GOSUMDB: string;
|
||||
export const GRADLE_USER_HOME: string;
|
||||
export const HOME: string;
|
||||
export const SHLVL: string;
|
||||
export const STUDIO_VM_OPTIONS: string;
|
||||
export const NPM_CONFIG_REGISTRY: string;
|
||||
export const VSCODE_GIT_ASKPASS_MAIN: string;
|
||||
export const HOMEBREW_PREFIX: string;
|
||||
export const FNM_DIR: string;
|
||||
export const LD_aarch64_unknown_linux_musl: string;
|
||||
export const RUSTUP_DIST_SERVER: string;
|
||||
export const LOGNAME: string;
|
||||
export const STARSHIP_SESSION_KEY: string;
|
||||
export const npm_lifecycle_script: string;
|
||||
export const GATEWAY_VM_OPTIONS: string;
|
||||
export const LESS_TERMCAP_so: string;
|
||||
export const VSCODE_GIT_IPC_HANDLE: string;
|
||||
export const GREP_COLOR: string;
|
||||
export const GREP_COLORS: string;
|
||||
export const HF_ENDPOINT: string;
|
||||
export const BUN_INSTALL: string;
|
||||
export const CODELLDB_LAUNCH_CONNECT_FILE: string;
|
||||
export const DATAGRIP_VM_OPTIONS: string;
|
||||
export const GOPATH: string;
|
||||
export const PKG_CONFIG_PATH: string;
|
||||
export const ANDROID_API: string;
|
||||
export const FNM_RESOLVE_ENGINES: string;
|
||||
export const GDK_DEBUG: string;
|
||||
export const JDK_11_HOME: string;
|
||||
export const npm_config_user_agent: string;
|
||||
export const ANDROID_NDK_HOME: string;
|
||||
export const GIT_ASKPASS: string;
|
||||
export const HOMEBREW_CELLAR: string;
|
||||
export const INFOPATH: string;
|
||||
export const VSCODE_GIT_ASKPASS_NODE: string;
|
||||
export const JETBRAINS_CLIENT_VM_OPTIONS: string;
|
||||
export const OSLogRateLimit: string;
|
||||
export const RIDER_VM_OPTIONS: string;
|
||||
export const HF_TOKEN: string;
|
||||
export const RUBYMINE_VM_OPTIONS: string;
|
||||
export const HOME: string;
|
||||
export const HOMEBREW_AUTO_UPDATE_SECS: string;
|
||||
export const HOMEBREW_CELLAR: string;
|
||||
export const HOMEBREW_INSTALL_FROM_API: string;
|
||||
export const HOMEBREW_NO_ENV_HINTS: string;
|
||||
export const RUSTUP_UPDATE_ROOT: string;
|
||||
export const COLORTERM: string;
|
||||
export const HOMEBREW_PREFIX: string;
|
||||
export const HOMEBREW_REPOSITORY: string;
|
||||
export const HTTPS_PROXY: string;
|
||||
export const HTTP_PROXY: string;
|
||||
export const IDEA_VM_OPTIONS: string;
|
||||
export const INFOPATH: string;
|
||||
export const JAVA_HOME: string;
|
||||
export const JDK_11_HOME: string;
|
||||
export const JDK_17_HOME: string;
|
||||
export const JDK_21_HOME: string;
|
||||
export const JDK_8_HOME: string;
|
||||
export const JETBRAINSCLIENT_VM_OPTIONS: string;
|
||||
export const JETBRAINS_CLIENT_VM_OPTIONS: string;
|
||||
export const LANG: string;
|
||||
export const LC_ALL: string;
|
||||
export const LDFLAGS: string;
|
||||
export const LD_aarch64_unknown_linux_musl: string;
|
||||
export const LESS_TERMCAP_mb: string;
|
||||
export const LESS_TERMCAP_md: string;
|
||||
export const LESS_TERMCAP_me: string;
|
||||
export const LESS_TERMCAP_se: string;
|
||||
export const npm_node_execpath: string;
|
||||
export const LESS_TERMCAP_so: string;
|
||||
export const LESS_TERMCAP_ue: string;
|
||||
export const LESS_TERMCAP_us: string;
|
||||
export const LOGNAME: string;
|
||||
export const LOGNOTE_HOME: string;
|
||||
export const LSCOLORS: string;
|
||||
export const MACH_PORT_RENDEZVOUS_PEER_VALDATION: string;
|
||||
export const MANPATH: string;
|
||||
export const MallocNanoZone: string;
|
||||
export const NPM_CONFIG_REGISTRY: string;
|
||||
export const OSLogRateLimit: string;
|
||||
export const PATH: string;
|
||||
export const PHPSTORM_VM_OPTIONS: string;
|
||||
export const PKG_CONFIG_PATH: string;
|
||||
export const PNPM_HOME: string;
|
||||
export const PUB_HOSTED_URL: string;
|
||||
export const PWD: string;
|
||||
export const PYCHARM_VM_OPTIONS: string;
|
||||
export const PYTORCH_ENABLE_MPS_FALLBACK: string;
|
||||
export const RIDER_VM_OPTIONS: string;
|
||||
export const RUBYMINE_VM_OPTIONS: string;
|
||||
export const RUSTFLAGS: string;
|
||||
export const RUSTROVER_VM_OPTIONS: string;
|
||||
export const RUSTUP_DIST_SERVER: string;
|
||||
export const RUSTUP_UPDATE_ROOT: string;
|
||||
export const SHELL: string;
|
||||
export const SHLVL: string;
|
||||
export const SSH_AUTH_SOCK: string;
|
||||
export const STARSHIP_SESSION_KEY: string;
|
||||
export const STARSHIP_SHELL: string;
|
||||
export const STUDIO_VM_OPTIONS: string;
|
||||
export const TERM: string;
|
||||
export const TERMINFO: string;
|
||||
export const TERM_PROGRAM: string;
|
||||
export const TERM_PROGRAM_VERSION: string;
|
||||
export const TMPDIR: string;
|
||||
export const USER: string;
|
||||
export const VSCODE_CLI: string;
|
||||
export const VSCODE_CODE_CACHE_PATH: string;
|
||||
export const VSCODE_CRASH_REPORTER_PROCESS_TYPE: string;
|
||||
export const VSCODE_CWD: string;
|
||||
export const VSCODE_ESM_ENTRYPOINT: string;
|
||||
export const VSCODE_HANDLES_UNCAUGHT_ERRORS: string;
|
||||
export const VSCODE_IPC_HOOK: string;
|
||||
export const VSCODE_NLS_CONFIG: string;
|
||||
export const VSCODE_PID: string;
|
||||
export const WEBIDE_VM_OPTIONS: string;
|
||||
export const WEBSTORM_VM_OPTIONS: string;
|
||||
export const XDG_DATA_DIRS: string;
|
||||
export const XPC_FLAGS: string;
|
||||
export const XPC_SERVICE_NAME: string;
|
||||
export const __CFBundleIdentifier: string;
|
||||
export const __CF_USER_TEXT_ENCODING: string;
|
||||
export const APPLICATION_INSIGHTS_NO_STATSBEAT: string;
|
||||
export const VSCODE_L10N_BUNDLE_LOCATION: string;
|
||||
export const APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: string;
|
||||
export const COPILOT_OTEL_ENABLED: string;
|
||||
export const OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT: string;
|
||||
export const COPILOT_OTEL_EXPORTER_TYPE: string;
|
||||
export const COPILOT_OTEL_FILE_EXPORTER_PATH: string;
|
||||
export const ELECTRON_NO_ASAR: string;
|
||||
export const NODE_ENV: string;
|
||||
}
|
||||
|
||||
@@ -258,139 +259,140 @@ declare module '$env/static/public' {
|
||||
*/
|
||||
declare module '$env/dynamic/private' {
|
||||
export const env: {
|
||||
AUTOJUMP_ERROR_PATH: string;
|
||||
GREP_COLOR: string;
|
||||
LDFLAGS: string;
|
||||
PYCHARM_VM_OPTIONS: string;
|
||||
STARSHIP_SHELL: string;
|
||||
WEBIDE_VM_OPTIONS: string;
|
||||
LESS_TERMCAP_mb: string;
|
||||
TERM_PROGRAM: string;
|
||||
FNM_LOGLEVEL: string;
|
||||
LESS_TERMCAP_md: string;
|
||||
NODE: string;
|
||||
ELECTRON_RUN_AS_NODE: string;
|
||||
ANDROID_API: string;
|
||||
ANDROID_HOME: string;
|
||||
AUTOJUMP_SOURCED: string;
|
||||
LESS_TERMCAP_me: string;
|
||||
JETBRAINSCLIENT_VM_OPTIONS: string;
|
||||
SHELL: string;
|
||||
TERM: string;
|
||||
FNM_NODE_DIST_MIRROR: string;
|
||||
CPPFLAGS: string;
|
||||
HOMEBREW_REPOSITORY: string;
|
||||
TMPDIR: string;
|
||||
TERM_PROGRAM_VERSION: string;
|
||||
HOMEBREW_AUTO_UPDATE_SECS: string;
|
||||
MallocNanoZone: string;
|
||||
TAURI_CLI_VERBOSITY: string;
|
||||
LESS_TERMCAP_ue: string;
|
||||
TAURI_ENV_DEBUG: string;
|
||||
JDK_17_HOME: string;
|
||||
GOPRIVATE: string;
|
||||
LC_ALL: string;
|
||||
PNPM_HOME: string;
|
||||
npm_config_local_prefix: string;
|
||||
BW_SESSION: string;
|
||||
FNM_COREPACK_ENABLED: string;
|
||||
LOGNOTE_HOME: string;
|
||||
USER: string;
|
||||
GM_QEMU_START_ARGS: string;
|
||||
TAURI_ENV_TARGET_TRIPLE: string;
|
||||
COMMAND_MODE: string;
|
||||
GREP_COLORS: string;
|
||||
CC_aarch64_unknown_linux_musl: string;
|
||||
HOMEBREW_INSTALL_FROM_API: string;
|
||||
PHPSTORM_VM_OPTIONS: string;
|
||||
SSH_AUTH_SOCK: string;
|
||||
PUB_HOSTED_URL: string;
|
||||
PYTORCH_ENABLE_MPS_FALLBACK: string;
|
||||
__CF_USER_TEXT_ENCODING: string;
|
||||
GOLAND_VM_OPTIONS: string;
|
||||
npm_execpath: string;
|
||||
ANDROID_NDK_HOME: string;
|
||||
APPCODE_VM_OPTIONS: string;
|
||||
GO111MODULE: string;
|
||||
TAURI_ENV_PLATFORM: string;
|
||||
FNM_VERSION_FILE_STRATEGY: string;
|
||||
JDK_21_HOME: string;
|
||||
LESS_TERMCAP_us: string;
|
||||
LSCOLORS: string;
|
||||
FNM_ARCH: string;
|
||||
AUTOJUMP_ERROR_PATH: string;
|
||||
AUTOJUMP_SOURCED: string;
|
||||
BUN_INSTALL: string;
|
||||
BW_SESSION: string;
|
||||
CC_aarch64_unknown_linux_musl: string;
|
||||
CIVITAI_TOKEN: string;
|
||||
DEVECOSTUDIO_VM_OPTIONS: string;
|
||||
PATH: string;
|
||||
RUSTROVER_VM_OPTIONS: string;
|
||||
GOPROXY: string;
|
||||
_: string;
|
||||
npm_package_json: string;
|
||||
TAURI_ENV_FAMILY: string;
|
||||
TAURI_ENV_PLATFORM_VERSION: string;
|
||||
__CFBundleIdentifier: string;
|
||||
PWD: string;
|
||||
npm_command: string;
|
||||
FLUTTER_STORAGE_BASE_URL: string;
|
||||
JAVA_HOME: string;
|
||||
VSCODE_NONCE: string;
|
||||
EDITOR: string;
|
||||
RUSTFLAGS: string;
|
||||
npm_lifecycle_event: string;
|
||||
CLION_VM_OPTIONS: string;
|
||||
IDEA_VM_OPTIONS: string;
|
||||
LANG: string;
|
||||
npm_package_name: string;
|
||||
BUN_INSPECT_CONNECT_TO: string;
|
||||
FNM_MULTISHELL_PATH: string;
|
||||
VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
|
||||
XPC_FLAGS: string;
|
||||
TAURI_ENV_ARCH: string;
|
||||
WEBSTORM_VM_OPTIONS: string;
|
||||
DATASPELL_VM_OPTIONS: string;
|
||||
JDK_8_HOME: string;
|
||||
COLORTERM: string;
|
||||
COMMAND_MODE: string;
|
||||
CPPFLAGS: string;
|
||||
CXX_aarch64_unknown_linux_musl: string;
|
||||
XPC_SERVICE_NAME: string;
|
||||
npm_package_version: string;
|
||||
DATAGRIP_VM_OPTIONS: string;
|
||||
DATASPELL_VM_OPTIONS: string;
|
||||
DEVECOSTUDIO_VM_OPTIONS: string;
|
||||
EDITOR: string;
|
||||
ELECTRON_MIRROR: string;
|
||||
ELECTRON_NO_ATTACH_CONSOLE: string;
|
||||
FLUTTER_STORAGE_BASE_URL: string;
|
||||
FNM_ARCH: string;
|
||||
FNM_COREPACK_ENABLED: string;
|
||||
FNM_DIR: string;
|
||||
FNM_LOGLEVEL: string;
|
||||
FNM_MULTISHELL_PATH: string;
|
||||
FNM_NODE_DIST_MIRROR: string;
|
||||
FNM_RESOLVE_ENGINES: string;
|
||||
FNM_VERSION_FILE_STRATEGY: string;
|
||||
GATEWAY_VM_OPTIONS: string;
|
||||
GHOSTTY_BIN_DIR: string;
|
||||
GHOSTTY_RESOURCES_DIR: string;
|
||||
GHOSTTY_SHELL_FEATURES: string;
|
||||
GM_QEMU_START_ARGS: string;
|
||||
GO111MODULE: string;
|
||||
GOLAND_VM_OPTIONS: string;
|
||||
GOPATH: string;
|
||||
GOPRIVATE: string;
|
||||
GOPROXY: string;
|
||||
GOSUMDB: string;
|
||||
GRADLE_USER_HOME: string;
|
||||
HOME: string;
|
||||
SHLVL: string;
|
||||
STUDIO_VM_OPTIONS: string;
|
||||
NPM_CONFIG_REGISTRY: string;
|
||||
VSCODE_GIT_ASKPASS_MAIN: string;
|
||||
HOMEBREW_PREFIX: string;
|
||||
FNM_DIR: string;
|
||||
LD_aarch64_unknown_linux_musl: string;
|
||||
RUSTUP_DIST_SERVER: string;
|
||||
LOGNAME: string;
|
||||
STARSHIP_SESSION_KEY: string;
|
||||
npm_lifecycle_script: string;
|
||||
GATEWAY_VM_OPTIONS: string;
|
||||
LESS_TERMCAP_so: string;
|
||||
VSCODE_GIT_IPC_HANDLE: string;
|
||||
GREP_COLOR: string;
|
||||
GREP_COLORS: string;
|
||||
HF_ENDPOINT: string;
|
||||
BUN_INSTALL: string;
|
||||
CODELLDB_LAUNCH_CONNECT_FILE: string;
|
||||
DATAGRIP_VM_OPTIONS: string;
|
||||
GOPATH: string;
|
||||
PKG_CONFIG_PATH: string;
|
||||
ANDROID_API: string;
|
||||
FNM_RESOLVE_ENGINES: string;
|
||||
GDK_DEBUG: string;
|
||||
JDK_11_HOME: string;
|
||||
npm_config_user_agent: string;
|
||||
ANDROID_NDK_HOME: string;
|
||||
GIT_ASKPASS: string;
|
||||
HOMEBREW_CELLAR: string;
|
||||
INFOPATH: string;
|
||||
VSCODE_GIT_ASKPASS_NODE: string;
|
||||
JETBRAINS_CLIENT_VM_OPTIONS: string;
|
||||
OSLogRateLimit: string;
|
||||
RIDER_VM_OPTIONS: string;
|
||||
HF_TOKEN: string;
|
||||
RUBYMINE_VM_OPTIONS: string;
|
||||
HOME: string;
|
||||
HOMEBREW_AUTO_UPDATE_SECS: string;
|
||||
HOMEBREW_CELLAR: string;
|
||||
HOMEBREW_INSTALL_FROM_API: string;
|
||||
HOMEBREW_NO_ENV_HINTS: string;
|
||||
RUSTUP_UPDATE_ROOT: string;
|
||||
COLORTERM: string;
|
||||
HOMEBREW_PREFIX: string;
|
||||
HOMEBREW_REPOSITORY: string;
|
||||
HTTPS_PROXY: string;
|
||||
HTTP_PROXY: string;
|
||||
IDEA_VM_OPTIONS: string;
|
||||
INFOPATH: string;
|
||||
JAVA_HOME: string;
|
||||
JDK_11_HOME: string;
|
||||
JDK_17_HOME: string;
|
||||
JDK_21_HOME: string;
|
||||
JDK_8_HOME: string;
|
||||
JETBRAINSCLIENT_VM_OPTIONS: string;
|
||||
JETBRAINS_CLIENT_VM_OPTIONS: string;
|
||||
LANG: string;
|
||||
LC_ALL: string;
|
||||
LDFLAGS: string;
|
||||
LD_aarch64_unknown_linux_musl: string;
|
||||
LESS_TERMCAP_mb: string;
|
||||
LESS_TERMCAP_md: string;
|
||||
LESS_TERMCAP_me: string;
|
||||
LESS_TERMCAP_se: string;
|
||||
npm_node_execpath: string;
|
||||
LESS_TERMCAP_so: string;
|
||||
LESS_TERMCAP_ue: string;
|
||||
LESS_TERMCAP_us: string;
|
||||
LOGNAME: string;
|
||||
LOGNOTE_HOME: string;
|
||||
LSCOLORS: string;
|
||||
MACH_PORT_RENDEZVOUS_PEER_VALDATION: string;
|
||||
MANPATH: string;
|
||||
MallocNanoZone: string;
|
||||
NPM_CONFIG_REGISTRY: string;
|
||||
OSLogRateLimit: string;
|
||||
PATH: string;
|
||||
PHPSTORM_VM_OPTIONS: string;
|
||||
PKG_CONFIG_PATH: string;
|
||||
PNPM_HOME: string;
|
||||
PUB_HOSTED_URL: string;
|
||||
PWD: string;
|
||||
PYCHARM_VM_OPTIONS: string;
|
||||
PYTORCH_ENABLE_MPS_FALLBACK: string;
|
||||
RIDER_VM_OPTIONS: string;
|
||||
RUBYMINE_VM_OPTIONS: string;
|
||||
RUSTFLAGS: string;
|
||||
RUSTROVER_VM_OPTIONS: string;
|
||||
RUSTUP_DIST_SERVER: string;
|
||||
RUSTUP_UPDATE_ROOT: string;
|
||||
SHELL: string;
|
||||
SHLVL: string;
|
||||
SSH_AUTH_SOCK: string;
|
||||
STARSHIP_SESSION_KEY: string;
|
||||
STARSHIP_SHELL: string;
|
||||
STUDIO_VM_OPTIONS: string;
|
||||
TERM: string;
|
||||
TERMINFO: string;
|
||||
TERM_PROGRAM: string;
|
||||
TERM_PROGRAM_VERSION: string;
|
||||
TMPDIR: string;
|
||||
USER: string;
|
||||
VSCODE_CLI: string;
|
||||
VSCODE_CODE_CACHE_PATH: string;
|
||||
VSCODE_CRASH_REPORTER_PROCESS_TYPE: string;
|
||||
VSCODE_CWD: string;
|
||||
VSCODE_ESM_ENTRYPOINT: string;
|
||||
VSCODE_HANDLES_UNCAUGHT_ERRORS: string;
|
||||
VSCODE_IPC_HOOK: string;
|
||||
VSCODE_NLS_CONFIG: string;
|
||||
VSCODE_PID: string;
|
||||
WEBIDE_VM_OPTIONS: string;
|
||||
WEBSTORM_VM_OPTIONS: string;
|
||||
XDG_DATA_DIRS: string;
|
||||
XPC_FLAGS: string;
|
||||
XPC_SERVICE_NAME: string;
|
||||
__CFBundleIdentifier: string;
|
||||
__CF_USER_TEXT_ENCODING: string;
|
||||
APPLICATION_INSIGHTS_NO_STATSBEAT: string;
|
||||
VSCODE_L10N_BUNDLE_LOCATION: string;
|
||||
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: string;
|
||||
COPILOT_OTEL_ENABLED: string;
|
||||
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT: string;
|
||||
COPILOT_OTEL_EXPORTER_TYPE: string;
|
||||
COPILOT_OTEL_FILE_EXPORTER_PATH: string;
|
||||
ELECTRON_NO_ASAR: string;
|
||||
NODE_ENV: string;
|
||||
[key: `PUBLIC_${string}`]: undefined;
|
||||
[key: `${string}`]: string | undefined;
|
||||
|
||||
@@ -25,7 +25,7 @@ export const options = {
|
||||
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>Tauri + SvelteKit + Typescript App</title>\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
|
||||
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
||||
},
|
||||
version_hash: "zolss1"
|
||||
version_hash: "cow4e7"
|
||||
};
|
||||
|
||||
export async function get_hooks() {
|
||||
|
||||
Reference in New Issue
Block a user