fix: remove min character requirement in addon name in catalog modification

This commit is contained in:
Viren070
2025-11-24 18:34:22 +00:00
parent c0a69215b1
commit fd7c6d1b67
+1 -1
View File
@@ -271,7 +271,7 @@ export type Group = z.infer<typeof Group>;
const CatalogModification = z.object({
id: z.string().min(1), // an id that maps to an actual catalog ID
type: z.string().min(1), // the type of catalog modification
name: z.string().min(1).optional(), // override the name of the catalog
name: z.string().optional(), // override the name of the catalog
shuffle: z.boolean().optional(), // shuffle the catalog
reverse: z.boolean().optional(), // reverse the catalog
persistShuffleFor: z.number().min(0).max(24).optional(), // persist the shuffle for a given amount of time (in hours)