monkey-front-core 0.0.416 → 0.0.417
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.
- package/esm2020/lib/core/interfaces/monkeyecx-store.mjs +1 -1
- package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +9 -9
- package/fesm2015/monkey-front-core.mjs +8 -8
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +8 -8
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/monkeyecx-store.d.ts +2 -2
- package/lib/core/services/store/monkeyecx-store.service.d.ts +3 -4
- package/monkey-front-core-0.0.417.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.416.tgz +0 -0
|
@@ -13,8 +13,8 @@ export interface MonkeyEcxCollectionStore extends MonkeyEcxConfigStore {
|
|
|
13
13
|
clear: Action;
|
|
14
14
|
};
|
|
15
15
|
selectors: {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
linksHasDifference?: Function;
|
|
17
|
+
selectLinks: Function;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
export interface MonkeyEcxEntityStore extends MonkeyEcxConfigStore {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
|
-
import { MonkeyEcxConfigStore, MonkeyEcxControlStore,
|
|
3
|
-
import { MonkeyEcxPage, MonkeyEcxPagination } from '../../interfaces';
|
|
2
|
+
import { MonkeyEcxPage, MonkeyEcxLinks, MonkeyEcxConfigStore, MonkeyEcxControlStore, MonkeyEcxPagination } from '../../interfaces';
|
|
4
3
|
import { MonkeyEcxCommonsService } from '../commons';
|
|
5
4
|
import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
6
5
|
import { MonkeyEcxTokenStorageService } from '../storage';
|
|
@@ -21,7 +20,7 @@ export declare abstract class MonkeyEcxCommonsStoreService<T, K extends MonkeyEc
|
|
|
21
20
|
private selector;
|
|
22
21
|
constructor(monkeyecxService: MonkeyEcxService, tokenStorage: MonkeyEcxTokenStorageService, store: Store, config: K);
|
|
23
22
|
private handleResponseData;
|
|
24
|
-
protected
|
|
23
|
+
protected linksHasDifference(url: string, identifier: string): Promise<{
|
|
25
24
|
hasDifference: any;
|
|
26
25
|
}>;
|
|
27
26
|
protected updateControl(data: MonkeyEcxControlStore): void;
|
|
@@ -29,7 +28,7 @@ export declare abstract class MonkeyEcxCommonsStoreService<T, K extends MonkeyEc
|
|
|
29
28
|
protected update?(args: T | T[], identifier: string): void;
|
|
30
29
|
protected updatePage?(args: MonkeyEcxPage, identifier: string): void;
|
|
31
30
|
protected updateLinks?(args: MonkeyEcxLinks, identifier: string): void;
|
|
32
|
-
protected loadData(url: string, identifier: string,
|
|
31
|
+
protected loadData(url: string, identifier: string, updateLinks?: boolean): Promise<void>;
|
|
33
32
|
protected loadPageData(pagination: MonkeyEcxPagination, identifier: string): Promise<void>;
|
|
34
33
|
/**
|
|
35
34
|
* @description Neste método precisamos incluir a lógica para conferir se precisa limpar a
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|