@ws-ui/shared 1.1.1 → 1.5.0
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 +6 -0
- 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 +1 -0
- 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
|
|
@@ -202,6 +203,10 @@ declare namespace datasources {
|
|
|
202
203
|
initialValue: any;
|
|
203
204
|
events?: webforms.WEvent[];
|
|
204
205
|
namespace: string;
|
|
206
|
+
schema?: {
|
|
207
|
+
type: string;
|
|
208
|
+
properties: { name: string; type: string; initialValue: any }[];
|
|
209
|
+
};
|
|
205
210
|
}
|
|
206
211
|
|
|
207
212
|
interface ICreateDataSourceCommon {
|
|
@@ -245,6 +250,7 @@ declare namespace datasources {
|
|
|
245
250
|
pageSize: number | null;
|
|
246
251
|
dataType?: string;
|
|
247
252
|
}
|
|
253
|
+
|
|
248
254
|
interface IDSMethods {
|
|
249
255
|
[key: string]: catalog.IMethod;
|
|
250
256
|
}
|