@goodhood-web/nebenan-base 4.4.0-development.6 → 4.4.0-development.7

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,2 +1,2 @@
1
1
  import { GridFeedAggregatorProps } from './GridFeedAggregator.types';
2
- export default function GridFeedAggregator({ feedType, items }: GridFeedAggregatorProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function GridFeedAggregator({ feedType, items, onCreateContent, }: GridFeedAggregatorProps): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import { GridFeedAd, GridFeedHoodMessage, GridFeedProps } from '../../Feed/Feed.
2
2
  export type GridFeedAggregatorProps = {
3
3
  feedType: GridFeedProps['feedType'];
4
4
  items: (GridFeedAd | GridFeedHoodMessage)[];
5
+ onCreateContent?: () => void;
5
6
  };
6
7
  export declare const GridFeedAggregatorNavigateEnum: {
7
8
  readonly event: "";
@@ -1,3 +1,3 @@
1
1
  import { GridFeedProps } from './Feed.types';
2
- declare const Feed: ({ ads, feedItems, feedType, viewMode, }: GridFeedProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ declare const Feed: ({ ads, feedItems, feedType, onCreateContent, viewMode, }: GridFeedProps) => import("react/jsx-runtime").JSX.Element | null;
3
3
  export default Feed;
@@ -30,12 +30,14 @@ export interface GridFeedHoodMessage extends GridFeedItem {
30
30
  }
31
31
  export interface GridFeedFeedAggregator extends GridFeedItem {
32
32
  items: (GridFeedHoodMessage | GridFeedAd)[];
33
+ onCreateContent?: () => void;
33
34
  type: 'grid-feed-aggregator';
34
35
  }
35
36
  export type GridFeedProps = {
36
37
  ads?: GridFeedAd[];
37
38
  feedItems: PostResponse[];
38
39
  feedType: (typeof GridFeedTypeEnum)[keyof typeof GridFeedTypeEnum];
40
+ onCreateContent?: () => void;
39
41
  viewMode?: (typeof FeedViewMode)[keyof typeof FeedViewMode];
40
42
  };
41
43
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "4.4.0-development.6",
3
+ "version": "4.4.0-development.7",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",