@goodhood-web/nebenan-base 3.0.0-development.58 → 3.0.0-development.59
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.
- package/index.js +21 -21
- package/index.mjs +509 -483
- package/lib/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.d.ts +1 -1
- package/lib/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.types.d.ts +4 -0
- package/lib/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts +9 -2
- package/lib/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.d.ts +1 -1
- package/lib/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.types.d.ts +2 -1
- package/lib/FeedItem/Marketplace/MarketplaceRouterProvider/MarketplaceRouterProvider.d.ts +2 -2
- package/lib/FeedItem/Marketplace/MarketplaceRouterProvider/useNavigate.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MarketplaceActionsTypes } from './MarketplaceActions.types';
|
|
2
|
-
export declare const MarketplaceActions: ({ author, className, handleReserve, id, isFree, isMine, isReserved, }: MarketplaceActionsTypes) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const MarketplaceActions: ({ author, body, className, handleReserve, id, images, isFree, isMine, isReserved, subject, }: MarketplaceActionsTypes) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { PostImage } from '../../../../../../api/src/lib/core';
|
|
1
2
|
import { default as PostAuthorProps } from '../../PostAuthor/PostAuthor.types';
|
|
2
3
|
import { ProfileData } from '../MarketplaceDetailPage/MarketplaceDetailPage.types';
|
|
3
4
|
export type MarketplaceActionsTypes = {
|
|
4
5
|
author: PostAuthorProps;
|
|
6
|
+
body: string;
|
|
5
7
|
className?: string;
|
|
6
8
|
handleReserve?: () => void;
|
|
7
9
|
id: number;
|
|
10
|
+
images: PostImage[];
|
|
8
11
|
isFree: boolean;
|
|
9
12
|
isMine?: boolean;
|
|
10
13
|
isReserved: boolean;
|
|
11
14
|
profileData?: ProfileData | null;
|
|
15
|
+
subject: string;
|
|
12
16
|
};
|
package/lib/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { PostImage } from '../../../../../../../../api/src/lib/core';
|
|
1
2
|
import { default as PostAuthorProps } from '../../../../PostAuthor/PostAuthor.types';
|
|
2
|
-
|
|
3
|
+
type BuyerActionsProps = {
|
|
3
4
|
author: PostAuthorProps;
|
|
4
|
-
|
|
5
|
+
body: string;
|
|
6
|
+
id: number;
|
|
7
|
+
images: PostImage[];
|
|
8
|
+
subject: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const BuyerActions: ({ author, body, id, images, subject, }: BuyerActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MarketplaceBodyTypes } from './MarketplaceBody.types';
|
|
2
|
-
declare const MarketplaceBody: ({ author, body, category, embeds, handleReserve, id, isBookmarked, isFree, isMine, isPublic, isReserved, price, profileData, subject, timeStamp, }: MarketplaceBodyTypes) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MarketplaceBody: ({ author, body, category, embeds, handleReserve, id, images, isBookmarked, isFree, isMine, isPublic, isReserved, price, profileData, subject, timeStamp, }: MarketplaceBodyTypes) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MarketplaceBody;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmbedResponse, LevelOfDetail } from '../../../../../../api/src/lib/core';
|
|
1
|
+
import { EmbedResponse, LevelOfDetail, PostImage } from '../../../../../../api/src/lib/core';
|
|
2
2
|
import { default as PostAuthorProps } from '../../PostAuthor/PostAuthor.types';
|
|
3
3
|
import { ProfileData } from '../MarketplaceDetailPage/MarketplaceDetailPage.types';
|
|
4
4
|
export interface MarketplaceBodyTypes {
|
|
@@ -8,6 +8,7 @@ export interface MarketplaceBodyTypes {
|
|
|
8
8
|
embeds?: EmbedResponse[];
|
|
9
9
|
handleReserve?: () => void;
|
|
10
10
|
id: number;
|
|
11
|
+
images: PostImage[];
|
|
11
12
|
isBookmarked: boolean;
|
|
12
13
|
isFree: boolean;
|
|
13
14
|
isMine: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
type MarketplaceRouterContextType = {
|
|
3
|
-
navigate: (path: string) => void;
|
|
3
|
+
navigate: (path: string, state?: object) => void;
|
|
4
4
|
};
|
|
5
5
|
export declare const MarketplaceRouterContext: import('react').Context<MarketplaceRouterContextType>;
|
|
6
6
|
export declare const MarketplaceRouterProvider: ({ children, navigate, }: PropsWithChildren<{
|
|
7
|
-
navigate: (path: string) => void;
|
|
7
|
+
navigate: (path: string, state?: object) => void;
|
|
8
8
|
}>) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useNavigate: () => (path: string) => void;
|
|
1
|
+
export declare const useNavigate: () => (path: string, state?: object) => void;
|