@remnawave/backend-contract 2.1.5 → 2.1.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.
@@ -52,10 +52,10 @@ var CreateHostCommand;
|
|
52
52
|
tag: zod_1.z
|
53
53
|
.optional(zod_1.z
|
54
54
|
.string()
|
55
|
-
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
56
|
-
.max(
|
55
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
56
|
+
.max(32, 'Tag must be less than 32 characters')
|
57
57
|
.nullable())
|
58
|
-
.describe('Optional. Host tag for categorization. Max
|
58
|
+
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
59
59
|
isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
60
60
|
});
|
61
61
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
@@ -57,10 +57,10 @@ var UpdateHostCommand;
|
|
57
57
|
tag: zod_1.z
|
58
58
|
.optional(zod_1.z
|
59
59
|
.string()
|
60
|
-
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
61
|
-
.max(
|
60
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
61
|
+
.max(32, 'Tag must be less than 32 characters')
|
62
62
|
.nullable())
|
63
|
-
.describe('Optional. Host tag for categorization. Max
|
63
|
+
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
64
64
|
isHidden: zod_1.z.optional(zod_1.z.boolean()),
|
65
65
|
});
|
66
66
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
@@ -52,10 +52,10 @@ var CreateHostCommand;
|
|
52
52
|
tag: zod_1.z
|
53
53
|
.optional(zod_1.z
|
54
54
|
.string()
|
55
|
-
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
56
|
-
.max(
|
55
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
56
|
+
.max(32, 'Tag must be less than 32 characters')
|
57
57
|
.nullable())
|
58
|
-
.describe('Optional. Host tag for categorization. Max
|
58
|
+
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
59
59
|
isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
60
60
|
});
|
61
61
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
@@ -57,10 +57,10 @@ var UpdateHostCommand;
|
|
57
57
|
tag: zod_1.z
|
58
58
|
.optional(zod_1.z
|
59
59
|
.string()
|
60
|
-
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
61
|
-
.max(
|
60
|
+
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
61
|
+
.max(32, 'Tag must be less than 32 characters')
|
62
62
|
.nullable())
|
63
|
-
.describe('Optional. Host tag for categorization. Max
|
63
|
+
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
64
64
|
isHidden: zod_1.z.optional(zod_1.z.boolean()),
|
65
65
|
});
|
66
66
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|