dochub-sdk 0.1.103 → 0.1.104
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/interfaces/datalake.ts +8 -1
- package/package.json +1 -1
package/interfaces/datalake.ts
CHANGED
@@ -240,7 +240,7 @@ export interface IDocHubDataLake {
|
|
240
240
|
* @param handler - Обработчик события
|
241
241
|
*/
|
242
242
|
followFile(uri: string, handler: DocHubDataLakeFileFollower);
|
243
|
-
|
243
|
+
|
244
244
|
/**
|
245
245
|
* Отменяет слежение за файлом
|
246
246
|
* @param uri - URI файла
|
@@ -262,6 +262,13 @@ export interface IDocHubDataLake {
|
|
262
262
|
*/
|
263
263
|
resolveURI(...uri: string[]): string;
|
264
264
|
|
265
|
+
/**
|
266
|
+
* Возвращает URI ресурсов в которых определен данный путь в DataLake
|
267
|
+
* @param path - Путь к области DataLake через "/"
|
268
|
+
* @returns - Массив URI фалов
|
269
|
+
*/
|
270
|
+
getURIForPath(path: string): Promise<string[]>;
|
271
|
+
|
265
272
|
/**
|
266
273
|
* Регистрирует редактор файлов
|
267
274
|
* @param pattern - RegExp contentType файла. Например: ^.*\/markdown($|;.*$)
|