@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.
Files changed (90) hide show
  1. package/README.md +0 -0
  2. package/dist/hooks/index.d.ts +0 -0
  3. package/dist/hooks/store.d.ts +0 -0
  4. package/dist/index.cjs.js +26 -26
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.d.ts +0 -0
  7. package/dist/index.es.js +1755 -1765
  8. package/dist/index.es.js.map +1 -1
  9. package/dist/modules/catalog/index.d.ts +0 -0
  10. package/dist/modules/catalog/reducer.d.ts +0 -0
  11. package/dist/modules/catalog/thunks.d.ts +0 -0
  12. package/dist/modules/catalog/types.d.ts +0 -0
  13. package/dist/modules/debugger/index.d.ts +0 -0
  14. package/dist/modules/debugger/reducer.d.ts +0 -0
  15. package/dist/modules/debugger/thunks.d.ts +0 -0
  16. package/dist/modules/debugger/types.d.ts +0 -0
  17. package/dist/modules/debugger/utils.d.ts +0 -0
  18. package/dist/modules/explorer/index.d.ts +0 -0
  19. package/dist/modules/explorer/reducer.d.ts +0 -0
  20. package/dist/modules/explorer/thunks.d.ts +1 -1
  21. package/dist/modules/explorer/types.d.ts +0 -0
  22. package/dist/modules/explorer/utils.d.ts +0 -0
  23. package/dist/modules/index.d.ts +0 -0
  24. package/dist/modules/modals/index.d.ts +0 -0
  25. package/dist/modules/modals/reducer.d.ts +0 -0
  26. package/dist/modules/modals/thunks.d.ts +0 -0
  27. package/dist/modules/modals/types.d.ts +0 -0
  28. package/dist/modules/model/helpers.d.ts +0 -0
  29. package/dist/modules/model/index.d.ts +0 -0
  30. package/dist/modules/model/reducer.d.ts +0 -0
  31. package/dist/modules/model/selectors.d.ts +0 -0
  32. package/dist/modules/model/subjects.d.ts +0 -0
  33. package/dist/modules/model/thunks.d.ts +0 -0
  34. package/dist/modules/model/types.d.ts +0 -0
  35. package/dist/modules/model/utils.d.ts +0 -0
  36. package/dist/modules/roles/__tests__/adapter.test.d.ts +0 -0
  37. package/dist/modules/roles/adapter.d.ts +0 -0
  38. package/dist/modules/roles/index.d.ts +0 -0
  39. package/dist/modules/roles/reducer.d.ts +0 -0
  40. package/dist/modules/roles/thunks.d.ts +0 -0
  41. package/dist/modules/roles/types.d.ts +0 -0
  42. package/dist/modules/root/index.d.ts +0 -0
  43. package/dist/modules/root/reducer.d.ts +0 -0
  44. package/dist/modules/root/thunks.d.ts +2 -2
  45. package/dist/modules/root/types.d.ts +0 -0
  46. package/dist/modules/settings/index.d.ts +0 -0
  47. package/dist/modules/settings/reducer.d.ts +5 -5
  48. package/dist/modules/settings/thunks.d.ts +0 -0
  49. package/dist/modules/settings/types.d.ts +0 -0
  50. package/dist/modules/settings/utils.d.ts +0 -0
  51. package/dist/modules/shared-conditions/index.d.ts +0 -0
  52. package/dist/modules/shared-conditions/reducer.d.ts +0 -0
  53. package/dist/modules/shared-conditions/thunks.d.ts +0 -0
  54. package/dist/modules/shared-conditions/types.d.ts +0 -0
  55. package/dist/modules/shared-css/index.d.ts +0 -0
  56. package/dist/modules/shared-css/reducer.d.ts +0 -0
  57. package/dist/modules/shared-css/thunks.d.ts +0 -0
  58. package/dist/modules/shared-css/types.d.ts +0 -0
  59. package/dist/modules/shared-datasources/index.d.ts +0 -0
  60. package/dist/modules/shared-datasources/reducer.d.ts +0 -0
  61. package/dist/modules/shared-datasources/thunks.d.ts +0 -0
  62. package/dist/modules/shared-datasources/types.d.ts +0 -0
  63. package/dist/modules/tabs/index.d.ts +0 -0
  64. package/dist/modules/tabs/reducer.d.ts +0 -0
  65. package/dist/modules/tabs/selectors.d.ts +0 -0
  66. package/dist/modules/tabs/types.d.ts +0 -0
  67. package/dist/modules/webforms/datasources.adapter.d.ts +0 -0
  68. package/dist/modules/webforms/index.d.ts +0 -0
  69. package/dist/modules/webforms/private.d.ts +0 -0
  70. package/dist/modules/webforms/reducer.d.ts +0 -0
  71. package/dist/modules/webforms/thunks.d.ts +0 -0
  72. package/dist/modules/webforms/types.d.ts +0 -0
  73. package/dist/provider.d.ts +0 -0
  74. package/dist/selectors/catalog.d.ts +0 -0
  75. package/dist/selectors/common.d.ts +0 -0
  76. package/dist/selectors/components.d.ts +0 -0
  77. package/dist/selectors/datasources.d.ts +0 -0
  78. package/dist/selectors/debugger.d.ts +0 -0
  79. package/dist/selectors/explorer.d.ts +0 -0
  80. package/dist/selectors/index.d.ts +0 -0
  81. package/dist/selectors/modals.d.ts +0 -0
  82. package/dist/selectors/roles.d.ts +0 -0
  83. package/dist/selectors/settings.d.ts +16 -16
  84. package/dist/selectors/states.d.ts +0 -0
  85. package/dist/selectors/styles.d.ts +0 -0
  86. package/dist/selectors/tabs.d.ts +0 -0
  87. package/dist/selectors/webforms.d.ts +0 -0
  88. package/dist/store.d.ts +0 -0
  89. package/dist/utils.d.ts +0 -0
  90. 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: any;
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
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 { FileFolderTypeWithContent, IFileInfoResponse, IMultilineMessage, INodeInfo, ITab } from '@ws-ui/shared';
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]: any;
6
+ [key: string]: unknown;
7
7
  };
8
8
  project: {
9
- [key: string]: any;
9
+ [key: string]: unknown;
10
10
  };
11
11
  server: IAppSettingsResponse;
12
12
  welcometour: {
13
- [key: string]: any;
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]: any;
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]: any;
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
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]: any;
39
+ [key: string]: unknown;
40
40
  }) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
41
- [key: string]: any;
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]: any;
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]: any;
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]: any;
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]: any;
213
+ [key: string]: unknown;
214
214
  }) & import("reselect").OutputSelectorFields<(args_0: import("../modules").ISettingsState) => {
215
- [key: string]: any;
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
- }) => any) & import("reselect").OutputSelectorFields<(args_0: {
422
- [key: string]: any;
423
- }) => any, {
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
- }) => any) & import("reselect").OutputSelectorFields<(args_0: {
465
- [key: string]: any;
466
- }) => any, {
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
- }) => any) & import("reselect").OutputSelectorFields<(args_0: {
508
- [key: string]: any;
509
- }) => any, {
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
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.36",
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"