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 { Injectable } from '@angular/core'; | |
| import { mergeMap, map, catchError, concatMap, withLatestFrom, filter, tap } from 'rxjs/operators'; | |
| import { of } from 'rxjs'; | |
| import { ProductService } from '../product.service'; | |
| /* NgRx */ | |
| import { Actions, createEffect, ofType } from '@ngrx/effects'; | |
| import { ProductPageActions, ProductApiActions } from './actions'; | |
| import { Store } from '@ngrx/store'; |
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
| {"lastUpload":"2017-08-14T02:32:58.403Z","extensionVersion":"v2.8.2"} |
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
| // In VSCode: | |
| // 1. type F1 then enter '>Open User Snippets' | |
| // 2. select 'TypeScript' | |
| // 3. paste in below snippets | |
| "jasmine describe": { | |
| "prefix": "jdescribe", | |
| "body": [ | |
| "describe(`$1`, () => {", | |
| "$0", |
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
| elasticsearch: | |
| image: 'elasticsearch:2.2' | |
| ports: | |
| - '9200:9200' | |
| volumes_from: | |
| - elasticsearch-data | |
| elasticsearch-data: | |
| image: 'alpine:latest' | |
| command: /bin/true | |
| volumes: |