dochub-sdk 0.1.126 → 0.1.128
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
CHANGED
@@ -21,7 +21,7 @@ export class DataLakePath extends String {
|
|
21
21
|
constructor(...args:any) {
|
22
22
|
for (const value of args) {
|
23
23
|
if (!(new RegExp(DataLakePathRegExp)).test(value))
|
24
|
-
throw new Error(`Incorrect DataLakePath
|
24
|
+
throw new Error(`Incorrect DataLakePath [${value}] The string must be in the following format ${DataLakePathRegExp}`);
|
25
25
|
}
|
26
26
|
super(...args);
|
27
27
|
return this;
|
package/interfaces/objects.ts
CHANGED
@@ -29,7 +29,7 @@ export class DocHubObjectURL extends String {
|
|
29
29
|
constructor(...args:any) {
|
30
30
|
for (const value of args) {
|
31
31
|
if (!(new RegExp(DocHubObjectURLRegExp)).test(value))
|
32
|
-
throw new Error(`Incorrect
|
32
|
+
throw new Error(`Incorrect DocHubObjectURL [${value}] The string must be in the following format ${DocHubObjectURLRegExp}`, );
|
33
33
|
}
|
34
34
|
super(...args);
|
35
35
|
return this;
|
@@ -55,4 +55,9 @@ export interface IDocHubPresentations {
|
|
55
55
|
* @returns - VUE компонент для представления
|
56
56
|
*/
|
57
57
|
getComponentByType(type: DocHubPresentationUID): Promise<IDocHubPresentationComponent>;
|
58
|
+
/**
|
59
|
+
* Возвращает список зарегистрированных типов презентаций
|
60
|
+
* @returns - Массив типов презентаций
|
61
|
+
*/
|
62
|
+
fetch(): Promise<string[]>
|
58
63
|
}
|