-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
859e054
commit 683d1bd
Showing
4 changed files
with
51 additions
and
37 deletions.
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,5 @@ | ||
const { default: Environment } = await import("../Object/Environment.js"); | ||
|
||
export type Type = Zod.infer<typeof Environment>; | ||
|
||
export type { Type as default }; |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
(await import("dotenv")).config(); | ||
|
||
export const { string } = await import("zod"); | ||
|
||
export default (await import("zod")).object({ | ||
DISCORD_APPLICATION_ID: string().optional().default(""), | ||
DISCORD_CLIENT_ID: string().optional().default(""), | ||
DISCORD_CLIENT_SECRET: string().optional().default(""), | ||
DISCORD_PUBLIC_KEY: string().optional().default(""), | ||
DISCORD_TOKENS: string().optional().default(""), | ||
}); |