component formatting and types
This commit is contained in:
parent
c2a7d15eeb
commit
ce745c06e5
60 changed files with 464 additions and 301 deletions
|
@ -1,12 +1,14 @@
|
|||
import type DynamicZoneColumnImageText from "./dynamicZoneColumnImageText";
|
||||
import type DynamicZoneDualColumnText from "./dynamicZoneDualColumnText";
|
||||
import type DynamicZoneEmphasiseArticle from "./dynamicZoneEmphasiseArticle";
|
||||
import type DynamicZoneFullImage from "./dynamicZoneFullImage";
|
||||
import type DynamicZoneFullText from "./dynamicZoneFullText";
|
||||
import type DynamicZoneGallery from "./dynamicZoneGallery";
|
||||
import type DynamicZoneFileDownload from "./dynamicZoneFileDownload";
|
||||
import type SharedList from "./sharedList";
|
||||
import type DynamicZoneEmbedding from "./dynamicZoneEmbedding";
|
||||
import type SharedEmphasiseArticle from "./shared/emphasiseArticle";
|
||||
import type SharedList from "./shared/list";
|
||||
import type DynamicZoneColumnImageText from "./dynamic-zone/columnImageText";
|
||||
import type DynamicZoneDualColumnText from "./dynamic-zone/dualColumnText";
|
||||
import type DynamicZoneFullImage from "./dynamic-zone/fullImage";
|
||||
import type DynamicZoneFullText from "./dynamic-zone/fullText";
|
||||
import type DynamicZoneGallery from "./dynamic-zone/gallery";
|
||||
import type DynamicZoneFileDownload from "./dynamic-zone/fileDownload";
|
||||
import type DynamicZoneEmbedding from "./dynamic-zone/embedding";
|
||||
import type DynamicZoneSection from "./dynamic-zone/section";
|
||||
import type DynamicZoneSpacer from "./dynamic-zone/spacer";
|
||||
|
||||
export default interface BaseComponent {
|
||||
__component: ComponentNames;
|
||||
|
@ -15,10 +17,12 @@ export default interface BaseComponent {
|
|||
|
||||
export type ComponentNames =
|
||||
| "shared.list"
|
||||
| "shared.emphasise-article"
|
||||
| "dynamic-zone.section"
|
||||
| "dynamic-zone.spacer"
|
||||
| "dynamic-zone.gallery"
|
||||
| "dynamic-zone.full-text"
|
||||
| "dynamic-zone.full-image"
|
||||
| "dynamic-zone.emphasise-article"
|
||||
| "dynamic-zone.dual-column-text"
|
||||
| "dynamic-zone.column-image-text"
|
||||
| "dynamic-zone.file-download"
|
||||
|
@ -26,10 +30,12 @@ export type ComponentNames =
|
|||
|
||||
export type ComponentTypes =
|
||||
| SharedList
|
||||
| SharedEmphasiseArticle
|
||||
| DynamicZoneSection
|
||||
| DynamicZoneSpacer
|
||||
| DynamicZoneGallery
|
||||
| DynamicZoneFullText
|
||||
| DynamicZoneFullImage
|
||||
| DynamicZoneEmphasiseArticle
|
||||
| DynamicZoneDualColumnText
|
||||
| DynamicZoneColumnImageText
|
||||
| DynamicZoneFileDownload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue