Skip to content

Commit 61c5ccf

Browse files
committed
feat: xHTTP support, drop legacy networks&protocols
- Added support for updating inbound network and security settings - Expanded Prisma schema to include network and security fields for Inbounds - Updated interfaces and entities to support new network and security attributes - Improved error handling in configuration validation - Implemented dynamic flow selection for VLESS configurations
1 parent 99985c7 commit 61c5ccf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+918
-1225
lines changed

libs/contract/constants/errors/errors.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,19 @@ export const ERRORS = {
291291
message: 'Bulk delete users by status error',
292292
httpCode: 500,
293293
},
294+
UPDATE_INBOUND_ERROR: {
295+
code: 'A060',
296+
message: 'Update inbound error',
297+
httpCode: 500,
298+
},
299+
CONFIG_VALIDATION_ERROR: {
300+
code: 'A061',
301+
message: '',
302+
httpCode: 500,
303+
withMessage: (message: string) => ({
304+
code: 'A061',
305+
message: message,
306+
httpCode: 500,
307+
}),
308+
},
294309
} as const;

0 commit comments

Comments
 (0)