Merged in feat/SW-2528-restaurant-icons-sidepeek (pull request #2610)

feat(SW-2528): add restaurant type icon to sidepeek

* feat(SW-2528): add restaurant type icon to sidepeek


Approved-by: Anton Gunnarsson
This commit is contained in:
Matilda Landström
2025-08-11 11:45:20 +00:00
parent 00b124d15a
commit 37c311d826
13 changed files with 53 additions and 5 deletions

View File

@@ -78,18 +78,19 @@ export const restaurantsSchema = z.object({
attributes: z.object({
bookTableUrl: nullableStringValidator,
content: contentSchema,
elevatorPitch: z.string().optional(),
email: z.string().email().optional(),
externalBreakfast: externalBreakfastSchema,
isPublished: z.boolean().default(false),
mainBody: z.string().optional(),
menus: z.array(menuItemSchema).default([]),
name: z.string().default(""),
nameInUrl: z.string().optional(),
openingDetails: z.array(openingDetailsSchema).default([]),
phoneNumber: z.string().optional(),
restaurantPage: z.boolean().default(false),
elevatorPitch: z.string().optional(),
nameInUrl: z.string().optional(),
mainBody: z.string().optional(),
specialAlerts: specialAlertsSchema,
type: z.string(),
}),
id: z.string(),
type: z.literal("restaurants"),