@remnawave/backend-contract 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,13 @@ var GetAllUsersCommand;
16
16
  'usedTrafficBytes',
17
17
  'trafficLimitBytes',
18
18
  ];
19
- GetAllUsersCommand.SearchableFields = ['username', 'shortUuid', 'subscriptionUuid', 'uuid'];
19
+ GetAllUsersCommand.SearchableFields = [
20
+ 'username',
21
+ 'shortUuid',
22
+ 'subscriptionUuid',
23
+ 'uuid',
24
+ 'status',
25
+ ];
20
26
  GetAllUsersCommand.RequestQuerySchema = zod_1.z.object({
21
27
  limit: zod_1.z
22
28
  .string()
@@ -15,7 +15,13 @@ export namespace GetAllUsersCommand {
15
15
  'trafficLimitBytes',
16
16
  ] as const;
17
17
 
18
- export const SearchableFields = ['username', 'shortUuid', 'subscriptionUuid', 'uuid'] as const;
18
+ export const SearchableFields = [
19
+ 'username',
20
+ 'shortUuid',
21
+ 'subscriptionUuid',
22
+ 'uuid',
23
+ 'status',
24
+ ] as const;
19
25
 
20
26
  export type SortableField = (typeof SortableFields)[number];
21
27
  export type SearchableField = (typeof SearchableFields)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "index.js",
6
6
  "scripts": {