Remnawave_backend/libs/contract/api/controllers/snippets.ts
kastov a222fac518
chore: add snippets functionality
- 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.
2025-10-16 07:00:51 +03:00

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;