plmt-constructor-sdk 0.17.0 → 0.17.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.
Files changed (2) hide show
  1. package/config.d.ts +7 -1
  2. package/package.json +1 -1
package/config.d.ts CHANGED
@@ -137,7 +137,13 @@ export interface CreateViewSettings<DataSettings extends WidgetDataSettings | Wi
137
137
  }
138
138
  export declare type ViewSettingsValidator = (value: any) => Text | null;
139
139
  declare type ViewSettingsLabel = Text | string;
140
- export declare type ViewSettingsValidation = (viewSettings: ViewSettings) => {
140
+ /**
141
+ * @deprecated Используйте ViewSettingsValidationFn
142
+ */
143
+ export interface ViewSettingsValidation {
144
+ [key: string]: ViewSettingsValidator;
145
+ }
146
+ export declare type ViewSettingsValidationFn = (viewSettings: ViewSettings) => {
141
147
  [key: string]: ViewSettingsValidator;
142
148
  };
143
149
  export declare class ViewSettingsItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plmt-constructor-sdk",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Набор инструментов для создания виджетов.",
5
5
  "dependencies": {
6
6
  "logical-not": "^1.0.9"