File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,10 @@ export type BasicCardModel = {
205205 type : SubBlockType . BasicCard ;
206206} & BasicCardProps ;
207207
208+ export type PriceCardModel = {
209+ type : SubBlockType . PriceCard ;
210+ } & PriceCardProps ;
211+
208212export type SubBlockModels =
209213 | DividerModel
210214 | QuoteModel
@@ -214,6 +218,7 @@ export type SubBlockModels =
214218 | HubspotFormModel
215219 | BannerCardModel
216220 | BasicCardModel
221+ | PriceCardModel
217222 | LayoutItemModel ;
218223
219224export type SubBlock = SubBlockModels ;
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
2727 BasicCard ,
2828 Divider ,
2929 MediaCardBlock ,
30+ PriceCardBlock ,
3031 PriceDetailedBlock ,
3132 Quote ,
3233} from './validators/sub-blocks' ;
@@ -61,6 +62,7 @@ export const cardSchemas = {
6162 ...BackgroundCard ,
6263 ...Quote ,
6364 ...BasicCard ,
65+ ...PriceCardBlock ,
6466} ;
6567
6668export const constructorBlockSchemaNames = [
@@ -99,4 +101,5 @@ export const constructorCardSchemaNames = [
99101 'quote' ,
100102 'basic-card' ,
101103 'layout-item' ,
104+ 'price-card' ,
102105] ;
You can’t perform that action at this time.
0 commit comments