This file contains hidden or 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
| <InputField | |
| + keyboardType="email-address" | |
| + autoCapitalize="none" |
This file contains hidden or 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
| export interface OffersListProps { | |
| - Items: [offerItem]; | |
| + offers: Offer[]; | |
| } |
This file contains hidden or 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
| signIn | |
| - stores, | |
| - storesDetails, | |
| - offers, | |
| - rewards, | |
| - getTokenEpic, | |
| + retrieveStoredCredentialsAndSignIn, | |
| + getStores, | |
| + getStoreDetails, | |
| + getOffers, |
This file contains hidden or 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
| - import { storesDetailsActions } | |
| + import { storeDetailsActions } |
This file contains hidden or 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
| + export interface AuthSuccessResponse { | |
| + access_token: string; | |
| + } |
This file contains hidden or 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
| - token_type: string | null; | |
| - access_token: string | null; | |
| - isLoader: boolean; | |
| isMakingAuthRequest: boolean; | |
| isLoggedIn: boolean; | |
| - authToken: string | null; | |
| - loyalty_access_token: string | null; | |
| + authToken?: string; | |
| + loyaltyToken?: string; |
This file contains hidden or 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
| - dispatch(authAsyncActions.signInRequest()) | |
| - dispatch(authAsyncActions.getToken()) | |
| + // This retrieves the token when successful | |
| + dispatch(authAsyncActions.signInRequest()) |
This file contains hidden or 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
| aws cognito-idp admin-set-user-password --user-pool-id $USER_POOL_ID --username $USERNAME --password $PASSWORD --permanent |
This file contains hidden or 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
| Ionic: | |
| Ionic CLI : 5.2.1 (/Users/acrites/.config/yarn/global/node_modules/ionic) | |
| Ionic Framework : @ionic/angular 4.6.0 | |
| @angular-devkit/build-angular : 0.800.6 | |
| @angular-devkit/schematics : 8.0.6 | |
| @angular/cli : 8.0.6 | |
| @ionic/angular-toolkit : 2.0.0 | |
| Cordova: |
This file contains hidden or 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
| type F<S> = <R>(fn: (s: S) => R) => R; | |
| const foob: F<number> = cb => cb(1); | |
| const bar = foob<string>(num => num.toString()); |