dochub-sdk 0.1.295 → 0.1.297
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 +7 -4
- package/package.json +1 -1
package/interfaces/protocols.ts
CHANGED
@@ -65,15 +65,16 @@ export type DocHubResourceMetaFile = {
|
|
65
65
|
export type DocHubResourceMetaFolder = {
|
66
66
|
type: DocHubResourceType.folder;
|
67
67
|
uri: string;
|
68
|
-
files
|
68
|
+
files?: DocHubResourceMetaFile[] // Если undefined - статус содержания файлов не определен
|
69
69
|
}
|
70
70
|
|
71
71
|
/**
|
72
72
|
* Метаинформация о репозиторие
|
73
73
|
*/
|
74
74
|
export type DocHubResourceMetaRepo = {
|
75
|
-
type: DocHubResourceType.repo
|
76
|
-
uri: string
|
75
|
+
type: DocHubResourceType.repo;
|
76
|
+
uri: string;
|
77
|
+
branches?: string[]; // Если undefined - статус содержания веток неопределен
|
77
78
|
}
|
78
79
|
|
79
80
|
/**
|
@@ -81,7 +82,8 @@ export type DocHubResourceMetaRepo = {
|
|
81
82
|
*/
|
82
83
|
export type DocHubResourceMetaBranch = {
|
83
84
|
type: DocHubResourceType.branch,
|
84
|
-
uri: string
|
85
|
+
uri: string;
|
86
|
+
files?: DocHubResourceMetaFile[] // Если undefined - статус содержания файлов не определен
|
85
87
|
}
|
86
88
|
|
87
89
|
/**
|
@@ -93,6 +95,7 @@ export type DocHubResourceMetaOther = {
|
|
93
95
|
[prop: string]: any
|
94
96
|
}
|
95
97
|
|
98
|
+
|
96
99
|
export type DocHubResourceMeta = DocHubResourceMetaFile | DocHubResourceMetaFolder| DocHubResourceMetaBranch | DocHubResourceMetaRepo | DocHubResourceMetaOther;
|
97
100
|
|
98
101
|
/**
|