mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-07 20:57:45 +00:00
fix: Require tags field to be present (#539)
This commit is contained in:
@@ -30,7 +30,7 @@ export const packagesSchema = z.array(
|
||||
'Testing',
|
||||
'User Interaction'
|
||||
]),
|
||||
tags: z.array(z.string()).max(5).optional()
|
||||
tags: z.array(z.string()).max(5)
|
||||
})
|
||||
);
|
||||
|
||||
@@ -41,6 +41,6 @@ export const templatesSchema = z.array(
|
||||
repository: z.string().url(),
|
||||
description: z.string().max(250),
|
||||
category: z.enum(['Svelte Add', 'SvelteKit', 'Svelte']),
|
||||
tags: z.array(z.string()).max(5).optional()
|
||||
tags: z.array(z.string()).max(5)
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user