@remnawave/backend-contract 0.7.21 → 0.7.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,7 +73,17 @@ export declare namespace GetStatsCommand {
73
73
  neverOnline: number;
74
74
  onlineNow: number;
75
75
  }>;
76
+ nodes: z.ZodObject<{
77
+ totalOnline: z.ZodNumber;
78
+ }, "strip", z.ZodTypeAny, {
79
+ totalOnline: number;
80
+ }, {
81
+ totalOnline: number;
82
+ }>;
76
83
  }, "strip", z.ZodTypeAny, {
84
+ nodes: {
85
+ totalOnline: number;
86
+ };
77
87
  users: {
78
88
  statusCounts: Record<string, number>;
79
89
  totalUsers: number;
@@ -99,6 +109,9 @@ export declare namespace GetStatsCommand {
99
109
  onlineNow: number;
100
110
  };
101
111
  }, {
112
+ nodes: {
113
+ totalOnline: number;
114
+ };
102
115
  users: {
103
116
  statusCounts: Record<string, number>;
104
117
  totalUsers: number;
@@ -126,6 +139,9 @@ export declare namespace GetStatsCommand {
126
139
  }>;
127
140
  }, "strip", z.ZodTypeAny, {
128
141
  response: {
142
+ nodes: {
143
+ totalOnline: number;
144
+ };
129
145
  users: {
130
146
  statusCounts: Record<string, number>;
131
147
  totalUsers: number;
@@ -153,6 +169,9 @@ export declare namespace GetStatsCommand {
153
169
  };
154
170
  }, {
155
171
  response: {
172
+ nodes: {
173
+ totalOnline: number;
174
+ };
156
175
  users: {
157
176
  statusCounts: Record<string, number>;
158
177
  totalUsers: number;
@@ -1 +1 @@
1
- {"version":3,"file":"get-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,qBAAqC,CAAC;IAC/C,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,qBAAqC,CAAC;IAC/C,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiCzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -39,6 +39,9 @@ var GetStatsCommand;
39
39
  neverOnline: zod_1.z.number(),
40
40
  onlineNow: zod_1.z.number(),
41
41
  }),
42
+ nodes: zod_1.z.object({
43
+ totalOnline: zod_1.z.number(),
44
+ }),
42
45
  }),
43
46
  });
44
47
  })(GetStatsCommand || (exports.GetStatsCommand = GetStatsCommand = {}));
@@ -39,6 +39,9 @@ var GetStatsCommand;
39
39
  neverOnline: zod_1.z.number(),
40
40
  onlineNow: zod_1.z.number(),
41
41
  }),
42
+ nodes: zod_1.z.object({
43
+ totalOnline: zod_1.z.number(),
44
+ }),
42
45
  }),
43
46
  });
44
47
  })(GetStatsCommand || (exports.GetStatsCommand = GetStatsCommand = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.7.21",
3
+ "version": "0.7.23",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",