@goodhood-web/nebenan-core 3.0.0-development.66 → 3.0.0-development.67

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.
@@ -1,10 +1,3 @@
1
- import { Entry } from 'contentful';
2
- import { TypeBlockPersuasionContentSkeleton, TypeBlockPersuasionImageSetSkeleton, TypeBlockSponsorCardSkeleton } from '../../../../api/src/core/contentful/core/types';
3
- import { SubmitValues } from '../SponsorCardForm/SponsorCardForm.types';
4
- interface DynamicRendererProps {
5
- dynamicContent: Array<Entry<TypeBlockSponsorCardSkeleton | TypeBlockPersuasionImageSetSkeleton | TypeBlockPersuasionContentSkeleton, 'WITHOUT_UNRESOLVABLE_LINKS', string>> | undefined;
6
- onError: () => void;
7
- onSubmit: (value: SubmitValues) => void;
8
- }
1
+ import { DynamicRendererProps } from './DynamicRenderer.types';
9
2
  declare const DynamicRenderer: ({ dynamicContent, onError, onSubmit }: DynamicRendererProps) => import("react/jsx-runtime").JSX.Element;
10
3
  export default DynamicRenderer;
@@ -1,6 +1,6 @@
1
1
  import { components } from '../../../../api/src/core/strapi/generated_types';
2
2
  import { SubmitValues } from '../SponsorCardForm/SponsorCardForm.types';
3
- interface StrapiDynamicRendererProps {
3
+ export interface DynamicRendererProps {
4
4
  dynamicContent: {
5
5
  blocks: (components['schemas']['CoreComponentsSponsorCardComponent'] | components['schemas']['CoreComponentsPersuasionImageSetComponent'] | components['schemas']['CoreComponentsPersuasionContentComponent'] | components['schemas']['CoreComponentsLegalComponent'] | components['schemas']['CoreComponentsPrivacyComponent'])[];
6
6
  cardHeader?: components['schemas']['SubcomponentsCardHeaderComponent'];
@@ -8,5 +8,3 @@ interface StrapiDynamicRendererProps {
8
8
  onError?: () => void;
9
9
  onSubmit?: (value: SubmitValues) => void;
10
10
  }
11
- declare const StrapiDynamicRenderer: ({ dynamicContent, onError, onSubmit, }: StrapiDynamicRendererProps) => import("react/jsx-runtime").JSX.Element;
12
- export default StrapiDynamicRenderer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-core",
3
- "version": "3.0.0-development.66",
3
+ "version": "3.0.0-development.67",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",
File without changes
@@ -1,11 +0,0 @@
1
- import { Entry } from 'contentful';
2
- import { TypeBlockSponsorCardSkeleton } from '../../../../api/src/core/contentful/core/types';
3
- import { SubmitValues } from './SponsorCardForm.types';
4
- export interface ContentfulBlockProps {
5
- block: Entry<TypeBlockSponsorCardSkeleton, 'WITHOUT_UNRESOLVABLE_LINKS', string>;
6
- isDesktop: boolean;
7
- onError: () => void;
8
- onSubmit: (values: SubmitValues) => void;
9
- }
10
- declare const ContentfulSponsorCardForm: ({ block, isDesktop, onError, onSubmit, }: ContentfulBlockProps) => import("react/jsx-runtime").JSX.Element;
11
- export default ContentfulSponsorCardForm;