dochub-sdk 0.1.113 → 0.1.115

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.
@@ -166,6 +166,10 @@ export enum DocHubDataLakeInitializedStatus {
166
166
  other = 'root-manifest-other-error' // Возникла неопределенная ошибка не позволяющая инициализировать DataLake
167
167
  }
168
168
 
169
+
170
+ export type DocHubDataLakeRequest = string;
171
+
172
+
169
173
  /**
170
174
  * Обработчик событий изменения файла
171
175
  */
@@ -249,7 +253,7 @@ export interface IDocHubDataLake {
249
253
  * @param context - Контекст исполнения запроса (необязательно)
250
254
  * @returns - Результат выполненного запроса
251
255
  */
252
- pullData(expression: string, params?: IDocHubPullDataParams, context?: any): Promise<any>;
256
+ pullData(expression: DocHubDataLakeRequest, params?: IDocHubPullDataParams, context?: any): Promise<any>;
253
257
 
254
258
  /**
255
259
  * Сохраняет файла в DataLake
@@ -301,7 +305,7 @@ export interface IDocHubDataLake {
301
305
  * @param component - VUE компонент для редактирования файла
302
306
  * @param title - Название редактора файла
303
307
  */
304
- registerFileEditor(pattern: string, component: IDocHubFileEditorComponent, title?: string);
308
+ registerFileEditor(pattern: RegExp, component: IDocHubFileEditorComponent, title?: string);
305
309
 
306
310
  /**
307
311
  * Возвращает массив зарегистрированных редакторов файлов
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.113",
3
+ "version": "0.1.115",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",