mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-03-30 15:25:37 +00:00
32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
|
|
import {
|
||
|
|
MinecraftServerJarType,
|
||
|
|
GameMode as PrismaGameMode,
|
||
|
|
ServerDifficulty as PrismaServerDifficulty,
|
||
|
|
ServerType as PrismaServerType,
|
||
|
|
ServiceType as PrismaServiceType,
|
||
|
|
ReverseProxyServerType,
|
||
|
|
} from "@minikura/db";
|
||
|
|
|
||
|
|
export enum UserRole {
|
||
|
|
ADMIN = "admin",
|
||
|
|
USER = "user",
|
||
|
|
}
|
||
|
|
|
||
|
|
export const MinecraftJarType = MinecraftServerJarType;
|
||
|
|
export type MinecraftJarType = (typeof MinecraftJarType)[keyof typeof MinecraftJarType];
|
||
|
|
|
||
|
|
export const ReverseProxyType = ReverseProxyServerType;
|
||
|
|
export type ReverseProxyType = (typeof ReverseProxyType)[keyof typeof ReverseProxyType];
|
||
|
|
|
||
|
|
export const ServerType = PrismaServerType;
|
||
|
|
export type ServerType = (typeof ServerType)[keyof typeof ServerType];
|
||
|
|
|
||
|
|
export const ServiceType = PrismaServiceType;
|
||
|
|
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
||
|
|
|
||
|
|
export const ServerDifficulty = PrismaServerDifficulty;
|
||
|
|
export type ServerDifficulty = (typeof ServerDifficulty)[keyof typeof ServerDifficulty];
|
||
|
|
|
||
|
|
export const GameMode = PrismaGameMode;
|
||
|
|
export type GameMode = (typeof GameMode)[keyof typeof GameMode];
|