feat/SW-1756-meeting-package-content-pages

* feat(SW-1230): Changes to script to be able to reload after soft navigation
* feat(SW-1756): Added meeting package widget on content pages

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-03-21 13:31:33 +00:00
parent 369cc964f0
commit 91e26e30af
15 changed files with 120 additions and 53 deletions

View File

@@ -7,8 +7,8 @@ import {
cardsGridSchema,
} from "../schemas/blocks/cardsGrid"
import {
dynamicContentRefsSchema,
dynamicContentSchema as blockDynamicContentSchema,
dynamicContentRefsSchema,
} from "../schemas/blocks/dynamicContent"
import {
shortcutsRefsSchema,
@@ -98,6 +98,12 @@ export const collectionPageSchema = z.object({
top_primary_button: topPrimaryButtonSchema,
navigation_links: navigationLinksSchema,
}),
meeting_package: z
.object({
show_widget: z.boolean(),
location: z.string(),
})
.nullable(),
system: systemSchema.merge(
z.object({
created_at: z.string(),

View File

@@ -211,6 +211,12 @@ export const contentPageSchema = z.object({
top_primary_button: topPrimaryButtonSchema,
navigation_links: navigationLinksSchema,
}),
meeting_package: z
.object({
show_widget: z.boolean(),
location: z.string(),
})
.nullable(),
system: systemSchema.merge(
z.object({
created_at: z.string(),