@ws-ui/store 0.1.36 → 0.1.38
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 +0 -0
- package/dist/index.cjs.js +26 -26
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +1755 -1765
- 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 -0
- 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 +0 -0
- package/dist/modules/debugger/thunks.d.ts +0 -0
- 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 +0 -0
- package/dist/modules/explorer/reducer.d.ts +0 -0
- package/dist/modules/explorer/thunks.d.ts +1 -1
- package/dist/modules/explorer/types.d.ts +0 -0
- package/dist/modules/explorer/utils.d.ts +0 -0
- package/dist/modules/index.d.ts +0 -0
- package/dist/modules/modals/index.d.ts +0 -0
- package/dist/modules/modals/reducer.d.ts +0 -0
- package/dist/modules/modals/thunks.d.ts +0 -0
- package/dist/modules/modals/types.d.ts +0 -0
- 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 +0 -0
- 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 +0 -0
- package/dist/modules/model/types.d.ts +0 -0
- package/dist/modules/model/utils.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 +0 -0
- package/dist/modules/roles/reducer.d.ts +0 -0
- package/dist/modules/roles/thunks.d.ts +0 -0
- package/dist/modules/roles/types.d.ts +0 -0
- package/dist/modules/root/index.d.ts +0 -0
- package/dist/modules/root/reducer.d.ts +0 -0
- package/dist/modules/root/thunks.d.ts +2 -2
- package/dist/modules/root/types.d.ts +0 -0
- package/dist/modules/settings/index.d.ts +0 -0
- package/dist/modules/settings/reducer.d.ts +5 -5
- package/dist/modules/settings/thunks.d.ts +0 -0
- package/dist/modules/settings/types.d.ts +0 -0
- package/dist/modules/settings/utils.d.ts +0 -0
- package/dist/modules/shared-conditions/index.d.ts +0 -0
- package/dist/modules/shared-conditions/reducer.d.ts +0 -0
- package/dist/modules/shared-conditions/thunks.d.ts +0 -0
- package/dist/modules/shared-conditions/types.d.ts +0 -0
- package/dist/modules/shared-css/index.d.ts +0 -0
- package/dist/modules/shared-css/reducer.d.ts +0 -0
- package/dist/modules/shared-css/thunks.d.ts +0 -0
- 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 +0 -0
- package/dist/modules/shared-datasources/thunks.d.ts +0 -0
- 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 +0 -0
- package/dist/modules/tabs/types.d.ts +0 -0
- package/dist/modules/webforms/datasources.adapter.d.ts +0 -0
- 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 +0 -0
- package/dist/modules/webforms/thunks.d.ts +0 -0
- package/dist/modules/webforms/types.d.ts +0 -0
- package/dist/provider.d.ts +0 -0
- package/dist/selectors/catalog.d.ts +0 -0
- package/dist/selectors/common.d.ts +0 -0
- package/dist/selectors/components.d.ts +0 -0
- package/dist/selectors/datasources.d.ts +0 -0
- package/dist/selectors/debugger.d.ts +0 -0
- package/dist/selectors/explorer.d.ts +0 -0
- package/dist/selectors/index.d.ts +0 -0
- package/dist/selectors/modals.d.ts +0 -0
- package/dist/selectors/roles.d.ts +0 -0
- package/dist/selectors/settings.d.ts +16 -16
- package/dist/selectors/states.d.ts +0 -0
- package/dist/selectors/styles.d.ts +0 -0
- package/dist/selectors/tabs.d.ts +0 -0
- package/dist/selectors/webforms.d.ts +0 -0
- package/dist/store.d.ts +0 -0
- package/dist/utils.d.ts +0 -0
- package/package.json +2 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -111,7 +111,7 @@ export declare const fetchFolderContent: import("@reduxjs/toolkit").AsyncThunk<I
|
|
|
111
111
|
export declare const fetchFolderContentWithoutExpanding: import("@reduxjs/toolkit").AsyncThunk<ITreeItem[], string, {}>;
|
|
112
112
|
export declare const uploadFileAndGetResponse: import("@reduxjs/toolkit").AsyncThunk<{
|
|
113
113
|
status: number;
|
|
114
|
-
data:
|
|
114
|
+
data: unknown;
|
|
115
115
|
}, File, {}>;
|
|
116
116
|
export declare const uploadFile: import("@reduxjs/toolkit").AsyncThunk<{
|
|
117
117
|
status: number;
|
|
File without changes
|
|
File without changes
|
package/dist/modules/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="@ws-ui/shared/dist/declarations/datasources/datasource" />
|
|
2
|
-
import {
|
|
2
|
+
import { IFileInfoResponse, IMultilineMessage, INodeInfo, ITab } from '@ws-ui/shared';
|
|
3
3
|
import { AppState } from '..';
|
|
4
4
|
import { ClassFileTypes, TActionRenameDataSource } from './types';
|
|
5
5
|
export declare const fetchFiles: import("@reduxjs/toolkit").AsyncThunk<{
|
|
6
6
|
name: string;
|
|
7
|
-
type: FileFolderTypeWithContent;
|
|
7
|
+
type: import("@ws-ui/shared").FileFolderTypeWithContent;
|
|
8
8
|
date: string;
|
|
9
9
|
path: string;
|
|
10
10
|
}[], void, {}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -3,14 +3,14 @@ import { IAppSettingsResponse } from '@ws-ui/shared';
|
|
|
3
3
|
import { TSetSettingPayload, TSettingPath } from './types';
|
|
4
4
|
export interface ISettingsState {
|
|
5
5
|
session: {
|
|
6
|
-
[key: string]:
|
|
6
|
+
[key: string]: unknown;
|
|
7
7
|
};
|
|
8
8
|
project: {
|
|
9
|
-
[key: string]:
|
|
9
|
+
[key: string]: unknown;
|
|
10
10
|
};
|
|
11
11
|
server: IAppSettingsResponse;
|
|
12
12
|
welcometour: {
|
|
13
|
-
[key: string]:
|
|
13
|
+
[key: string]: unknown;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
declare const stateSlice: import("@reduxjs/toolkit").Slice<ISettingsState, {
|
|
@@ -23,7 +23,7 @@ declare const stateSlice: import("@reduxjs/toolkit").Slice<ISettingsState, {
|
|
|
23
23
|
payload: {
|
|
24
24
|
path: TSettingPath;
|
|
25
25
|
settings: {
|
|
26
|
-
[key: string]:
|
|
26
|
+
[key: string]: unknown;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
type: string;
|
|
@@ -39,7 +39,7 @@ export declare const setSetting: import("@reduxjs/toolkit").ActionCreatorWithPay
|
|
|
39
39
|
}, string>, setSettingsAsText: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
40
40
|
path: TSettingPath;
|
|
41
41
|
settings: {
|
|
42
|
-
[key: string]:
|
|
42
|
+
[key: string]: unknown;
|
|
43
43
|
};
|
|
44
44
|
}, string>;
|
|
45
45
|
export default stateSlice;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/provider.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,9 +36,9 @@ export declare const selectSessionSettings: ((state: import("redux").EmptyObject
|
|
|
36
36
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
37
37
|
model: import("../modules").IModelState;
|
|
38
38
|
}) => {
|
|
39
|
-
[key: string]:
|
|
39
|
+
[key: string]: unknown;
|
|
40
40
|
}) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: unknown;
|
|
42
42
|
}, {
|
|
43
43
|
clearCache: () => void;
|
|
44
44
|
}> & {
|
|
@@ -81,7 +81,7 @@ export declare const selectPartialSessionSettings: <T extends string[]>(...keys:
|
|
|
81
81
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
82
82
|
model: import("../modules").IModelState;
|
|
83
83
|
}) => { [K in T[number]]: unknown; }) & import("reselect").OutputSelectorFields<(args_0: {
|
|
84
|
-
[key: string]:
|
|
84
|
+
[key: string]: unknown;
|
|
85
85
|
}) => { [K in T[number]]: unknown; }, {
|
|
86
86
|
clearCache: () => void;
|
|
87
87
|
}> & {
|
|
@@ -124,7 +124,7 @@ export declare const selectSessionSetting: <T = string>(key: string) => ((state:
|
|
|
124
124
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
125
125
|
model: import("../modules").IModelState;
|
|
126
126
|
}) => T) & import("reselect").OutputSelectorFields<(args_0: {
|
|
127
|
-
[key: string]:
|
|
127
|
+
[key: string]: unknown;
|
|
128
128
|
}) => T, {
|
|
129
129
|
clearCache: () => void;
|
|
130
130
|
}> & {
|
|
@@ -167,7 +167,7 @@ export declare const selectFeatureFlag: (key: string) => ((state: import("redux"
|
|
|
167
167
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
168
168
|
model: import("../modules").IModelState;
|
|
169
169
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: {
|
|
170
|
-
[key: string]:
|
|
170
|
+
[key: string]: unknown;
|
|
171
171
|
}) => boolean, {
|
|
172
172
|
clearCache: () => void;
|
|
173
173
|
}> & {
|
|
@@ -210,9 +210,9 @@ export declare const selectProjectSettings: ((state: import("redux").EmptyObject
|
|
|
210
210
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
211
211
|
model: import("../modules").IModelState;
|
|
212
212
|
}) => {
|
|
213
|
-
[key: string]:
|
|
213
|
+
[key: string]: unknown;
|
|
214
214
|
}) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
|
|
215
|
-
[key: string]:
|
|
215
|
+
[key: string]: unknown;
|
|
216
216
|
}, {
|
|
217
217
|
clearCache: () => void;
|
|
218
218
|
}> & {
|
|
@@ -418,9 +418,9 @@ export declare const selectMonacoZoom: ((state: import("redux").EmptyObject & {
|
|
|
418
418
|
modals: import("../modules").IModalsState;
|
|
419
419
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
420
420
|
model: import("../modules").IModelState;
|
|
421
|
-
}) =>
|
|
422
|
-
[key: string]:
|
|
423
|
-
}) =>
|
|
421
|
+
}) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
|
|
422
|
+
[key: string]: unknown;
|
|
423
|
+
}) => unknown, {
|
|
424
424
|
clearCache: () => void;
|
|
425
425
|
}> & {
|
|
426
426
|
clearCache: () => void;
|
|
@@ -461,9 +461,9 @@ export declare const selectI18nSetting: ((state: import("redux").EmptyObject & {
|
|
|
461
461
|
modals: import("../modules").IModalsState;
|
|
462
462
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
463
463
|
model: import("../modules").IModelState;
|
|
464
|
-
}) =>
|
|
465
|
-
[key: string]:
|
|
466
|
-
}) =>
|
|
464
|
+
}) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
|
|
465
|
+
[key: string]: unknown;
|
|
466
|
+
}) => unknown, {
|
|
467
467
|
clearCache: () => void;
|
|
468
468
|
}> & {
|
|
469
469
|
clearCache: () => void;
|
|
@@ -504,9 +504,9 @@ export declare const selectI18nCurrent: ((state: import("redux").EmptyObject & {
|
|
|
504
504
|
modals: import("../modules").IModalsState;
|
|
505
505
|
sharedCSS: import("immer/dist/internal.js").WritableDraft<import("../modules").ISharedCSSState>;
|
|
506
506
|
model: import("../modules").IModelState;
|
|
507
|
-
}) =>
|
|
508
|
-
[key: string]:
|
|
509
|
-
}) =>
|
|
507
|
+
}) => unknown) & import("reselect").OutputSelectorFields<(args_0: {
|
|
508
|
+
[key: string]: unknown;
|
|
509
|
+
}) => unknown, {
|
|
510
510
|
clearCache: () => void;
|
|
511
511
|
}> & {
|
|
512
512
|
clearCache: () => void;
|
|
File without changes
|
|
File without changes
|
package/dist/selectors/tabs.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/store.d.ts
CHANGED
|
File without changes
|
package/dist/utils.d.ts
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/store",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.38",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"dev": "vite",
|
|
14
14
|
"prepack": "npm run build",
|
|
15
15
|
"build": "tsc && vite build",
|
|
16
|
+
"format": "prettier --write src",
|
|
16
17
|
"postbuild": "yalc push --changed",
|
|
17
18
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
19
|
"preview": "vite preview"
|