feat(SW-497): Changed to siteConfig which includes Global Alert

This commit is contained in:
Erik Tiekstra
2024-10-03 11:29:26 +02:00
parent 78569fcb21
commit 3f12246e12
6 changed files with 166 additions and 120 deletions

View File

@@ -2,7 +2,7 @@ import { z } from "zod"
import {
globalAlertSchema,
siteConfigurationSchema,
siteConfigSchema,
} from "@/server/routers/contentstack/base/output"
export enum GlobalAlertType {
@@ -10,8 +10,8 @@ export enum GlobalAlertType {
Alarm = "alarm",
}
export type GetSiteConfigurationData = z.input<typeof siteConfigurationSchema>
export type SiteConfiguration = z.output<typeof siteConfigurationSchema>
export type GetSiteConfigData = z.input<typeof siteConfigSchema>
export type SiteConfig = z.output<typeof siteConfigSchema>
export type GetGlobalAlertData = z.input<typeof globalAlertSchema>
export type GlobalAlert = z.output<typeof globalAlertSchema>