@remnawave/subscription-page-types 0.2.5 → 0.2.7
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.
- package/build/backend/constants/base-translations.constant.js +1 -1
- package/build/backend/models/subscription-page-config.schema.js +1 -1
- package/build/frontend/constants/base-translations.constant.js +1 -1
- package/build/frontend/models/subscription-page-config.schema.js +1 -1
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ const BlockSchema = zod_1.z.object({
|
|
|
43
43
|
buttons: zod_1.z.array(ButtonSchema),
|
|
44
44
|
});
|
|
45
45
|
const PlatformAppSchema = zod_1.z.object({
|
|
46
|
-
name: zod_1.z.string(),
|
|
46
|
+
name: zod_1.z.string().min(2, 'Name must be at least 2 characters long'),
|
|
47
47
|
svgIconKey: zod_1.z.optional(zod_1.z.string()),
|
|
48
48
|
featured: zod_1.z.boolean(),
|
|
49
49
|
blocks: zod_1.z.array(BlockSchema),
|
|
@@ -43,7 +43,7 @@ const BlockSchema = zod_1.z.object({
|
|
|
43
43
|
buttons: zod_1.z.array(ButtonSchema),
|
|
44
44
|
});
|
|
45
45
|
const PlatformAppSchema = zod_1.z.object({
|
|
46
|
-
name: zod_1.z.string(),
|
|
46
|
+
name: zod_1.z.string().min(2, 'Name must be at least 2 characters long'),
|
|
47
47
|
svgIconKey: zod_1.z.optional(zod_1.z.string()),
|
|
48
48
|
featured: zod_1.z.boolean(),
|
|
49
49
|
blocks: zod_1.z.array(BlockSchema),
|