@remnawave/backend-contract 0.7.5 → 0.7.6
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.
@@ -17,7 +17,7 @@ var CreateUserCommand;
|
|
17
17
|
invalid_type_error: 'Username must be a string',
|
18
18
|
})
|
19
19
|
.regex(/^[a-zA-Z0-9_-]+$/, 'Username can only contain letters, numbers, underscores and dashes')
|
20
|
-
.max(
|
20
|
+
.max(36, 'Username must be less than 36 characters')
|
21
21
|
.min(6, 'Username must be at least 6 characters'),
|
22
22
|
status: models_1.UsersSchema.shape.status.optional().default(constants_1.USERS_STATUS.ACTIVE),
|
23
23
|
subscriptionUuid: zod_1.z
|
@@ -17,7 +17,7 @@ var CreateUserCommand;
|
|
17
17
|
invalid_type_error: 'Username must be a string',
|
18
18
|
})
|
19
19
|
.regex(/^[a-zA-Z0-9_-]+$/, 'Username can only contain letters, numbers, underscores and dashes')
|
20
|
-
.max(
|
20
|
+
.max(36, 'Username must be less than 36 characters')
|
21
21
|
.min(6, 'Username must be at least 6 characters'),
|
22
22
|
status: models_1.UsersSchema.shape.status.optional().default(constants_1.USERS_STATUS.ACTIVE),
|
23
23
|
subscriptionUuid: zod_1.z
|