Skip to content

Commit

Permalink
refactor: change DirectGiftDetails and InvitationGiftDetails to inter…
Browse files Browse the repository at this point in the history
…faces
  • Loading branch information
mohitb35 committed Dec 4, 2024
1 parent b5f3e12 commit fc5c245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Common/Types/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import {
} from "@planet-sdk/common";

/** planet-donations only allows direct or invitation gifts */
export type DirectGiftDetails = SentDirectGift & {
export interface DirectGiftDetails extends SentDirectGift {
recipientName?: string;
recipientProfile?: string;
};
export type InvitationGiftDetails = SentInvitationGift;
}
export interface InvitationGiftDetails extends SentInvitationGift {}

export type SentGift = SentDirectGift | SentInvitationGift;

Expand Down

0 comments on commit fc5c245

Please sign in to comment.