feat(SW-650): added sitewide alert to use sticky position hook
This commit is contained in:
@@ -11,5 +11,15 @@ export type GetSiteConfigRefData = z.infer<typeof siteConfigRefSchema>
|
||||
export type GetSiteConfigData = z.input<typeof siteConfigSchema>
|
||||
export type SiteConfig = z.output<typeof siteConfigSchema>
|
||||
|
||||
export type Alert = z.output<typeof alertSchema>
|
||||
export type SidepeekContent = Alert["sidepeekContent"]
|
||||
export type AlertOutput = z.output<typeof alertSchema>
|
||||
export type SidepeekContent = AlertOutput["sidepeekContent"]
|
||||
|
||||
export type AlertPhoneContact = {
|
||||
displayText: string
|
||||
phoneNumber?: string
|
||||
footnote?: string | null
|
||||
}
|
||||
|
||||
export type Alert = Omit<AlertOutput, "phoneContact"> & {
|
||||
phoneContact: AlertPhoneContact | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user