monkey-front-core 0.0.619 → 0.0.621

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,7 @@ export interface MonkeyEcxCollectionStore extends MonkeyEcxConfigStore {
12
12
  updatePage: Action;
13
13
  updateAll: Action;
14
14
  clear: Action;
15
+ load?: Action;
15
16
  };
16
17
  selectors: {
17
18
  linksHasDifference?: Function;
@@ -37,6 +38,7 @@ export interface MonkeyEcxStoreControl {
37
38
  export interface MonkeyEcxStoreLoadParams {
38
39
  force?: boolean;
39
40
  identifier: string;
41
+ skipClear?: boolean;
40
42
  url: string;
41
43
  }
42
44
  export interface MonkeyEcxStoreLoadPageParams {
@@ -1,4 +1,5 @@
1
1
  import { Store } from '@ngrx/store';
2
+ import { Observable } from 'rxjs';
2
3
  import { MonkeyEcxConfigStore, MonkeyEcxControlStore, MonkeyEcxLinks, MonkeyEcxPage, MonkeyEcxPagination } from '../../interfaces';
3
4
  import { MonkeyEcxCommonsService } from '../commons';
4
5
  import { MonkeyEcxService } from '../monkeyecx-service.service';
@@ -26,7 +27,8 @@ export declare abstract class MonkeyEcxCommonsStoreBaseService<T, K extends Monk
26
27
  protected updatePage?(data: MonkeyEcxPage): void;
27
28
  protected updateLinks?(data: MonkeyEcxLinks): void;
28
29
  protected loadData(url: string, updateLinks?: boolean): Promise<void>;
29
- protected loadPageData(pagination: MonkeyEcxPagination): Promise<void>;
30
+ protected loadDataStream(url: string): Observable<any>;
31
+ protected loadPageData(pagination: MonkeyEcxPagination, dispatchLoadAction?: boolean): Promise<void>;
30
32
  /**
31
33
  * @description Neste método precisamos incluir a lógica para conferir se precisa limpar a
32
34
  * entidade ou não
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monkey-front-core",
3
- "version": "0.0.619",
3
+ "version": "0.0.621",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.1.1",
6
6
  "@angular/common": "^13.1.1",
Binary file