mirror of
https://github.com/remnawave/backend.git
synced 2026-08-04 14:48:33 +00:00
15 lines
422 B
TypeScript
15 lines
422 B
TypeScript
export const SUBSCRIPTION_TEMPLATE_CONTROLLER = 'subscription-templates' as const;
|
|
|
|
const ACTIONS_ROUTE = 'actions' as const;
|
|
|
|
export const SUBSCRIPTION_TEMPLATE_ROUTES = {
|
|
GET_ALL: '', // get
|
|
GET: (uuid: string) => `${uuid}`, // get
|
|
UPDATE: '', // patch
|
|
DELETE: (uuid: string) => `${uuid}`, // delete
|
|
CREATE: '', // post
|
|
|
|
ACTIONS: {
|
|
REORDER: `${ACTIONS_ROUTE}/reorder`,
|
|
},
|
|
} as const;
|