dochub-sdk 0.1.72 → 0.1.73
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/objects.ts +3 -3
- package/package.json +1 -1
package/interfaces/objects.ts
CHANGED
@@ -21,7 +21,7 @@ export interface IDocHubObjectEditorComponent {
|
|
21
21
|
/**
|
22
22
|
* Метаинформация о редакторе объекта
|
23
23
|
*/
|
24
|
-
export interface
|
24
|
+
export interface IDocHubObjectEditorItem {
|
25
25
|
component: IDocHubObjectEditorComponent;
|
26
26
|
uid: string;
|
27
27
|
}
|
@@ -53,12 +53,12 @@ export interface IDocHubObjects {
|
|
53
53
|
* Возвращает массив зарегистрированных редакторов объектов
|
54
54
|
* @returns - Массив зарегистрированных редакторов объектов
|
55
55
|
*/
|
56
|
-
fetchEditors(): Promise<
|
56
|
+
fetchEditors(): Promise<IDocHubObjectEditorItem[]>;
|
57
57
|
/**
|
58
58
|
* Возвращает компонент редактора объекта
|
59
59
|
* @param uid - Идентификатор типа объекта
|
60
60
|
* @returns - IDocHubEditorItem
|
61
61
|
*/
|
62
|
-
getEditor(uid: string): Promise<
|
62
|
+
getEditor(uid: string): Promise<IDocHubObjectEditorItem>;
|
63
63
|
}
|
64
64
|
|