보낸 선물
diff --git a/src/stories/GiftItem.stories.tsx b/src/stories/GiftItem.stories.tsx
index 9e3c63c9..4b7bfacc 100644
--- a/src/stories/GiftItem.stories.tsx
+++ b/src/stories/GiftItem.stories.tsx
@@ -29,6 +29,7 @@ const giftData: Gift = {
productName: '상품',
productThumbnail:
'https://img1.kakaocdn.net/thumb/C300x300@2x.fwebp.q82/?fname=https%3A%2F%2Fst.kakaocdn.net%2Fproduct%2Fgift%2Fproduct%2F20201230180133_cd30cb29560f4f1f8c7f380eb94e3cf1.png',
+ self: false,
senderName: '홍길동',
receivedAt: '2022-05-23T23:59:59',
expiredAt: '2024-12-31T23:59:59',
diff --git a/src/types/Gift.ts b/src/types/Gift.ts
index ad70f5b2..5c1df892 100644
--- a/src/types/Gift.ts
+++ b/src/types/Gift.ts
@@ -10,6 +10,7 @@ export type Gift = {
brandName: string;
productName: string;
productThumbnail: string;
+ self: boolean;
senderName: string;
receivedAt: string;
expiredAt: string;
diff --git a/src/types/fundingHistory.ts b/src/types/fundingHistory.ts
index 1cb4f25d..eda3b625 100644
--- a/src/types/fundingHistory.ts
+++ b/src/types/fundingHistory.ts
@@ -8,14 +8,13 @@ export type ContributedFundingItemType = {
price: number;
brandName: string;
};
- fundingDetail: {
- fundingId: number;
- fundingDetailId: number;
- contributedAmount: number;
- contributedAt: string;
- creatorName: string;
- status: ContributedFundingItemStatus;
- };
+ fundingId: number;
+ fundingDetailId: number;
+ contributedAmount: number;
+ contributedAt: string;
+ creatorName: string;
+ self: boolean;
+ status: ContributedFundingItemStatus;
};
export const REGISTERED_ITEM_STATUS = {
diff --git a/src/types/order.ts b/src/types/order.ts
index 047b5e7f..4300cff2 100644
--- a/src/types/order.ts
+++ b/src/types/order.ts
@@ -3,6 +3,7 @@ import { ProductItem } from 'types/productItem';
export type OrderItemType = {
id: number;
orderNumber: string;
+ self: boolean;
receiverName: string;
product: Pick<
ProductItem,
diff --git a/src/types/payment.ts b/src/types/payment.ts
index f87e043a..eb80bc1b 100644
--- a/src/types/payment.ts
+++ b/src/types/payment.ts
@@ -1,6 +1,7 @@
import { ProductItem } from './productItem';
export type Receiver = {
+ self: boolean;
name: string;
photoUrl: string;
};