All files / src/types Constants.ts

100% Statements 23/23
100% Branches 8/8
100% Functions 4/4
100% Lines 19/19

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30  5x   5x   5x 5x 5x 5x 5x 5x 5x 5x     5x 5x 5x     5x 5x 5x 5x     5x 5x    
import { GatewayVersion } from "discord-api-types/gateway";
export const DiscordAPIUrl = `https://discord.com/api/v${GatewayVersion}`;
 
export const isInProduction = false;
 
export enum Services {
	NDB = "NDB_SERVICE",
	Prisma = "PRISMA_SERVICE",
	Database = "DATABASE_SERVICE",
	User = "USER_SERVICE",
	Auth = "AUTH_SERVICE",
	Discord = "DISCORD_SERVICE",
	Discord_HTTP = "DISCORD_HTTP_SERVICE",
}
 
export enum Routes {
	Auth = "auth",
	Discord = "discord",
}
 
export enum Extends {
	Tools = "TOOLS",
	Command = "COMMAND",
	Buttons = "COMPONENTS_BUTTONS",
}
 
export enum Cookies {
	JWT = "N-D-B_JWT_SESSION",
}