@goodhood-web/nebenan-base 3.0.0-development.65 → 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,3 +1,3 @@
1
1
  import { ComplaintModalProps } from './ComplaintModal.types';
2
- declare const ComplaintModal: ({ complaintReasons, handleModalClick, open, subjectId, }: ComplaintModalProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ declare const ComplaintModal: ({ complaintReasons, handleModalClick, open, reporter, subjectId, }: ComplaintModalProps) => import("react/jsx-runtime").JSX.Element | null;
3
3
  export default ComplaintModal;
@@ -1,7 +1,13 @@
1
- import { ComplaintReason } from '../../../../api/src/lib/core';
1
+ import { ComplaintReason } from '../../../../api/src/lib/core/public/v1/types';
2
2
  export interface ComplaintModalProps {
3
3
  complaintReasons?: ComplaintReason[];
4
4
  handleModalClick: () => void;
5
5
  open: boolean;
6
+ reporter?: {
7
+ email: string;
8
+ firstname: string;
9
+ id: number;
10
+ lastname: string;
11
+ };
6
12
  subjectId: number;
7
13
  }
@@ -1,7 +1,9 @@
1
+ import { ProfileResponse } from '../../../../../../../api/src/lib/core';
1
2
  type InteractiveCardHeaderProps = {
2
3
  className?: string;
3
4
  id: number;
4
5
  isMine: boolean;
6
+ profile: ProfileResponse;
5
7
  };
6
- export declare const InteractiveCardHeader: ({ className, id, isMine, }: InteractiveCardHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const InteractiveCardHeader: ({ className, id, isMine, profile, }: InteractiveCardHeaderProps) => import("react/jsx-runtime").JSX.Element;
7
9
  export {};
@@ -1,5 +1,7 @@
1
- export declare const ComplaintModalComponent: ({ handleReport, id, open, }: {
1
+ import { ProfileResponse } from '../../../../../../../../api/src/lib/core';
2
+ export declare const ComplaintModalComponent: ({ handleReport, id, open, profile, }: {
2
3
  handleReport: () => void;
3
4
  id: number;
4
5
  open: boolean;
6
+ profile: ProfileResponse;
5
7
  }) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { MarketplaceMoreOptionsProps } from './MarketplaceMoreOptions.types';
2
- export declare const MarketplaceMoreOptions: ({ id, isMine }: MarketplaceMoreOptionsProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MarketplaceMoreOptions: ({ id, isMine, profile, }: MarketplaceMoreOptionsProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MarketplaceMoreOptions;
@@ -1,4 +1,6 @@
1
+ import { ProfileResponse } from '../../../../../../../api/src/lib/core';
1
2
  export type MarketplaceMoreOptionsProps = {
2
3
  id: number;
3
4
  isMine?: boolean;
5
+ profile: ProfileResponse;
4
6
  };
@@ -1,6 +1,5 @@
1
- import { BusinessProfilesResponse, InteractionResponse, NeighbourResponse, PostResponse, Section } from '../../../../../api/src/lib/core';
1
+ import { BusinessProfilesResponse, InteractionResponse, NeighbourResponse, PostResponse, ProfileResponse, Section } from '../../../../../api/src/lib/core';
2
2
  import { Category } from '../../../../../api/src/lib/core/v2/categories';
3
- import { ProfileResponse } from '../../../../../api/src/lib/core/v2/profile';
4
3
  import { BadgeIconType } from '../../../../../api/src/lib/types/newsFeeds';
5
4
  import { MarketplaceBodyTypes } from './Marketplace/MarketplaceBody/MarketplaceBody.types';
6
5
  import { AdSlot } from './Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.0.0-development.65",
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",