@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/src/Content.ts CHANGED
@@ -1,15 +1,22 @@
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
 
6
6
  export interface Content {
7
7
  id: string
8
8
  company: string
9
9
  project: string
10
- modules: ModuleGeneric[]
10
+ modules: CompatibleModule[]
11
11
  tags?: string[]
12
+ /**
13
+ * a description of the content which will be used as context for AI text generation
14
+ */
12
15
  description?: string
16
+ /**
17
+ * a internal note for better understanding and identification of the content
18
+ */
19
+ note?: string
13
20
  partial?: boolean
14
21
  layout?: boolean
15
22
  state: 'draft' | 'publish'
@@ -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
+
6
+ export interface CookiesModule extends Module {
7
+ type: "cookies-module"
8
+ textblock?: Textblock
9
+ list?: ListString
10
+ links?: ListLink
11
+ }
@@ -0,0 +1,4 @@
1
+ export interface EditorSettings {
2
+ modes?: string[]
3
+ }
4
+
@@ -0,0 +1,15 @@
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
+
7
+ export interface EmotionModule extends Module {
8
+ type: "emotion-module"
9
+ fontVariant?: string[]
10
+ background?: Picture
11
+ video?: Video
12
+ textblock?: Textblock
13
+ picture?: Picture
14
+ links?: Link[]
15
+ }
@@ -0,0 +1,22 @@
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
+
9
+ export interface EventModule extends Module {
10
+ type: "event-module"
11
+ textblock?: Textblock
12
+ artist?: string
13
+ name?: string
14
+ location?: string
15
+ list?: ListString
16
+ links?: ListLink
17
+ callToAction?: Link
18
+ genericData?: GenericData
19
+ start?: Date
20
+ end?: Date
21
+ media?: Media
22
+ }
@@ -0,0 +1,9 @@
1
+ import { EventsListElement } from "./events-list-element"
2
+ import { Module } from "./Module"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface EventsListModule extends Module {
6
+ type: "events-list-module"
7
+ textblock?: Textblock
8
+ elements?: EventsListElement[]
9
+ }
@@ -0,0 +1,8 @@
1
+ import { Picture } from "./Picture"
2
+ import { Textblock } from "./Textblock"
3
+
4
+ export interface FactsElement {
5
+ picture?: Picture
6
+ textblock?: Textblock
7
+ }
8
+
@@ -0,0 +1,9 @@
1
+ import { FactsElement } from "./FactsElement"
2
+ import { Module } from "./Module"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface FactsModule extends Module {
6
+ type: "facts-module"
7
+ textblock?: Textblock
8
+ elements?: FactsElement[]
9
+ }
@@ -0,0 +1,9 @@
1
+ import { Accordion } from "./Accordion"
2
+ import { Module } from "./Module"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface FaqModule extends Module {
6
+ type: "faq-module"
7
+ textblock?: Textblock
8
+ accordion?: Accordion
9
+ }
@@ -0,0 +1,7 @@
1
+ import { Link } from "./Link"
2
+
3
+ export interface FooterContact {
4
+ title?: string
5
+ link?: Link
6
+ }
7
+
@@ -0,0 +1,20 @@
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
+
10
+ export interface FooterModule extends Module {
11
+ type: "footer-module"
12
+ legal?: string
13
+ contact?: FooterContact
14
+ social?: FooterSocial
15
+ sitemap?: FooterSitemap[]
16
+ list?: ListString
17
+ links?: ListLink
18
+ textblock?: Textblock
19
+ picture?: Picture
20
+ }
@@ -0,0 +1,6 @@
1
+ import { Link } from "./Link"
2
+
3
+ export interface FooterSitemap {
4
+ title?: string
5
+ elements?: Link[]
6
+ }
@@ -0,0 +1,9 @@
1
+ import { Link } from "./Link"
2
+ import { PicturegroupElement } from "./PicturegroupElement"
3
+
4
+ export interface FooterSocial {
5
+ title?: string
6
+ link?: Link
7
+ elements?: PicturegroupElement[]
8
+ }
9
+
@@ -0,0 +1,8 @@
1
+ import { Picture } from "./Picture"
2
+ import { Textblock } from "./Textblock"
3
+
4
+ export interface GalleryElement {
5
+ picture?: Picture
6
+ textblock?: Textblock
7
+ }
8
+
@@ -0,0 +1,9 @@
1
+ import { GalleryElement } from "./GalleryElement"
2
+ import { Module } from "./Module"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface GalleryModule extends Module {
6
+ type: "gallery-module"
7
+ description?: Textblock
8
+ elements?: GalleryElement[]
9
+ }
@@ -0,0 +1,9 @@
1
+ import { Content } from "./Content"
2
+
3
+ export interface GenericDataSingle {
4
+ editor?: string
5
+ lists?: string
6
+ customers?: string
7
+ media?: string
8
+ data?: Record<string, Content>
9
+ }
@@ -0,0 +1,7 @@
1
+ import { ListLink } from "./ListLink";
2
+ import { Module } from "./Module";
3
+
4
+ export interface IndexModule extends Module {
5
+ type: "index-module"
6
+ links?: ListLink
7
+ }
package/src/Link.ts ADDED
@@ -0,0 +1,10 @@
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
+ }
10
+
@@ -0,0 +1,14 @@
1
+ import { Link } from "./Link"
2
+
3
+ export interface LinkGroupElement {
4
+ text?: string
5
+ event?: string
6
+ link?: string
7
+ icon?: string
8
+ classes?: string[]
9
+ attributes?: string[]
10
+ variant?: string[]
11
+ external?: boolean
12
+ links?: Link[]
13
+ }
14
+
@@ -1,5 +1,5 @@
1
1
  import { ObjectId } from "mongodb";
2
- import Price from "./Price";
2
+ import {Price} from "./Price";
3
3
 
4
4
  export interface ListCategory {
5
5
 
@@ -0,0 +1,6 @@
1
+ import { Link } from "./Link"
2
+
3
+ export interface ListLink {
4
+ title?: string
5
+ value?: Link[]
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface ListString {
2
+ title?: string
3
+ value?: string[]
4
+ }
@@ -0,0 +1,12 @@
1
+ import { ListLink } from "./ListLink"
2
+ import { ListString } from "./ListString"
3
+ import { Module } from "./Module"
4
+ import { Textblock } from "./Textblock"
5
+
6
+ export interface LocationModule extends Module {
7
+ type: 'location-module'
8
+ textblock?: Textblock
9
+ map?: string
10
+ list?: ListString
11
+ links?: ListLink
12
+ }
@@ -0,0 +1,13 @@
1
+ import { PictureSource } from "./PictureSource"
2
+ import { SelectedFile } from "./SelectedFile"
3
+
4
+ export interface MediaApp {
5
+ src?: string
6
+ alt?: string
7
+ type?: string,
8
+ copyright?: string
9
+ poster?: string
10
+ file?: SelectedFile
11
+ attributes?: string[]
12
+ source?: PictureSource[]
13
+ }
@@ -0,0 +1,8 @@
1
+ import { MenuItemElement } from "./MenuItemElement"
2
+ import { Textblock } from "./Textblock"
3
+
4
+ export interface MenuCategoryElement {
5
+ textblock?: Textblock
6
+ items?: MenuItemElement[]
7
+ }
8
+
@@ -0,0 +1,10 @@
1
+ import { Picture } from "./Picture"
2
+
3
+ export interface MenuItemElement {
4
+ title?: string
5
+ description?: string
6
+ price?: string
7
+ properties?: string[]
8
+ allergens?: string[]
9
+ picture?: Picture
10
+ }
@@ -0,0 +1,11 @@
1
+ import { MenuCategoryElement } from "./MenuCategoryElement";
2
+ import { Module } from "./Module";
3
+ import { Textblock } from "./Textblock";
4
+
5
+ export interface MenuModule extends Module {
6
+ type: "menu-module";
7
+ name?: string;
8
+ textblock?: Textblock;
9
+ intro?: Textblock;
10
+ categories?: MenuCategoryElement[];
11
+ }
package/src/Module.ts ADDED
@@ -0,0 +1,16 @@
1
+ import { EditorSettings } from "./EditorSettings"
2
+ import { ModuleIndex } from "./ModuleIndex"
3
+ import { ModulePdf } from "./ModulePdf"
4
+
5
+ export interface Module {
6
+ type: string
7
+ id?: string
8
+ uuid?: string
9
+ position?: string
10
+ layout?: string
11
+ changed?: boolean
12
+ variant: string[]
13
+ index?: ModuleIndex
14
+ pdf?: ModulePdf
15
+ editor?: EditorSettings
16
+ }
@@ -0,0 +1,4 @@
1
+ export interface ModuleIndex {
2
+ anchor?: string
3
+ title?: string
4
+ }
@@ -0,0 +1,5 @@
1
+ export interface ModulePdf {
2
+ newSiteAfter?: boolean
3
+ newSiteBefore?: boolean
4
+ }
5
+
@@ -0,0 +1,10 @@
1
+ import { LinkGroupElement } from "./LinkGroupElement"
2
+ import { Module } from "./Module"
3
+ import { Picture } from "./Picture"
4
+
5
+ export interface NavigationModule extends Module {
6
+ type: "navigation-module"
7
+ name?: string
8
+ picture?: Picture
9
+ elements?: LinkGroupElement[]
10
+ }
@@ -0,0 +1,9 @@
1
+ import { Module } from "./Module";
2
+
3
+ export interface PartialModule extends Module {
4
+ type: "partial-module";
5
+ company?: string;
6
+ project?: string;
7
+ partialId?: string;
8
+ modules?: string[];
9
+ }
package/src/Picture.ts ADDED
@@ -0,0 +1,11 @@
1
+ import { PictureSource } from "./PictureSource"
2
+ import { SelectedFile } from "./SelectedFile"
3
+
4
+ export interface Picture {
5
+ src?: string
6
+ alt?: string
7
+ copyright?: string
8
+ file?: SelectedFile
9
+ source?: PictureSource[]
10
+ }
11
+
@@ -0,0 +1,14 @@
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
+
7
+ export interface PictureAndTextModule extends Module {
8
+ type: "pictureandtext-module"
9
+ picture?: Picture
10
+ textblock?: Textblock
11
+ title?: Textblock
12
+ list?: ListString
13
+ links?: ListLink
14
+ }
@@ -0,0 +1,9 @@
1
+ import { Module } from "./Module"
2
+ import { Picture } from "./Picture"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface PictureModule extends Module {
6
+ type: "picture-module"
7
+ picture?: Picture
8
+ textblock?: Textblock
9
+ }
@@ -0,0 +1,7 @@
1
+ import { SelectedFile } from "./SelectedFile"
2
+
3
+ export interface PictureSource {
4
+ media?: string
5
+ src?: string
6
+ file?: SelectedFile
7
+ }
@@ -0,0 +1,13 @@
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
+
7
+ export interface PicturegroupElement {
8
+ picture?: Picture
9
+ link?: Link
10
+ textblock?: Textblock
11
+ list?: ListString
12
+ links?: ListLink
13
+ }
@@ -0,0 +1,12 @@
1
+ import { ListString } from "./ListString"
2
+ import { Module } from "./Module"
3
+ import { PicturegroupElement } from "./PicturegroupElement"
4
+ import { Textblock } from "./Textblock"
5
+
6
+ export interface PicturegroupModule extends Module {
7
+ type: "picturegroup-module"
8
+ elements?: PicturegroupElement[]
9
+ title?: Textblock
10
+ list?: ListString
11
+ textblock?: Textblock
12
+ }
@@ -0,0 +1,7 @@
1
+ import { Module } from "./Module"
2
+
3
+ export interface PlaceholderModule extends Module {
4
+ type: "placeholder-module"
5
+ hint?: string
6
+ additionalData?: string
7
+ }
package/src/Price.ts CHANGED
@@ -1,7 +1,7 @@
1
- export default interface Price {
1
+ export interface Price {
2
2
 
3
- amount: number
4
- currency: string
5
- tax: number
3
+ amount?: number
4
+ currency?: string
5
+ tax?: number
6
6
 
7
7
  }
@@ -0,0 +1,12 @@
1
+ import { Link } from "./Link"
2
+ import { Textblock } from "./Textblock"
3
+
4
+ export interface PricesElement {
5
+ price?: string
6
+ interval?: string
7
+ facts?: string[]
8
+ variant?: string[]
9
+ textblock?: Textblock
10
+ callToAction?: Link
11
+ more?: Link
12
+ }
@@ -0,0 +1,9 @@
1
+ import { Module } from "./Module"
2
+ import { PricesElement } from "./PricesElement"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface PricesModule extends Module {
6
+ type: "prices-module"
7
+ textblock?: Textblock
8
+ elements?: PricesElement[]
9
+ }
package/src/Project.ts CHANGED
@@ -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
 
4
4
  export interface Project {
5
5
 
@@ -0,0 +1,10 @@
1
+ import { Module } from "./Module"
2
+
3
+ export interface QuellcodeModule extends Module {
4
+ type: "quellcode-module"
5
+ headline?: string
6
+ subline?: string
7
+ intro?: string
8
+ code?: string
9
+ text?: string[]
10
+ }
@@ -0,0 +1,9 @@
1
+ import { Link } from "./Link"
2
+ import { Module } from "./Module"
3
+
4
+ export interface QuoteModule extends Module {
5
+ type: "quote-module"
6
+ citation?: string
7
+ quote?: string
8
+ link?: Link
9
+ }
@@ -0,0 +1,6 @@
1
+ export interface SelectedFile {
2
+ id?: string
3
+ filename?: string
4
+ src?: string
5
+ thumb?: string
6
+ }
@@ -1,4 +1,4 @@
1
- export default interface ShopifyProjectSettings {
1
+ export interface ShopifyProjectSettings {
2
2
 
3
3
  key?: string
4
4
 
@@ -0,0 +1,7 @@
1
+ import { GenericData } from "./GenericData";
2
+ import { Module } from "./Module";
3
+
4
+ export interface ShoppingCartModule extends Module {
5
+ type: "shopping-cart-module"
6
+ genericData?: GenericData
7
+ }
@@ -0,0 +1,7 @@
1
+ import { Module } from "./Module";
2
+ import { StoryElement } from "./story-element";
3
+
4
+ export interface StoryModule extends Module {
5
+ type: "story-module"
6
+ elements?: StoryElement[]
7
+ }
@@ -0,0 +1,13 @@
1
+ import { ListLink } from "./ListLink"
2
+ import { ListString } from "./ListString"
3
+ import { Module } from "./Module"
4
+
5
+ export interface TextModule extends Module {
6
+ type: "text-module"
7
+ headline?: string
8
+ subline?: string
9
+ intro?: string
10
+ text?: string[]
11
+ list?: ListString
12
+ links?: ListLink
13
+ }
@@ -0,0 +1,7 @@
1
+ export interface Textblock {
2
+ headline?: string
3
+ subline?: string
4
+ intro?: string
5
+ text?: string[]
6
+ }
7
+
@@ -0,0 +1,9 @@
1
+ import { GenericData } from "./GenericData"
2
+ import { Module } from "./Module"
3
+ import { Textblock } from "./Textblock"
4
+
5
+ export interface TrainingModule extends Module {
6
+ type: "training-module"
7
+ genericData?: GenericData
8
+ textblock?: Textblock
9
+ }
package/src/Video.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { SelectedFile } from "./SelectedFile"
2
+ import { VideoSource } from "./VideoSource"
3
+
4
+ export interface Video {
5
+ src?: string
6
+ alt?: string
7
+ poster?: string
8
+ attributes?: string[]
9
+ source1?: VideoSource
10
+ source2?: VideoSource
11
+ source3?: VideoSource
12
+ file?: SelectedFile
13
+ }
@@ -0,0 +1,14 @@
1
+ import { ListString } from "./ListString"
2
+ import { Module } from "./Module"
3
+ import { Picture } from "./Picture"
4
+ import { Textblock } from "./Textblock"
5
+ import { Video } from "./Video"
6
+
7
+ export interface VideoModule extends Module {
8
+ type: "video-module"
9
+ fontVariant?: string[]
10
+ video?: Video
11
+ poster?: Picture
12
+ textblock?: Textblock
13
+ list?: ListString
14
+ }
@@ -0,0 +1,4 @@
1
+ export interface VideoSource {
2
+ media?: string
3
+ source?: string
4
+ }
@@ -0,0 +1,17 @@
1
+ import { GenericData } from "./GenericData"
2
+ import { Link } from "./Link"
3
+ import { Picture } from "./Picture"
4
+ import { Textblock } from "./Textblock"
5
+
6
+ export interface EventsListElement {
7
+ textblock?: Textblock
8
+ artist?: string
9
+ name?: string
10
+ location?: string
11
+ callToAction?: Link
12
+ link?: Link
13
+ genericData?: GenericData
14
+ start?: Date
15
+ end?: Date
16
+ picture?: Picture
17
+ }