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.
@@ -65,15 +65,16 @@ export type DocHubResourceMetaFile = {
65
65
  export type DocHubResourceMetaFolder = {
66
66
  type: DocHubResourceType.folder;
67
67
  uri: string;
68
- files: DocHubResourceMetaFile[] | null // Если null - статус содержания файлов не определен
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.295",
3
+ "version": "0.1.297",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",