feat(SW-391): Changes after PR

This commit is contained in:
Erik Tiekstra
2024-10-11 11:04:47 +02:00
committed by Pontus Dreij
parent 9ba5795718
commit ceb612a2f4
9 changed files with 57 additions and 23 deletions
+1 -1
View File
@@ -24,5 +24,5 @@ export interface TeaserCardProps
export interface TeaserCardSidepeekProps {
button: SidePeekButton
data: NonNullable<TeaserCard["sidepeek_content"]>
sidePeekContent: NonNullable<TeaserCard["sidepeek_content"]>
}
+6
View File
@@ -5,3 +5,9 @@ export namespace CardsGridEnum {
TeaserCard = "TeaserCard",
}
}
export enum CardsGridLayoutEnum {
TWO_COLUMNS = "twoColumnGrid",
THREE_COLUMNS = "threeColumnGrid",
TWO_PLUS_ONE = "twoPlusOne", // Not sure if this is used?
}
@@ -11,12 +11,6 @@ import { tableSchema } from "@/server/routers/contentstack/schemas/blocks/table"
import { textColsSchema } from "@/server/routers/contentstack/schemas/blocks/textCols"
import { uspGridSchema } from "@/server/routers/contentstack/schemas/blocks/uspGrid"
export enum CardsGridLayoutEnum {
TWO_COLUMNS = "twoColumnGrid",
THREE_COLUMNS = "threeColumnGrid",
TWO_PLUS_ONE = "twoPlusOne",
}
export interface TeaserCard extends z.output<typeof teaserCardBlockSchema> {}
export interface CardsGrid extends z.output<typeof cardsGridSchema> {}
export interface Content extends z.output<typeof contentSchema> {}