@ws-ui/store 0.1.7 → 0.1.9
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/README.md +0 -0
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/store.d.ts +56 -6
- package/dist/index.cjs.js +53 -54
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +7233 -7328
- package/dist/index.es.js.map +1 -1
- package/dist/modules/catalog/index.d.ts +0 -0
- package/dist/modules/catalog/reducer.d.ts +0 -0
- package/dist/modules/catalog/thunks.d.ts +0 -7
- package/dist/modules/catalog/types.d.ts +0 -0
- package/dist/modules/debugger/index.d.ts +0 -0
- package/dist/modules/debugger/reducer.d.ts +19 -19
- package/dist/modules/debugger/thunks.d.ts +0 -14
- package/dist/modules/debugger/types.d.ts +0 -0
- package/dist/modules/debugger/utils.d.ts +0 -0
- package/dist/modules/explorer/index.d.ts +1 -1
- package/dist/modules/explorer/reducer.d.ts +6 -6
- package/dist/modules/explorer/thunks.d.ts +7 -158
- package/dist/modules/explorer/types.d.ts +0 -0
- package/dist/modules/explorer/utils.d.ts +0 -0
- package/dist/modules/index.d.ts +19 -4
- package/dist/modules/modals/index.d.ts +0 -0
- package/dist/modules/modals/reducer.d.ts +3 -3
- package/dist/modules/modals/thunks.d.ts +1 -10
- package/dist/modules/modals/types.d.ts +4 -4
- package/dist/modules/model/helpers.d.ts +0 -0
- package/dist/modules/model/index.d.ts +0 -0
- package/dist/modules/model/reducer.d.ts +1 -1
- package/dist/modules/model/selectors.d.ts +0 -0
- package/dist/modules/model/subjects.d.ts +0 -0
- package/dist/modules/model/thunks.d.ts +8 -39
- package/dist/modules/model/types.d.ts +0 -0
- package/dist/modules/roles/__tests__/adapter.test.d.ts +0 -0
- package/dist/modules/roles/adapter.d.ts +0 -0
- package/dist/modules/roles/index.d.ts +16 -1
- package/dist/modules/roles/reducer.d.ts +19 -4
- package/dist/modules/roles/thunks.d.ts +0 -19
- package/dist/modules/roles/types.d.ts +0 -0
- package/dist/modules/root/index.d.ts +1 -1
- package/dist/modules/root/reducer.d.ts +17 -17
- package/dist/modules/root/thunks.d.ts +3 -106
- package/dist/modules/root/types.d.ts +5 -0
- package/dist/modules/settings/index.d.ts +0 -0
- package/dist/modules/settings/reducer.d.ts +3 -3
- package/dist/modules/settings/thunks.d.ts +1 -16
- package/dist/modules/settings/types.d.ts +0 -0
- package/dist/modules/settings/utils.d.ts +0 -0
- package/dist/modules/shared-css/index.d.ts +1 -1
- package/dist/modules/shared-css/reducer.d.ts +3 -3
- package/dist/modules/shared-css/thunks.d.ts +0 -6
- package/dist/modules/shared-css/types.d.ts +0 -0
- package/dist/modules/shared-datasources/index.d.ts +0 -0
- package/dist/modules/shared-datasources/reducer.d.ts +1 -1
- package/dist/modules/shared-datasources/thunks.d.ts +1 -42
- package/dist/modules/shared-datasources/types.d.ts +0 -0
- package/dist/modules/tabs/index.d.ts +0 -0
- package/dist/modules/tabs/reducer.d.ts +0 -0
- package/dist/modules/tabs/selectors.d.ts +23 -8
- package/dist/modules/tabs/types.d.ts +0 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +19 -4
- package/dist/modules/webforms/index.d.ts +0 -0
- package/dist/modules/webforms/private.d.ts +0 -0
- package/dist/modules/webforms/reducer.d.ts +5 -5
- package/dist/modules/webforms/thunks.d.ts +9 -174
- package/dist/modules/webforms/types.d.ts +0 -0
- package/dist/provider.d.ts +2 -2
- package/dist/selectors/catalog.d.ts +135 -30
- package/dist/selectors/common.d.ts +76 -16
- package/dist/selectors/components.d.ts +20 -5
- package/dist/selectors/datasources.d.ts +115 -25
- package/dist/selectors/debugger.d.ts +418 -88
- package/dist/selectors/explorer.d.ts +536 -146
- package/dist/selectors/index.d.ts +0 -0
- package/dist/selectors/modals.d.ts +19 -4
- package/dist/selectors/roles.d.ts +296 -56
- package/dist/selectors/settings.d.ts +152 -32
- package/dist/selectors/states.d.ts +21 -6
- package/dist/selectors/styles.d.ts +101 -26
- package/dist/selectors/tabs.d.ts +23 -8
- package/dist/selectors/webforms.d.ts +210 -45
- package/dist/store.d.ts +1 -42
- package/dist/utils.d.ts +0 -0
- package/package.json +12 -16
package/README.md
CHANGED
|
File without changes
|
package/dist/hooks/index.d.ts
CHANGED
|
File without changes
|
package/dist/hooks/store.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
3
3
|
import { Dispatch } from 'redux';
|
|
4
4
|
import type { AppState } from '../modules';
|
|
5
|
-
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<import("redux").CombinedState<{
|
|
6
|
-
root: import('../modules').IRootState
|
|
7
|
-
explorer: import('../modules').ITreeItem[];
|
|
5
|
+
export declare const useAppDispatch: () => Dispatch<import("redux").AnyAction> & import("redux-thunk").ThunkDispatch<import("redux").CombinedState<{
|
|
6
|
+
root: import("immer/dist/internal.js").WritableDraft<import('../modules').IRootState>;
|
|
7
|
+
explorer: import("immer/dist/internal.js").WritableDraft<import('../modules').ITreeItem>[];
|
|
8
8
|
debugger: import('../modules').IDebuggerState;
|
|
9
9
|
settings: import('../modules').ISettingsState;
|
|
10
10
|
catalog: {
|
|
@@ -16,13 +16,63 @@ export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<i
|
|
|
16
16
|
state: "error";
|
|
17
17
|
error: string;
|
|
18
18
|
};
|
|
19
|
-
roles:
|
|
19
|
+
roles: {
|
|
20
|
+
flags: {
|
|
21
|
+
touched?: boolean | undefined;
|
|
22
|
+
removed?: boolean | undefined;
|
|
23
|
+
pinned?: boolean | undefined;
|
|
24
|
+
loading?: boolean | undefined;
|
|
25
|
+
old?: boolean | undefined;
|
|
26
|
+
enabled?: boolean | undefined;
|
|
27
|
+
confirmed?: boolean | undefined;
|
|
28
|
+
};
|
|
29
|
+
date?: string | undefined;
|
|
30
|
+
privileges: import('../modules').TById;
|
|
31
|
+
roles: import('../modules').TRolesDict;
|
|
32
|
+
forceLogin?: boolean | undefined;
|
|
33
|
+
selectedTab: "roles" | "privileges";
|
|
34
|
+
};
|
|
35
|
+
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
36
|
+
webforms: import('../modules').IWebformEditorState;
|
|
37
|
+
modals: import('../modules').IModalsState;
|
|
38
|
+
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
39
|
+
model: import('../modules').IModelState;
|
|
40
|
+
}>, null, import("redux").AnyAction> & import("redux-thunk").ThunkDispatch<import("redux").CombinedState<{
|
|
41
|
+
root: import("immer/dist/internal.js").WritableDraft<import('../modules').IRootState>;
|
|
42
|
+
explorer: import("immer/dist/internal.js").WritableDraft<import('../modules').ITreeItem>[];
|
|
43
|
+
debugger: import('../modules').IDebuggerState;
|
|
44
|
+
settings: import('../modules').ISettingsState;
|
|
45
|
+
catalog: {
|
|
46
|
+
state: "loading";
|
|
47
|
+
} | {
|
|
48
|
+
state: "loaded";
|
|
49
|
+
model: datasources.IEnhancedCatalog;
|
|
50
|
+
} | {
|
|
51
|
+
state: "error";
|
|
52
|
+
error: string;
|
|
53
|
+
};
|
|
54
|
+
roles: {
|
|
55
|
+
flags: {
|
|
56
|
+
touched?: boolean | undefined;
|
|
57
|
+
removed?: boolean | undefined;
|
|
58
|
+
pinned?: boolean | undefined;
|
|
59
|
+
loading?: boolean | undefined;
|
|
60
|
+
old?: boolean | undefined;
|
|
61
|
+
enabled?: boolean | undefined;
|
|
62
|
+
confirmed?: boolean | undefined;
|
|
63
|
+
};
|
|
64
|
+
date?: string | undefined;
|
|
65
|
+
privileges: import('../modules').TById;
|
|
66
|
+
roles: import('../modules').TRolesDict;
|
|
67
|
+
forceLogin?: boolean | undefined;
|
|
68
|
+
selectedTab: "roles" | "privileges";
|
|
69
|
+
};
|
|
20
70
|
sharedDatasources: import('../modules').ISharedDatasourcesState;
|
|
21
71
|
webforms: import('../modules').IWebformEditorState;
|
|
22
72
|
modals: import('../modules').IModalsState;
|
|
23
|
-
sharedCSS: import('../modules').ISharedCSSState
|
|
73
|
+
sharedCSS: import("immer/dist/internal.js").WritableDraft<import('../modules').ISharedCSSState>;
|
|
24
74
|
model: import('../modules').IModelState;
|
|
25
|
-
}>, undefined, import("redux").AnyAction
|
|
75
|
+
}>, undefined, import("redux").AnyAction>;
|
|
26
76
|
export declare const useAppSelector: TypedUseSelectorHook<AppState>;
|
|
27
77
|
export type AsyncThunkConfig<RejectValue = string> = {
|
|
28
78
|
/** return type for `thunkApi.getState` */
|