This commit is contained in:
16
packages/shared/src/index.ts
Normal file
16
packages/shared/src/index.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export const API_PATHS = { message: "/api/message" } as const;
|
||||
export const GAME_SOCKET_PATH = "/ws/game";
|
||||
|
||||
export interface ApiMessage {
|
||||
message: string;
|
||||
timestamp: string;
|
||||
}
|
||||
|
||||
export * from "./arena.js";
|
||||
export * from "./flux-types.js";
|
||||
export * from "./flux-game.js";
|
||||
export * from "./royale-types.js";
|
||||
export * from "./royale-map.js";
|
||||
export * from "./royale-game.js";
|
||||
export * from "./shooter-types.js";
|
||||
export * from "./shooter-game.js";
|
||||
Reference in New Issue
Block a user