@remnawave/backend-contract 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
package/api/controllers/users.ts
CHANGED
@@ -3,12 +3,12 @@ export const USERS_CONTROLLER = 'users' as const;
|
|
3
3
|
export const USERS_ROUTES = {
|
4
4
|
CREATE: '',
|
5
5
|
GET_BY_UUID: '',
|
6
|
-
GET_BY_SHORT_UUID: 'short-uuid
|
7
|
-
GET_BY_SUBSCRIPTION_UUID: 'sub-uuid
|
6
|
+
GET_BY_SHORT_UUID: 'short-uuid',
|
7
|
+
GET_BY_SUBSCRIPTION_UUID: 'sub-uuid',
|
8
8
|
GET_ALL: '',
|
9
|
-
REVOKE_SUBSCRIPTION: 'revoke
|
10
|
-
DISABLE_USER: 'disable
|
11
|
-
ENABLE_USER: 'enable
|
12
|
-
DELETE_USER: 'delete
|
9
|
+
REVOKE_SUBSCRIPTION: 'revoke',
|
10
|
+
DISABLE_USER: 'disable',
|
11
|
+
ENABLE_USER: 'enable',
|
12
|
+
DELETE_USER: 'delete',
|
13
13
|
UPDATE: 'update',
|
14
14
|
} as const;
|
@@ -5,12 +5,12 @@ exports.USERS_CONTROLLER = 'users';
|
|
5
5
|
exports.USERS_ROUTES = {
|
6
6
|
CREATE: '',
|
7
7
|
GET_BY_UUID: '',
|
8
|
-
GET_BY_SHORT_UUID: 'short-uuid
|
9
|
-
GET_BY_SUBSCRIPTION_UUID: 'sub-uuid
|
8
|
+
GET_BY_SHORT_UUID: 'short-uuid',
|
9
|
+
GET_BY_SUBSCRIPTION_UUID: 'sub-uuid',
|
10
10
|
GET_ALL: '',
|
11
|
-
REVOKE_SUBSCRIPTION: 'revoke
|
12
|
-
DISABLE_USER: 'disable
|
13
|
-
ENABLE_USER: 'enable
|
14
|
-
DELETE_USER: 'delete
|
11
|
+
REVOKE_SUBSCRIPTION: 'revoke',
|
12
|
+
DISABLE_USER: 'disable',
|
13
|
+
ENABLE_USER: 'enable',
|
14
|
+
DELETE_USER: 'delete',
|
15
15
|
UPDATE: 'update',
|
16
16
|
};
|