@treely/strapi-slices 2.2.0 → 2.2.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.
Files changed (247) hide show
  1. package/dist/components/ContextProvider/ContextProvider.d.ts +8 -0
  2. package/dist/components/ContextProvider/index.d.ts +1 -0
  3. package/dist/components/CreditsAvailableBadge/CreditsAvailableBadge.d.ts +8 -0
  4. package/dist/components/CreditsAvailableBadge/index.d.ts +2 -0
  5. package/dist/components/CreditsAvailableBadge/messages.de.d.ts +7 -0
  6. package/dist/components/CreditsAvailableBadge/messages.en.d.ts +7 -0
  7. package/dist/components/FullScreenImage/FullScreenImage.d.ts +9 -0
  8. package/dist/components/FullScreenImage/ZoomableImage.d.ts +8 -0
  9. package/dist/components/FullScreenImage/index.d.ts +2 -0
  10. package/dist/components/MinimalProviders/MinimalProviders.d.ts +7 -0
  11. package/dist/components/MinimalProviders/index.d.ts +2 -0
  12. package/dist/components/SEOTags/SEOTags.d.ts +14 -0
  13. package/dist/components/SEOTags/index.d.ts +1 -0
  14. package/dist/components/SliceRenderer/SliceRenderer.d.ts +19 -0
  15. package/dist/components/SliceRenderer/index.d.ts +1 -0
  16. package/dist/components/StrapiLinkButton/StrapiLinkButton.d.ts +18 -0
  17. package/dist/components/StrapiLinkButton/index.d.ts +2 -0
  18. package/dist/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.d.ts +7 -0
  19. package/dist/components/StrapiLinkButtonWithIcon/index.d.ts +2 -0
  20. package/dist/components/portfolio/Contact/Contact.d.ts +10 -0
  21. package/dist/components/portfolio/Contact/index.d.ts +2 -0
  22. package/dist/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.d.ts +6 -0
  23. package/dist/components/portfolio/DocumentsDownloadList/index.d.ts +2 -0
  24. package/dist/components/portfolio/DocumentsDownloadList/messages.de.d.ts +5 -0
  25. package/dist/components/portfolio/DocumentsDownloadList/messages.en.d.ts +5 -0
  26. package/dist/components/portfolio/ProjectInfo/ProjectInfo.d.ts +18 -0
  27. package/dist/components/portfolio/ProjectInfo/index.d.ts +2 -0
  28. package/dist/components/portfolio/ProjectInfo/messages.de.d.ts +15 -0
  29. package/dist/components/portfolio/ProjectInfo/messages.en.d.ts +15 -0
  30. package/dist/components/portfolio/SmallCheckout/SmallCheckout.d.ts +14 -0
  31. package/dist/components/portfolio/SmallCheckout/index.d.ts +2 -0
  32. package/dist/components/portfolio/SmallCheckout/messages.de.d.ts +16 -0
  33. package/dist/components/portfolio/SmallCheckout/messages.en.d.ts +16 -0
  34. package/dist/constants/animations.d.ts +1 -0
  35. package/dist/constants/api.d.ts +3 -0
  36. package/dist/constants/breakpoints.d.ts +8 -0
  37. package/dist/constants/domain.d.ts +2 -0
  38. package/dist/constants/fontCustomizations.d.ts +6 -0
  39. package/dist/constants/formatter.d.ts +6 -0
  40. package/dist/constants/globalStyle.d.ts +1 -0
  41. package/dist/constants/mapbox.d.ts +17 -0
  42. package/dist/constants/metadata.d.ts +2 -0
  43. package/dist/constants/sectionsConfig.d.ts +5 -0
  44. package/dist/constants/strapi.d.ts +1 -0
  45. package/dist/icons/LinkedInIcon.d.ts +3 -0
  46. package/dist/index.d.ts +52 -0
  47. package/dist/index.js +8 -0
  48. package/dist/models/BBox.d.ts +2 -0
  49. package/dist/models/CreditsAvailableState.d.ts +7 -0
  50. package/dist/models/HeaderType.d.ts +5 -0
  51. package/dist/models/Image.d.ts +5 -0
  52. package/dist/models/Locale.d.ts +2 -0
  53. package/dist/models/PageMetadata.d.ts +9 -0
  54. package/dist/models/PageProps.d.ts +21 -0
  55. package/dist/models/PortfolioProject.d.ts +7 -0
  56. package/dist/models/forms/CheckoutForm.d.ts +4 -0
  57. package/dist/models/fpm/FPMProject.d.ts +37 -0
  58. package/dist/models/fpm/Issuer.d.ts +6 -0
  59. package/dist/models/strapi/IStrapi.d.ts +4 -0
  60. package/dist/models/strapi/IStrapiData.d.ts +5 -0
  61. package/dist/models/strapi/IStrapiResponse.d.ts +13 -0
  62. package/dist/models/strapi/StrapiAuthor.d.ts +10 -0
  63. package/dist/models/strapi/StrapiAvatarWithName.d.ts +8 -0
  64. package/dist/models/strapi/StrapiBanner.d.ts +9 -0
  65. package/dist/models/strapi/StrapiBlogPost.d.ts +25 -0
  66. package/dist/models/strapi/StrapiBlogPostProps.d.ts +6 -0
  67. package/dist/models/strapi/StrapiButtonWithVariant.d.ts +6 -0
  68. package/dist/models/strapi/StrapiCategory.d.ts +8 -0
  69. package/dist/models/strapi/StrapiContactArea.d.ts +10 -0
  70. package/dist/models/strapi/StrapiCustomerStory.d.ts +21 -0
  71. package/dist/models/strapi/StrapiCustomerStoryProps.d.ts +6 -0
  72. package/dist/models/strapi/StrapiDefaultHeader.d.ts +6 -0
  73. package/dist/models/strapi/StrapiGlobal.d.ts +26 -0
  74. package/dist/models/strapi/StrapiGlossaryItem.d.ts +6 -0
  75. package/dist/models/strapi/StrapiHeroCard.d.ts +13 -0
  76. package/dist/models/strapi/StrapiImage.d.ts +10 -0
  77. package/dist/models/strapi/StrapiImageFormat.d.ts +12 -0
  78. package/dist/models/strapi/StrapiImageWithLink.d.ts +6 -0
  79. package/dist/models/strapi/StrapiLink.d.ts +11 -0
  80. package/dist/models/strapi/StrapiLinkList.d.ts +7 -0
  81. package/dist/models/strapi/StrapiLinkPage.d.ts +10 -0
  82. package/dist/models/strapi/StrapiLinkWithIcon.d.ts +7 -0
  83. package/dist/models/strapi/StrapiLocalization.d.ts +7 -0
  84. package/dist/models/strapi/StrapiMedia.d.ts +27 -0
  85. package/dist/models/strapi/StrapiMetadata.d.ts +13 -0
  86. package/dist/models/strapi/StrapiNavMenu.d.ts +13 -0
  87. package/dist/models/strapi/StrapiPage.d.ts +17 -0
  88. package/dist/models/strapi/StrapiPageProps.d.ts +6 -0
  89. package/dist/models/strapi/StrapiPortfolio.d.ts +10 -0
  90. package/dist/models/strapi/StrapiPortfolioCard.d.ts +15 -0
  91. package/dist/models/strapi/StrapiProject.d.ts +23 -0
  92. package/dist/models/strapi/StrapiProjectCard.d.ts +18 -0
  93. package/dist/models/strapi/StrapiProjectProps.d.ts +6 -0
  94. package/dist/models/strapi/StrapiQuoteCard.d.ts +7 -0
  95. package/dist/models/strapi/StrapiShapesCard.d.ts +11 -0
  96. package/dist/models/strapi/StrapiTextCardWithIcons.d.ts +8 -0
  97. package/dist/models/strapi/StrapiTopBanner.d.ts +7 -0
  98. package/dist/rootMessages.de.d.ts +58 -0
  99. package/dist/rootMessages.en.d.ts +58 -0
  100. package/dist/slices/Blog/Blog.d.ts +10 -0
  101. package/dist/slices/Blog/index.d.ts +2 -0
  102. package/dist/slices/Blog/styles.d.ts +7 -0
  103. package/dist/slices/BlogCards/BlogCards.d.ts +18 -0
  104. package/dist/slices/BlogCards/index.d.ts +2 -0
  105. package/dist/slices/Comparison/Comparison.d.ts +33 -0
  106. package/dist/slices/Comparison/Icon.d.ts +7 -0
  107. package/dist/slices/Comparison/index.d.ts +2 -0
  108. package/dist/slices/Comparison/messages.de.d.ts +4 -0
  109. package/dist/slices/Comparison/messages.en.d.ts +4 -0
  110. package/dist/slices/Cta/Cta.d.ts +26 -0
  111. package/dist/slices/Cta/index.d.ts +2 -0
  112. package/dist/slices/Cta/messages.de.d.ts +5 -0
  113. package/dist/slices/Cta/messages.en.d.ts +5 -0
  114. package/dist/slices/CtaOnly/CtaOnly.d.ts +8 -0
  115. package/dist/slices/CtaOnly/index.d.ts +2 -0
  116. package/dist/slices/CustomerStories/CustomerStories.d.ts +10 -0
  117. package/dist/slices/CustomerStories/index.d.ts +2 -0
  118. package/dist/slices/CustomerStories/messages.de.d.ts +4 -0
  119. package/dist/slices/CustomerStories/messages.en.d.ts +4 -0
  120. package/dist/slices/Facts/Facts.d.ts +16 -0
  121. package/dist/slices/Facts/index.d.ts +2 -0
  122. package/dist/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.d.ts +10 -0
  123. package/dist/slices/FullWidthHighlightQuote/index.d.ts +2 -0
  124. package/dist/slices/FullWidthImage/FullWidthImage.d.ts +11 -0
  125. package/dist/slices/FullWidthImage/index.d.ts +2 -0
  126. package/dist/slices/FullWidthImageSlider/FullWidthImageSlider.d.ts +12 -0
  127. package/dist/slices/FullWidthImageSlider/index.d.ts +2 -0
  128. package/dist/slices/FullWidthImageSlider/styles.d.ts +291 -0
  129. package/dist/slices/FullWidthImageSlider/utils.d.ts +1 -0
  130. package/dist/slices/FullWidthImageSlider/utils.test.d.ts +1 -0
  131. package/dist/slices/Glossary/Glossary.d.ts +9 -0
  132. package/dist/slices/Glossary/index.d.ts +2 -0
  133. package/dist/slices/Glossary/messages.de.d.ts +6 -0
  134. package/dist/slices/Glossary/messages.en.d.ts +6 -0
  135. package/dist/slices/Hero/Hero.d.ts +17 -0
  136. package/dist/slices/Hero/index.d.ts +2 -0
  137. package/dist/slices/IconGrid/IconGrid.d.ts +18 -0
  138. package/dist/slices/IconGrid/index.d.ts +2 -0
  139. package/dist/slices/ImageGrid/ImageGrid.d.ts +18 -0
  140. package/dist/slices/ImageGrid/index.d.ts +2 -0
  141. package/dist/slices/ImageTextSequence/ImageTextSequence.d.ts +19 -0
  142. package/dist/slices/ImageTextSequence/index.d.ts +2 -0
  143. package/dist/slices/LeftTextRightCard/LeftTextRightCard.d.ts +17 -0
  144. package/dist/slices/LeftTextRightCard/index.d.ts +2 -0
  145. package/dist/slices/LinkCardsGrid/LinkCardsGrid.d.ts +18 -0
  146. package/dist/slices/LinkCardsGrid/index.d.ts +2 -0
  147. package/dist/slices/LogoGridWithText/LogoGridWithText.d.ts +12 -0
  148. package/dist/slices/LogoGridWithText/index.d.ts +2 -0
  149. package/dist/slices/MapHero/MapHero.d.ts +15 -0
  150. package/dist/slices/MapHero/index.d.ts +2 -0
  151. package/dist/slices/MapHero/styles.d.ts +16 -0
  152. package/dist/slices/ProjectFacts/ProjectFacts.d.ts +34 -0
  153. package/dist/slices/ProjectFacts/index.d.ts +2 -0
  154. package/dist/slices/ProjectFacts/messages.de.d.ts +5 -0
  155. package/dist/slices/ProjectFacts/messages.en.d.ts +5 -0
  156. package/dist/slices/ProjectsGrid/ProjectsGrid.d.ts +8 -0
  157. package/dist/slices/ProjectsGrid/index.d.ts +2 -0
  158. package/dist/slices/ProjectsMap/MapMarker.d.ts +11 -0
  159. package/dist/slices/ProjectsMap/ProjectsMap.d.ts +16 -0
  160. package/dist/slices/ProjectsMap/index.d.ts +2 -0
  161. package/dist/slices/ProjectsMap/mapboxStyle.d.ts +2 -0
  162. package/dist/slices/ProjectsMap/messages.de.d.ts +4 -0
  163. package/dist/slices/ProjectsMap/messages.en.d.ts +4 -0
  164. package/dist/slices/QAndA/QAndA.d.ts +43 -0
  165. package/dist/slices/QAndA/index.d.ts +2 -0
  166. package/dist/slices/QuoteCards/QuoteCards.d.ts +15 -0
  167. package/dist/slices/QuoteCards/index.d.ts +2 -0
  168. package/dist/slices/RichTextSection/RichTextSection.d.ts +7 -0
  169. package/dist/slices/RichTextSection/index.d.ts +2 -0
  170. package/dist/slices/ShopCheckout/ShopCheckout.d.ts +16 -0
  171. package/dist/slices/ShopCheckout/index.d.ts +2 -0
  172. package/dist/slices/ShopCheckout/messages.de.d.ts +15 -0
  173. package/dist/slices/ShopCheckout/messages.en.d.ts +15 -0
  174. package/dist/slices/SideBySideImages/SideBySideImages.d.ts +12 -0
  175. package/dist/slices/SideBySideImages/index.d.ts +2 -0
  176. package/dist/slices/SmallHero/SmallHero.d.ts +20 -0
  177. package/dist/slices/SmallHero/index.d.ts +2 -0
  178. package/dist/slices/Steps/Steps.d.ts +19 -0
  179. package/dist/slices/Steps/index.d.ts +2 -0
  180. package/dist/slices/TextCardGrid/TextCardGrid.d.ts +20 -0
  181. package/dist/slices/TextCardGrid/index.d.ts +2 -0
  182. package/dist/slices/TextCarousel/TextCarousel.d.ts +13 -0
  183. package/dist/slices/TextCarousel/index.d.ts +2 -0
  184. package/dist/slices/TextCarousel/styles.d.ts +282 -0
  185. package/dist/slices/TextWithCard/TextWithCard.d.ts +20 -0
  186. package/dist/slices/TextWithCard/index.d.ts +2 -0
  187. package/dist/slices/TextWithTextCards/TextWithTextCards.d.ts +15 -0
  188. package/dist/slices/TextWithTextCards/index.d.ts +2 -0
  189. package/dist/slices/Video/Video.d.ts +10 -0
  190. package/dist/slices/Video/index.d.ts +2 -0
  191. package/dist/strapi-slices.cjs.development.js +4874 -0
  192. package/dist/strapi-slices.cjs.development.js.map +1 -0
  193. package/dist/strapi-slices.cjs.production.min.js +2 -0
  194. package/dist/strapi-slices.cjs.production.min.js.map +1 -0
  195. package/dist/strapi-slices.esm.js +4853 -0
  196. package/dist/strapi-slices.esm.js.map +1 -0
  197. package/dist/test/defaultMocks/next.d.ts +2 -0
  198. package/dist/test/integrationMocks/fpmProjectMock.d.ts +3 -0
  199. package/dist/test/mocks/getStaticPropsContext.d.ts +3 -0
  200. package/dist/test/mocks/portfolioProjectMock.d.ts +3 -0
  201. package/dist/test/setupTests.d.ts +1 -0
  202. package/dist/test/storybookMocks/storybookMedia.d.ts +1 -0
  203. package/dist/test/storybookMocks/storybookStrapiMedia.d.ts +8 -0
  204. package/dist/test/strapiMocks/minimalGlobalData.d.ts +4 -0
  205. package/dist/test/strapiMocks/strapiAvatarWithName.d.ts +12 -0
  206. package/dist/test/strapiMocks/strapiBlogPost.d.ts +3 -0
  207. package/dist/test/strapiMocks/strapiContact.d.ts +2 -0
  208. package/dist/test/strapiMocks/strapiCustomerStory.d.ts +3 -0
  209. package/dist/test/strapiMocks/strapiHeroCard.d.ts +2 -0
  210. package/dist/test/strapiMocks/strapiLinkPage.d.ts +3 -0
  211. package/dist/test/strapiMocks/strapiMedia.d.ts +3 -0
  212. package/dist/test/strapiMocks/strapiMetadata.d.ts +2 -0
  213. package/dist/test/strapiMocks/strapiPage.d.ts +3 -0
  214. package/dist/test/strapiMocks/strapiPortfolioCard.d.ts +2 -0
  215. package/dist/test/strapiMocks/strapiPortfolioMock.d.ts +3 -0
  216. package/dist/test/strapiMocks/strapiProject.d.ts +3 -0
  217. package/dist/test/strapiMocks/strapiProjectCard.d.ts +2 -0
  218. package/dist/test/strapiMocks/strapiQuoteCard.d.ts +2 -0
  219. package/dist/test/testUtils.d.ts +6 -0
  220. package/dist/unit.messages.de.d.ts +5 -0
  221. package/dist/unit.messages.en.d.ts +5 -0
  222. package/dist/utils/convertAreaM2ToHa.d.ts +2 -0
  223. package/dist/utils/convertAreaM2ToHa.test.d.ts +1 -0
  224. package/dist/utils/convertCo2AmountKgToTons.d.ts +2 -0
  225. package/dist/utils/convertToKebabCase.d.ts +2 -0
  226. package/dist/utils/convertToKebabCase.test.d.ts +1 -0
  227. package/dist/utils/getTimeSpanInYears.d.ts +2 -0
  228. package/dist/utils/getTimeSpanInYears.test.d.ts +1 -0
  229. package/dist/utils/mergeBoundingBoxes.d.ts +3 -0
  230. package/dist/utils/mergeBoundingBoxes.test.d.ts +1 -0
  231. package/dist/utils/mergeDeep.d.ts +12 -0
  232. package/dist/utils/mergeGlobalAndStrapiBlogPostData.d.ts +5 -0
  233. package/dist/utils/mergeGlobalAndStrapiBlogPostData.test.d.ts +1 -0
  234. package/dist/utils/mergeGlobalAndStrapiCustomerStoryData.d.ts +4 -0
  235. package/dist/utils/mergeGlobalAndStrapiCustomerStoryData.test.d.ts +1 -0
  236. package/dist/utils/mergeGlobalAndStrapiPageData.d.ts +5 -0
  237. package/dist/utils/mergeGlobalAndStrapiPageData.test.d.ts +1 -0
  238. package/dist/utils/mergeGlobalAndStrapiProjectData.d.ts +5 -0
  239. package/dist/utils/mergeGlobalAndStrapiProjectData.test.d.ts +1 -0
  240. package/dist/utils/openHubSpotChat.d.ts +2 -0
  241. package/dist/utils/strapiLinkUrl.d.ts +3 -0
  242. package/dist/utils/strapiLinkUrl.test.d.ts +1 -0
  243. package/dist/utils/strapiMediaUrl.d.ts +5 -0
  244. package/dist/utils/strapiMediaUrl.test.d.ts +1 -0
  245. package/package.json +1 -1
  246. package/src/components/portfolio/SmallCheckout/SmallCheckout.tsx +14 -15
  247. package/src/slices/ProjectFacts/ProjectFacts.stories.tsx +53 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import Locale from '../../models/Locale';
3
+ export declare const IntlContext: React.Context<import("react-intl").IntlShape>;
4
+ export interface ContextProviderProps {
5
+ children: React.ReactNode;
6
+ locale: Locale;
7
+ }
8
+ export declare const ContextProvider: React.FC<ContextProviderProps>;
@@ -0,0 +1 @@
1
+ export { ContextProvider, IntlContext } from './ContextProvider';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import CreditsAvailableState from '../../models/CreditsAvailableState';
3
+ export interface CreditsAvailableBadgeProps {
4
+ status: CreditsAvailableState;
5
+ href?: string;
6
+ }
7
+ declare const CreditsAvailableBadge: ({ status, href, }: CreditsAvailableBadgeProps) => React.JSX.Element;
8
+ export default CreditsAvailableBadge;
@@ -0,0 +1,2 @@
1
+ import CreditsAvailableBadge from './CreditsAvailableBadge';
2
+ export default CreditsAvailableBadge;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ 'components.creditsAvailableBadge.text.yes': string;
3
+ 'components.creditsAvailableBadge.text.some': string;
4
+ 'components.creditsAvailableBadge.text.no': string;
5
+ 'components.creditsAvailableBadge.text.notYet': string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ 'components.creditsAvailableBadge.text.yes': string;
3
+ 'components.creditsAvailableBadge.text.some': string;
4
+ 'components.creditsAvailableBadge.text.no': string;
5
+ 'components.creditsAvailableBadge.text.notYet': string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import StrapiImage from '../../models/strapi/StrapiImage';
3
+ export interface FullScreenImageProps {
4
+ images: StrapiImage[];
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ openIndex?: number;
8
+ }
9
+ export declare const FullScreenImage: ({ images, isOpen, onClose, openIndex, }: FullScreenImageProps) => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import StrapiImage from '../../models/strapi/StrapiImage';
2
+ import React from 'react';
3
+ interface ZoomableImageProps {
4
+ image: StrapiImage;
5
+ zoom?: number;
6
+ }
7
+ declare const ZoomableImage: ({ image, zoom }: ZoomableImageProps) => React.JSX.Element;
8
+ export default ZoomableImage;
@@ -0,0 +1,2 @@
1
+ import { FullScreenImage } from './FullScreenImage';
2
+ export default FullScreenImage;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface MinimalProvidersProps {
3
+ locale: string;
4
+ children: JSX.Element | JSX.Element[];
5
+ }
6
+ declare const MinimalProviders: ({ children, locale }: MinimalProvidersProps) => React.JSX.Element;
7
+ export default MinimalProviders;
@@ -0,0 +1,2 @@
1
+ import MinimalProviders from './MinimalProviders';
2
+ export default MinimalProviders;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface SEOTagsProps {
3
+ title: string;
4
+ description: string;
5
+ shareImage?: {
6
+ url: string;
7
+ alt: string;
8
+ };
9
+ metaTitleSuffix?: string;
10
+ favicon?: string;
11
+ domain?: string;
12
+ }
13
+ export declare const SEOTags: React.FC<SEOTagsProps>;
14
+ export {};
@@ -0,0 +1 @@
1
+ export { SEOTags } from './SEOTags';
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import StrapiBlogPost from '../../models/strapi/StrapiBlogPost';
3
+ import IStrapiData from '../../models/strapi/IStrapiData';
4
+ import PortfolioProject from '../../models/PortfolioProject';
5
+ import StrapiCustomerStory from '../../models/strapi/StrapiCustomerStory';
6
+ import Locale from '../../models/Locale';
7
+ export interface CustomSliceProps {
8
+ slice: any;
9
+ id: string;
10
+ }
11
+ export interface SliceRendererProps {
12
+ slices: any;
13
+ blogPosts: IStrapiData<StrapiBlogPost>[];
14
+ projects: PortfolioProject[];
15
+ customerStories: IStrapiData<StrapiCustomerStory>[];
16
+ locale?: Locale;
17
+ CustomSlice?: ({ slice, id }: CustomSliceProps) => JSX.Element;
18
+ }
19
+ export declare const SliceRenderer: ({ slices, blogPosts, projects, customerStories, locale, CustomSlice, }: SliceRendererProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { SliceRenderer } from './SliceRenderer';
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import StrapiLink from '../../models/strapi/StrapiLink';
3
+ export interface StrapiLinkButtonProps {
4
+ link: StrapiLink;
5
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
6
+ variant?: 'solid' | 'outline' | 'outlineWhite' | 'link' | 'ghost';
7
+ colorScheme?: 'primary' | 'gray' | 'orange' | 'green' | 'white';
8
+ rightIcon?: JSX.Element;
9
+ leftIcon?: JSX.Element;
10
+ mt?: any;
11
+ mr?: any;
12
+ mb?: any;
13
+ ml?: any;
14
+ mx?: any;
15
+ my?: any;
16
+ background?: string;
17
+ }
18
+ export declare const StrapiLinkButton: React.FC<StrapiLinkButtonProps>;
@@ -0,0 +1,2 @@
1
+ import { StrapiLinkButton } from './StrapiLinkButton';
2
+ export default StrapiLinkButton;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import StrapiLinkWithIcon from '../../models/strapi/StrapiLinkWithIcon';
3
+ import { StrapiLinkButtonProps } from '../StrapiLinkButton/StrapiLinkButton';
4
+ export interface StrapiLinkButtonWithIconProps extends Omit<StrapiLinkButtonProps, 'link'> {
5
+ link: StrapiLinkWithIcon;
6
+ }
7
+ export declare const StrapiLinkButtonWithIcon: React.FC<StrapiLinkButtonWithIconProps>;
@@ -0,0 +1,2 @@
1
+ import { StrapiLinkButtonWithIcon } from './StrapiLinkButtonWithIcon';
2
+ export default StrapiLinkButtonWithIcon;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import StrapiImage from '../../../models/strapi/StrapiImage';
3
+ import StrapiLink from '../../../models/strapi/StrapiLink';
4
+ export interface ContactProps {
5
+ avatar?: StrapiImage;
6
+ title?: string;
7
+ text?: string;
8
+ button?: StrapiLink;
9
+ }
10
+ export declare const Contact: React.FC<ContactProps>;
@@ -0,0 +1,2 @@
1
+ import { Contact } from './Contact';
2
+ export default Contact;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import StrapiLink from '../../../models/strapi/StrapiLink';
3
+ export interface DocumentsDownloadListProps {
4
+ documentUrls: StrapiLink[];
5
+ }
6
+ export declare const DocumentsDownloadList: React.FC<DocumentsDownloadListProps>;
@@ -0,0 +1,2 @@
1
+ import { DocumentsDownloadList } from './DocumentsDownloadList';
2
+ export default DocumentsDownloadList;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ 'features.portfolio.documentsDownloadList.projectDocuments': string;
3
+ 'features.portfolio.documentsDownloadList.downloadDocument': string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ 'features.portfolio.documentsDownloadList.projectDocuments': string;
3
+ 'features.portfolio.documentsDownloadList.downloadDocument': string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import PortfolioProject from '../../../models/PortfolioProject';
3
+ export interface ProjectInfoProps {
4
+ project: PortfolioProject;
5
+ subtitles: {
6
+ areaSubtitle?: string;
7
+ locationSubtitle?: string;
8
+ startSubtitle?: string;
9
+ timeSpanSubtitle?: string;
10
+ projectTypeSubtitle?: string;
11
+ projectDeveloperSubtitle?: string;
12
+ verificationStandardSubtitle?: string;
13
+ forecastedAmountSubtitle?: string;
14
+ riskBufferSubtitle?: string;
15
+ buyCreditsSubtitle?: string;
16
+ };
17
+ }
18
+ export declare const ProjectInfo: React.FC<ProjectInfoProps>;
@@ -0,0 +1,2 @@
1
+ import { ProjectInfo } from './ProjectInfo';
2
+ export default ProjectInfo;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ 'features.projectInfo.projectInfo.value': string;
3
+ 'features.projectInfo.properties.area': string;
4
+ 'features.projectInfo.properties.location': string;
5
+ 'features.projectInfo.properties.start': string;
6
+ 'features.projectInfo.properties.timeSpan': string;
7
+ 'features.projectInfo.properties.projectType': string;
8
+ 'features.projectInfo.properties.projectDeveloper': string;
9
+ 'features.projectInfo.properties.verificationStandard.label': string;
10
+ 'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
11
+ 'features.projectInfo.properties.forecastedAmountYear.label': string;
12
+ 'features.projectInfo.properties.riskBuffer': string;
13
+ 'features.projectInfo.properties.year': string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ 'features.projectInfo.projectInfo.value': string;
3
+ 'features.projectInfo.properties.area': string;
4
+ 'features.projectInfo.properties.location': string;
5
+ 'features.projectInfo.properties.start': string;
6
+ 'features.projectInfo.properties.timeSpan': string;
7
+ 'features.projectInfo.properties.projectType': string;
8
+ 'features.projectInfo.properties.projectDeveloper': string;
9
+ 'features.projectInfo.properties.verificationStandard.label': string;
10
+ 'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
11
+ 'features.projectInfo.properties.forecastedAmountYear.label': string;
12
+ 'features.projectInfo.properties.riskBuffer': string;
13
+ 'features.projectInfo.properties.year': string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { StrapiLink } from '../../..';
3
+ export interface SmallCheckoutProps {
4
+ batchId: string;
5
+ pricePerKg: number;
6
+ initialContributionValue: number;
7
+ checkoutText?: string;
8
+ currency: 'EUR' | 'CHF';
9
+ title?: string;
10
+ subtitle?: string;
11
+ button?: StrapiLink;
12
+ }
13
+ declare const SmallCheckout: ({ pricePerKg, currency, batchId, initialContributionValue, checkoutText, title, subtitle, button, }: SmallCheckoutProps) => React.JSX.Element;
14
+ export default SmallCheckout;
@@ -0,0 +1,2 @@
1
+ import SmallCheckout from './SmallCheckout';
2
+ export default SmallCheckout;
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ 'portfolio.smallCheckout.contributionValueCurrency.label.CHF': string;
3
+ 'portfolio.smallCheckout.contributionValueCurrency.label.EUR': string;
4
+ 'portfolio.smallCheckout.contributionValueCurrency.unit.EUR': string;
5
+ 'portfolio.smallCheckout.contributionValueCurrency.unit.CHF': string;
6
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.tooLow.CHF': string;
7
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.tooLow.EUR': string;
8
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.empty': string;
9
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.tooHigh': string;
10
+ 'portfolio.smallCheckout.contributionValueKgs.label': string;
11
+ 'portfolio.smallCheckout.submitButton': string;
12
+ 'portfolio.smallCheckout.cta.title': string;
13
+ 'portfolio.smallCheckout.cta.subTitle': string;
14
+ 'portfolio.smallCheckout.cta.button': string;
15
+ };
16
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ 'portfolio.smallCheckout.contributionValueCurrency.label.CHF': string;
3
+ 'portfolio.smallCheckout.contributionValueCurrency.label.EUR': string;
4
+ 'portfolio.smallCheckout.contributionValueCurrency.unit.EUR': string;
5
+ 'portfolio.smallCheckout.contributionValueCurrency.unit.CHF': string;
6
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.tooLow.CHF': string;
7
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.tooLow.EUR': string;
8
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.empty': string;
9
+ 'portfolio.smallCheckout.contributionValueCurrency.validation.tooHigh': string;
10
+ 'portfolio.smallCheckout.contributionValueKgs.label': string;
11
+ 'portfolio.smallCheckout.submitButton': string;
12
+ 'portfolio.smallCheckout.cta.title': string;
13
+ 'portfolio.smallCheckout.cta.subTitle': string;
14
+ 'portfolio.smallCheckout.cta.button': string;
15
+ };
16
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const MEDIUM_TRANSITION_DURATION = 0.2;
@@ -0,0 +1,3 @@
1
+ export declare const API_URI: string;
2
+ export declare const FPM_API_URI: string;
3
+ export declare const CDN_URI = "https://cdn.tree.ly";
@@ -0,0 +1,8 @@
1
+ export declare const BREAKPOINT_SM = "320px";
2
+ export declare const BREAKPOINT_MD = "768px";
3
+ export declare const BREAKPOINT_LG = "960px";
4
+ export declare const BREAKPOINT_XL = "1200px";
5
+ export declare const BREAKPOINT_SM_QUERY = "(max-width: 320px)";
6
+ export declare const BREAKPOINT_MD_QUERY = "(max-width: 768px)";
7
+ export declare const BREAKPOINT_LG_QUERY = "(max-width: 960px)";
8
+ export declare const BREAKPOINT_XL_QUERY = "(max-width: 1200px)";
@@ -0,0 +1,2 @@
1
+ export declare const MINIMUM_CONTRIBUTION_VALUE_IN_MONEY = 10;
2
+ export declare const MAXIMUM_CONTRIBUTION_VALUE_IN_MONEY = 60000;
@@ -0,0 +1,6 @@
1
+ export declare const FONT_CUSTOMIZATIONS: {
2
+ body: string;
3
+ heading: string;
4
+ display: string;
5
+ mono: string;
6
+ };
@@ -0,0 +1,6 @@
1
+ import { FormatNumberOptions } from 'react-intl';
2
+ export declare const FORMAT_AS_EUR_CONFIG: FormatNumberOptions;
3
+ export declare const FORMAT_AS_METER_CONFIG: FormatNumberOptions;
4
+ export declare const FORMAT_AS_HECTARE_CONFIG: FormatNumberOptions;
5
+ export declare const FORMAT_AS_CUBIC_METERS_PER_HECTARE_CONFIG: FormatNumberOptions;
6
+ export declare const FORMAT_AS_PERCENT_CONFIG: FormatNumberOptions;
@@ -0,0 +1 @@
1
+ export declare const GLOBAL_STYLE: import("@emotion/utils").SerializedStyles;
@@ -0,0 +1,17 @@
1
+ export declare const MAPBOX_TOKEN = "pk.eyJ1IjoidHJlZS1seSIsImEiOiJja25rNG1heHgwNThjMnZwZTl2eThmeXUwIn0.SOrYUKfevZkbx8jZPxJesA";
2
+ export declare enum MapBoxStyle {
3
+ Outdoors = "mapbox://styles/mapbox/outdoors-v11",
4
+ SatelliteStreets = "mapbox://styles/mapbox/satellite-streets-v11",
5
+ Satellite = "mapbox://styles/mapbox/satellite-v9",
6
+ CaliTerrain = "mapbox://styles/tree-ly/clna54iq603ht01pbc199cszw"
7
+ }
8
+ export declare const MAPBOX_TILES_URL: string;
9
+ export declare const MAPBOX_SOURCE_LAYER = "plots";
10
+ export declare const MAPBOX_SOURCE_IDENTIFIER = "plots";
11
+ export declare const MAPBOX_BORDER_LAYER_IDENTIFIER = "plots-borders";
12
+ export declare const MAPBOX_FILL_LAYER_IDENTIFIER = "plots-fill";
13
+ export declare const MAPBOX_TEXT_LAYER_IDENTIFIER = "plots-text";
14
+ export declare const MAPBOX_TEXT_MIN_ZOOM = 15;
15
+ export declare const MAPBOX_SHAPES_MIN_ZOOM = 13;
16
+ export declare const MAPBOX_MAX_ZOOM = 19;
17
+ export declare const MAPBOX_INITIAL_ZOOM = 13;
@@ -0,0 +1,2 @@
1
+ export declare const DEFAULT_SHARE_IMAGE = "https://cdn.tree.ly/assets/v3/app/share-image-generic.webp";
2
+ export declare const DEFAULT_SHARE_ALT = "Share Image";
@@ -0,0 +1,5 @@
1
+ export declare const EXTENDABLE_HEADER_SECTIONS: string[];
2
+ export declare const DARK_THEME_HEADER_SECTIONS: string[];
3
+ export declare const SECTIONS_WITH_BLOG_POSTS: string[];
4
+ export declare const SECTIONS_WITH_CUSTOMER_STORIES: string[];
5
+ export declare const SECTIONS_WITH_PROJECTS: string[];
@@ -0,0 +1 @@
1
+ export declare const STRAPI_URI: string;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const LinkedInIcon: () => React.JSX.Element;
3
+ export default LinkedInIcon;
@@ -0,0 +1,52 @@
1
+ import IStrapi from './models/strapi/IStrapi';
2
+ import IStrapiData from './models/strapi/IStrapiData';
3
+ import IStrapiResponse from './models/strapi/IStrapiResponse';
4
+ import StrapiAuthor from './models/strapi/StrapiAuthor';
5
+ import StrapiAvatarWithName from './models/strapi/StrapiAvatarWithName';
6
+ import StrapiBanner from './models/strapi/StrapiBanner';
7
+ import StrapiBlogPost from './models/strapi/StrapiBlogPost';
8
+ import StrapiBlogPostProps from './models/strapi/StrapiBlogPostProps';
9
+ import StrapiButtonWithVariant from './models/strapi/StrapiButtonWithVariant';
10
+ import StrapiCategory from './models/strapi/StrapiCategory';
11
+ import StrapiContactArea from './models/strapi/StrapiContactArea';
12
+ import StrapiCustomerStory from './models/strapi/StrapiCustomerStory';
13
+ import StrapiCustomerStoryProps from './models/strapi/StrapiCustomerStoryProps';
14
+ import StrapiDefaultHeader from './models/strapi/StrapiDefaultHeader';
15
+ import StrapiGlobal from './models/strapi/StrapiGlobal';
16
+ import StrapiGlossaryItem from './models/strapi/StrapiGlossaryItem';
17
+ import StrapiHeroCard from './models/strapi/StrapiHeroCard';
18
+ import StrapiImage from './models/strapi/StrapiImage';
19
+ import StrapiImageFormat from './models/strapi/StrapiImageFormat';
20
+ import StrapiImageWithLink from './models/strapi/StrapiImageWithLink';
21
+ import StrapiLink from './models/strapi/StrapiLink';
22
+ import StrapiLinkList from './models/strapi/StrapiLinkList';
23
+ import StrapiLinkPage from './models/strapi/StrapiLinkPage';
24
+ import StrapiLinkWithIcon from './models/strapi/StrapiLinkWithIcon';
25
+ import StrapiLocalization from './models/strapi/StrapiLocalization';
26
+ import StrapiMedia from './models/strapi/StrapiMedia';
27
+ import StrapiMetadata from './models/strapi/StrapiMetadata';
28
+ import StrapiNavMenu from './models/strapi/StrapiNavMenu';
29
+ import StrapiPage from './models/strapi/StrapiPage';
30
+ import StrapiPageProps from './models/strapi/StrapiPageProps';
31
+ import StrapiPortfolio from './models/strapi/StrapiPortfolio';
32
+ import StrapiPortfolioCard from './models/strapi/StrapiPortfolioCard';
33
+ import StrapiProject from './models/strapi/StrapiProject';
34
+ import StrapiProjectProps from './models/strapi/StrapiProjectProps';
35
+ import StrapiProjectCard from './models/strapi/StrapiProjectCard';
36
+ import StrapiQuoteCard from './models/strapi/StrapiQuoteCard';
37
+ import StrapiShapesCard from './models/strapi/StrapiShapesCard';
38
+ import StrapiTextCardWithIcons from './models/strapi/StrapiTextCardWithIcons';
39
+ import StrapiTopBanner from './models/strapi/StrapiTopBanner';
40
+ import HeaderType from './models/HeaderType';
41
+ import Image from './models/Image';
42
+ import PageMetadata from './models/PageMetadata';
43
+ import PageProps from './models/PageProps';
44
+ import mergeGlobalAndStrapiBlogPostData from './utils/mergeGlobalAndStrapiBlogPostData';
45
+ import mergeGlobalAndStrapiCustomerStoryData from './utils/mergeGlobalAndStrapiCustomerStoryData';
46
+ import mergeGlobalAndStrapiPageData from './utils/mergeGlobalAndStrapiPageData';
47
+ import mergeGlobalAndStrapiProjectData from './utils/mergeGlobalAndStrapiProjectData';
48
+ import { SECTIONS_WITH_BLOG_POSTS, SECTIONS_WITH_CUSTOMER_STORIES, SECTIONS_WITH_PROJECTS } from './constants/sectionsConfig';
49
+ export * from './components/SEOTags';
50
+ export * from './components/SliceRenderer';
51
+ export { mergeGlobalAndStrapiBlogPostData, mergeGlobalAndStrapiCustomerStoryData, mergeGlobalAndStrapiPageData, mergeGlobalAndStrapiProjectData, SECTIONS_WITH_BLOG_POSTS, SECTIONS_WITH_CUSTOMER_STORIES, SECTIONS_WITH_PROJECTS, };
52
+ export type { IStrapi, IStrapiData, IStrapiResponse, StrapiAuthor, StrapiAvatarWithName, StrapiBanner, StrapiBlogPost, StrapiBlogPostProps, StrapiButtonWithVariant, StrapiCategory, StrapiContactArea, StrapiCustomerStory, StrapiCustomerStoryProps, StrapiDefaultHeader, StrapiGlobal, StrapiGlossaryItem, StrapiHeroCard, StrapiImage, StrapiImageFormat, StrapiImageWithLink, StrapiLink, StrapiLinkList, StrapiLinkPage, StrapiLinkWithIcon, StrapiLocalization, StrapiMedia, StrapiMetadata, StrapiNavMenu, StrapiPage, StrapiPageProps, StrapiPortfolio, StrapiPortfolioCard, StrapiProject, StrapiProjectProps, StrapiProjectCard, StrapiQuoteCard, StrapiShapesCard, StrapiTextCardWithIcons, StrapiTopBanner, HeaderType, Image, PageMetadata, PageProps, };
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+ 'use strict'
3
+
4
+ if (process.env.NODE_ENV === 'production') {
5
+ module.exports = require('./strapi-slices.cjs.production.min.js')
6
+ } else {
7
+ module.exports = require('./strapi-slices.cjs.development.js')
8
+ }
@@ -0,0 +1,2 @@
1
+ type BBox = [number, number, number, number];
2
+ export default BBox;
@@ -0,0 +1,7 @@
1
+ declare enum CreditsAvailableState {
2
+ YES = "yes",
3
+ SOME = "some",
4
+ NO = "no",
5
+ NOT_YET = "notYet"
6
+ }
7
+ export default CreditsAvailableState;
@@ -0,0 +1,5 @@
1
+ interface HeaderType {
2
+ extendable: boolean;
3
+ theme: 'dark' | 'light';
4
+ }
5
+ export default HeaderType;
@@ -0,0 +1,5 @@
1
+ interface Image {
2
+ url: string;
3
+ alt: string;
4
+ }
5
+ export default Image;
@@ -0,0 +1,2 @@
1
+ type Locale = 'en' | 'de';
2
+ export default Locale;
@@ -0,0 +1,9 @@
1
+ import Image from './Image';
2
+ interface PageMetadata {
3
+ title: string;
4
+ description: string;
5
+ shareImage?: Image;
6
+ metaTitleSuffix?: string;
7
+ favicon?: string;
8
+ }
9
+ export default PageMetadata;
@@ -0,0 +1,21 @@
1
+ import { IStrapiData, StrapiBanner, StrapiBlogPost, StrapiCustomerStory, StrapiLink, StrapiLinkList, StrapiNavMenu, StrapiTopBanner } from '..';
2
+ import { ReactNode } from 'react';
3
+ import PortfolioProject from './PortfolioProject';
4
+ import PageMetadata from './PageMetadata';
5
+ import HeaderType from './HeaderType';
6
+ interface PageProps {
7
+ headerType?: HeaderType;
8
+ headerNavMenus?: StrapiNavMenu[];
9
+ headerButtons?: StrapiLink[];
10
+ footerLinks?: StrapiLinkList[];
11
+ hideFooter?: boolean;
12
+ children?: ReactNode;
13
+ metadata: PageMetadata;
14
+ slices: any[];
15
+ blogPosts: IStrapiData<StrapiBlogPost>[];
16
+ projects: PortfolioProject[];
17
+ banner?: StrapiBanner;
18
+ topBanner?: StrapiTopBanner;
19
+ customerStories: IStrapiData<StrapiCustomerStory>[];
20
+ }
21
+ export default PageProps;
@@ -0,0 +1,7 @@
1
+ import CreditsAvailableState from './CreditsAvailableState';
2
+ import FPMProject from './fpm/FPMProject';
3
+ interface PortfolioProject extends FPMProject {
4
+ slug?: string;
5
+ creditsAvailable?: CreditsAvailableState;
6
+ }
7
+ export default PortfolioProject;
@@ -0,0 +1,4 @@
1
+ interface CheckoutForm {
2
+ contributionValue: number;
3
+ }
4
+ export default CheckoutForm;
@@ -0,0 +1,37 @@
1
+ import Issuer from './Issuer';
2
+ interface FPMProject {
3
+ id: string;
4
+ title: string;
5
+ isPublic?: boolean;
6
+ geom?: {
7
+ type: 'Point';
8
+ coordinates: [number, number];
9
+ };
10
+ area?: number;
11
+ location?: string;
12
+ start?: Date;
13
+ end?: Date;
14
+ projectType?: {
15
+ title: string;
16
+ id: string;
17
+ createdAt: Date;
18
+ updatedAt: Date;
19
+ };
20
+ projectDeveloper?: {
21
+ name: string;
22
+ id: string;
23
+ createdAt: Date;
24
+ updatedAt: Date;
25
+ };
26
+ verificationStandard?: {
27
+ id: string;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ };
31
+ forecastedAmountYearly?: number;
32
+ riskBuffer?: number;
33
+ defaultIssuer?: Issuer;
34
+ createdAt: Date;
35
+ updatedAt: Date;
36
+ }
37
+ export default FPMProject;
@@ -0,0 +1,6 @@
1
+ interface Issuer {
2
+ id: string;
3
+ name: string;
4
+ logoUrl: string;
5
+ }
6
+ export default Issuer;
@@ -0,0 +1,4 @@
1
+ interface IStrapi<D> {
2
+ data: D;
3
+ }
4
+ export default IStrapi;
@@ -0,0 +1,5 @@
1
+ interface IStrapiData<A> {
2
+ id: number;
3
+ attributes: A;
4
+ }
5
+ export default IStrapiData;
@@ -0,0 +1,13 @@
1
+ import IStrapi from './IStrapi';
2
+ interface IStrapiResponse<D> extends IStrapi<D> {
3
+ meta: {
4
+ pagination?: {
5
+ page: number;
6
+ pageSize: number;
7
+ pageCount: number;
8
+ total: number;
9
+ };
10
+ };
11
+ error?: object;
12
+ }
13
+ export default IStrapiResponse;
@@ -0,0 +1,10 @@
1
+ import Locale from '../Locale';
2
+ import StrapiImage from './StrapiImage';
3
+ interface StrapiAuthor {
4
+ name: string;
5
+ locale: Locale;
6
+ createdAt: string;
7
+ updatedAt: string;
8
+ img: StrapiImage;
9
+ }
10
+ export default StrapiAuthor;