@remnawave/backend-contract 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,13 @@ var GetStatsCommand;
31
31
  totalUsers: zod_1.z.number(),
32
32
  totalTrafficBytes: zod_1.z.string(),
33
33
  }),
34
+ stats: zod_1.z.object({
35
+ nodesUsageLastTwoDays: zod_1.z.object({
36
+ current: zod_1.z.string(),
37
+ previous: zod_1.z.string(),
38
+ percentage: zod_1.z.number(),
39
+ }),
40
+ }),
34
41
  }),
35
42
  });
36
43
  })(GetStatsCommand || (exports.GetStatsCommand = GetStatsCommand = {}));
@@ -35,6 +35,13 @@ export namespace GetStatsCommand {
35
35
  totalUsers: z.number(),
36
36
  totalTrafficBytes: z.string(),
37
37
  }),
38
+ stats: z.object({
39
+ nodesUsageLastTwoDays: z.object({
40
+ current: z.string(),
41
+ previous: z.string(),
42
+ percentage: z.number(),
43
+ }),
44
+ }),
38
45
  }),
39
46
  });
40
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "index.js",
6
6
  "scripts": {