Skip to content

Commit

Permalink
feat(composable): Add more CmsSlotType for Frontends references (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
rittou committed Jan 20, 2023
1 parent ba616e9 commit 21131d9
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions packages/commons/interfaces/models/content/cms/CmsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,17 @@ export type CmsSlotType =
| "product-listing"
| "product-box"
| "slot"
| "text";
| "text"
| "image-slider"
| "image-gallery"
| "youtube-video"
| "vimeo-video"
| "sidebar-filter"
| "category-navigation"
| "product-description-reviews"
| "buy-box"
| "cross-selling"
| "form";

/**
* @public
Expand All @@ -164,18 +174,18 @@ export interface CmsSlot {
extensions: [any];
id: string;
translations: any | null;
config: unknown;
config: any;
slot: string;
block: CmsBlock | null;
blockId: string;
fieldConfig: CmsFieldConfig[];
data?: unknown;
data?: any;
}

/**
* @public
*/
export type SectionType = "default" | "sidebar";
export type SectionType = "default";

/**
* @public
Expand Down

0 comments on commit 21131d9

Please sign in to comment.