Refactor: Update README, NavBar, Drizzle schema, and environment types

This commit is contained in:
Aron Malcher 2024-01-29 10:49:29 +01:00
parent 757d790e54
commit 6b07599a68
Signed by: aronmal
GPG key ID: 816B7707426FC612
4 changed files with 22 additions and 11 deletions

4
src/types/env.d.ts vendored
View file

@ -1,9 +1,10 @@
/// <reference types="vinxi/client" />
interface ImportMetaEnv {
readonly VITE_DISCORD_CLIENT: string;
readonly VITE_DISCORD_CLIENT_ID: string;
readonly VITE_DISCORD_CLIENT_SECRET: string;
readonly VITE_DISCORD_BOT_TOKEN: string;
readonly VITE_DISCORD_BOT_PERMISSIONS: string;
readonly VITE_AUTH_SECRET: string;
readonly VITE_AUTH_REDIRECT_PROXY_URL: string | undefined;
@ -11,6 +12,7 @@ interface ImportMetaEnv {
readonly VITE_DATABASE_URL: string;
}
// eslint-disable-next-line no-unused-vars
interface ImportMeta {
readonly env: ImportMetaEnv;
}