@remnawave/backend-contract 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ var GetStatsCommand;
8
8
  (function (GetStatsCommand) {
9
9
  GetStatsCommand.url = api_1.REST_API.SYSTEM.STATS;
10
10
  GetStatsCommand.RequestQuerySchema = zod_1.z.object({
11
- dt: zod_1.z.string().datetime({ offset: true }).optional(),
11
+ tz: zod_1.z.string().optional(),
12
12
  });
13
13
  GetStatsCommand.ResponseSchema = zod_1.z.object({
14
14
  response: zod_1.z.object({
@@ -6,7 +6,7 @@ export namespace GetStatsCommand {
6
6
  export const url = REST_API.SYSTEM.STATS;
7
7
 
8
8
  export const RequestQuerySchema = z.object({
9
- dt: z.string().datetime({ offset: true }).optional(),
9
+ tz: z.string().optional(),
10
10
  });
11
11
 
12
12
  export type Request = z.infer<typeof RequestQuerySchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "index.js",
6
6
  "scripts": {