Skip to content

Commit 6fc6dd7

Browse files
committed
chore: bump subscription-page-types version to 0.0.5
1 parent 91f5340 commit 6fc6dd7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

libs/subscription-page/models/subscription-page-config/subscription-page-config.validator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ export const validateSvgReferences = (
4646
if (obj === null || typeof obj !== 'object') return;
4747

4848
for (const [key, value] of Object.entries(obj)) {
49-
if (key === 'svgIcon' && typeof value === 'string') {
49+
if (key === 'svgIconKey' && typeof value === 'string') {
5050
if (!validKeys.has(value)) {
5151
ctx.addIssue({
5252
code: z.ZodIssueCode.custom,
53-
message: `Unknown svgIcon '${value}' at ${path}.${key}. Available: ${[...validKeys].join(', ')}`,
53+
message: `Unknown svgIconKey '${value}' at ${path}.${key}. Available: ${[...validKeys].join(', ')}`,
5454
path: [path, key],
5555
});
5656
}

libs/subscription-page/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@remnawave/subscription-page-types",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"public": true,
55
"license": "AGPL-3.0-only",
66
"description": "A types library for Remnawave Subscription Page.",

prisma/seed/config.seed.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,8 @@ async function seedSubscriptionPageConfig() {
824824
consola.success('🔐 Subscription page config seeded!');
825825

826826
return;
827+
} else {
828+
consola.success('🔐 Subscription page config already exists!');
827829
}
828830
}
829831

0 commit comments

Comments
 (0)