@ws-ui/shared 1.1.1 → 1.5.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/declarations/datasources/datasource.d.ts +9 -7
- package/dist/hooks/use-feature-flags.d.ts +1 -1
- package/dist/index.cjs.js +15 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +720 -712
- package/dist/index.es.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/types/api.d.ts +4 -0
- package/dist/types/explorer.d.ts +1 -1
- package/dist/utils/datasources.d.ts +2 -1
- package/dist/utils/explorer.d.ts +1 -0
- package/dist/utils/subjects.d.ts +20 -1
- package/package.json +1 -1
|
@@ -187,6 +187,7 @@ declare namespace datasources {
|
|
|
187
187
|
sources: IDSChildren;
|
|
188
188
|
root: DataSource;
|
|
189
189
|
}
|
|
190
|
+
|
|
190
191
|
type ICreateDataSource =
|
|
191
192
|
| ICreateDataSourceScalar
|
|
192
193
|
| ICreateDataSourceArray
|
|
@@ -197,13 +198,6 @@ declare namespace datasources {
|
|
|
197
198
|
| datasources.ICreateDataSourceEntity
|
|
198
199
|
| datasources.ICreateDataSourceEntitySelection;
|
|
199
200
|
|
|
200
|
-
interface ICreateDataSourceCommon {
|
|
201
|
-
id: string;
|
|
202
|
-
initialValue: any;
|
|
203
|
-
events?: webforms.WEvent[];
|
|
204
|
-
namespace: string;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
201
|
interface ICreateDataSourceCommon {
|
|
208
202
|
id: string;
|
|
209
203
|
initialValue: any;
|
|
@@ -215,6 +209,13 @@ declare namespace datasources {
|
|
|
215
209
|
};
|
|
216
210
|
}
|
|
217
211
|
|
|
212
|
+
interface ICreateDataSourceScalar extends ICreateDataSourceCommon {
|
|
213
|
+
type: 'scalar';
|
|
214
|
+
initialValue?: string | boolean | number | any[] | object | null;
|
|
215
|
+
dataType: TJSType;
|
|
216
|
+
from?: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
218
219
|
interface ICreateDataSourceArray extends ICreateDataSourceCommon {
|
|
219
220
|
id: string;
|
|
220
221
|
type: 'scalar';
|
|
@@ -245,6 +246,7 @@ declare namespace datasources {
|
|
|
245
246
|
pageSize: number | null;
|
|
246
247
|
dataType?: string;
|
|
247
248
|
}
|
|
249
|
+
|
|
248
250
|
interface IDSMethods {
|
|
249
251
|
[key: string]: catalog.IMethod;
|
|
250
252
|
}
|