@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.
@@ -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
  }
@@ -1,4 +1,4 @@
1
- export type FeatureName = 'debugger' | 'modelEditor' | 'roles';
1
+ export type FeatureName = 'debugger' | 'modelEditor' | 'roles' | 'i18n';
2
2
  export declare function useFeatureFlags(initialConfig: {
3
3
  features: Record<FeatureName, {
4
4
  enabled: boolean;