dochub-sdk 0.1.115 → 0.1.117
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
CHANGED
package/index.ts
CHANGED
@@ -1,26 +1,28 @@
|
|
1
1
|
import { IDocHubCore } from './interfaces/core';
|
2
2
|
|
3
|
-
export * from './interfaces/contexts';
|
4
|
-
export * from './interfaces/protocols';
|
5
3
|
export * from './interfaces/core';
|
4
|
+
export * from './interfaces/contexts';
|
5
|
+
export * from './interfaces/constructors';
|
6
|
+
export * from './interfaces/collaborations';
|
7
|
+
export * from './interfaces/datalake';
|
6
8
|
export * from './interfaces/documents';
|
7
|
-
export * from './interfaces/protocols';
|
8
9
|
export * from './interfaces/editors';
|
9
|
-
export * from './interfaces/datalake';
|
10
|
-
export * from './interfaces/constructors';
|
11
|
-
export * from './interfaces/providers';
|
12
|
-
export * from './interfaces/objects';
|
13
|
-
export * from './interfaces/ui';
|
14
|
-
export * from './interfaces/localstorage';
|
15
10
|
export * from './interfaces/eventbus';
|
11
|
+
export * from './interfaces/localstorage';
|
12
|
+
export * from './interfaces/objects';
|
13
|
+
export * from './interfaces/problems';
|
14
|
+
export * from './interfaces/presentations';
|
15
|
+
export * from './interfaces/protocols';
|
16
|
+
export * from './interfaces/providers';
|
16
17
|
export * from './interfaces/router';
|
17
18
|
export * from './interfaces/settings';
|
18
|
-
export * from './interfaces/
|
19
|
-
|
19
|
+
export * from './interfaces/ui';
|
20
|
+
|
20
21
|
export * from './schemas/basetypes';
|
21
22
|
export * from './schemas/dochub-yaml';
|
22
23
|
|
23
24
|
|
25
|
+
|
24
26
|
export const DocHub: IDocHubCore = window['DocHub'];
|
25
27
|
export const Vue2 = () => window['Vue'];
|
26
28
|
export const Vuetify2 = () => window['Vuetify'];
|
package/interfaces/datalake.ts
CHANGED
@@ -183,6 +183,13 @@ export interface IDocHubDataLake {
|
|
183
183
|
* DataLake считается неинициализированным, например, при отсутствии указания корневого манифеста.
|
184
184
|
*/
|
185
185
|
isInitialized(): Promise<DocHubDataLakeInitializedStatus>
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Промис вызывает then когда DataLake готов к запросам
|
189
|
+
* или вызывает catch, если immediately === true и DataLake не готов выполнить запрос.
|
190
|
+
* @param immediately - Если true, то функция не ожидает готовности DataLake к запросам, а генерирует ошибку
|
191
|
+
*/
|
192
|
+
whenReady(immediately?:boolean): Promise<void>;
|
186
193
|
|
187
194
|
/**
|
188
195
|
* Открывает транзакцию на изменения в DataLake
|
package/package.json
CHANGED
File without changes
|