@stenajs-webui/redux 20.6.11 → 20.7.1

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.
Files changed (29) hide show
  1. package/dist/features/higher-order-reducers/entity-list-reducer/entity-list-actions.d.ts +1 -1
  2. package/dist/features/higher-order-reducers/entity-list-reducer/entity-list-reducer.d.ts +2 -2
  3. package/dist/features/higher-order-reducers/entity-list-reducer/entity-list-selectors.d.ts +1 -1
  4. package/dist/features/higher-order-reducers/record-object-reducer/record-object-actions.d.ts +2 -2
  5. package/dist/features/higher-order-reducers/record-object-reducer/record-object-reducer.d.ts +1 -1
  6. package/dist/features/higher-order-reducers/reducer-id-gate/reducer-id-action-wrapper.d.ts +3 -3
  7. package/dist/features/higher-order-reducers/reducer-id-gate/reducer-id-gate.d.ts +1 -1
  8. package/dist/features/reducer-factories/commit-reducer/commit-actions.d.ts +4 -4
  9. package/dist/features/reducer-factories/commit-reducer/commit-selectors.d.ts +1 -1
  10. package/dist/features/reducer-factories/editable-entity-reducer/editable-entity-actions.d.ts +1 -1
  11. package/dist/features/reducer-factories/entity-by-id-reducer/entity-by-id-actions.d.ts +1 -1
  12. package/dist/features/reducer-factories/entity-by-id-reducer/entity-by-id-selectors.d.ts +1 -1
  13. package/dist/features/reducer-factories/entity-crud-status-reducer/entity-crud-status-redux.d.ts +5 -5
  14. package/dist/features/reducer-factories/entity-reducer/entity-actions.d.ts +1 -1
  15. package/dist/features/reducer-factories/entity-reducer/entity-reducer.d.ts +2 -2
  16. package/dist/features/reducer-factories/entity-reducer/entity-selectors.d.ts +1 -1
  17. package/dist/features/reducer-factories/modified-field-reducer/modified-field-redux.d.ts +6 -6
  18. package/dist/features/reducer-factories/selected-ids-reducer/selected-ids-actions.d.ts +1 -1
  19. package/dist/features/reducer-factories/selected-ids-reducer/selected-ids-reducer.d.ts +1 -1
  20. package/dist/features/reducer-factories/selected-ids-reducer/selected-ids-selectors.d.ts +1 -1
  21. package/dist/features/reducer-factories/sort-order-by-id-reducer/hooks/use-sort-order-by-id.d.ts +1 -1
  22. package/dist/features/reducer-factories/sort-order-by-id-reducer/sort-order-by-id-actions.d.ts +1 -1
  23. package/dist/features/reducer-factories/sort-order-by-id-reducer/sort-order-by-id-selectors.d.ts +1 -1
  24. package/dist/features/reducer-factories/sort-order-reducer/sort-order-actions.d.ts +1 -1
  25. package/dist/features/reducer-factories/sort-order-reducer/sort-order-reducer.d.ts +1 -1
  26. package/dist/features/reducer-factories/sort-order-reducer/sort-order-selectors.d.ts +1 -1
  27. package/dist/features/reducer-factories/value-by-id-reducer/value-by-id-actions.d.ts +1 -1
  28. package/dist/features/reducer-factories/value-by-id-reducer/value-by-id-selectors.d.ts +1 -1
  29. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- export declare type EntityListAction<T, TInnerAction> = EntityListSetListAction<T> | EntityListAddAtEndAction<T> | EntityListAddAtStartAction<T> | EntityListClearListAction | EntityListRemoveFirstAction | EntityListRemoveLastAction | EntityListRemoveAtIndexAction | EntityListRemoveByFieldMatchAction<T> | EntityListRemoveAction<T> | EntityListToggleAction<T> | EntityListActionByFieldsMatchAction<T, TInnerAction> | EntityListActionByIndexAction<TInnerAction> | EntityListActionOnAllAction<TInnerAction>;
1
+ export type EntityListAction<T, TInnerAction> = EntityListSetListAction<T> | EntityListAddAtEndAction<T> | EntityListAddAtStartAction<T> | EntityListClearListAction | EntityListRemoveFirstAction | EntityListRemoveLastAction | EntityListRemoveAtIndexAction | EntityListRemoveByFieldMatchAction<T> | EntityListRemoveAction<T> | EntityListToggleAction<T> | EntityListActionByFieldsMatchAction<T, TInnerAction> | EntityListActionByIndexAction<TInnerAction> | EntityListActionOnAllAction<TInnerAction>;
2
2
  export interface EntityListSetListAction<T> {
3
3
  type: "ENTITY_LIST:SET_LIST";
4
4
  list: Array<T>;
@@ -1,4 +1,4 @@
1
1
  import { EntityListAction } from "./entity-list-actions";
2
2
  import { Action, AnyAction, Reducer } from "redux";
3
- export declare type EntityListState<TListItem> = Array<TListItem>;
4
- export declare const createEntityListReducer: <TListItem, TListItemAction extends Action<any> = AnyAction>(reducer?: Reducer<TListItem, TListItemAction> | undefined) => (state: EntityListState<TListItem> | undefined, action: EntityListAction<TListItem, TListItemAction>) => EntityListState<TListItem>;
3
+ export type EntityListState<TListItem> = Array<TListItem>;
4
+ export declare const createEntityListReducer: <TListItem, TListItemAction extends Action<any> = AnyAction>(reducer?: Reducer<TListItem, TListItemAction>) => (state: EntityListState<TListItem> | undefined, action: EntityListAction<TListItem, TListItemAction>) => EntityListState<TListItem>;
@@ -2,5 +2,5 @@ import { EntityListState } from "./entity-list-reducer";
2
2
  export interface EntityListSelectors<TStoreState, TEntity> {
3
3
  getList: (store: TStoreState) => Array<TEntity>;
4
4
  }
5
- export declare type EntityListSelector<TStoreState, TEntity> = (state: TStoreState) => EntityListState<TEntity>;
5
+ export type EntityListSelector<TStoreState, TEntity> = (state: TStoreState) => EntityListState<TEntity>;
6
6
  export declare const createEntityListSelectors: <TStoreState, TEntity>(stateSelector: EntityListSelector<TStoreState, TEntity>) => EntityListSelectors<TStoreState, TEntity>;
@@ -1,8 +1,8 @@
1
1
  export interface RecordObjectWrappedAction {
2
2
  type: string;
3
3
  }
4
- export declare type RecordObjectAction<TInnerAction extends RecordObjectWrappedAction> = RecordObjectClearRecordAction | RecordObjectClearAllRecordsAction | RecordObjectRecordAction<TInnerAction>;
5
- export declare type RecordObjectKey = string | number;
4
+ export type RecordObjectAction<TInnerAction extends RecordObjectWrappedAction> = RecordObjectClearRecordAction | RecordObjectClearAllRecordsAction | RecordObjectRecordAction<TInnerAction>;
5
+ export type RecordObjectKey = string | number;
6
6
  export interface RecordObjectRecordAction<TInnerAction extends RecordObjectWrappedAction> {
7
7
  type: "RECORD_OBJECT:ACTION";
8
8
  recordId: RecordObjectKey;
@@ -1,4 +1,4 @@
1
1
  import { Reducer } from "redux";
2
2
  import { RecordObjectAction, RecordObjectKey, RecordObjectWrappedAction } from "./record-object-actions";
3
- export declare type RecordObjectState<TInnerState> = Record<RecordObjectKey, TInnerState>;
3
+ export type RecordObjectState<TInnerState> = Record<RecordObjectKey, TInnerState>;
4
4
  export declare const createRecordObjectReducer: <TInnerAction extends RecordObjectWrappedAction, TInnerState = unknown>(reducer: Reducer<TInnerState, TInnerAction>) => Reducer<RecordObjectState<TInnerState>, RecordObjectAction<TInnerAction>>;
@@ -1,11 +1,11 @@
1
1
  import { ReducerIdGateAction } from "./reducer-id-gate";
2
- declare type ActionCreator = (...args: any) => any;
3
- export declare type ActionCreatorCreator<TActionCreator extends ActionCreator> = (...args: Parameters<TActionCreator>) => ReducerIdGateAction<ReturnType<TActionCreator>>;
2
+ type ActionCreator = (...args: any) => any;
3
+ export type ActionCreatorCreator<TActionCreator extends ActionCreator> = (...args: Parameters<TActionCreator>) => ReducerIdGateAction<ReturnType<TActionCreator>>;
4
4
  export declare const wrapActionWithReducerIdGate: <TActionCreator extends ActionCreator>(reducerId: string, actionCreator: TActionCreator) => ActionCreatorCreator<TActionCreator>;
5
5
  export interface ActionCreatorsMapObject {
6
6
  [key: string]: ActionCreator;
7
7
  }
8
- export declare type ReducerIdGatedActionCreator<TActionCreators extends ActionCreatorsMapObject> = {
8
+ export type ReducerIdGatedActionCreator<TActionCreators extends ActionCreatorsMapObject> = {
9
9
  [K in keyof TActionCreators]: ActionCreatorCreator<TActionCreators[K]>;
10
10
  };
11
11
  export declare const wrapActionsWithReducerIdGate: <TActionCreators extends ActionCreatorsMapObject>(reducerId: string, actionCreators: TActionCreators) => ReducerIdGatedActionCreator<TActionCreators>;
@@ -4,6 +4,6 @@ export interface ReducerIdGateAction<TInnerAction> {
4
4
  reducerId: string;
5
5
  action: TInnerAction;
6
6
  }
7
- export declare type ReducerIdGateReducer<TState, TInnerAction extends Action = AnyAction> = Reducer<TState, ReducerIdGateAction<TInnerAction>>;
7
+ export type ReducerIdGateReducer<TState, TInnerAction extends Action = AnyAction> = Reducer<TState, ReducerIdGateAction<TInnerAction>>;
8
8
  export declare const reducerIdGate: <TState, TInnerAction extends Action<any> = AnyAction>(reducerId: string, reducer: Reducer<TState, TInnerAction>) => ReducerIdGateReducer<TState, TInnerAction>;
9
9
  export declare const reducerIdGateAction: <TInnerAction>(reducerId: string, action: TInnerAction) => ReducerIdGateAction<TInnerAction>;
@@ -1,4 +1,4 @@
1
- export declare type CommitReducerAction<TState> = SetValuesAction<TState> | CommitValuesAction | ClearValuesAction;
1
+ export type CommitReducerAction<TState> = SetValuesAction<TState> | CommitValuesAction | ClearValuesAction;
2
2
  interface SetValuesAction<TState> {
3
3
  type: "COMMIT_REDUCER.SET_VALUES";
4
4
  id: string;
@@ -12,7 +12,7 @@ interface ClearValuesAction {
12
12
  type: "COMMIT_REDUCER.CLEAR";
13
13
  id: string;
14
14
  }
15
- export declare type SetFilterValuesActionCreator<TState> = (values: Partial<TState>) => SetValuesAction<TState>;
16
- export declare type CommitFilterValuesActionCreator = () => CommitValuesAction;
17
- export declare type ClearFilterValuesActionCreator = () => ClearValuesAction;
15
+ export type SetFilterValuesActionCreator<TState> = (values: Partial<TState>) => SetValuesAction<TState>;
16
+ export type CommitFilterValuesActionCreator = () => CommitValuesAction;
17
+ export type ClearFilterValuesActionCreator = () => ClearValuesAction;
18
18
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CommitReducerState } from "./commit-state";
2
- export declare type CommitReducerStateSelector<TStoreState, TState> = (state: TStoreState, id: string) => CommitReducerState<TState>;
2
+ export type CommitReducerStateSelector<TStoreState, TState> = (state: TStoreState, id: string) => CommitReducerState<TState>;
3
3
  export interface CommitReducerSelectors<TStoreState, TState> {
4
4
  getWorkspaceValues: (state: TStoreState) => TState;
5
5
  getCommittedValues: (state: TStoreState) => TState;
@@ -1,4 +1,4 @@
1
- export declare type EditableEntityAction<T> = EditableEntitySetEntityAction<T> | EditableEntitySetPersistedEntityAction<T> | EditableEntitySetEditableEntityAction<T> | EditableEntitySetEntityIdAction | EditableEntitySetEditableEntityFieldsAction<T> | EditableEntityRevertEditableEntityAction | EditableEntityCommitEditableEntityToPersistedAction;
1
+ export type EditableEntityAction<T> = EditableEntitySetEntityAction<T> | EditableEntitySetPersistedEntityAction<T> | EditableEntitySetEditableEntityAction<T> | EditableEntitySetEntityIdAction | EditableEntitySetEditableEntityFieldsAction<T> | EditableEntityRevertEditableEntityAction | EditableEntityCommitEditableEntityToPersistedAction;
2
2
  export interface EditableEntitySetEntityAction<T> {
3
3
  type: "EDITABLE_ENTITY:SET_ENTITY";
4
4
  entity: T;
@@ -1,5 +1,5 @@
1
1
  import { EntityWithId } from "../../../common/EntityWithId";
2
- export declare type EntityByIdAction<T extends EntityWithId> = EntityByIdSetEntityAction<T> | EntityByIdSetEntityFieldsAction<T> | EntityByIdClearEntityAction | EntityByIdClearAllEntitiesAction;
2
+ export type EntityByIdAction<T extends EntityWithId> = EntityByIdSetEntityAction<T> | EntityByIdSetEntityFieldsAction<T> | EntityByIdClearEntityAction | EntityByIdClearAllEntitiesAction;
3
3
  export interface EntityByIdSetEntityAction<T extends EntityWithId> {
4
4
  type: "ENTITY_BY_ID:SET_ENTITY";
5
5
  entity: T;
@@ -3,5 +3,5 @@ import { EntityByIdState } from "./entity-by-id-reducer";
3
3
  export interface EntityByIdSelectors<TStoreState, TEntity extends EntityWithId> {
4
4
  getState: EntityByIdStateSelector<TStoreState, TEntity>;
5
5
  }
6
- export declare type EntityByIdStateSelector<TStoreState, TEntity extends EntityWithId> = (state: TStoreState) => EntityByIdState<TEntity>;
6
+ export type EntityByIdStateSelector<TStoreState, TEntity extends EntityWithId> = (state: TStoreState) => EntityByIdState<TEntity>;
7
7
  export declare const createEntityByIdSelectors: <TStoreState, TEntity extends EntityWithId>(stateSelector: EntityByIdStateSelector<TStoreState, TEntity>) => EntityByIdSelectors<TStoreState, TEntity>;
@@ -15,17 +15,17 @@ export interface CrudStatus {
15
15
  hasError?: boolean;
16
16
  errorMessage?: string;
17
17
  }
18
- export declare type EntityCrudStatusState = EntityByIdState<EntityCrudStatus>;
19
- export declare type EntityCrudStatusAction = EntityByIdAction<EntityCrudStatus>;
20
- export declare type EntityCrudStatusActions = EntityByIdActions<EntityCrudStatus>;
18
+ export type EntityCrudStatusState = EntityByIdState<EntityCrudStatus>;
19
+ export type EntityCrudStatusAction = EntityByIdAction<EntityCrudStatus>;
20
+ export type EntityCrudStatusActions = EntityByIdActions<EntityCrudStatus>;
21
21
  export interface EntityCrudStatusRedux<TStoreState> {
22
22
  reducer: EntityCrudStatusReducer;
23
23
  actions: EntityCrudStatusActions;
24
24
  selectors: EntityCrudStatusSelectors<TStoreState>;
25
25
  }
26
- export declare type EntityCrudStatusReducer = Reducer<EntityCrudStatusState, EntityByIdAction<EntityCrudStatus>>;
26
+ export type EntityCrudStatusReducer = Reducer<EntityCrudStatusState, EntityByIdAction<EntityCrudStatus>>;
27
27
  export declare const createEntityCrudStatusReducer: () => (state: EntityByIdState<EntityCrudStatus> | undefined, action: EntityByIdAction<EntityCrudStatus>) => EntityByIdState<EntityCrudStatus>;
28
28
  export declare const createEntityCrudStatusActions: () => EntityCrudStatusActions;
29
- export declare type EntityCrudStatusSelectors<TStoreState> = EntityByIdSelectors<TStoreState, EntityCrudStatus>;
29
+ export type EntityCrudStatusSelectors<TStoreState> = EntityByIdSelectors<TStoreState, EntityCrudStatus>;
30
30
  export declare const createEntityCrudStatusSelectors: <TStoreState>(stateSelector: EntityByIdStateSelector<TStoreState, EntityCrudStatus>) => EntityByIdSelectors<TStoreState, EntityCrudStatus>;
31
31
  export declare const createEntityCrudStatusRedux: <TStoreState>(stateSelector: EntityByIdStateSelector<TStoreState, EntityCrudStatus>) => EntityCrudStatusRedux<TStoreState>;
@@ -1,4 +1,4 @@
1
- export declare type EntityAction<T> = EntitySetEntityAction<T> | EntitySetEntityFieldsAction<T>;
1
+ export type EntityAction<T> = EntitySetEntityAction<T> | EntitySetEntityFieldsAction<T>;
2
2
  export interface EntitySetEntityAction<T> {
3
3
  type: "ENTITY:SET_ENTITY";
4
4
  entity: T;
@@ -1,4 +1,4 @@
1
1
  import { EntityAction } from "./entity-actions";
2
2
  import { Reducer } from "redux";
3
- export declare type EntityState<T> = T;
4
- export declare const createEntityReducer: <T>(initialEntity: T) => Reducer<T, EntityAction<T>>;
3
+ export type EntityState<T> = T;
4
+ export declare const createEntityReducer: <T>(initialEntity: T) => Reducer<EntityState<T>, EntityAction<T>>;
@@ -2,5 +2,5 @@ import { EntityState } from "./entity-reducer";
2
2
  export interface EntitySelectors<TStoreState, TEntity> {
3
3
  getEntity: (state: TStoreState) => TEntity;
4
4
  }
5
- export declare type EntityStateSelector<TStoreState, TEntity> = (state: TStoreState) => EntityState<TEntity>;
5
+ export type EntityStateSelector<TStoreState, TEntity> = (state: TStoreState) => EntityState<TEntity>;
6
6
  export declare const createEntitySelectors: <TStoreState, TEntity>(stateSelector: EntityStateSelector<TStoreState, TEntity>) => EntitySelectors<TStoreState, TEntity>;
@@ -9,12 +9,12 @@ export interface ModifiedFieldItemState extends EntityWithId {
9
9
  originalValue?: string;
10
10
  newValue?: string;
11
11
  }
12
- export declare type ModifiedFieldState = EntityByIdState<ModifiedFieldItemState>;
13
- export declare type ModifiedFieldAction = EntityByIdAction<ModifiedFieldItemState>;
14
- export declare type ModifiedFieldActions = EntityByIdActions<ModifiedFieldItemState>;
15
- export declare type ModifiedFieldsSelectors<TStoreState> = EntityByIdSelectors<TStoreState, ModifiedFieldItemState>;
16
- export declare type ModifiedFieldStateSelector<TStoreState> = (state: TStoreState) => ModifiedFieldState;
17
- export declare type ModifiedStateReducer = Reducer<ModifiedFieldState, ModifiedFieldAction>;
12
+ export type ModifiedFieldState = EntityByIdState<ModifiedFieldItemState>;
13
+ export type ModifiedFieldAction = EntityByIdAction<ModifiedFieldItemState>;
14
+ export type ModifiedFieldActions = EntityByIdActions<ModifiedFieldItemState>;
15
+ export type ModifiedFieldsSelectors<TStoreState> = EntityByIdSelectors<TStoreState, ModifiedFieldItemState>;
16
+ export type ModifiedFieldStateSelector<TStoreState> = (state: TStoreState) => ModifiedFieldState;
17
+ export type ModifiedStateReducer = Reducer<ModifiedFieldState, ModifiedFieldAction>;
18
18
  export interface ModifiedFieldRedux<TStoreState> {
19
19
  reducer: ModifiedStateReducer;
20
20
  selectors: ModifiedFieldsSelectors<TStoreState>;
@@ -1,4 +1,4 @@
1
- export declare type SelectedIdsAction = SelectedIdsSetSelectedIdsAction | SelectedIdsClearSelectedIdsAction;
1
+ export type SelectedIdsAction = SelectedIdsSetSelectedIdsAction | SelectedIdsClearSelectedIdsAction;
2
2
  export interface SelectedIdsSetSelectedIdsAction {
3
3
  type: "SELECTED_IDS:SET_SELECTED_IDS";
4
4
  selectedIds: Array<string>;
@@ -4,6 +4,6 @@ export interface SelectedIdsState {
4
4
  selectedIds: Array<string>;
5
5
  }
6
6
  export declare const createSelectedIdsReducerInitialState: (initialSelection?: string[]) => SelectedIdsState;
7
- export declare type SelectedIdsReducer = Reducer<SelectedIdsState, SelectedIdsAction>;
7
+ export type SelectedIdsReducer = Reducer<SelectedIdsState, SelectedIdsAction>;
8
8
  export declare const createSelectedIdsReducer: (initialState?: SelectedIdsState) => SelectedIdsReducer;
9
9
  export declare const selectedIdsReducer: SelectedIdsReducer;
@@ -2,5 +2,5 @@ import { SelectedIdsState } from "./selected-ids-reducer";
2
2
  export interface SelectedIdsSelectors<TStoreState> {
3
3
  getState: SelectedIdsStateSelector<TStoreState>;
4
4
  }
5
- export declare type SelectedIdsStateSelector<TStoreState> = (state: TStoreState) => SelectedIdsState;
5
+ export type SelectedIdsStateSelector<TStoreState> = (state: TStoreState) => SelectedIdsState;
6
6
  export declare const createSelectedIdsSelectors: <TStoreState>(stateSelector: SelectedIdsStateSelector<TStoreState>) => SelectedIdsSelectors<TStoreState>;
@@ -1,3 +1,3 @@
1
1
  import { EntityWithId } from "../../../../common/EntityWithId";
2
2
  import { SortOrderByIdState } from "../sort-order-by-id-reducer";
3
- export declare const useSortOrderById: <TItem extends EntityWithId>(list: TItem[] | undefined, sortOrderByIdState: SortOrderByIdState) => TItem[];
3
+ export declare const useSortOrderById: <TItem extends EntityWithId>(list: Array<TItem> | undefined, sortOrderByIdState: SortOrderByIdState) => Array<TItem>;
@@ -1,4 +1,4 @@
1
- export declare type SortOrderByIdAction = SortOrderByIdSetSortOrderAction | SortOrderByIdClearSortOrderAction;
1
+ export type SortOrderByIdAction = SortOrderByIdSetSortOrderAction | SortOrderByIdClearSortOrderAction;
2
2
  export interface SortOrderByIdSetSortOrderAction {
3
3
  type: "SORT_ORDER_BY_ID:SET_SORT_ORDER";
4
4
  ids: Array<string>;
@@ -3,6 +3,6 @@ interface SortOrderByIdSelectors<TStoreState> {
3
3
  getSortOrderByIdState: (state: TStoreState) => SortOrderByIdState;
4
4
  getSortOrder: (state: TStoreState) => Array<string> | undefined;
5
5
  }
6
- declare type SortOrderByIdStateProvider<TStoreState> = (state: TStoreState) => SortOrderByIdState;
6
+ type SortOrderByIdStateProvider<TStoreState> = (state: TStoreState) => SortOrderByIdState;
7
7
  export declare const createSortOrderByIdSelectors: <TStoreState>(rootStateProvider: SortOrderByIdStateProvider<TStoreState>) => SortOrderByIdSelectors<TStoreState>;
8
8
  export {};
@@ -1,4 +1,4 @@
1
- export declare type SortOrderAction<TSortBy> = SortOrderSetSortByAction<TSortBy> | SortOrderClearSortOrderAction;
1
+ export type SortOrderAction<TSortBy> = SortOrderSetSortByAction<TSortBy> | SortOrderClearSortOrderAction;
2
2
  export interface SortOrderSetSortByAction<TSortBy> {
3
3
  type: "SORT_ORDER:SET_SORT_BY";
4
4
  sortBy: TSortBy | undefined;
@@ -5,5 +5,5 @@ export interface SortOrderState<TSortBy> {
5
5
  desc: boolean;
6
6
  }
7
7
  export declare const createSortOrderReducerInitialState: <TSortBy>(sortBy?: TSortBy | undefined, desc?: boolean) => SortOrderState<TSortBy>;
8
- export declare type SortOrderReducer<TSortBy> = Reducer<SortOrderState<TSortBy>, SortOrderAction<TSortBy>>;
8
+ export type SortOrderReducer<TSortBy> = Reducer<SortOrderState<TSortBy>, SortOrderAction<TSortBy>>;
9
9
  export declare const createSortOrderReducer: <TSortBy>(initialState?: SortOrderState<TSortBy>) => SortOrderReducer<TSortBy>;
@@ -2,5 +2,5 @@ import { SortOrderState } from "./sort-order-reducer";
2
2
  export interface SortOrderSelectors<TStoreState, TSortBy> {
3
3
  getState: SortOrderStateSelector<TStoreState, TSortBy>;
4
4
  }
5
- export declare type SortOrderStateSelector<TStoreState, TSortBy> = (state: TStoreState) => SortOrderState<TSortBy>;
5
+ export type SortOrderStateSelector<TStoreState, TSortBy> = (state: TStoreState) => SortOrderState<TSortBy>;
6
6
  export declare const createSortOrderSelectors: <TStoreState, TSortBy>(stateProvider: SortOrderStateSelector<TStoreState, TSortBy>) => SortOrderSelectors<TStoreState, TSortBy>;
@@ -1,4 +1,4 @@
1
- export declare type ValueByIdAction<TValue> = ValueByIdSetValueAction<TValue> | ValueByIdClearValueAction | ValueByIdClearAllValuesAction;
1
+ export type ValueByIdAction<TValue> = ValueByIdSetValueAction<TValue> | ValueByIdClearValueAction | ValueByIdClearAllValuesAction;
2
2
  export interface ValueByIdSetValueAction<TValue> {
3
3
  type: "VALUE_BY_ID:SET_VALUE";
4
4
  id: string;
@@ -2,5 +2,5 @@ import { ValueByIdState } from "./value-by-id-reducer";
2
2
  export interface ValueByIdSelectors<TStoreState, TValue> {
3
3
  getState: ValueByIdStateSelector<TStoreState, TValue>;
4
4
  }
5
- export declare type ValueByIdStateSelector<TStoreState, TValue> = (state: TStoreState) => ValueByIdState<TValue>;
5
+ export type ValueByIdStateSelector<TStoreState, TValue> = (state: TStoreState) => ValueByIdState<TValue>;
6
6
  export declare const createValueByIdSelectors: <TStoreState, TValue>(stateSelector: ValueByIdStateSelector<TStoreState, TValue>) => ValueByIdSelectors<TStoreState, TValue>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stenajs-webui/redux",
3
- "version": "20.6.11",
3
+ "version": "20.7.1",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "author": "mattias800",
@@ -52,5 +52,5 @@
52
52
  "files": [
53
53
  "dist"
54
54
  ],
55
- "gitHead": "1879d752a636a9e220a822171bb4ae74bce42f47"
55
+ "gitHead": "ecd4c387ff487b41a963a69ddc79ad7cf3cee419"
56
56
  }