Skip to content

Commit

Permalink
Merge pull request #38747 from Expensify/georgia-cardListONYX
Browse files Browse the repository at this point in the history
[NO QA] Update Card typescript Types
  • Loading branch information
MariaHCD authored Apr 5, 2024
2 parents 8fe465d + efce082 commit d8599ac
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/types/onyx/Card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ type Card = {
bank: string;
availableSpend: number;
domainName: string;
maskedPan?: string; // do not reference, removing as part of Expensify/App#27943
lastFourPAN?: string;
cardName: string;
cardTitle: string; // used only for virtual limit cards
limitType: ValueOf<typeof CONST.EXPENSIFY_CARD.LIMIT_TYPES>;
isAdminIssuedVirtualCard: boolean;
isVirtual: boolean;
isVirtual: boolean; // Deprecating, use nameValuePairs.isVirtual
fraud: ValueOf<typeof CONST.EXPENSIFY_CARD.FRAUD_TYPES>;
cardholderFirstName: string;
cardholderLastName: string;
errors?: OnyxCommon.Errors;
isLoading?: boolean;
nameValuePairs?: {
limitType?: ValueOf<typeof CONST.EXPENSIFY_CARD.LIMIT_TYPES>;
cardTitle?: string; // Used only for admin-issued virtual cards
issuedBy?: number;
hasCustomUnapprovedExpenseLimit?: boolean;
unapprovedExpenseLimit?: number;
feedCountry?: string;
isVirtual?: boolean;
previousState?: number;
expirationDate?: string;
};
};

type TCardDetails = {
Expand Down

0 comments on commit d8599ac

Please sign in to comment.