Merged in fix/move-sas-comparison-to-dynamic-content (pull request #1279)
Move SASTierComparison block to DynamicContent Approved-by: Erik Tiekstra
This commit is contained in:
@@ -9,7 +9,6 @@ export namespace BlocksEnums {
|
||||
TextCols = "TextCols",
|
||||
TextContent = "TextContent",
|
||||
UspGrid = "UspGrid",
|
||||
SasTierComparison = "SasTierComparison",
|
||||
HotelListing = "HotelListing",
|
||||
FullWidthCampaign = "FullWidthCampaign",
|
||||
CarouselCards = "CarouselCards",
|
||||
|
||||
@@ -9,7 +9,6 @@ export namespace ContentPageEnum {
|
||||
TextCols = "ContentPageBlocksTextCols",
|
||||
UspGrid = "ContentPageBlocksUspGrid",
|
||||
Table = "ContentPageBlocksTable",
|
||||
SasTierComparison = "ContentPageBlocksSasTierComparison",
|
||||
HotelListing = "ContentPageBlocksHotelListing",
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ export namespace DynamicContentEnum {
|
||||
sign_up_verification = "sign_up_verification",
|
||||
soonest_stays = "soonest_stays",
|
||||
upcoming_stays = "upcoming_stays",
|
||||
sas_tier_comparison = "sas_tier_comparison",
|
||||
}
|
||||
|
||||
/** Type needed to satisfy zod enum type */
|
||||
@@ -35,6 +36,7 @@ export namespace DynamicContentEnum {
|
||||
components.sign_up_verification,
|
||||
components.soonest_stays,
|
||||
components.upcoming_stays,
|
||||
components.sas_tier_comparison,
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ import type { carouselCardsSchema } from "@/server/routers/contentstack/schemas/
|
||||
import type { contentSchema } from "@/server/routers/contentstack/schemas/blocks/content"
|
||||
import type { dynamicContentSchema } from "@/server/routers/contentstack/schemas/blocks/dynamicContent"
|
||||
import type { hotelListingSchema } from "@/server/routers/contentstack/schemas/blocks/hotelListing"
|
||||
import type { sasTierComparisonSchema } from "@/server/routers/contentstack/schemas/blocks/sasTierComparison"
|
||||
import type { shortcutsSchema } from "@/server/routers/contentstack/schemas/blocks/shortcuts"
|
||||
import type { tableSchema } from "@/server/routers/contentstack/schemas/blocks/table"
|
||||
import type { textColsSchema } from "@/server/routers/contentstack/schemas/blocks/textCols"
|
||||
@@ -24,6 +23,4 @@ export interface TextCols extends z.output<typeof textColsSchema> {}
|
||||
export interface UspGrid extends z.output<typeof uspGridSchema> {}
|
||||
interface GetHotelListing extends z.output<typeof hotelListingSchema> {}
|
||||
export type HotelListing = GetHotelListing["hotel_listing"]
|
||||
export interface SasTierComparison
|
||||
extends z.output<typeof sasTierComparisonSchema> {}
|
||||
export interface CarouselCards extends z.output<typeof carouselCardsSchema> {}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { z } from "zod"
|
||||
|
||||
import type { validateSasTierComparisonSchema } from "@/server/routers/contentstack/partner/output"
|
||||
|
||||
export type SasTierComparisonResponse = z.input<
|
||||
typeof validateSasTierComparisonSchema
|
||||
>
|
||||
|
||||
export type SasTierComparison = z.output<typeof validateSasTierComparisonSchema>
|
||||
Reference in New Issue
Block a user