-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(TypeScript): configuration work
- Loading branch information
Philip London
committed
Dec 30, 2019
1 parent
96bbe66
commit c4ee352
Showing
13 changed files
with
307 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module 'blockchain-info-components' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/blockchain-wallet-v4-frontend/src/scenes/Airdrops/StxAirdrop/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
packages/blockchain-wallet-v4-frontend/src/scenes/Airdrops/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export type Campaigns = 'BLOCKSTACK' | ||
|
||
export type UserCampaignState = | ||
| 'FAILED' | ||
| 'REWARD_RECEIVED' | ||
| 'TASK_FINISHED' | ||
| 'REWARD_SEND' | ||
| 'REGISTERED' | ||
| 'NONE' | ||
|
||
export interface CampaignType { | ||
attributes: { | ||
'x-campaign-reject-reason': string | ||
} | ||
campaignName: Campaigns | ||
userCampaignState: UserCampaignState | ||
} | ||
|
||
// Move this somewhere more generic | ||
export type KycStatesType = | ||
| 'NONE' | ||
| 'PENDING' | ||
| 'UNDER_REVIEW' | ||
| 'REJECTED' | ||
| 'VERIFIED' | ||
| 'EXPIRED' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.