@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 = [
|
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 = [
|
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];
|