mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 11:27:18 +00:00
Drafts module (#2375)
This commit is contained in:
committed by
Daniel Pan
parent
0a3296d304
commit
e793730939
@@ -97,9 +97,21 @@ class EditorUtilities {
|
||||
revertFile(filePath, commitID) {
|
||||
return seafileAPI.revertFile(historyRepoID, filePath, commitID);
|
||||
}
|
||||
|
||||
listDrafts() {
|
||||
return seafileAPI.listDrafts();
|
||||
}
|
||||
|
||||
deleteDraft(id) {
|
||||
return seafileAPI.deleteDraft(id);
|
||||
}
|
||||
|
||||
publishDraft(id) {
|
||||
return seafileAPI.publishDraft(id);
|
||||
}
|
||||
}
|
||||
|
||||
const editorUtilities = new EditorUtilities();
|
||||
|
||||
export default editorUtilities;
|
||||
export { seafileAPI };
|
||||
export { seafileAPI };
|
||||
|
Reference in New Issue
Block a user