feat(SW-285): Ship support for ContentPageBlocksCardsGrid
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import { Block } from "@/server/routers/contentstack/contentPage/output"
|
||||
import {
|
||||
Block,
|
||||
CardsGrid,
|
||||
} from "@/server/routers/contentstack/contentPage/output"
|
||||
|
||||
export type BlocksProps = {
|
||||
blocks: Block[]
|
||||
}
|
||||
|
||||
export type CardsGridProps = Pick<CardsGrid, "cards_grid"> & {
|
||||
firstItem?: boolean
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
export enum ContentBlocksTypenameEnum {
|
||||
ContentPageBlocksContent = "ContentPageBlocksContent",
|
||||
ContentPageBlocksShortcuts = "ContentPageBlocksShortcuts",
|
||||
ContentPageBlocksCardsGrid = "ContentPageBlocksCardsGrid",
|
||||
}
|
||||
|
||||
export enum CardsGridEnum {
|
||||
LoyaltyCard = "LoyaltyCard",
|
||||
Card = "Card",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user