@ws-ui/store 0.2.27 → 0.2.30

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.
@@ -161,6 +161,10 @@ export declare const createNewNode: import("@reduxjs/toolkit").AsyncThunk<{
161
161
  path: string;
162
162
  parentNode: ITreeItem;
163
163
  }, {}>;
164
+ export declare const fetchHTTPHandlers: import("@reduxjs/toolkit").AsyncThunk<void, void, {
165
+ state: AppState;
166
+ rejectValue: string;
167
+ }>;
164
168
  export declare const openFile: import("@reduxjs/toolkit").AsyncThunk<ITab<any, Partial<{
165
169
  initialLineInfo: {
166
170
  line: number;
@@ -1,15 +1,2 @@
1
1
  import { WebformStateCondition } from '@ws-ui/shared';
2
- export declare const updateDsCondition: (condition: WebformStateCondition, oldRef: string, newRef: string) => import("@ws-ui/shared").PrivilegeCondition | import("@ws-ui/shared").CombinationCondition | import("@ws-ui/shared").CurrentStateCondition | import("@ws-ui/shared").ParentStateCondition | import("@ws-ui/shared").ReferenceCondition | {
3
- path: string;
4
- value: string;
5
- compareValue: string;
6
- id: string;
7
- name: string;
8
- type: "datasource";
9
- dsType: string;
10
- valueType?: ("datasource" | "hardCoded") | undefined;
11
- compareValueType?: ("datasource" | "hardCoded") | undefined;
12
- dataType?: ("string" | "number" | "boolean" | "object" | "date" | "array" | "duration") | undefined;
13
- compareDataType?: ("string" | "number" | "boolean" | "object" | "date" | "array" | "duration") | undefined;
14
- op: ("eq" | "neq" | "regex" | "isnull" | "notnull") | "sw" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "isempty" | "istrue" | "isfalse" | "between";
15
- };
2
+ export declare const updateDsCondition: (condition: WebformStateCondition, oldRef: string, newRef: string) => WebformStateCondition;
@@ -35,12 +35,14 @@ type TEditDatasourceProperty = {
35
35
  value: any;
36
36
  property: string;
37
37
  namespace: string;
38
+ updateRefs?: boolean;
38
39
  };
39
40
  type TEditDatasourceProperties = {
40
41
  id: string;
41
42
  path: string;
42
43
  changes: Record<string, any>;
43
44
  namespace: string;
45
+ updateRefs?: boolean;
44
46
  };
45
47
  type TEditDatasource = TEditDatasourceProperty | TEditDatasourceProperties;
46
48
  export declare const editDatasource: import("@reduxjs/toolkit").AsyncThunk<TDatasourcesReturnType | undefined, TEditDatasource, AsyncThunkConfig>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ws-ui/store",
3
3
  "private": false,
4
- "version": "0.2.27",
4
+ "version": "0.2.30",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.es.js",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@ws-ui/icons": "^0.0.28",
32
- "@ws-ui/shared": "^0.2.21",
32
+ "@ws-ui/shared": "^0.2.23",
33
33
  "lodash": "^4.17.21",
34
34
  "minimatch": "^5.1.0",
35
35
  "react": "^17.0.2",