feat(SW-497): Changed to siteConfig which includes Global Alert
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user