@ws-ui/shared 0.2.0-beta.20240712.1 → 0.2.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.
- package/dist/index.cjs.js +56 -56
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2162 -2185
- package/dist/index.es.js.map +1 -1
- package/dist/services/api.d.ts +3 -18
- package/package.json +2 -2
package/dist/services/api.d.ts
CHANGED
|
@@ -103,29 +103,14 @@ export interface ISetFileContentResponse {
|
|
|
103
103
|
type: FileFolderTypeWithContent;
|
|
104
104
|
size: number;
|
|
105
105
|
}
|
|
106
|
-
export declare function getSharedDatasources(): Promise<
|
|
107
|
-
webform: ISharedDatasourcesResponse;
|
|
108
|
-
report: ISharedDatasourcesResponse;
|
|
109
|
-
}>;
|
|
106
|
+
export declare function getSharedDatasources(): Promise<ISharedDatasourcesResponse>;
|
|
110
107
|
export declare function getSharedCSS(): Promise<ISharedCSSResponse>;
|
|
111
108
|
export declare function getSavedConditions(): Promise<ISavedConditionsResponse>;
|
|
112
109
|
export declare function getUserPrivileges(): Promise<IUserPrivilegesResponse>;
|
|
113
110
|
export declare function getMonacoTheme(): Promise<IMonacoThemeResponse>;
|
|
114
111
|
export declare const setSharedSources: (datasources: {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
};
|
|
118
|
-
report: {
|
|
119
|
-
[key: string]: datasources.ICreateDataSource[];
|
|
120
|
-
};
|
|
121
|
-
}, type: 'report' | 'webform') => Promise<{
|
|
122
|
-
webform: {
|
|
123
|
-
[key: string]: datasources.ICreateDataSource[];
|
|
124
|
-
};
|
|
125
|
-
report: {
|
|
126
|
-
[key: string]: datasources.ICreateDataSource[];
|
|
127
|
-
};
|
|
128
|
-
}>;
|
|
112
|
+
[key: string]: datasources.ICreateDataSource[];
|
|
113
|
+
}) => Promise<ISharedDatasourcesResponse>;
|
|
129
114
|
export declare const setFileContent: (payload: Pick<ISetFileContentRequest, 'content' | 'name'> & Partial<Pick<ISetFileContentRequest, 'asText' | 'path'>>) => Promise<{
|
|
130
115
|
type: FileFolderTypeWithContent;
|
|
131
116
|
size: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/shared",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@popperjs/core": "^2.9.2",
|
|
31
31
|
"@radix-ui/react-popover": "^0.1.6",
|
|
32
32
|
"@ws-ui/craftjs-core": "^0.2.1-beta.3",
|
|
33
|
-
"@ws-ui/icons": "^0.0.
|
|
33
|
+
"@ws-ui/icons": "^0.0.21",
|
|
34
34
|
"classnames": "^2.3.1",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
36
36
|
"markdown-to-jsx": "^7.1.3",
|