@remnawave/backend-contract 0.6.6 → 0.6.8

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.
@@ -28,7 +28,7 @@ export declare namespace CreateUserCommand {
28
28
  createdAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
29
29
  lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
30
30
  description: z.ZodOptional<z.ZodString>;
31
- tag: z.ZodOptional<z.ZodString>;
31
+ tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  telegramId: z.ZodOptional<z.ZodNumber>;
33
33
  email: z.ZodOptional<z.ZodString>;
34
34
  hwidDeviceLimit: z.ZodOptional<z.ZodNumber>;
@@ -39,7 +39,7 @@ export declare namespace CreateUserCommand {
39
39
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
40
40
  expireAt: Date;
41
41
  createdAt?: Date | undefined;
42
- tag?: string | undefined;
42
+ tag?: string | null | undefined;
43
43
  subscriptionUuid?: string | undefined;
44
44
  shortUuid?: string | undefined;
45
45
  trafficLimitBytes?: number | undefined;
@@ -58,7 +58,7 @@ export declare namespace CreateUserCommand {
58
58
  expireAt: string;
59
59
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
60
60
  createdAt?: string | undefined;
61
- tag?: string | undefined;
61
+ tag?: string | null | undefined;
62
62
  subscriptionUuid?: string | undefined;
63
63
  shortUuid?: string | undefined;
64
64
  trafficLimitBytes?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -104,11 +104,11 @@ var CreateUserCommand;
104
104
  .describe('Date format: 2025-01-17T15:38:45.065Z')
105
105
  .optional(),
106
106
  description: zod_1.z.string().optional(),
107
- tag: zod_1.z
107
+ tag: zod_1.z.optional(zod_1.z
108
108
  .string()
109
109
  .regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
110
110
  .max(16, 'Tag must be less than 16 characters')
111
- .optional(),
111
+ .nullable()),
112
112
  telegramId: zod_1.z.optional(zod_1.z.number().int()),
113
113
  email: zod_1.z.string().email('Invalid email format').optional(),
114
114
  hwidDeviceLimit: zod_1.z.optional(zod_1.z
@@ -104,11 +104,11 @@ var CreateUserCommand;
104
104
  .describe('Date format: 2025-01-17T15:38:45.065Z')
105
105
  .optional(),
106
106
  description: zod_1.z.string().optional(),
107
- tag: zod_1.z
107
+ tag: zod_1.z.optional(zod_1.z
108
108
  .string()
109
109
  .regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
110
110
  .max(16, 'Tag must be less than 16 characters')
111
- .optional(),
111
+ .nullable()),
112
112
  telegramId: zod_1.z.optional(zod_1.z.number().int()),
113
113
  email: zod_1.z.string().email('Invalid email format').optional(),
114
114
  hwidDeviceLimit: zod_1.z.optional(zod_1.z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.6.6",
3
+ "version": "0.6.8",
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.",