@remnawave/backend-contract 0.0.77 → 0.0.78

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.
@@ -95,13 +95,13 @@ export declare namespace GetAllUsersV2Command {
95
95
  subscriptionUrl: z.ZodString;
96
96
  lastConnection: z.ZodNullable<z.ZodObject<{
97
97
  nodeName: z.ZodString;
98
- connectedAt: z.ZodDate;
98
+ connectedAt: z.ZodEffects<z.ZodString, Date, string>;
99
99
  }, "strip", z.ZodTypeAny, {
100
100
  nodeName: string;
101
101
  connectedAt: Date;
102
102
  }, {
103
103
  nodeName: string;
104
- connectedAt: Date;
104
+ connectedAt: string;
105
105
  }>>;
106
106
  }>, "strip", z.ZodTypeAny, {
107
107
  uuid: string;
@@ -160,7 +160,7 @@ export declare namespace GetAllUsersV2Command {
160
160
  subscriptionUrl: string;
161
161
  lastConnection: {
162
162
  nodeName: string;
163
- connectedAt: Date;
163
+ connectedAt: string;
164
164
  } | null;
165
165
  status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
166
166
  trafficLimitBytes?: number | undefined;
@@ -228,7 +228,7 @@ export declare namespace GetAllUsersV2Command {
228
228
  subscriptionUrl: string;
229
229
  lastConnection: {
230
230
  nodeName: string;
231
- connectedAt: Date;
231
+ connectedAt: string;
232
232
  } | null;
233
233
  status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
234
234
  trafficLimitBytes?: number | undefined;
@@ -300,7 +300,7 @@ export declare namespace GetAllUsersV2Command {
300
300
  subscriptionUrl: string;
301
301
  lastConnection: {
302
302
  nodeName: string;
303
- connectedAt: Date;
303
+ connectedAt: string;
304
304
  } | null;
305
305
  status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
306
306
  trafficLimitBytes?: number | undefined;
@@ -37,7 +37,7 @@ var GetAllUsersV2Command;
37
37
  lastConnection: zod_1.z
38
38
  .object({
39
39
  nodeName: zod_1.z.string(),
40
- connectedAt: zod_1.z.date(),
40
+ connectedAt: zod_1.z.string().transform((str) => new Date(str)),
41
41
  })
42
42
  .nullable(),
43
43
  })),
@@ -37,7 +37,7 @@ var GetAllUsersV2Command;
37
37
  lastConnection: zod_1.z
38
38
  .object({
39
39
  nodeName: zod_1.z.string(),
40
- connectedAt: zod_1.z.date(),
40
+ connectedAt: zod_1.z.string().transform((str) => new Date(str)),
41
41
  })
42
42
  .nullable(),
43
43
  })),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
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.",