Files
axiom/src/app/api/auth/auth.ts
T
2025-09-20 11:30:38 +02:00

11 lines
255 B
TypeScript

import { StringMap } from "@/types/typeUtils";
type ServerAuth = {
server_ip: string;
user_id: number;
};
// { token: userid }
export const CLIENT_AUTH_TOKENS: StringMap<number> = {};
export const SERVER_AUTH_TOKENS: StringMap<ServerAuth> = {};