@remnawave/backend-contract
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -13,2 +13,3 @@ export const USERS_CONTROLLER = 'users' as const; | ||
DELETE_USER: '/delete/:uuid', | ||
UPDATE: '/update', | ||
} as const; |
@@ -58,2 +58,3 @@ import * as CONTROLLERS from './controllers'; | ||
`${ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.DELETE_USER}/${uuid}`, | ||
UPDATE: `${ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.UPDATE}`, | ||
}, | ||
@@ -60,0 +61,0 @@ SUBSCRIPTION: { |
@@ -15,2 +15,3 @@ "use strict"; | ||
DELETE_USER: '/delete/:uuid', | ||
UPDATE: '/update', | ||
}; |
@@ -79,2 +79,3 @@ "use strict"; | ||
DELETE_USER: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.DELETE_USER}/${uuid}`, | ||
UPDATE: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.UPDATE}`, | ||
}, | ||
@@ -81,0 +82,0 @@ SUBSCRIPTION: { |
@@ -26,1 +26,2 @@ "use strict"; | ||
__exportStar(require("./revoke-user-subscription.command"), exports); | ||
__exportStar(require("./update-user.command"), exports); |
@@ -241,2 +241,7 @@ "use strict"; | ||
}, | ||
UPDATE_USER_WITH_INBOUNDS_ERROR: { | ||
code: 'A049', | ||
message: 'Update user with inbounds error', | ||
httpCode: 500, | ||
}, | ||
}; |
@@ -10,1 +10,2 @@ export * from './create-user.command'; | ||
export * from './revoke-user-subscription.command'; | ||
export * from './update-user.command'; |
@@ -238,2 +238,7 @@ export const ERRORS = { | ||
}, | ||
UPDATE_USER_WITH_INBOUNDS_ERROR: { | ||
code: 'A049', | ||
message: 'Update user with inbounds error', | ||
httpCode: 500, | ||
}, | ||
} as const; |
{ | ||
"name": "@remnawave/backend-contract", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A contract library for Remnawave", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
133152
170
3273