dochub-sdk 0.1.277 → 0.1.279
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
CHANGED
@@ -110,7 +110,6 @@ export interface IDocHubTransactionChangeRecord extends IDocHubResourceVersion {
|
|
110
110
|
* Метаданные файла входящего в транзакцию
|
111
111
|
*/
|
112
112
|
export type IDocHubTransactionFile = {
|
113
|
-
uid: string; // UUID записи
|
114
113
|
uri: string; // URI файла
|
115
114
|
content: string; // Содержимое файла
|
116
115
|
headers: IDocHubTransactionFileHeaders; // Заголовки (метаданные) файла
|
package/interfaces/protocols.ts
CHANGED
@@ -123,7 +123,7 @@ export type DocHubCommitFileRename = {
|
|
123
123
|
/**
|
124
124
|
* Действие в коммите
|
125
125
|
*/
|
126
|
-
export type
|
126
|
+
export type DocHubCommitActionRecord = DocHubCommitFilePost | DocHubCommitFileDelete | DocHubCommitFileRename;
|
127
127
|
|
128
128
|
/**
|
129
129
|
* Данные для создания коммита
|
@@ -131,7 +131,7 @@ export type DocHubCommitFile = DocHubCommitFilePost | DocHubCommitFileDelete | D
|
|
131
131
|
export interface IDocHubCommit extends IDocHubProtocolRequestConfig {
|
132
132
|
method: DocHubProtocolMethods.COMMIT,
|
133
133
|
comment: string;
|
134
|
-
actions:
|
134
|
+
actions: DocHubCommitActionRecord[];
|
135
135
|
}
|
136
136
|
|
137
137
|
/**
|