dochub-sdk 0.1.278 → 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/protocols.ts +2 -2
- package/package.json +1 -1
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
|
/**
|