@remnawave/backend-contract 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,9 @@ var GetAllUsersCommand;
39
39
  });
40
40
  GetAllUsersCommand.ResponseSchema = zod_1.z.object({
41
41
  response: zod_1.z.object({
42
- users: zod_1.z.array(users_schema_1.UsersSchema),
42
+ users: zod_1.z.array(users_schema_1.UsersSchema.extend({
43
+ totalUsedBytes: zod_1.z.string(),
44
+ })),
43
45
  total: zod_1.z.number(),
44
46
  }),
45
47
  });
@@ -47,7 +47,12 @@ export namespace GetAllUsersCommand {
47
47
 
48
48
  export const ResponseSchema = z.object({
49
49
  response: z.object({
50
- users: z.array(UsersSchema),
50
+ users: z.array(
51
+ UsersSchema.extend({
52
+ totalUsedBytes: z.string(),
53
+ }),
54
+ ),
55
+
51
56
  total: z.number(),
52
57
  }),
53
58
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "index.js",
6
6
  "scripts": {