mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-08-17 21:25:52 +02:00
Merge pull request #109 from open-reception/108-api-should-allow-pausingunpausing-a-channel
Names in channel update schema should be an optional property
This commit is contained in:
@@ -29,7 +29,7 @@ const channelCreationSchema = z.object({
|
||||
});
|
||||
|
||||
const channelUpdateSchema = z.object({
|
||||
names: z.partialRecord(z.enum(supportedLocales), z.string().min(1).max(100)),
|
||||
names: z.partialRecord(z.enum(supportedLocales), z.string().min(1).max(100)).optional(),
|
||||
color: z.string().optional(),
|
||||
descriptions: z.partialRecord(z.enum(supportedLocales), z.string().min(1)).optional(),
|
||||
isPublic: z.boolean().optional(),
|
||||
|
||||
Reference in New Issue
Block a user