2025-02-14 13:57:55 +01:00
|
|
|
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";
|
2025-02-19 13:35:38 +01:00
|
|
|
import type DynamicZoneFileViewer from "./dynamic-zone/fileViewer";
|
2024-11-02 12:47:07 +01:00
|
|
|
|
|
|
|
export default interface BaseComponent {
|
|
|
|
__component: ComponentNames;
|
|
|
|
id: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type ComponentNames =
|
|
|
|
| "shared.list"
|
2025-02-14 13:57:55 +01:00
|
|
|
| "shared.emphasise-article"
|
|
|
|
| "dynamic-zone.section"
|
|
|
|
| "dynamic-zone.spacer"
|
2024-11-02 12:47:07 +01:00
|
|
|
| "dynamic-zone.gallery"
|
|
|
|
| "dynamic-zone.full-text"
|
|
|
|
| "dynamic-zone.full-image"
|
|
|
|
| "dynamic-zone.dual-column-text"
|
2025-01-18 11:30:46 +01:00
|
|
|
| "dynamic-zone.column-image-text"
|
2025-02-19 13:35:38 +01:00
|
|
|
| "dynamic-zone.file-viewer"
|
2025-01-18 11:39:03 +01:00
|
|
|
| "dynamic-zone.file-download"
|
|
|
|
| "dynamic-zone.embedding";
|
2024-11-02 12:47:07 +01:00
|
|
|
|
|
|
|
export type ComponentTypes =
|
|
|
|
| SharedList
|
2025-02-14 13:57:55 +01:00
|
|
|
| SharedEmphasiseArticle
|
|
|
|
| DynamicZoneSection
|
|
|
|
| DynamicZoneSpacer
|
2024-11-02 12:47:07 +01:00
|
|
|
| DynamicZoneGallery
|
|
|
|
| DynamicZoneFullText
|
|
|
|
| DynamicZoneFullImage
|
|
|
|
| DynamicZoneDualColumnText
|
2025-01-18 11:30:46 +01:00
|
|
|
| DynamicZoneColumnImageText
|
2025-02-19 13:35:38 +01:00
|
|
|
| DynamicZoneFileViewer
|
2025-01-18 11:39:03 +01:00
|
|
|
| DynamicZoneFileDownload
|
|
|
|
| DynamicZoneEmbedding;
|