feat(SW-497): Added global alerts query and typings
This commit is contained in:
17
types/trpc/routers/contentstack/siteConfiguration.ts
Normal file
17
types/trpc/routers/contentstack/siteConfiguration.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import {
|
||||
globalAlertSchema,
|
||||
siteConfigurationSchema,
|
||||
} from "@/server/routers/contentstack/base/output"
|
||||
|
||||
export enum GlobalAlertType {
|
||||
Info = "info",
|
||||
Alarm = "alarm",
|
||||
}
|
||||
|
||||
export type GetSiteConfigurationData = z.input<typeof siteConfigurationSchema>
|
||||
export type SiteConfiguration = z.output<typeof siteConfigurationSchema>
|
||||
|
||||
export type GetGlobalAlertData = z.input<typeof globalAlertSchema>
|
||||
export type GlobalAlert = z.output<typeof globalAlertSchema>
|
||||
Reference in New Issue
Block a user