mirror of
https://github.com/remnawave/backend.git
synced 2026-08-04 14:48:33 +00:00
12 lines
350 B
TypeScript
12 lines
350 B
TypeScript
export const METADATA_CONTROLLER = 'metadata' as const;
|
|
|
|
export const METADATA_ROUTES = {
|
|
NODE: {
|
|
GET: (nodeId: string) => `node/${nodeId}`,
|
|
UPSERT: (nodeId: string) => `node/${nodeId}`,
|
|
},
|
|
USER: {
|
|
GET: (userId: string) => `user/${userId}`,
|
|
UPSERT: (userId: string) => `user/${userId}`,
|
|
},
|
|
} as const;
|