Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
update vite-env
Browse files Browse the repository at this point in the history
  • Loading branch information
0xshora committed Jul 6, 2024
1 parent c8d3cb7 commit 6de6680
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
/// <reference types="vite-envs/client" />

type ImportMetaEnv = {
// Auto-generated by `npx vite-envs update-types` and hot-reloaded by the `vite-env` plugin
// You probably want to add `/src/vite-env.d.ts` to your .prettierignore
BASE_URL: string;
MODE: string;
DEV: boolean;
PROD: boolean;
PUBLIC_RPC_URL: string;
PUBLIC_TORII_URL: string;
PUBLIC_RELAY_URL: string;
PUBLIC_SERVER_URL: string;
MASTER_ADDRESS: string;
MASTER_PRIVATE_KEY: string;
WORLD_ADDRESS: string;
ACCOUNT_CLASS_HASH: string;
FEETOKEN_ADDRESS: string;
SERVER_PORT: string;
CORE_VERSION: string;
PUBLIC_MANIFEST_URL: string;
// @user-defined-start
// Auto-generated by `npx vite-envs update-types` and hot-reloaded by the `vite-env` plugin
// You probably want to add `/src/vite-env.d.ts` to your .prettierignore
BASE_URL: string
MODE: string
DEV: boolean
PROD: boolean
PUBLIC_RPC_URL: string
PUBLIC_TORII_URL: string
PUBLIC_RELAY_URL: string
PUBLIC_SERVER_URL: string
MASTER_ADDRESS: string
MASTER_PRIVATE_KEY: string
WORLD_ADDRESS: string
ACCOUNT_CLASS_HASH: string
FEETOKEN_ADDRESS: string
SERVER_PORT: string
CORE_VERSION: string
PUBLIC_MANIFEST_URL: string
// @user-defined-start
/*
* Here you can define your own special variables
* that would be available on `import.meta.env` but
Expand All @@ -29,16 +29,16 @@ type ImportMetaEnv = {
*/
SSR: boolean;
// @user-defined-end
};
}

interface ImportMeta {
// Auto-generated by `npx vite-envs update-types`
// Auto-generated by `npx vite-envs update-types`

url: string;
url: string

readonly hot?: import('vite-envs/types/hot').ViteHotContext;
readonly hot?: import('vite-envs/types/hot').ViteHotContext

Check warning on line 39 in src/vite-env.d.ts

View workflow job for this annotation

GitHub Actions / lint-n-format (20.x)

`import()` type annotations are forbidden

readonly env: ImportMetaEnv;
readonly env: ImportMetaEnv

glob: import('vite-envs/types/importGlob').ImportGlobFunction;
glob: import('vite-envs/types/importGlob').ImportGlobFunction

Check warning on line 43 in src/vite-env.d.ts

View workflow job for this annotation

GitHub Actions / lint-n-format (20.x)

`import()` type annotations are forbidden
}

0 comments on commit 6de6680

Please sign in to comment.