dochub-sdk 0.1.45 → 0.1.46
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/.vscode/settings.json +1 -0
- package/interfaces/objects.ts +3 -1
- package/package.json +1 -1
package/.vscode/settings.json
CHANGED
package/interfaces/objects.ts
CHANGED
@@ -10,11 +10,13 @@ export interface IDocHubObjectMeta {
|
|
10
10
|
constructor?: string; // RegEx паттерн конструктора объектов
|
11
11
|
}
|
12
12
|
|
13
|
-
//
|
13
|
+
// Интерфейс доступа к задекларированным объектам в DataLake
|
14
14
|
export interface IDocHubObjects {
|
15
15
|
// Возвращает коллекцию задекларированных объектов
|
16
16
|
fetch(): Promise<IDocHubObjectMeta[]>;
|
17
17
|
// Возвращает объект по идентификатору
|
18
18
|
get(uid: string): Promise<IDocHubObjectMeta>;
|
19
|
+
// Возвращает метаданные декларированного объекта для указанного пути
|
20
|
+
getMetaObjectByPath(): Promise<IDocHubObjectMeta>;
|
19
21
|
}
|
20
22
|
|