@lilaquadrat/interfaces 1.27.0 → 1.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/cjs/BlogIntroModule.d.ts +1 -1
- package/lib/cjs/CallToActionModule.d.ts +1 -1
- package/lib/cjs/CompareElement.d.ts +1 -1
- package/lib/cjs/CompareModule.d.ts +1 -1
- package/lib/cjs/ContactModule.d.ts +5 -8
- package/lib/cjs/CookiesModule.d.ts +1 -1
- package/lib/cjs/EmotionModule.d.ts +1 -1
- package/lib/cjs/EventModule.d.ts +1 -1
- package/lib/cjs/EventsListModule.d.ts +1 -1
- package/lib/cjs/FactsModule.d.ts +1 -1
- package/lib/cjs/FaqModule.d.ts +1 -1
- package/lib/cjs/FooterModule.d.ts +1 -1
- package/lib/cjs/GalleryModule.d.ts +1 -1
- package/lib/cjs/IndexModule.d.ts +1 -1
- package/lib/cjs/LocationModule.d.ts +1 -1
- package/lib/cjs/MenuModule.d.ts +1 -1
- package/lib/cjs/NavigationModule.d.ts +1 -1
- package/lib/cjs/PartialModule.d.ts +3 -2
- package/lib/cjs/PictureAndTextModule.d.ts +1 -1
- package/lib/cjs/PictureModule.d.ts +1 -1
- package/lib/cjs/PicturegroupModule.d.ts +1 -1
- package/lib/cjs/PlaeceholderModule.d.ts +1 -1
- package/lib/cjs/PricesModule.d.ts +1 -1
- package/lib/cjs/QuellcodeModule.d.ts +1 -1
- package/lib/cjs/QuoteModule.d.ts +1 -1
- package/lib/cjs/ShoppingCartModule.d.ts +1 -1
- package/lib/cjs/StoryModule.d.ts +1 -1
- package/lib/cjs/TextModule.d.ts +1 -1
- package/lib/cjs/TrainingMdule.d.ts +1 -1
- package/lib/cjs/VideoModule.d.ts +1 -1
- package/lib/esm/BlogIntroModule.d.ts +1 -1
- package/lib/esm/CallToActionModule.d.ts +1 -1
- package/lib/esm/CompareElement.d.ts +1 -1
- package/lib/esm/CompareModule.d.ts +1 -1
- package/lib/esm/ContactModule.d.ts +5 -8
- package/lib/esm/CookiesModule.d.ts +1 -1
- package/lib/esm/EmotionModule.d.ts +1 -1
- package/lib/esm/EventModule.d.ts +1 -1
- package/lib/esm/EventsListModule.d.ts +1 -1
- package/lib/esm/FactsModule.d.ts +1 -1
- package/lib/esm/FaqModule.d.ts +1 -1
- package/lib/esm/FooterModule.d.ts +1 -1
- package/lib/esm/GalleryModule.d.ts +1 -1
- package/lib/esm/IndexModule.d.ts +1 -1
- package/lib/esm/LocationModule.d.ts +1 -1
- package/lib/esm/MenuModule.d.ts +1 -1
- package/lib/esm/NavigationModule.d.ts +1 -1
- package/lib/esm/PartialModule.d.ts +3 -2
- package/lib/esm/PictureAndTextModule.d.ts +1 -1
- package/lib/esm/PictureModule.d.ts +1 -1
- package/lib/esm/PicturegroupModule.d.ts +1 -1
- package/lib/esm/PlaeceholderModule.d.ts +1 -1
- package/lib/esm/PricesModule.d.ts +1 -1
- package/lib/esm/QuellcodeModule.d.ts +1 -1
- package/lib/esm/QuoteModule.d.ts +1 -1
- package/lib/esm/ShoppingCartModule.d.ts +1 -1
- package/lib/esm/StoryModule.d.ts +1 -1
- package/lib/esm/TextModule.d.ts +1 -1
- package/lib/esm/TrainingMdule.d.ts +1 -1
- package/lib/esm/VideoModule.d.ts +1 -1
- package/package.json +1 -1
- package/src/BlogIntroModule.ts +1 -1
- package/src/CallToActionModule.ts +1 -1
- package/src/CompareElement.ts +1 -1
- package/src/CompareModule.ts +1 -1
- package/src/ContactModule.ts +5 -3
- package/src/CookiesModule.ts +1 -1
- package/src/EmotionModule.ts +1 -1
- package/src/EventModule.ts +1 -1
- package/src/EventsListModule.ts +1 -1
- package/src/FactsModule.ts +1 -1
- package/src/FaqModule.ts +1 -1
- package/src/FooterModule.ts +1 -1
- package/src/GalleryModule.ts +1 -1
- package/src/IndexModule.ts +1 -1
- package/src/LocationModule.ts +1 -1
- package/src/MenuModule.ts +1 -1
- package/src/NavigationModule.ts +1 -1
- package/src/PartialModule.ts +3 -2
- package/src/PictureAndTextModule.ts +1 -1
- package/src/PictureModule.ts +1 -1
- package/src/PicturegroupModule.ts +1 -1
- package/src/PlaeceholderModule.ts +1 -1
- package/src/PricesModule.ts +1 -1
- package/src/QuellcodeModule.ts +1 -1
- package/src/QuoteModule.ts +1 -1
- package/src/ShoppingCartModule.ts +1 -1
- package/src/StoryModule.ts +1 -1
- package/src/TextModule.ts +1 -1
- package/src/TrainingMdule.ts +1 -1
- package/src/VideoModule.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.28.1](https://github.com/lilaquadrat/interfaces/compare/v1.28.0...v1.28.1) (2025-04-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **CompareElement:** update elements type to support nested string arrays ([75d480a](https://github.com/lilaquadrat/interfaces/commit/75d480a9675ab021a115533ece3b9d46abfe0033))
|
|
11
|
+
|
|
12
|
+
## [1.28.0](https://github.com/lilaquadrat/interfaces/compare/v1.27.0...v1.28.0) (2025-04-26)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **modules:** enhance module type definitions to support dynamic string types ([036175a](https://github.com/lilaquadrat/interfaces/commit/036175a170e44dee2b862476dafa82d4c7dc284a))
|
|
18
|
+
|
|
5
19
|
## [1.27.0](https://github.com/lilaquadrat/interfaces/compare/v1.26.1...v1.27.0) (2025-04-26)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -3,7 +3,7 @@ import { Module } from "./Module";
|
|
|
3
3
|
import { Picture } from "./Picture";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface BlogIntroModule extends Module {
|
|
6
|
-
type: "blog-intro-module"
|
|
6
|
+
type: "blog-intro-module" | `${string}-blog-intro-module`;
|
|
7
7
|
author?: string;
|
|
8
8
|
date?: string;
|
|
9
9
|
textblock?: Textblock;
|
|
@@ -4,7 +4,7 @@ import { ListString } from "./ListString";
|
|
|
4
4
|
import { Module } from "./Module";
|
|
5
5
|
import { Textblock } from "./Textblock";
|
|
6
6
|
export interface CallToActionModule extends Module {
|
|
7
|
-
type: "callToAction-module"
|
|
7
|
+
type: "callToAction-module" | `${string}-callToAction-module`;
|
|
8
8
|
textblock?: Textblock;
|
|
9
9
|
list?: ListString;
|
|
10
10
|
links?: ListLink;
|
|
@@ -3,7 +3,7 @@ import { CompareStructureElement } from "./CompareStructureElement";
|
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface CompareModule extends Module {
|
|
6
|
-
type: "compare-module"
|
|
6
|
+
type: "compare-module" | `${string}-compare-module`;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
elements?: CompareElement[];
|
|
9
9
|
structure?: CompareStructureElement[];
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { CategoryStructure } from "./CategoryStructure";
|
|
1
2
|
import { GenericData } from "./GenericData";
|
|
3
|
+
import { GenericDataDistributed } from "./GenericDataDistributed";
|
|
2
4
|
import { Module } from "./Module";
|
|
3
5
|
import { Textblock } from "./Textblock";
|
|
4
6
|
export interface ContactModule extends Module {
|
|
5
|
-
type: "contact-module"
|
|
6
|
-
genericData?: GenericData;
|
|
7
|
+
type: "contact-module" | `${string}-contact-module`;
|
|
8
|
+
genericData?: GenericData | GenericDataDistributed;
|
|
7
9
|
textblock?: Textblock;
|
|
8
10
|
categoryTextblock?: Textblock;
|
|
9
|
-
categories?:
|
|
10
|
-
type: 'array';
|
|
11
|
-
contains: {
|
|
12
|
-
model: 'contact-category-element';
|
|
13
|
-
};
|
|
14
|
-
};
|
|
11
|
+
categories?: CategoryStructure[];
|
|
15
12
|
}
|
|
@@ -3,7 +3,7 @@ import { ListString } from "./ListString";
|
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface CookiesModule extends Module {
|
|
6
|
-
type: "cookies-module"
|
|
6
|
+
type: "cookies-module" | `${string}-cookies-module`;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
list?: ListString;
|
|
9
9
|
links?: ListLink;
|
|
@@ -4,7 +4,7 @@ import { Picture } from "./Picture";
|
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
import { Video } from "./Video";
|
|
6
6
|
export interface EmotionModule extends Module {
|
|
7
|
-
type: "emotion-module"
|
|
7
|
+
type: "emotion-module" | `${string}-emotion-module`;
|
|
8
8
|
fontVariant?: string[];
|
|
9
9
|
background?: Picture;
|
|
10
10
|
video?: Video;
|
package/lib/cjs/EventModule.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Media } from "./Media";
|
|
|
6
6
|
import { Module } from "./Module";
|
|
7
7
|
import { Textblock } from "./Textblock";
|
|
8
8
|
export interface EventModule extends Module {
|
|
9
|
-
type: "event-module"
|
|
9
|
+
type: "event-module" | `${string}-event-module`;
|
|
10
10
|
textblock?: Textblock;
|
|
11
11
|
artist?: string;
|
|
12
12
|
name?: string;
|
|
@@ -2,7 +2,7 @@ import { EventsListElement } from "./events-list-element";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface EventsListModule extends Module {
|
|
5
|
-
type: "events-list-module"
|
|
5
|
+
type: "events-list-module" | `${string}-events-list-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
elements?: EventsListElement[];
|
|
8
8
|
}
|
package/lib/cjs/FactsModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { FactsElement } from "./FactsElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface FactsModule extends Module {
|
|
5
|
-
type: "facts-module"
|
|
5
|
+
type: "facts-module" | `${string}-facts-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
elements?: FactsElement[];
|
|
8
8
|
}
|
package/lib/cjs/FaqModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Accordion } from "./Accordion";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface FaqModule extends Module {
|
|
5
|
-
type: "faq-module"
|
|
5
|
+
type: "faq-module" | `${string}-faq-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
accordion?: Accordion;
|
|
8
8
|
}
|
|
@@ -7,7 +7,7 @@ import { ListString } from "./ListString";
|
|
|
7
7
|
import { Picture } from "./Picture";
|
|
8
8
|
import { Textblock } from "./Textblock";
|
|
9
9
|
export interface FooterModule extends Module {
|
|
10
|
-
type: "footer-module"
|
|
10
|
+
type: "footer-module" | `${string}-footer-module`;
|
|
11
11
|
legal?: string;
|
|
12
12
|
contact?: FooterContact;
|
|
13
13
|
social?: FooterSocial;
|
|
@@ -2,7 +2,7 @@ import { GalleryElement } from "./GalleryElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface GalleryModule extends Module {
|
|
5
|
-
type: "gallery-module"
|
|
5
|
+
type: "gallery-module" | `${string}-gallery-module`;
|
|
6
6
|
description?: Textblock;
|
|
7
7
|
elements?: GalleryElement[];
|
|
8
8
|
}
|
package/lib/cjs/IndexModule.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ListString } from "./ListString";
|
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface LocationModule extends Module {
|
|
6
|
-
type: 'location-module'
|
|
6
|
+
type: 'location-module' | `${string}-location-module`;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
map?: string;
|
|
9
9
|
list?: ListString;
|
package/lib/cjs/MenuModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { MenuCategoryElement } from "./MenuCategoryElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface MenuModule extends Module {
|
|
5
|
-
type: "menu-module"
|
|
5
|
+
type: "menu-module" | `${string}-menu-module`;
|
|
6
6
|
name?: string;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
intro?: Textblock;
|
|
@@ -2,7 +2,7 @@ import { LinkGroupElement } from "./LinkGroupElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Picture } from "./Picture";
|
|
4
4
|
export interface NavigationModule extends Module {
|
|
5
|
-
type: "navigation-module"
|
|
5
|
+
type: "navigation-module" | `${string}-navigation-module`;
|
|
6
6
|
name?: string;
|
|
7
7
|
picture?: Picture;
|
|
8
8
|
elements?: LinkGroupElement[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { CompatibleModule } from "./CompatibleModule";
|
|
1
2
|
import { Module } from "./Module";
|
|
2
3
|
export interface PartialModule extends Module {
|
|
3
|
-
type: "partial-module"
|
|
4
|
+
type: "partial-module" | `${string}-partial-module`;
|
|
4
5
|
company?: string;
|
|
5
6
|
project?: string;
|
|
6
7
|
partialId?: string;
|
|
7
|
-
modules?: string[];
|
|
8
|
+
modules?: string[] | CompatibleModule[];
|
|
8
9
|
}
|
|
@@ -4,7 +4,7 @@ import { Module } from "./Module";
|
|
|
4
4
|
import { Picture } from "./Picture";
|
|
5
5
|
import { Textblock } from "./Textblock";
|
|
6
6
|
export interface PictureAndTextModule extends Module {
|
|
7
|
-
type: "pictureandtext-module"
|
|
7
|
+
type: "pictureandtext-module" | `${string}-pictureandtext-module`;
|
|
8
8
|
picture?: Picture;
|
|
9
9
|
textblock?: Textblock;
|
|
10
10
|
title?: Textblock;
|
|
@@ -2,7 +2,7 @@ import { Module } from "./Module";
|
|
|
2
2
|
import { Picture } from "./Picture";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface PictureModule extends Module {
|
|
5
|
-
type: "picture-module"
|
|
5
|
+
type: "picture-module" | `${string}-picture-module`;
|
|
6
6
|
picture?: Picture;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
}
|
|
@@ -3,7 +3,7 @@ import { Module } from "./Module";
|
|
|
3
3
|
import { PicturegroupElement } from "./PicturegroupElement";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface PicturegroupModule extends Module {
|
|
6
|
-
type: "picturegroup-module"
|
|
6
|
+
type: "picturegroup-module" | `${string}-picturegroup-module`;
|
|
7
7
|
elements?: PicturegroupElement[];
|
|
8
8
|
title?: Textblock;
|
|
9
9
|
list?: ListString;
|
|
@@ -2,7 +2,7 @@ import { Module } from "./Module";
|
|
|
2
2
|
import { PricesElement } from "./PricesElement";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface PricesModule extends Module {
|
|
5
|
-
type: "prices-module"
|
|
5
|
+
type: "prices-module" | `${string}-prices-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
elements?: PricesElement[];
|
|
8
8
|
}
|
package/lib/cjs/QuoteModule.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GenericData } from "./GenericData";
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
export interface ShoppingCartModule extends Module {
|
|
4
|
-
type: "shopping-cart-module"
|
|
4
|
+
type: "shopping-cart-module" | `${string}-shopping-cart-module`;
|
|
5
5
|
genericData?: GenericData;
|
|
6
6
|
}
|
package/lib/cjs/StoryModule.d.ts
CHANGED
package/lib/cjs/TextModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ListLink } from "./ListLink";
|
|
|
2
2
|
import { ListString } from "./ListString";
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
export interface TextModule extends Module {
|
|
5
|
-
type: "text-module"
|
|
5
|
+
type: "text-module" | `${string}-text-module`;
|
|
6
6
|
headline?: string;
|
|
7
7
|
subline?: string;
|
|
8
8
|
intro?: string;
|
|
@@ -2,7 +2,7 @@ import { GenericData } from "./GenericData";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface TrainingModule extends Module {
|
|
5
|
-
type: "training-module"
|
|
5
|
+
type: "training-module" | `${string}-training-module`;
|
|
6
6
|
genericData?: GenericData;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
}
|
package/lib/cjs/VideoModule.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Picture } from "./Picture";
|
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
import { Video } from "./Video";
|
|
6
6
|
export interface VideoModule extends Module {
|
|
7
|
-
type: "video-module"
|
|
7
|
+
type: "video-module" | `${string}-video-module`;
|
|
8
8
|
fontVariant?: string[];
|
|
9
9
|
video?: Video;
|
|
10
10
|
poster?: Picture;
|
|
@@ -3,7 +3,7 @@ import { Module } from "./Module";
|
|
|
3
3
|
import { Picture } from "./Picture";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface BlogIntroModule extends Module {
|
|
6
|
-
type: "blog-intro-module"
|
|
6
|
+
type: "blog-intro-module" | `${string}-blog-intro-module`;
|
|
7
7
|
author?: string;
|
|
8
8
|
date?: string;
|
|
9
9
|
textblock?: Textblock;
|
|
@@ -4,7 +4,7 @@ import { ListString } from "./ListString";
|
|
|
4
4
|
import { Module } from "./Module";
|
|
5
5
|
import { Textblock } from "./Textblock";
|
|
6
6
|
export interface CallToActionModule extends Module {
|
|
7
|
-
type: "callToAction-module"
|
|
7
|
+
type: "callToAction-module" | `${string}-callToAction-module`;
|
|
8
8
|
textblock?: Textblock;
|
|
9
9
|
list?: ListString;
|
|
10
10
|
links?: ListLink;
|
|
@@ -3,7 +3,7 @@ import { CompareStructureElement } from "./CompareStructureElement";
|
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface CompareModule extends Module {
|
|
6
|
-
type: "compare-module"
|
|
6
|
+
type: "compare-module" | `${string}-compare-module`;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
elements?: CompareElement[];
|
|
9
9
|
structure?: CompareStructureElement[];
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { CategoryStructure } from "./CategoryStructure";
|
|
1
2
|
import { GenericData } from "./GenericData";
|
|
3
|
+
import { GenericDataDistributed } from "./GenericDataDistributed";
|
|
2
4
|
import { Module } from "./Module";
|
|
3
5
|
import { Textblock } from "./Textblock";
|
|
4
6
|
export interface ContactModule extends Module {
|
|
5
|
-
type: "contact-module"
|
|
6
|
-
genericData?: GenericData;
|
|
7
|
+
type: "contact-module" | `${string}-contact-module`;
|
|
8
|
+
genericData?: GenericData | GenericDataDistributed;
|
|
7
9
|
textblock?: Textblock;
|
|
8
10
|
categoryTextblock?: Textblock;
|
|
9
|
-
categories?:
|
|
10
|
-
type: 'array';
|
|
11
|
-
contains: {
|
|
12
|
-
model: 'contact-category-element';
|
|
13
|
-
};
|
|
14
|
-
};
|
|
11
|
+
categories?: CategoryStructure[];
|
|
15
12
|
}
|
|
@@ -3,7 +3,7 @@ import { ListString } from "./ListString";
|
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface CookiesModule extends Module {
|
|
6
|
-
type: "cookies-module"
|
|
6
|
+
type: "cookies-module" | `${string}-cookies-module`;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
list?: ListString;
|
|
9
9
|
links?: ListLink;
|
|
@@ -4,7 +4,7 @@ import { Picture } from "./Picture";
|
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
import { Video } from "./Video";
|
|
6
6
|
export interface EmotionModule extends Module {
|
|
7
|
-
type: "emotion-module"
|
|
7
|
+
type: "emotion-module" | `${string}-emotion-module`;
|
|
8
8
|
fontVariant?: string[];
|
|
9
9
|
background?: Picture;
|
|
10
10
|
video?: Video;
|
package/lib/esm/EventModule.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Media } from "./Media";
|
|
|
6
6
|
import { Module } from "./Module";
|
|
7
7
|
import { Textblock } from "./Textblock";
|
|
8
8
|
export interface EventModule extends Module {
|
|
9
|
-
type: "event-module"
|
|
9
|
+
type: "event-module" | `${string}-event-module`;
|
|
10
10
|
textblock?: Textblock;
|
|
11
11
|
artist?: string;
|
|
12
12
|
name?: string;
|
|
@@ -2,7 +2,7 @@ import { EventsListElement } from "./events-list-element";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface EventsListModule extends Module {
|
|
5
|
-
type: "events-list-module"
|
|
5
|
+
type: "events-list-module" | `${string}-events-list-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
elements?: EventsListElement[];
|
|
8
8
|
}
|
package/lib/esm/FactsModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { FactsElement } from "./FactsElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface FactsModule extends Module {
|
|
5
|
-
type: "facts-module"
|
|
5
|
+
type: "facts-module" | `${string}-facts-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
elements?: FactsElement[];
|
|
8
8
|
}
|
package/lib/esm/FaqModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Accordion } from "./Accordion";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface FaqModule extends Module {
|
|
5
|
-
type: "faq-module"
|
|
5
|
+
type: "faq-module" | `${string}-faq-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
accordion?: Accordion;
|
|
8
8
|
}
|
|
@@ -7,7 +7,7 @@ import { ListString } from "./ListString";
|
|
|
7
7
|
import { Picture } from "./Picture";
|
|
8
8
|
import { Textblock } from "./Textblock";
|
|
9
9
|
export interface FooterModule extends Module {
|
|
10
|
-
type: "footer-module"
|
|
10
|
+
type: "footer-module" | `${string}-footer-module`;
|
|
11
11
|
legal?: string;
|
|
12
12
|
contact?: FooterContact;
|
|
13
13
|
social?: FooterSocial;
|
|
@@ -2,7 +2,7 @@ import { GalleryElement } from "./GalleryElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface GalleryModule extends Module {
|
|
5
|
-
type: "gallery-module"
|
|
5
|
+
type: "gallery-module" | `${string}-gallery-module`;
|
|
6
6
|
description?: Textblock;
|
|
7
7
|
elements?: GalleryElement[];
|
|
8
8
|
}
|
package/lib/esm/IndexModule.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ListString } from "./ListString";
|
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface LocationModule extends Module {
|
|
6
|
-
type: 'location-module'
|
|
6
|
+
type: 'location-module' | `${string}-location-module`;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
map?: string;
|
|
9
9
|
list?: ListString;
|
package/lib/esm/MenuModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { MenuCategoryElement } from "./MenuCategoryElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface MenuModule extends Module {
|
|
5
|
-
type: "menu-module"
|
|
5
|
+
type: "menu-module" | `${string}-menu-module`;
|
|
6
6
|
name?: string;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
intro?: Textblock;
|
|
@@ -2,7 +2,7 @@ import { LinkGroupElement } from "./LinkGroupElement";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Picture } from "./Picture";
|
|
4
4
|
export interface NavigationModule extends Module {
|
|
5
|
-
type: "navigation-module"
|
|
5
|
+
type: "navigation-module" | `${string}-navigation-module`;
|
|
6
6
|
name?: string;
|
|
7
7
|
picture?: Picture;
|
|
8
8
|
elements?: LinkGroupElement[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { CompatibleModule } from "./CompatibleModule";
|
|
1
2
|
import { Module } from "./Module";
|
|
2
3
|
export interface PartialModule extends Module {
|
|
3
|
-
type: "partial-module"
|
|
4
|
+
type: "partial-module" | `${string}-partial-module`;
|
|
4
5
|
company?: string;
|
|
5
6
|
project?: string;
|
|
6
7
|
partialId?: string;
|
|
7
|
-
modules?: string[];
|
|
8
|
+
modules?: string[] | CompatibleModule[];
|
|
8
9
|
}
|
|
@@ -4,7 +4,7 @@ import { Module } from "./Module";
|
|
|
4
4
|
import { Picture } from "./Picture";
|
|
5
5
|
import { Textblock } from "./Textblock";
|
|
6
6
|
export interface PictureAndTextModule extends Module {
|
|
7
|
-
type: "pictureandtext-module"
|
|
7
|
+
type: "pictureandtext-module" | `${string}-pictureandtext-module`;
|
|
8
8
|
picture?: Picture;
|
|
9
9
|
textblock?: Textblock;
|
|
10
10
|
title?: Textblock;
|
|
@@ -2,7 +2,7 @@ import { Module } from "./Module";
|
|
|
2
2
|
import { Picture } from "./Picture";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface PictureModule extends Module {
|
|
5
|
-
type: "picture-module"
|
|
5
|
+
type: "picture-module" | `${string}-picture-module`;
|
|
6
6
|
picture?: Picture;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
}
|
|
@@ -3,7 +3,7 @@ import { Module } from "./Module";
|
|
|
3
3
|
import { PicturegroupElement } from "./PicturegroupElement";
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
export interface PicturegroupModule extends Module {
|
|
6
|
-
type: "picturegroup-module"
|
|
6
|
+
type: "picturegroup-module" | `${string}-picturegroup-module`;
|
|
7
7
|
elements?: PicturegroupElement[];
|
|
8
8
|
title?: Textblock;
|
|
9
9
|
list?: ListString;
|
|
@@ -2,7 +2,7 @@ import { Module } from "./Module";
|
|
|
2
2
|
import { PricesElement } from "./PricesElement";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface PricesModule extends Module {
|
|
5
|
-
type: "prices-module"
|
|
5
|
+
type: "prices-module" | `${string}-prices-module`;
|
|
6
6
|
textblock?: Textblock;
|
|
7
7
|
elements?: PricesElement[];
|
|
8
8
|
}
|
package/lib/esm/QuoteModule.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GenericData } from "./GenericData";
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
export interface ShoppingCartModule extends Module {
|
|
4
|
-
type: "shopping-cart-module"
|
|
4
|
+
type: "shopping-cart-module" | `${string}-shopping-cart-module`;
|
|
5
5
|
genericData?: GenericData;
|
|
6
6
|
}
|
package/lib/esm/StoryModule.d.ts
CHANGED
package/lib/esm/TextModule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ListLink } from "./ListLink";
|
|
|
2
2
|
import { ListString } from "./ListString";
|
|
3
3
|
import { Module } from "./Module";
|
|
4
4
|
export interface TextModule extends Module {
|
|
5
|
-
type: "text-module"
|
|
5
|
+
type: "text-module" | `${string}-text-module`;
|
|
6
6
|
headline?: string;
|
|
7
7
|
subline?: string;
|
|
8
8
|
intro?: string;
|
|
@@ -2,7 +2,7 @@ import { GenericData } from "./GenericData";
|
|
|
2
2
|
import { Module } from "./Module";
|
|
3
3
|
import { Textblock } from "./Textblock";
|
|
4
4
|
export interface TrainingModule extends Module {
|
|
5
|
-
type: "training-module"
|
|
5
|
+
type: "training-module" | `${string}-training-module`;
|
|
6
6
|
genericData?: GenericData;
|
|
7
7
|
textblock?: Textblock;
|
|
8
8
|
}
|
package/lib/esm/VideoModule.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Picture } from "./Picture";
|
|
|
4
4
|
import { Textblock } from "./Textblock";
|
|
5
5
|
import { Video } from "./Video";
|
|
6
6
|
export interface VideoModule extends Module {
|
|
7
|
-
type: "video-module"
|
|
7
|
+
type: "video-module" | `${string}-video-module`;
|
|
8
8
|
fontVariant?: string[];
|
|
9
9
|
video?: Video;
|
|
10
10
|
poster?: Picture;
|
package/package.json
CHANGED
package/src/BlogIntroModule.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Picture } from "./Picture"
|
|
|
4
4
|
import { Textblock } from "./Textblock"
|
|
5
5
|
|
|
6
6
|
export interface BlogIntroModule extends Module {
|
|
7
|
-
type: "blog-intro-module"
|
|
7
|
+
type: "blog-intro-module" | `${string}-blog-intro-module`
|
|
8
8
|
author?: string
|
|
9
9
|
date?: string
|
|
10
10
|
textblock?: Textblock
|
|
@@ -5,7 +5,7 @@ import { Module } from "./Module"
|
|
|
5
5
|
import { Textblock } from "./Textblock"
|
|
6
6
|
|
|
7
7
|
export interface CallToActionModule extends Module {
|
|
8
|
-
type: "callToAction-module"
|
|
8
|
+
type: "callToAction-module" | `${string}-callToAction-module`
|
|
9
9
|
textblock?: Textblock
|
|
10
10
|
list?: ListString
|
|
11
11
|
links?: ListLink
|
package/src/CompareElement.ts
CHANGED
package/src/CompareModule.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Module } from "./Module"
|
|
|
4
4
|
import { Textblock } from "./Textblock"
|
|
5
5
|
|
|
6
6
|
export interface CompareModule extends Module {
|
|
7
|
-
type: "compare-module"
|
|
7
|
+
type: "compare-module" | `${string}-compare-module`
|
|
8
8
|
textblock?: Textblock
|
|
9
9
|
elements?: CompareElement[]
|
|
10
10
|
structure?: CompareStructureElement[]
|
package/src/ContactModule.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { CategoryStructure } from "./CategoryStructure"
|
|
1
2
|
import { GenericData } from "./GenericData"
|
|
3
|
+
import { GenericDataDistributed } from "./GenericDataDistributed"
|
|
2
4
|
import { Module } from "./Module"
|
|
3
5
|
import { Textblock } from "./Textblock"
|
|
4
6
|
|
|
5
7
|
export interface ContactModule extends Module {
|
|
6
|
-
type: "contact-module"
|
|
7
|
-
genericData?: GenericData
|
|
8
|
+
type: "contact-module" | `${string}-contact-module`
|
|
9
|
+
genericData?: GenericData | GenericDataDistributed
|
|
8
10
|
textblock?: Textblock
|
|
9
11
|
categoryTextblock?: Textblock
|
|
10
|
-
categories?:
|
|
12
|
+
categories?: CategoryStructure[]
|
|
11
13
|
}
|
package/src/CookiesModule.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Module } from "./Module"
|
|
|
4
4
|
import { Textblock } from "./Textblock"
|
|
5
5
|
|
|
6
6
|
export interface CookiesModule extends Module {
|
|
7
|
-
type: "cookies-module"
|
|
7
|
+
type: "cookies-module" | `${string}-cookies-module`
|
|
8
8
|
textblock?: Textblock
|
|
9
9
|
list?: ListString
|
|
10
10
|
links?: ListLink
|
package/src/EmotionModule.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Textblock } from "./Textblock"
|
|
|
5
5
|
import { Video } from "./Video"
|
|
6
6
|
|
|
7
7
|
export interface EmotionModule extends Module {
|
|
8
|
-
type: "emotion-module"
|
|
8
|
+
type: "emotion-module" | `${string}-emotion-module`
|
|
9
9
|
fontVariant?: string[]
|
|
10
10
|
background?: Picture
|
|
11
11
|
video?: Video
|
package/src/EventModule.ts
CHANGED
package/src/EventsListModule.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Module } from "./Module"
|
|
|
3
3
|
import { Textblock } from "./Textblock"
|
|
4
4
|
|
|
5
5
|
export interface EventsListModule extends Module {
|
|
6
|
-
type: "events-list-module"
|
|
6
|
+
type: "events-list-module" | `${string}-events-list-module`
|
|
7
7
|
textblock?: Textblock
|
|
8
8
|
elements?: EventsListElement[]
|
|
9
9
|
}
|
package/src/FactsModule.ts
CHANGED
package/src/FaqModule.ts
CHANGED
package/src/FooterModule.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { Picture } from "./Picture"
|
|
|
8
8
|
import { Textblock } from "./Textblock"
|
|
9
9
|
|
|
10
10
|
export interface FooterModule extends Module {
|
|
11
|
-
type: "footer-module"
|
|
11
|
+
type: "footer-module" | `${string}-footer-module`
|
|
12
12
|
legal?: string
|
|
13
13
|
contact?: FooterContact
|
|
14
14
|
social?: FooterSocial
|
package/src/GalleryModule.ts
CHANGED
package/src/IndexModule.ts
CHANGED
package/src/LocationModule.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Module } from "./Module"
|
|
|
4
4
|
import { Textblock } from "./Textblock"
|
|
5
5
|
|
|
6
6
|
export interface LocationModule extends Module {
|
|
7
|
-
type: 'location-module'
|
|
7
|
+
type: 'location-module' | `${string}-location-module`
|
|
8
8
|
textblock?: Textblock
|
|
9
9
|
map?: string
|
|
10
10
|
list?: ListString
|
package/src/MenuModule.ts
CHANGED
package/src/NavigationModule.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Module } from "./Module"
|
|
|
3
3
|
import { Picture } from "./Picture"
|
|
4
4
|
|
|
5
5
|
export interface NavigationModule extends Module {
|
|
6
|
-
type: "navigation-module"
|
|
6
|
+
type: "navigation-module" | `${string}-navigation-module`
|
|
7
7
|
name?: string
|
|
8
8
|
picture?: Picture
|
|
9
9
|
elements?: LinkGroupElement[]
|
package/src/PartialModule.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CompatibleModule } from "./CompatibleModule";
|
|
1
2
|
import { Module } from "./Module";
|
|
2
3
|
|
|
3
4
|
export interface PartialModule extends Module {
|
|
4
|
-
type: "partial-module"
|
|
5
|
+
type: "partial-module" | `${string}-partial-module`;
|
|
5
6
|
company?: string;
|
|
6
7
|
project?: string;
|
|
7
8
|
partialId?: string;
|
|
8
|
-
modules?: string[];
|
|
9
|
+
modules?: string[] | CompatibleModule[];
|
|
9
10
|
}
|
|
@@ -5,7 +5,7 @@ import { Picture } from "./Picture"
|
|
|
5
5
|
import { Textblock } from "./Textblock"
|
|
6
6
|
|
|
7
7
|
export interface PictureAndTextModule extends Module {
|
|
8
|
-
type: "pictureandtext-module"
|
|
8
|
+
type: "pictureandtext-module" | `${string}-pictureandtext-module`
|
|
9
9
|
picture?: Picture
|
|
10
10
|
textblock?: Textblock
|
|
11
11
|
title?: Textblock
|
package/src/PictureModule.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { PicturegroupElement } from "./PicturegroupElement"
|
|
|
4
4
|
import { Textblock } from "./Textblock"
|
|
5
5
|
|
|
6
6
|
export interface PicturegroupModule extends Module {
|
|
7
|
-
type: "picturegroup-module"
|
|
7
|
+
type: "picturegroup-module" | `${string}-picturegroup-module`
|
|
8
8
|
elements?: PicturegroupElement[]
|
|
9
9
|
title?: Textblock
|
|
10
10
|
list?: ListString
|
package/src/PricesModule.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { PricesElement } from "./PricesElement"
|
|
|
3
3
|
import { Textblock } from "./Textblock"
|
|
4
4
|
|
|
5
5
|
export interface PricesModule extends Module {
|
|
6
|
-
type: "prices-module"
|
|
6
|
+
type: "prices-module" | `${string}-prices-module`
|
|
7
7
|
textblock?: Textblock
|
|
8
8
|
elements?: PricesElement[]
|
|
9
9
|
}
|
package/src/QuellcodeModule.ts
CHANGED
package/src/QuoteModule.ts
CHANGED
package/src/StoryModule.ts
CHANGED
package/src/TextModule.ts
CHANGED
package/src/TrainingMdule.ts
CHANGED
package/src/VideoModule.ts
CHANGED