redux-paginator-immutable 17.0.20 → 17.0.21

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.
@@ -11,11 +11,11 @@ export declare type PaginatorSettings = {
11
11
  key: string;
12
12
  manageEntity: any;
13
13
  resultsKey: string;
14
- dataItemURL: string;
15
- normalizeDataItem: any;
16
14
  rowsPerLoad?: number;
17
15
  manipulateItems?: (items: any) => any;
18
16
  totalKey?: string;
19
17
  pageArgName?: string;
20
18
  idKey?: string;
19
+ dataItemURL?: string;
20
+ normalizeDataItem?: any;
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redux-paginator-immutable",
3
- "version": "17.0.20",
3
+ "version": "17.0.21",
4
4
  "types": "./lib/index.d.ts",
5
5
  "description": "redux-paginator-immutable helps you deal with paginated API by composing your existing reducers",
6
6
  "main": "./lib/index.js",
@@ -9,12 +9,12 @@ export type PromiseAction = Promise<Action>;
9
9
  export type ThunkAction = (dispatch: Dispatch, getState: GetState) => any;
10
10
  export type Dispatch = (action: Action | ThunkAction | PromiseAction | Array<Action>) => any;
11
11
  export type EndPointCb = ((token?: string) => string) | null;
12
+
13
+
12
14
  export type PaginatorSettings = {
13
15
  key: string;
14
16
  manageEntity: any;
15
17
  resultsKey: string;
16
- dataItemURL: string;
17
- normalizeDataItem: any;
18
18
  // by default "{rowsPerLoad} from x25/utility/others"
19
19
  rowsPerLoad?: number;
20
20
  // by default "(items) => items"
@@ -25,4 +25,7 @@ export type PaginatorSettings = {
25
25
  pageArgName?: string;
26
26
  // default "ID"
27
27
  idKey?: string;
28
+
29
+ dataItemURL?: string;
30
+ normalizeDataItem?: any;
28
31
  };