mirror of
https://github.com/remnawave/backend.git
synced 2026-08-04 14:48:33 +00:00
- Introduced Snippets Controller and Service for managing snippets. - Added new error constants related to snippets in errors.ts. - Implemented snippets handling in various modules including queries and repositories. - Enhanced XRayConfig to support snippet replacement in configuration.
8 lines
299 B
TypeScript
8 lines
299 B
TypeScript
export const SNIPPETS_CONTROLLER = 'snippets' as const;
|
|
|
|
export const SNIPPETS_ROUTES = {
|
|
GET: '', // Get list of all snippets // get
|
|
CREATE: '', // Create new snippet // post
|
|
UPDATE: '', // Update snippet by name // patch
|
|
DELETE: '', // Delete snippet by name // delete
|
|
} as const;
|