Skip to content

Commit

Permalink
Merge pull request #26356 from Expensify/marcaaron-cardListTypes
Browse files Browse the repository at this point in the history
Add type for `Card`
  • Loading branch information
arosiclair authored Sep 6, 2023
2 parents 2816aad + 060d6c1 commit 1eafc7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/onyx/Card.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import {ValueOf} from 'type-fest';
import CONST from '../../CONST';

type State = 3 /* OPEN */ | 4 /* NOT_ACTIVATED */ | 5 /* STATE_DEACTIVATED */ | 6 /* CLOSED */ | 7 /* STATE_SUSPENDED */;

type Card = {
cardID: number;
state: number;
state: State;
bank: string;
availableSpend: number;
domainName: string;
Expand Down

0 comments on commit 1eafc7d

Please sign in to comment.