1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

All: Allow uploading items in batch when synchronising with Joplin Server

This commit is contained in:
Laurent Cozic
2021-06-18 17:17:25 +01:00
parent 63f7349c17
commit 0222c0f0a6
13 changed files with 392 additions and 36 deletions

View File

@@ -403,7 +403,7 @@ export default class BaseItem extends BaseModel {
return this.shareService_;
}
public static async serializeForSync(item: BaseItemEntity) {
public static async serializeForSync(item: BaseItemEntity): Promise<string> {
const ItemClass = this.itemClass(item);
const shownKeys = ItemClass.fieldNames();
shownKeys.push('type_');