@remnawave/backend-contract
Advanced tools
Comparing version 0.0.83 to 0.0.84
@@ -20,3 +20,3 @@ import { z } from 'zod'; | ||
description: z.ZodOptional<z.ZodString>; | ||
activateAllInbounds: z.ZodDefault<z.ZodBoolean>; | ||
activateAllInbounds: z.ZodOptional<z.ZodBoolean>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -27,3 +27,2 @@ username: string; | ||
expireAt: Date; | ||
activateAllInbounds: boolean; | ||
createdAt?: Date | undefined; | ||
@@ -39,2 +38,3 @@ trafficLimitBytes?: number | undefined; | ||
activeUserInbounds?: string[] | undefined; | ||
activateAllInbounds?: boolean | undefined; | ||
}, { | ||
@@ -41,0 +41,0 @@ username: string; |
@@ -19,3 +19,3 @@ "use strict"; | ||
.regex(/^[a-zA-Z0-9_-]+$/, 'Username can only contain letters, numbers, underscores and dashes') | ||
.max(32, 'Username must be less than 32 characters') | ||
.max(34, 'Username must be less than 34 characters') | ||
.min(6, 'Username must be at least 6 characters'), | ||
@@ -109,3 +109,3 @@ status: models_1.UsersSchema.shape.status.optional().default(constants_1.USERS_STATUS.ACTIVE), | ||
description: zod_1.z.string().optional(), | ||
activateAllInbounds: zod_1.z.boolean().default(false), | ||
activateAllInbounds: zod_1.z.boolean().optional(), | ||
}); | ||
@@ -112,0 +112,0 @@ CreateUserCommand.ResponseSchema = zod_1.z.object({ |
@@ -19,3 +19,3 @@ "use strict"; | ||
.regex(/^[a-zA-Z0-9_-]+$/, 'Username can only contain letters, numbers, underscores and dashes') | ||
.max(32, 'Username must be less than 32 characters') | ||
.max(34, 'Username must be less than 34 characters') | ||
.min(6, 'Username must be at least 6 characters'), | ||
@@ -109,3 +109,3 @@ status: models_1.UsersSchema.shape.status.optional().default(constants_1.USERS_STATUS.ACTIVE), | ||
description: zod_1.z.string().optional(), | ||
activateAllInbounds: zod_1.z.boolean().default(false), | ||
activateAllInbounds: zod_1.z.boolean().optional(), | ||
}); | ||
@@ -112,0 +112,0 @@ CreateUserCommand.ResponseSchema = zod_1.z.object({ |
{ | ||
"name": "@remnawave/backend-contract", | ||
"version": "0.0.83", | ||
"version": "0.0.84", | ||
"public": true, | ||
@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only", |
448739