Merged in feat/SW-3232-site-config-alerts (pull request #2671)

feat(SW-3232): update alert schema

* feat(SW-3232): update alert schema


Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-08-20 09:18:00 +00:00
parent 720a1c2734
commit 7891ae3ae6
30 changed files with 90 additions and 52 deletions

View File

@@ -3,7 +3,7 @@ import { z } from "zod"
import { dt } from "@scandic-hotels/common/dt"
import { nullableStringValidator } from "@scandic-hotels/common/utils/zod/stringValidator"
import { AlertTypeEnum } from "../../../../types/alertType"
import { AlertTypeEnum } from "../../../../types/alert"
const specialAlertSchema = z.object({
description: nullableStringValidator,