@lilaquadrat/interfaces 1.26.1 → 1.27.0

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.
Files changed (332) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/lib/cjs/Accordion.d.ts +7 -0
  3. package/lib/cjs/AccordtionElement.d.ts +8 -0
  4. package/lib/cjs/Auth0ProjectSettings.d.ts +1 -1
  5. package/lib/cjs/BlogIntroModule.d.ts +12 -0
  6. package/lib/cjs/CallToActionModule.d.ts +12 -0
  7. package/lib/cjs/CompareElement.d.ts +5 -0
  8. package/lib/cjs/CompareModule.d.ts +10 -0
  9. package/lib/cjs/CompareStructureElement.d.ts +5 -0
  10. package/lib/cjs/CompatibleModule.d.ts +33 -0
  11. package/lib/cjs/ContactCategoryElement.d.ts +7 -0
  12. package/lib/cjs/ContactModule.d.ts +15 -0
  13. package/lib/cjs/Content.d.ts +9 -2
  14. package/lib/cjs/CookiesModule.d.ts +10 -0
  15. package/lib/cjs/EditorSettings.d.ts +3 -0
  16. package/lib/cjs/EmotionModule.d.ts +14 -0
  17. package/lib/cjs/EventModule.d.ts +21 -0
  18. package/lib/cjs/EventsListModule.d.ts +8 -0
  19. package/lib/cjs/FactsElement.d.ts +6 -0
  20. package/lib/cjs/FactsModule.d.ts +8 -0
  21. package/lib/cjs/FaqModule.d.ts +8 -0
  22. package/lib/cjs/FooterContact.d.ts +5 -0
  23. package/lib/cjs/FooterModule.d.ts +19 -0
  24. package/lib/cjs/FooterSitemap.d.ts +5 -0
  25. package/lib/cjs/FooterSocial.d.ts +7 -0
  26. package/lib/cjs/GalleryElement.d.ts +6 -0
  27. package/lib/cjs/GalleryModule.d.ts +8 -0
  28. package/lib/cjs/GenericDataSingle.d.ts +8 -0
  29. package/lib/cjs/IndexModule.d.ts +6 -0
  30. package/lib/cjs/Link.d.ts +9 -0
  31. package/lib/cjs/LinkGroupElement.d.ts +12 -0
  32. package/lib/cjs/ListCategory.d.ts +1 -1
  33. package/lib/cjs/ListLink.d.ts +5 -0
  34. package/lib/cjs/ListString.d.ts +4 -0
  35. package/lib/cjs/LocationModule.d.ts +11 -0
  36. package/lib/cjs/MediaApp.d.ts +12 -0
  37. package/lib/cjs/MenuCategoryElement.d.ts +6 -0
  38. package/lib/cjs/MenuItemElement.d.ts +9 -0
  39. package/lib/cjs/MenuModule.d.ts +10 -0
  40. package/lib/cjs/Module.d.ts +15 -0
  41. package/lib/cjs/ModuleIndex.d.ts +4 -0
  42. package/lib/cjs/ModulePdf.d.ts +4 -0
  43. package/lib/cjs/NavigationModule.d.ts +9 -0
  44. package/lib/cjs/PartialModule.d.ts +8 -0
  45. package/lib/cjs/Picture.d.ts +9 -0
  46. package/lib/cjs/PictureAndTextModule.d.ts +13 -0
  47. package/lib/cjs/PictureModule.d.ts +8 -0
  48. package/lib/cjs/PictureSource.d.ts +6 -0
  49. package/lib/cjs/PicturegroupElement.d.ts +12 -0
  50. package/lib/cjs/PicturegroupModule.d.ts +11 -0
  51. package/lib/cjs/PlaeceholderModule.d.ts +6 -0
  52. package/lib/cjs/Price.d.ts +4 -4
  53. package/lib/cjs/PricesElement.d.ts +11 -0
  54. package/lib/cjs/PricesModule.d.ts +8 -0
  55. package/lib/cjs/Project.d.ts +2 -2
  56. package/lib/cjs/QuellcodeModule.d.ts +9 -0
  57. package/lib/cjs/QuoteModule.d.ts +8 -0
  58. package/lib/cjs/SelectedFile.d.ts +6 -0
  59. package/lib/cjs/ShopifyProjectSettings.d.ts +1 -1
  60. package/lib/cjs/ShoppingCartModule.d.ts +6 -0
  61. package/lib/cjs/StoryModule.d.ts +6 -0
  62. package/lib/cjs/TextModule.d.ts +12 -0
  63. package/lib/cjs/Textblock.d.ts +6 -0
  64. package/lib/cjs/TrainingMdule.d.ts +8 -0
  65. package/lib/cjs/Video.d.ts +12 -0
  66. package/lib/cjs/VideoModule.d.ts +13 -0
  67. package/lib/cjs/VideoSource.d.ts +4 -0
  68. package/lib/cjs/events-list-element.d.ts +16 -0
  69. package/lib/cjs/index.d.ts +63 -1
  70. package/lib/cjs/story-element.d.ts +11 -0
  71. package/lib/esm/Accordion.d.ts +7 -0
  72. package/lib/esm/Accordion.js +2 -0
  73. package/lib/esm/Accordion.js.map +1 -0
  74. package/lib/esm/AccordtionElement.d.ts +8 -0
  75. package/lib/esm/AccordtionElement.js +2 -0
  76. package/lib/esm/AccordtionElement.js.map +1 -0
  77. package/lib/esm/Auth0ProjectSettings.d.ts +1 -1
  78. package/lib/esm/BlogIntroModule.d.ts +12 -0
  79. package/lib/esm/BlogIntroModule.js +2 -0
  80. package/lib/esm/BlogIntroModule.js.map +1 -0
  81. package/lib/esm/CallToActionModule.d.ts +12 -0
  82. package/lib/esm/CallToActionModule.js +2 -0
  83. package/lib/esm/CallToActionModule.js.map +1 -0
  84. package/lib/esm/CompareElement.d.ts +5 -0
  85. package/lib/esm/CompareElement.js +2 -0
  86. package/lib/esm/CompareElement.js.map +1 -0
  87. package/lib/esm/CompareModule.d.ts +10 -0
  88. package/lib/esm/CompareModule.js +2 -0
  89. package/lib/esm/CompareModule.js.map +1 -0
  90. package/lib/esm/CompareStructureElement.d.ts +5 -0
  91. package/lib/esm/CompareStructureElement.js +2 -0
  92. package/lib/esm/CompareStructureElement.js.map +1 -0
  93. package/lib/esm/CompatibleModule.d.ts +33 -0
  94. package/lib/esm/CompatibleModule.js +2 -0
  95. package/lib/esm/CompatibleModule.js.map +1 -0
  96. package/lib/esm/ContactCategoryElement.d.ts +7 -0
  97. package/lib/esm/ContactCategoryElement.js +2 -0
  98. package/lib/esm/ContactCategoryElement.js.map +1 -0
  99. package/lib/esm/ContactModule.d.ts +15 -0
  100. package/lib/esm/ContactModule.js +2 -0
  101. package/lib/esm/ContactModule.js.map +1 -0
  102. package/lib/esm/Content.d.ts +9 -2
  103. package/lib/esm/CookiesModule.d.ts +10 -0
  104. package/lib/esm/CookiesModule.js +2 -0
  105. package/lib/esm/CookiesModule.js.map +1 -0
  106. package/lib/esm/EditorSettings.d.ts +3 -0
  107. package/lib/esm/EditorSettings.js +2 -0
  108. package/lib/esm/EditorSettings.js.map +1 -0
  109. package/lib/esm/EmotionModule.d.ts +14 -0
  110. package/lib/esm/EmotionModule.js +2 -0
  111. package/lib/esm/EmotionModule.js.map +1 -0
  112. package/lib/esm/EventModule.d.ts +21 -0
  113. package/lib/esm/EventModule.js +2 -0
  114. package/lib/esm/EventModule.js.map +1 -0
  115. package/lib/esm/EventsListModule.d.ts +8 -0
  116. package/lib/esm/EventsListModule.js +2 -0
  117. package/lib/esm/EventsListModule.js.map +1 -0
  118. package/lib/esm/FactsElement.d.ts +6 -0
  119. package/lib/esm/FactsElement.js +2 -0
  120. package/lib/esm/FactsElement.js.map +1 -0
  121. package/lib/esm/FactsModule.d.ts +8 -0
  122. package/lib/esm/FactsModule.js +2 -0
  123. package/lib/esm/FactsModule.js.map +1 -0
  124. package/lib/esm/FaqModule.d.ts +8 -0
  125. package/lib/esm/FaqModule.js +2 -0
  126. package/lib/esm/FaqModule.js.map +1 -0
  127. package/lib/esm/FooterContact.d.ts +5 -0
  128. package/lib/esm/FooterContact.js +2 -0
  129. package/lib/esm/FooterContact.js.map +1 -0
  130. package/lib/esm/FooterModule.d.ts +19 -0
  131. package/lib/esm/FooterModule.js +2 -0
  132. package/lib/esm/FooterModule.js.map +1 -0
  133. package/lib/esm/FooterSitemap.d.ts +5 -0
  134. package/lib/esm/FooterSitemap.js +2 -0
  135. package/lib/esm/FooterSitemap.js.map +1 -0
  136. package/lib/esm/FooterSocial.d.ts +7 -0
  137. package/lib/esm/FooterSocial.js +2 -0
  138. package/lib/esm/FooterSocial.js.map +1 -0
  139. package/lib/esm/GalleryElement.d.ts +6 -0
  140. package/lib/esm/GalleryElement.js +2 -0
  141. package/lib/esm/GalleryElement.js.map +1 -0
  142. package/lib/esm/GalleryModule.d.ts +8 -0
  143. package/lib/esm/GalleryModule.js +2 -0
  144. package/lib/esm/GalleryModule.js.map +1 -0
  145. package/lib/esm/GenericDataSingle.d.ts +8 -0
  146. package/lib/esm/GenericDataSingle.js +2 -0
  147. package/lib/esm/GenericDataSingle.js.map +1 -0
  148. package/lib/esm/IndexModule.d.ts +6 -0
  149. package/lib/esm/IndexModule.js +2 -0
  150. package/lib/esm/IndexModule.js.map +1 -0
  151. package/lib/esm/Link.d.ts +9 -0
  152. package/lib/esm/Link.js +2 -0
  153. package/lib/esm/Link.js.map +1 -0
  154. package/lib/esm/LinkGroupElement.d.ts +12 -0
  155. package/lib/esm/LinkGroupElement.js +2 -0
  156. package/lib/esm/LinkGroupElement.js.map +1 -0
  157. package/lib/esm/ListCategory.d.ts +1 -1
  158. package/lib/esm/ListLink.d.ts +5 -0
  159. package/lib/esm/ListLink.js +2 -0
  160. package/lib/esm/ListLink.js.map +1 -0
  161. package/lib/esm/ListString.d.ts +4 -0
  162. package/lib/esm/ListString.js +2 -0
  163. package/lib/esm/ListString.js.map +1 -0
  164. package/lib/esm/LocationModule.d.ts +11 -0
  165. package/lib/esm/LocationModule.js +2 -0
  166. package/lib/esm/LocationModule.js.map +1 -0
  167. package/lib/esm/MediaApp.d.ts +12 -0
  168. package/lib/esm/MediaApp.js +2 -0
  169. package/lib/esm/MediaApp.js.map +1 -0
  170. package/lib/esm/MenuCategoryElement.d.ts +6 -0
  171. package/lib/esm/MenuCategoryElement.js +2 -0
  172. package/lib/esm/MenuCategoryElement.js.map +1 -0
  173. package/lib/esm/MenuItemElement.d.ts +9 -0
  174. package/lib/esm/MenuItemElement.js +2 -0
  175. package/lib/esm/MenuItemElement.js.map +1 -0
  176. package/lib/esm/MenuModule.d.ts +10 -0
  177. package/lib/esm/MenuModule.js +2 -0
  178. package/lib/esm/MenuModule.js.map +1 -0
  179. package/lib/esm/Module.d.ts +15 -0
  180. package/lib/esm/Module.js +2 -0
  181. package/lib/esm/Module.js.map +1 -0
  182. package/lib/esm/ModuleIndex.d.ts +4 -0
  183. package/lib/esm/ModuleIndex.js +2 -0
  184. package/lib/esm/ModuleIndex.js.map +1 -0
  185. package/lib/esm/ModulePdf.d.ts +4 -0
  186. package/lib/esm/ModulePdf.js +2 -0
  187. package/lib/esm/ModulePdf.js.map +1 -0
  188. package/lib/esm/NavigationModule.d.ts +9 -0
  189. package/lib/esm/NavigationModule.js +2 -0
  190. package/lib/esm/NavigationModule.js.map +1 -0
  191. package/lib/esm/PartialModule.d.ts +8 -0
  192. package/lib/esm/PartialModule.js +2 -0
  193. package/lib/esm/PartialModule.js.map +1 -0
  194. package/lib/esm/Picture.d.ts +9 -0
  195. package/lib/esm/Picture.js +2 -0
  196. package/lib/esm/Picture.js.map +1 -0
  197. package/lib/esm/PictureAndTextModule.d.ts +13 -0
  198. package/lib/esm/PictureAndTextModule.js +2 -0
  199. package/lib/esm/PictureAndTextModule.js.map +1 -0
  200. package/lib/esm/PictureModule.d.ts +8 -0
  201. package/lib/esm/PictureModule.js +2 -0
  202. package/lib/esm/PictureModule.js.map +1 -0
  203. package/lib/esm/PictureSource.d.ts +6 -0
  204. package/lib/esm/PictureSource.js +2 -0
  205. package/lib/esm/PictureSource.js.map +1 -0
  206. package/lib/esm/PicturegroupElement.d.ts +12 -0
  207. package/lib/esm/PicturegroupElement.js +2 -0
  208. package/lib/esm/PicturegroupElement.js.map +1 -0
  209. package/lib/esm/PicturegroupModule.d.ts +11 -0
  210. package/lib/esm/PicturegroupModule.js +2 -0
  211. package/lib/esm/PicturegroupModule.js.map +1 -0
  212. package/lib/esm/PlaeceholderModule.d.ts +6 -0
  213. package/lib/esm/PlaeceholderModule.js +2 -0
  214. package/lib/esm/PlaeceholderModule.js.map +1 -0
  215. package/lib/esm/Price.d.ts +4 -4
  216. package/lib/esm/PricesElement.d.ts +11 -0
  217. package/lib/esm/PricesElement.js +2 -0
  218. package/lib/esm/PricesElement.js.map +1 -0
  219. package/lib/esm/PricesModule.d.ts +8 -0
  220. package/lib/esm/PricesModule.js +2 -0
  221. package/lib/esm/PricesModule.js.map +1 -0
  222. package/lib/esm/Project.d.ts +2 -2
  223. package/lib/esm/QuellcodeModule.d.ts +9 -0
  224. package/lib/esm/QuellcodeModule.js +2 -0
  225. package/lib/esm/QuellcodeModule.js.map +1 -0
  226. package/lib/esm/QuoteModule.d.ts +8 -0
  227. package/lib/esm/QuoteModule.js +2 -0
  228. package/lib/esm/QuoteModule.js.map +1 -0
  229. package/lib/esm/SelectedFile.d.ts +6 -0
  230. package/lib/esm/SelectedFile.js +2 -0
  231. package/lib/esm/SelectedFile.js.map +1 -0
  232. package/lib/esm/ShopifyProjectSettings.d.ts +1 -1
  233. package/lib/esm/ShoppingCartModule.d.ts +6 -0
  234. package/lib/esm/ShoppingCartModule.js +2 -0
  235. package/lib/esm/ShoppingCartModule.js.map +1 -0
  236. package/lib/esm/StoryModule.d.ts +6 -0
  237. package/lib/esm/StoryModule.js +2 -0
  238. package/lib/esm/StoryModule.js.map +1 -0
  239. package/lib/esm/TextModule.d.ts +12 -0
  240. package/lib/esm/TextModule.js +2 -0
  241. package/lib/esm/TextModule.js.map +1 -0
  242. package/lib/esm/Textblock.d.ts +6 -0
  243. package/lib/esm/Textblock.js +2 -0
  244. package/lib/esm/Textblock.js.map +1 -0
  245. package/lib/esm/TrainingMdule.d.ts +8 -0
  246. package/lib/esm/TrainingMdule.js +2 -0
  247. package/lib/esm/TrainingMdule.js.map +1 -0
  248. package/lib/esm/Video.d.ts +12 -0
  249. package/lib/esm/Video.js +2 -0
  250. package/lib/esm/Video.js.map +1 -0
  251. package/lib/esm/VideoModule.d.ts +13 -0
  252. package/lib/esm/VideoModule.js +2 -0
  253. package/lib/esm/VideoModule.js.map +1 -0
  254. package/lib/esm/VideoSource.d.ts +4 -0
  255. package/lib/esm/VideoSource.js +2 -0
  256. package/lib/esm/VideoSource.js.map +1 -0
  257. package/lib/esm/events-list-element.d.ts +16 -0
  258. package/lib/esm/events-list-element.js +2 -0
  259. package/lib/esm/events-list-element.js.map +1 -0
  260. package/lib/esm/index.d.ts +63 -1
  261. package/lib/esm/story-element.d.ts +11 -0
  262. package/lib/esm/story-element.js +2 -0
  263. package/lib/esm/story-element.js.map +1 -0
  264. package/package.json +1 -1
  265. package/src/Accordion.ts +9 -0
  266. package/src/AccordtionElement.ts +9 -0
  267. package/src/Auth0ProjectSettings.ts +1 -1
  268. package/src/BlogIntroModule.ts +13 -0
  269. package/src/CallToActionModule.ts +13 -0
  270. package/src/CompareElement.ts +6 -0
  271. package/src/CompareModule.ts +11 -0
  272. package/src/CompareStructureElement.ts +5 -0
  273. package/src/CompatibleModule.ts +63 -0
  274. package/src/ContactCategoryElement.ts +9 -0
  275. package/src/ContactModule.ts +11 -0
  276. package/src/Content.ts +9 -2
  277. package/src/CookiesModule.ts +11 -0
  278. package/src/EditorSettings.ts +4 -0
  279. package/src/EmotionModule.ts +15 -0
  280. package/src/EventModule.ts +22 -0
  281. package/src/EventsListModule.ts +9 -0
  282. package/src/FactsElement.ts +8 -0
  283. package/src/FactsModule.ts +9 -0
  284. package/src/FaqModule.ts +9 -0
  285. package/src/FooterContact.ts +7 -0
  286. package/src/FooterModule.ts +20 -0
  287. package/src/FooterSitemap.ts +6 -0
  288. package/src/FooterSocial.ts +9 -0
  289. package/src/GalleryElement.ts +8 -0
  290. package/src/GalleryModule.ts +9 -0
  291. package/src/GenericDataSingle.ts +9 -0
  292. package/src/IndexModule.ts +7 -0
  293. package/src/Link.ts +10 -0
  294. package/src/LinkGroupElement.ts +14 -0
  295. package/src/ListCategory.ts +1 -1
  296. package/src/ListLink.ts +6 -0
  297. package/src/ListString.ts +4 -0
  298. package/src/LocationModule.ts +12 -0
  299. package/src/MediaApp.ts +13 -0
  300. package/src/MenuCategoryElement.ts +8 -0
  301. package/src/MenuItemElement.ts +10 -0
  302. package/src/MenuModule.ts +11 -0
  303. package/src/Module.ts +16 -0
  304. package/src/ModuleIndex.ts +4 -0
  305. package/src/ModulePdf.ts +5 -0
  306. package/src/NavigationModule.ts +10 -0
  307. package/src/PartialModule.ts +9 -0
  308. package/src/Picture.ts +11 -0
  309. package/src/PictureAndTextModule.ts +14 -0
  310. package/src/PictureModule.ts +9 -0
  311. package/src/PictureSource.ts +7 -0
  312. package/src/PicturegroupElement.ts +13 -0
  313. package/src/PicturegroupModule.ts +12 -0
  314. package/src/PlaeceholderModule.ts +7 -0
  315. package/src/Price.ts +4 -4
  316. package/src/PricesElement.ts +12 -0
  317. package/src/PricesModule.ts +9 -0
  318. package/src/Project.ts +2 -2
  319. package/src/QuellcodeModule.ts +10 -0
  320. package/src/QuoteModule.ts +9 -0
  321. package/src/SelectedFile.ts +6 -0
  322. package/src/ShopifyProjectSettings.ts +1 -1
  323. package/src/ShoppingCartModule.ts +7 -0
  324. package/src/StoryModule.ts +7 -0
  325. package/src/TextModule.ts +13 -0
  326. package/src/Textblock.ts +7 -0
  327. package/src/TrainingMdule.ts +9 -0
  328. package/src/Video.ts +13 -0
  329. package/src/VideoModule.ts +14 -0
  330. package/src/VideoSource.ts +4 -0
  331. package/src/events-list-element.ts +17 -0
  332. package/src/story-element.ts +12 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.27.0](https://github.com/lilaquadrat/interfaces/compare/v1.26.1...v1.27.0) (2025-04-26)
6
+
7
+
8
+ ### Features
9
+
10
+ * **modules:** added interfaces for all compatible modules ([2e1d6a3](https://github.com/lilaquadrat/interfaces/commit/2e1d6a3e80c163d4c39d4e873507430f264f487c))
11
+
5
12
  ### [1.26.1](https://github.com/lilaquadrat/interfaces/compare/v1.26.0...v1.26.1) (2025-04-16)
6
13
 
7
14
 
@@ -0,0 +1,7 @@
1
+ import { AccordionElement } from "./AccordtionElement";
2
+ export interface Accordion {
3
+ openOnStart?: string;
4
+ multiOpen?: boolean;
5
+ disableControls?: boolean;
6
+ elements?: AccordionElement[];
7
+ }
@@ -0,0 +1,8 @@
1
+ import { ListLink } from "./ListLink";
2
+ import { ListString } from "./ListString";
3
+ import { Textblock } from "./Textblock";
4
+ export interface AccordionElement {
5
+ textblock?: Textblock;
6
+ list?: ListString;
7
+ links?: ListLink;
8
+ }
@@ -1,3 +1,3 @@
1
- export default interface Auth0ProjectSettings {
1
+ export interface Auth0ProjectSettings {
2
2
  domain?: string;
3
3
  }
@@ -0,0 +1,12 @@
1
+ import { Link } from "./Link";
2
+ import { Module } from "./Module";
3
+ import { Picture } from "./Picture";
4
+ import { Textblock } from "./Textblock";
5
+ export interface BlogIntroModule extends Module {
6
+ type: "blog-intro-module";
7
+ author?: string;
8
+ date?: string;
9
+ textblock?: Textblock;
10
+ picture?: Picture;
11
+ link?: Link;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { Link } from "./Link";
2
+ import { ListLink } from "./ListLink";
3
+ import { ListString } from "./ListString";
4
+ import { Module } from "./Module";
5
+ import { Textblock } from "./Textblock";
6
+ export interface CallToActionModule extends Module {
7
+ type: "callToAction-module";
8
+ textblock?: Textblock;
9
+ list?: ListString;
10
+ links?: ListLink;
11
+ link?: Link;
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface CompareElement {
2
+ elements?: string[];
3
+ headline?: string;
4
+ description?: string;
5
+ }
@@ -0,0 +1,10 @@
1
+ import { CompareElement } from "./CompareElement";
2
+ import { CompareStructureElement } from "./CompareStructureElement";
3
+ import { Module } from "./Module";
4
+ import { Textblock } from "./Textblock";
5
+ export interface CompareModule extends Module {
6
+ type: "compare-module";
7
+ textblock?: Textblock;
8
+ elements?: CompareElement[];
9
+ structure?: CompareStructureElement[];
10
+ }
@@ -0,0 +1,5 @@
1
+ export interface CompareStructureElement {
2
+ headline?: string;
3
+ description?: string;
4
+ list?: string[];
5
+ }
@@ -0,0 +1,33 @@
1
+ import { BlogIntroModule } from "./BlogIntroModule";
2
+ import { CallToActionModule } from "./CallToActionModule";
3
+ import { CompareModule } from "./CompareModule";
4
+ import { ContactModule } from "./ContactModule";
5
+ import { CookiesModule } from "./CookiesModule";
6
+ import { EmotionModule } from "./EmotionModule";
7
+ import { EventModule } from "./EventModule";
8
+ import { EventsListModule } from "./EventsListModule";
9
+ import { FactsModule } from "./FactsModule";
10
+ import { FaqModule } from "./FaqModule";
11
+ import { FooterModule } from "./FooterModule";
12
+ import { GalleryModule } from "./GalleryModule";
13
+ import { IndexModule } from "./IndexModule";
14
+ import { LocationModule } from "./LocationModule";
15
+ import { MenuModule } from "./MenuModule";
16
+ import { NavigationModule } from "./NavigationModule";
17
+ import { PartialModule } from "./PartialModule";
18
+ import { PictureAndTextModule } from "./PictureAndTextModule";
19
+ import { PicturegroupModule } from "./PicturegroupModule";
20
+ import { PictureModule } from "./PictureModule";
21
+ import { PlaceholderModule } from "./PlaeceholderModule";
22
+ import { PricesModule } from "./PricesModule";
23
+ import { QuellcodeModule } from "./QuellcodeModule";
24
+ import { QuoteModule } from "./QuoteModule";
25
+ import { ShoppingCartModule } from "./ShoppingCartModule";
26
+ import { StoryModule } from "./StoryModule";
27
+ import { TextModule } from "./TextModule";
28
+ import { TrainingModule } from "./TrainingMdule";
29
+ import { VideoModule } from "./VideoModule";
30
+ /**
31
+ * Union type that combines all module interfaces for compatibility
32
+ */
33
+ export type CompatibleModule = BlogIntroModule | CallToActionModule | CompareModule | ContactModule | CookiesModule | EmotionModule | EventModule | EventsListModule | FactsModule | FaqModule | FooterModule | GalleryModule | IndexModule | LocationModule | MenuModule | NavigationModule | PartialModule | PictureAndTextModule | PictureModule | PicturegroupModule | PlaceholderModule | PricesModule | QuellcodeModule | QuoteModule | ShoppingCartModule | StoryModule | TextModule | TrainingModule | VideoModule;
@@ -0,0 +1,7 @@
1
+ import { GenericData } from "./GenericData";
2
+ export interface ContactCategoryElement {
3
+ genericData?: GenericData;
4
+ title?: string;
5
+ description?: string;
6
+ required?: string[];
7
+ }
@@ -0,0 +1,15 @@
1
+ import { GenericData } from "./GenericData";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+ export interface ContactModule extends Module {
5
+ type: "contact-module";
6
+ genericData?: GenericData;
7
+ textblock?: Textblock;
8
+ categoryTextblock?: Textblock;
9
+ categories?: {
10
+ type: 'array';
11
+ contains: {
12
+ model: 'contact-category-element';
13
+ };
14
+ };
15
+ }
@@ -1,14 +1,21 @@
1
1
  import { ChildData } from "./ChildData";
2
+ import { CompatibleModule } from "./CompatibleModule";
2
3
  import { GenericData } from "./GenericData";
3
- import { ModuleGeneric } from "./ModuleGeneric";
4
4
  import { ObjectIdString } from "./ObjectIdString";
5
5
  export interface Content {
6
6
  id: string;
7
7
  company: string;
8
8
  project: string;
9
- modules: ModuleGeneric[];
9
+ modules: CompatibleModule[];
10
10
  tags?: string[];
11
+ /**
12
+ * a description of the content which will be used as context for AI text generation
13
+ */
11
14
  description?: string;
15
+ /**
16
+ * a internal note for better understanding and identification of the content
17
+ */
18
+ note?: string;
12
19
  partial?: boolean;
13
20
  layout?: boolean;
14
21
  state: 'draft' | 'publish';
@@ -0,0 +1,10 @@
1
+ import { ListLink } from "./ListLink";
2
+ import { ListString } from "./ListString";
3
+ import { Module } from "./Module";
4
+ import { Textblock } from "./Textblock";
5
+ export interface CookiesModule extends Module {
6
+ type: "cookies-module";
7
+ textblock?: Textblock;
8
+ list?: ListString;
9
+ links?: ListLink;
10
+ }
@@ -0,0 +1,3 @@
1
+ export interface EditorSettings {
2
+ modes?: string[];
3
+ }
@@ -0,0 +1,14 @@
1
+ import { Link } from "./Link";
2
+ import { Module } from "./Module";
3
+ import { Picture } from "./Picture";
4
+ import { Textblock } from "./Textblock";
5
+ import { Video } from "./Video";
6
+ export interface EmotionModule extends Module {
7
+ type: "emotion-module";
8
+ fontVariant?: string[];
9
+ background?: Picture;
10
+ video?: Video;
11
+ textblock?: Textblock;
12
+ picture?: Picture;
13
+ links?: Link[];
14
+ }
@@ -0,0 +1,21 @@
1
+ import { GenericData } from "./GenericData";
2
+ import { Link } from "./Link";
3
+ import { ListLink } from "./ListLink";
4
+ import { ListString } from "./ListString";
5
+ import { Media } from "./Media";
6
+ import { Module } from "./Module";
7
+ import { Textblock } from "./Textblock";
8
+ export interface EventModule extends Module {
9
+ type: "event-module";
10
+ textblock?: Textblock;
11
+ artist?: string;
12
+ name?: string;
13
+ location?: string;
14
+ list?: ListString;
15
+ links?: ListLink;
16
+ callToAction?: Link;
17
+ genericData?: GenericData;
18
+ start?: Date;
19
+ end?: Date;
20
+ media?: Media;
21
+ }
@@ -0,0 +1,8 @@
1
+ import { EventsListElement } from "./events-list-element";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+ export interface EventsListModule extends Module {
5
+ type: "events-list-module";
6
+ textblock?: Textblock;
7
+ elements?: EventsListElement[];
8
+ }
@@ -0,0 +1,6 @@
1
+ import { Picture } from "./Picture";
2
+ import { Textblock } from "./Textblock";
3
+ export interface FactsElement {
4
+ picture?: Picture;
5
+ textblock?: Textblock;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { FactsElement } from "./FactsElement";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+ export interface FactsModule extends Module {
5
+ type: "facts-module";
6
+ textblock?: Textblock;
7
+ elements?: FactsElement[];
8
+ }
@@ -0,0 +1,8 @@
1
+ import { Accordion } from "./Accordion";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+ export interface FaqModule extends Module {
5
+ type: "faq-module";
6
+ textblock?: Textblock;
7
+ accordion?: Accordion;
8
+ }
@@ -0,0 +1,5 @@
1
+ import { Link } from "./Link";
2
+ export interface FooterContact {
3
+ title?: string;
4
+ link?: Link;
5
+ }
@@ -0,0 +1,19 @@
1
+ import { Module } from "./Module";
2
+ import { FooterContact } from "./FooterContact";
3
+ import { FooterSitemap } from "./FooterSitemap";
4
+ import { FooterSocial } from "./FooterSocial";
5
+ import { ListLink } from "./ListLink";
6
+ import { ListString } from "./ListString";
7
+ import { Picture } from "./Picture";
8
+ import { Textblock } from "./Textblock";
9
+ export interface FooterModule extends Module {
10
+ type: "footer-module";
11
+ legal?: string;
12
+ contact?: FooterContact;
13
+ social?: FooterSocial;
14
+ sitemap?: FooterSitemap[];
15
+ list?: ListString;
16
+ links?: ListLink;
17
+ textblock?: Textblock;
18
+ picture?: Picture;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { Link } from "./Link";
2
+ export interface FooterSitemap {
3
+ title?: string;
4
+ elements?: Link[];
5
+ }
@@ -0,0 +1,7 @@
1
+ import { Link } from "./Link";
2
+ import { PicturegroupElement } from "./PicturegroupElement";
3
+ export interface FooterSocial {
4
+ title?: string;
5
+ link?: Link;
6
+ elements?: PicturegroupElement[];
7
+ }
@@ -0,0 +1,6 @@
1
+ import { Picture } from "./Picture";
2
+ import { Textblock } from "./Textblock";
3
+ export interface GalleryElement {
4
+ picture?: Picture;
5
+ textblock?: Textblock;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { GalleryElement } from "./GalleryElement";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+ export interface GalleryModule extends Module {
5
+ type: "gallery-module";
6
+ description?: Textblock;
7
+ elements?: GalleryElement[];
8
+ }
@@ -0,0 +1,8 @@
1
+ import { Content } from "./Content";
2
+ export interface GenericDataSingle {
3
+ editor?: string;
4
+ lists?: string;
5
+ customers?: string;
6
+ media?: string;
7
+ data?: Record<string, Content>;
8
+ }
@@ -0,0 +1,6 @@
1
+ import { ListLink } from "./ListLink";
2
+ import { Module } from "./Module";
3
+ export interface IndexModule extends Module {
4
+ type: "index-module";
5
+ links?: ListLink;
6
+ }
@@ -0,0 +1,9 @@
1
+ export interface Link {
2
+ text?: string;
3
+ link?: string;
4
+ event?: string;
5
+ icon?: string;
6
+ attributes?: string[];
7
+ variant?: string[];
8
+ additionalData?: string;
9
+ }
@@ -0,0 +1,12 @@
1
+ import { Link } from "./Link";
2
+ export interface LinkGroupElement {
3
+ text?: string;
4
+ event?: string;
5
+ link?: string;
6
+ icon?: string;
7
+ classes?: string[];
8
+ attributes?: string[];
9
+ variant?: string[];
10
+ external?: boolean;
11
+ links?: Link[];
12
+ }
@@ -1,5 +1,5 @@
1
1
  import { ObjectId } from "mongodb";
2
- import Price from "./Price";
2
+ import { Price } from "./Price";
3
3
  export interface ListCategory {
4
4
  _id: ObjectId;
5
5
  id: string;
@@ -0,0 +1,5 @@
1
+ import { Link } from "./Link";
2
+ export interface ListLink {
3
+ title?: string;
4
+ value?: Link[];
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface ListString {
2
+ title?: string;
3
+ value?: string[];
4
+ }
@@ -0,0 +1,11 @@
1
+ import { ListLink } from "./ListLink";
2
+ import { ListString } from "./ListString";
3
+ import { Module } from "./Module";
4
+ import { Textblock } from "./Textblock";
5
+ export interface LocationModule extends Module {
6
+ type: 'location-module';
7
+ textblock?: Textblock;
8
+ map?: string;
9
+ list?: ListString;
10
+ links?: ListLink;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { PictureSource } from "./PictureSource";
2
+ import { SelectedFile } from "./SelectedFile";
3
+ export interface MediaApp {
4
+ src?: string;
5
+ alt?: string;
6
+ type?: string;
7
+ copyright?: string;
8
+ poster?: string;
9
+ file?: SelectedFile;
10
+ attributes?: string[];
11
+ source?: PictureSource[];
12
+ }
@@ -0,0 +1,6 @@
1
+ import { MenuItemElement } from "./MenuItemElement";
2
+ import { Textblock } from "./Textblock";
3
+ export interface MenuCategoryElement {
4
+ textblock?: Textblock;
5
+ items?: MenuItemElement[];
6
+ }
@@ -0,0 +1,9 @@
1
+ import { Picture } from "./Picture";
2
+ export interface MenuItemElement {
3
+ title?: string;
4
+ description?: string;
5
+ price?: string;
6
+ properties?: string[];
7
+ allergens?: string[];
8
+ picture?: Picture;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { MenuCategoryElement } from "./MenuCategoryElement";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+ export interface MenuModule extends Module {
5
+ type: "menu-module";
6
+ name?: string;
7
+ textblock?: Textblock;
8
+ intro?: Textblock;
9
+ categories?: MenuCategoryElement[];
10
+ }
@@ -0,0 +1,15 @@
1
+ import { EditorSettings } from "./EditorSettings";
2
+ import { ModuleIndex } from "./ModuleIndex";
3
+ import { ModulePdf } from "./ModulePdf";
4
+ export interface Module {
5
+ type: string;
6
+ id?: string;
7
+ uuid?: string;
8
+ position?: string;
9
+ layout?: string;
10
+ changed?: boolean;
11
+ variant: string[];
12
+ index?: ModuleIndex;
13
+ pdf?: ModulePdf;
14
+ editor?: EditorSettings;
15
+ }
@@ -0,0 +1,4 @@
1
+ export interface ModuleIndex {
2
+ anchor?: string;
3
+ title?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface ModulePdf {
2
+ newSiteAfter?: boolean;
3
+ newSiteBefore?: boolean;
4
+ }
@@ -0,0 +1,9 @@
1
+ import { LinkGroupElement } from "./LinkGroupElement";
2
+ import { Module } from "./Module";
3
+ import { Picture } from "./Picture";
4
+ export interface NavigationModule extends Module {
5
+ type: "navigation-module";
6
+ name?: string;
7
+ picture?: Picture;
8
+ elements?: LinkGroupElement[];
9
+ }
@@ -0,0 +1,8 @@
1
+ import { Module } from "./Module";
2
+ export interface PartialModule extends Module {
3
+ type: "partial-module";
4
+ company?: string;
5
+ project?: string;
6
+ partialId?: string;
7
+ modules?: string[];
8
+ }
@@ -0,0 +1,9 @@
1
+ import { PictureSource } from "./PictureSource";
2
+ import { SelectedFile } from "./SelectedFile";
3
+ export interface Picture {
4
+ src?: string;
5
+ alt?: string;
6
+ copyright?: string;
7
+ file?: SelectedFile;
8
+ source?: PictureSource[];
9
+ }
@@ -0,0 +1,13 @@
1
+ import { ListLink } from "./ListLink";
2
+ import { ListString } from "./ListString";
3
+ import { Module } from "./Module";
4
+ import { Picture } from "./Picture";
5
+ import { Textblock } from "./Textblock";
6
+ export interface PictureAndTextModule extends Module {
7
+ type: "pictureandtext-module";
8
+ picture?: Picture;
9
+ textblock?: Textblock;
10
+ title?: Textblock;
11
+ list?: ListString;
12
+ links?: ListLink;
13
+ }
@@ -0,0 +1,8 @@
1
+ import { Module } from "./Module";
2
+ import { Picture } from "./Picture";
3
+ import { Textblock } from "./Textblock";
4
+ export interface PictureModule extends Module {
5
+ type: "picture-module";
6
+ picture?: Picture;
7
+ textblock?: Textblock;
8
+ }
@@ -0,0 +1,6 @@
1
+ import { SelectedFile } from "./SelectedFile";
2
+ export interface PictureSource {
3
+ media?: string;
4
+ src?: string;
5
+ file?: SelectedFile;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { Link } from "./Link";
2
+ import { ListLink } from "./ListLink";
3
+ import { ListString } from "./ListString";
4
+ import { Picture } from "./Picture";
5
+ import { Textblock } from "./Textblock";
6
+ export interface PicturegroupElement {
7
+ picture?: Picture;
8
+ link?: Link;
9
+ textblock?: Textblock;
10
+ list?: ListString;
11
+ links?: ListLink;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { ListString } from "./ListString";
2
+ import { Module } from "./Module";
3
+ import { PicturegroupElement } from "./PicturegroupElement";
4
+ import { Textblock } from "./Textblock";
5
+ export interface PicturegroupModule extends Module {
6
+ type: "picturegroup-module";
7
+ elements?: PicturegroupElement[];
8
+ title?: Textblock;
9
+ list?: ListString;
10
+ textblock?: Textblock;
11
+ }
@@ -0,0 +1,6 @@
1
+ import { Module } from "./Module";
2
+ export interface PlaceholderModule extends Module {
3
+ type: "placeholder-module";
4
+ hint?: string;
5
+ additionalData?: string;
6
+ }
@@ -1,5 +1,5 @@
1
- export default interface Price {
2
- amount: number;
3
- currency: string;
4
- tax: number;
1
+ export interface Price {
2
+ amount?: number;
3
+ currency?: string;
4
+ tax?: number;
5
5
  }
@@ -0,0 +1,11 @@
1
+ import { Link } from "./Link";
2
+ import { Textblock } from "./Textblock";
3
+ export interface PricesElement {
4
+ price?: string;
5
+ interval?: string;
6
+ facts?: string[];
7
+ variant?: string[];
8
+ textblock?: Textblock;
9
+ callToAction?: Link;
10
+ more?: Link;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { Module } from "./Module";
2
+ import { PricesElement } from "./PricesElement";
3
+ import { Textblock } from "./Textblock";
4
+ export interface PricesModule extends Module {
5
+ type: "prices-module";
6
+ textblock?: Textblock;
7
+ elements?: PricesElement[];
8
+ }
@@ -1,5 +1,5 @@
1
- import Auth0ProjectSettings from "./Auth0ProjectSettings";
2
- import ShopifyProjectSettings from "./ShopifyProjectSettings";
1
+ import { Auth0ProjectSettings } from "./Auth0ProjectSettings";
2
+ import { ShopifyProjectSettings } from "./ShopifyProjectSettings";
3
3
  export interface Project {
4
4
  name: string;
5
5
  description?: string;
@@ -0,0 +1,9 @@
1
+ import { Module } from "./Module";
2
+ export interface QuellcodeModule extends Module {
3
+ type: "quellcode-module";
4
+ headline?: string;
5
+ subline?: string;
6
+ intro?: string;
7
+ code?: string;
8
+ text?: string[];
9
+ }
@@ -0,0 +1,8 @@
1
+ import { Link } from "./Link";
2
+ import { Module } from "./Module";
3
+ export interface QuoteModule extends Module {
4
+ type: "quote-module";
5
+ citation?: string;
6
+ quote?: string;
7
+ link?: Link;
8
+ }