dochub-sdk 0.1.68 → 0.1.70
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/protocols.ts +5 -3
- package/package.json +1 -1
package/interfaces/protocols.ts
CHANGED
@@ -29,7 +29,7 @@ export enum DocHubResourceType {
|
|
29
29
|
*/
|
30
30
|
export type DocHubResourceMetaFile = {
|
31
31
|
type: DocHubResourceType.file,
|
32
|
-
|
32
|
+
uri: string,
|
33
33
|
contentType: DocHubContentType | string
|
34
34
|
}
|
35
35
|
|
@@ -38,7 +38,8 @@ export type DocHubResourceMetaFile = {
|
|
38
38
|
*/
|
39
39
|
export type DocHubResourceMetaFolder = {
|
40
40
|
type: DocHubResourceType.folder,
|
41
|
-
|
41
|
+
uri: string,
|
42
|
+
files: DocHubResourceMetaFile[] | null // Если null - статус содержания файлов не определен
|
42
43
|
}
|
43
44
|
|
44
45
|
/**
|
@@ -46,10 +47,11 @@ export type DocHubResourceMetaFolder = {
|
|
46
47
|
*/
|
47
48
|
export type DocHubResourceMetaOther = {
|
48
49
|
type: DocHubResourceType.other,
|
50
|
+
uri: string,
|
49
51
|
[prop: string]: any
|
50
52
|
}
|
51
53
|
|
52
|
-
type DocHubResourceMeta = DocHubResourceMetaFile | DocHubResourceMetaFolder | DocHubResourceMetaOther;
|
54
|
+
export type DocHubResourceMeta = DocHubResourceMetaFile | DocHubResourceMetaFolder | DocHubResourceMetaOther;
|
53
55
|
|
54
56
|
/**
|
55
57
|
* Методы доступные над ресурсом
|