-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,318 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/node_modules/ | ||
/public/build/ | ||
|
||
.DS_Store | ||
.svelte-kit/generated | ||
.svelte-kit/types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,279 @@ | ||
|
||
// this file is generated — do not edit it | ||
|
||
|
||
/// <reference types="@sveltejs/kit" /> | ||
|
||
/** | ||
* Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env). | ||
* | ||
* _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination. | ||
* | ||
* ```ts | ||
* import { API_KEY } from '$env/static/private'; | ||
* ``` | ||
* | ||
* Note that all 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: | ||
* | ||
* ``` | ||
* MY_FEATURE_FLAG="" | ||
* ``` | ||
* | ||
* You can override `.env` values from the command line like so: | ||
* | ||
* ```bash | ||
* MY_FEATURE_FLAG="enabled" npm run dev | ||
* ``` | ||
*/ | ||
declare module '$env/static/private' { | ||
export const TERM_PROGRAM: string; | ||
export const NODE: string; | ||
export const INIT_CWD: string; | ||
export const npm_package_devDependencies_typescript: string; | ||
export const npm_package_homepage: string; | ||
export const npm_config_version_git_tag: string; | ||
export const SHELL: string; | ||
export const TERM: string; | ||
export const npm_package_devDependencies_vite: string; | ||
export const npm_package_dependencies_scenejs: string; | ||
export const TMPDIR: string; | ||
export const npm_config_init_license: string; | ||
export const TERM_PROGRAM_VERSION: string; | ||
export const npm_package_scripts_dev: string; | ||
export const MallocNanoZone: string; | ||
export const ORIGINAL_XDG_CURRENT_DESKTOP: string; | ||
export const ZDOTDIR: string; | ||
export const npm_package_keywords_12: string; | ||
export const npm_package_devDependencies__sveltejs_kit: string; | ||
export const npm_package_keywords_11: string; | ||
export const npm_package_sideEffects: string; | ||
export const npm_config_registry: string; | ||
export const npm_package_repository_url: string; | ||
export const npm_package_keywords_10: string; | ||
export const npm_package_readmeFilename: string; | ||
export const npm_package_lernaHelperReleaseType: string; | ||
export const USER: string; | ||
export const npm_package_description: string; | ||
export const npm_package_license: string; | ||
export const COMMAND_MODE: string; | ||
export const SSH_AUTH_SOCK: string; | ||
export const __CF_USER_TEXT_ENCODING: string; | ||
export const npm_execpath: string; | ||
export const npm_package_devDependencies_tslib: string; | ||
export const npm_package_devDependencies_svelte: string; | ||
export const npm_package_module: string; | ||
export const npm_package_author_name: string; | ||
export const PATH: string; | ||
export const npm_config_argv: string; | ||
export const _: string; | ||
export const __CFBundleIdentifier: string; | ||
export const USER_ZDOTDIR: string; | ||
export const npm_package_keywords_4: string; | ||
export const PWD: string; | ||
export const npm_package_keywords_5: string; | ||
export const npm_package_bugs_url: string; | ||
export const npm_package_keywords_6: string; | ||
export const npm_lifecycle_event: string; | ||
export const npm_package_keywords_7: string; | ||
export const LANG: string; | ||
export const npm_package_repository_type: string; | ||
export const npm_package_keywords_0: string; | ||
export const npm_package_types: string; | ||
export const npm_package_svelte: string; | ||
export const npm_package_name: string; | ||
export const npm_package_keywords_1: string; | ||
export const npm_package_scripts_build: string; | ||
export const npm_package_scripts_start: string; | ||
export const npm_package_keywords_2: string; | ||
export const npm_package_lernaHelperPublishTag: string; | ||
export const npm_config_version_commit_hooks: string; | ||
export const XPC_FLAGS: string; | ||
export const VSCODE_GIT_ASKPASS_EXTRA_ARGS: string; | ||
export const npm_package_keywords_3: string; | ||
export const npm_config_bin_links: string; | ||
export const npm_package_main: string; | ||
export const XPC_SERVICE_NAME: string; | ||
export const npm_package_devDependencies__sveltejs_adapter_auto: string; | ||
export const npm_package_version: string; | ||
export const VSCODE_INJECTION: string; | ||
export const npm_package_devDependencies_svelte_check: string; | ||
export const npm_package_keywords_8: string; | ||
export const HOME: string; | ||
export const SHLVL: string; | ||
export const npm_package_devDependencies__daybrush_builder: string; | ||
export const npm_package_keywords_9: string; | ||
export const npm_package_type: string; | ||
export const VSCODE_GIT_ASKPASS_MAIN: string; | ||
export const npm_config_save_prefix: string; | ||
export const npm_config_strict_ssl: string; | ||
export const npm_config_version_git_message: string; | ||
export const LOGNAME: string; | ||
export const YARN_WRAP_OUTPUT: string; | ||
export const npm_lifecycle_script: string; | ||
export const VSCODE_GIT_IPC_HANDLE: string; | ||
export const npm_config_version_git_sign: string; | ||
export const npm_config_ignore_scripts: string; | ||
export const npm_config_user_agent: string; | ||
export const GIT_ASKPASS: string; | ||
export const VSCODE_GIT_ASKPASS_NODE: string; | ||
export const npm_package_dependencies__cfcs_svelte: string; | ||
export const npm_package_files_1: string; | ||
export const npm_package_files_0: string; | ||
export const npm_config_init_version: string; | ||
export const npm_config_ignore_optional: string; | ||
export const npm_package_scripts_declaration: string; | ||
export const GH_TOKEN: string; | ||
export const COLORTERM: string; | ||
export const npm_node_execpath: string; | ||
export const npm_config_version_tag_prefix: string; | ||
export const NODE_ENV: string; | ||
} | ||
|
||
/** | ||
* Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code. | ||
* | ||
* Values are replaced statically at build time. | ||
* | ||
* ```ts | ||
* import { PUBLIC_BASE_URL } from '$env/static/public'; | ||
* ``` | ||
*/ | ||
declare module '$env/static/public' { | ||
|
||
} | ||
|
||
/** | ||
* This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) (or running [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env). | ||
* | ||
* This module cannot be imported into client-side code. | ||
* | ||
* ```ts | ||
* import { env } from '$env/dynamic/private'; | ||
* console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE); | ||
* ``` | ||
* | ||
* > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter. | ||
*/ | ||
declare module '$env/dynamic/private' { | ||
export const env: { | ||
TERM_PROGRAM: string; | ||
NODE: string; | ||
INIT_CWD: string; | ||
npm_package_devDependencies_typescript: string; | ||
npm_package_homepage: string; | ||
npm_config_version_git_tag: string; | ||
SHELL: string; | ||
TERM: string; | ||
npm_package_devDependencies_vite: string; | ||
npm_package_dependencies_scenejs: string; | ||
TMPDIR: string; | ||
npm_config_init_license: string; | ||
TERM_PROGRAM_VERSION: string; | ||
npm_package_scripts_dev: string; | ||
MallocNanoZone: string; | ||
ORIGINAL_XDG_CURRENT_DESKTOP: string; | ||
ZDOTDIR: string; | ||
npm_package_keywords_12: string; | ||
npm_package_devDependencies__sveltejs_kit: string; | ||
npm_package_keywords_11: string; | ||
npm_package_sideEffects: string; | ||
npm_config_registry: string; | ||
npm_package_repository_url: string; | ||
npm_package_keywords_10: string; | ||
npm_package_readmeFilename: string; | ||
npm_package_lernaHelperReleaseType: string; | ||
USER: string; | ||
npm_package_description: string; | ||
npm_package_license: string; | ||
COMMAND_MODE: string; | ||
SSH_AUTH_SOCK: string; | ||
__CF_USER_TEXT_ENCODING: string; | ||
npm_execpath: string; | ||
npm_package_devDependencies_tslib: string; | ||
npm_package_devDependencies_svelte: string; | ||
npm_package_module: string; | ||
npm_package_author_name: string; | ||
PATH: string; | ||
npm_config_argv: string; | ||
_: string; | ||
__CFBundleIdentifier: string; | ||
USER_ZDOTDIR: string; | ||
npm_package_keywords_4: string; | ||
PWD: string; | ||
npm_package_keywords_5: string; | ||
npm_package_bugs_url: string; | ||
npm_package_keywords_6: string; | ||
npm_lifecycle_event: string; | ||
npm_package_keywords_7: string; | ||
LANG: string; | ||
npm_package_repository_type: string; | ||
npm_package_keywords_0: string; | ||
npm_package_types: string; | ||
npm_package_svelte: string; | ||
npm_package_name: string; | ||
npm_package_keywords_1: string; | ||
npm_package_scripts_build: string; | ||
npm_package_scripts_start: string; | ||
npm_package_keywords_2: string; | ||
npm_package_lernaHelperPublishTag: string; | ||
npm_config_version_commit_hooks: string; | ||
XPC_FLAGS: string; | ||
VSCODE_GIT_ASKPASS_EXTRA_ARGS: string; | ||
npm_package_keywords_3: string; | ||
npm_config_bin_links: string; | ||
npm_package_main: string; | ||
XPC_SERVICE_NAME: string; | ||
npm_package_devDependencies__sveltejs_adapter_auto: string; | ||
npm_package_version: string; | ||
VSCODE_INJECTION: string; | ||
npm_package_devDependencies_svelte_check: string; | ||
npm_package_keywords_8: string; | ||
HOME: string; | ||
SHLVL: string; | ||
npm_package_devDependencies__daybrush_builder: string; | ||
npm_package_keywords_9: string; | ||
npm_package_type: string; | ||
VSCODE_GIT_ASKPASS_MAIN: string; | ||
npm_config_save_prefix: string; | ||
npm_config_strict_ssl: string; | ||
npm_config_version_git_message: string; | ||
LOGNAME: string; | ||
YARN_WRAP_OUTPUT: string; | ||
npm_lifecycle_script: string; | ||
VSCODE_GIT_IPC_HANDLE: string; | ||
npm_config_version_git_sign: string; | ||
npm_config_ignore_scripts: string; | ||
npm_config_user_agent: string; | ||
GIT_ASKPASS: string; | ||
VSCODE_GIT_ASKPASS_NODE: string; | ||
npm_package_dependencies__cfcs_svelte: string; | ||
npm_package_files_1: string; | ||
npm_package_files_0: string; | ||
npm_config_init_version: string; | ||
npm_config_ignore_optional: string; | ||
npm_package_scripts_declaration: string; | ||
GH_TOKEN: string; | ||
COLORTERM: string; | ||
npm_node_execpath: string; | ||
npm_config_version_tag_prefix: string; | ||
NODE_ENV: string; | ||
[key: `PUBLIC_${string}`]: undefined; | ||
[key: string]: string | undefined; | ||
} | ||
} | ||
|
||
/** | ||
* Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code. | ||
* | ||
* Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead. | ||
* | ||
* ```ts | ||
* import { env } from '$env/dynamic/public'; | ||
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE); | ||
* ``` | ||
*/ | ||
declare module '$env/dynamic/public' { | ||
export const env: { | ||
[key: `PUBLIC_${string}`]: string | undefined; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"paths": {}, | ||
"rootDirs": [ | ||
"..", | ||
"./types" | ||
], | ||
"importsNotUsedAsValues": "error", | ||
"isolatedModules": true, | ||
"preserveValueImports": true, | ||
"lib": [ | ||
"esnext", | ||
"DOM", | ||
"DOM.Iterable" | ||
], | ||
"moduleResolution": "node", | ||
"module": "esnext", | ||
"target": "esnext" | ||
}, | ||
"include": [ | ||
"ambient.d.ts", | ||
"./types/**/$types.d.ts", | ||
"../vite.config.ts", | ||
"../src/**/*.js", | ||
"../src/**/*.ts", | ||
"../src/**/*.svelte", | ||
"../src/**/*.js", | ||
"../src/**/*.ts", | ||
"../src/**/*.svelte", | ||
"../tests/**/*.js", | ||
"../tests/**/*.ts", | ||
"../tests/**/*.svelte" | ||
], | ||
"exclude": [ | ||
"../node_modules/**", | ||
"./[!ambient.d.ts]**" | ||
] | ||
} |
Oops, something went wrong.