dochub-sdk 0.1.243 → 0.1.245

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.
@@ -81,22 +81,22 @@ export enum IDocHubTransactionFileDataType {
81
81
  content = 'content'
82
82
  }
83
83
 
84
- export enum IDocHubTransactionFileAction {
84
+ export enum DocHubTransactionFileAction {
85
85
  filePut = 'file-put',
86
86
  fileDelete = 'file-delete',
87
87
  fileMove = 'file-move'
88
88
  }
89
89
 
90
90
  export type IDocHubTransactionChangeFilePut = {
91
- action: IDocHubTransactionFileAction.filePut;
91
+ action: DocHubTransactionFileAction.filePut;
92
92
  }
93
93
 
94
94
  export type IDocHubTransactionChangeFileDelete = {
95
- action: IDocHubTransactionFileAction.fileDelete;
95
+ action: DocHubTransactionFileAction.fileDelete;
96
96
  }
97
97
 
98
98
  export type IDocHubTransactionChangeFileMove = {
99
- action: IDocHubTransactionFileAction.fileMove;
99
+ action: DocHubTransactionFileAction.fileMove;
100
100
  fromURI: string;
101
101
  }
102
102
 
@@ -132,7 +132,7 @@ export interface IDocHubTransaction {
132
132
  * @param uri - URI файла
133
133
  * @returns - Возвращает массив содержимое найденных файлов
134
134
  */
135
- getFileVersions(uri: string): Promise<IDocHubTransactionChangeRecord>;
135
+ getFileVersions(uri: string): Promise<IDocHubTransactionChangeRecord[]>;
136
136
 
137
137
  /**
138
138
  * Возвращает указанную версию файла
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.243",
3
+ "version": "0.1.245",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",