monkey-front-core 0.0.531 → 0.0.533
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.actions.mjs +1 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/monkeyecx-store.d.ts +10 -0
- package/lib/core/services/store/monkeyecx-store.actions.d.ts +3 -17
- package/monkey-front-core-0.0.533.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.531.tgz +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Action } from '@ngrx/store';
|
|
2
2
|
import { Link } from '../model';
|
|
3
|
+
import { MonkeyEcxPagination } from './monkeyecx-pagination';
|
|
3
4
|
export interface MonkeyEcxConfigStore {
|
|
4
5
|
actions?: {};
|
|
5
6
|
selectors?: {};
|
|
@@ -33,3 +34,12 @@ export interface MonkeyEcxLinks {
|
|
|
33
34
|
export interface MonkeyEcxStoreControl {
|
|
34
35
|
isLoading: boolean;
|
|
35
36
|
}
|
|
37
|
+
export interface MonkeyEcxStoreLoadParams {
|
|
38
|
+
force?: boolean;
|
|
39
|
+
identifier: string;
|
|
40
|
+
url: string;
|
|
41
|
+
}
|
|
42
|
+
export interface MonkeyEcxStoreLoadPageParams {
|
|
43
|
+
pagination: MonkeyEcxPagination;
|
|
44
|
+
identifier: string;
|
|
45
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MonkeyEcxPage,
|
|
1
|
+
import { MonkeyEcxPage, MonkeyEcxPaginationData, MonkeyEcxStoreControl, MonkeyEcxStoreLoadPageParams, MonkeyEcxStoreLoadParams } from '../../interfaces';
|
|
2
2
|
export declare abstract class MonkeyEcxCommonsActions {
|
|
3
3
|
static getActions<T>(actionName: string): {
|
|
4
4
|
clear: import("@ngrx/store").ActionCreator<`[${string}] Clear All`, (props: {
|
|
@@ -6,22 +6,8 @@ export declare abstract class MonkeyEcxCommonsActions {
|
|
|
6
6
|
}) => {
|
|
7
7
|
identifier: string;
|
|
8
8
|
} & import("@ngrx/store/src/models").TypedAction<`[${string}] Clear All`>>;
|
|
9
|
-
load: import("@ngrx/store").ActionCreator<`[${string}] Load`, (props: {
|
|
10
|
-
|
|
11
|
-
identifier: string;
|
|
12
|
-
force?: boolean | undefined;
|
|
13
|
-
}) => {
|
|
14
|
-
url: string;
|
|
15
|
-
identifier: string;
|
|
16
|
-
force?: boolean | undefined;
|
|
17
|
-
} & import("@ngrx/store/src/models").TypedAction<`[${string}] Load`>>;
|
|
18
|
-
loadPagination: import("@ngrx/store").ActionCreator<`[${string} Pagination] Load`, (props: {
|
|
19
|
-
pagination: MonkeyEcxPagination;
|
|
20
|
-
identifier: string;
|
|
21
|
-
}) => {
|
|
22
|
-
pagination: MonkeyEcxPagination;
|
|
23
|
-
identifier: string;
|
|
24
|
-
} & import("@ngrx/store/src/models").TypedAction<`[${string} Pagination] Load`>>;
|
|
9
|
+
load: import("@ngrx/store").ActionCreator<`[${string}] Load`, (props: MonkeyEcxStoreLoadParams) => MonkeyEcxStoreLoadParams & import("@ngrx/store/src/models").TypedAction<`[${string}] Load`>>;
|
|
10
|
+
loadPagination: import("@ngrx/store").ActionCreator<`[${string} Pagination] Load`, (props: MonkeyEcxStoreLoadPageParams) => MonkeyEcxStoreLoadPageParams & import("@ngrx/store/src/models").TypedAction<`[${string} Pagination] Load`>>;
|
|
25
11
|
removeOne: import("@ngrx/store").ActionCreator<`[${string}] Remove One`, (props: {
|
|
26
12
|
data: T;
|
|
27
13
|
}) => {
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|