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.
- package/interfaces/datalake.ts +5 -5
- package/package.json +1 -1
package/interfaces/datalake.ts
CHANGED
@@ -81,22 +81,22 @@ export enum IDocHubTransactionFileDataType {
|
|
81
81
|
content = 'content'
|
82
82
|
}
|
83
83
|
|
84
|
-
export enum
|
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:
|
91
|
+
action: DocHubTransactionFileAction.filePut;
|
92
92
|
}
|
93
93
|
|
94
94
|
export type IDocHubTransactionChangeFileDelete = {
|
95
|
-
action:
|
95
|
+
action: DocHubTransactionFileAction.fileDelete;
|
96
96
|
}
|
97
97
|
|
98
98
|
export type IDocHubTransactionChangeFileMove = {
|
99
|
-
action:
|
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
|
* Возвращает указанную версию файла
|