mirror of
https://github.com/rubickCenter/rubick
synced 2026-02-25 08:21:21 +08:00
@@ -85,6 +85,10 @@ window.rubick = {
|
||||
remove: (doc) => ipcSendSync('dbRemove', { doc }),
|
||||
bulkDocs: (docs) => ipcSendSync('dbBulkDocs', { docs }),
|
||||
allDocs: (key) => ipcSendSync('dbAllDocs', { key }),
|
||||
postAttachment: (docId, attachment, type) =>
|
||||
ipcSendSync('dbPostAttachment', { docId, attachment, type }),
|
||||
getAttachment: (docId) => ipcSendSync('dbGetAttachment', { docId }),
|
||||
getAttachmentType: (docId) => ipcSendSync('dbGetAttachmentType', { docId }),
|
||||
},
|
||||
dbStorage: {
|
||||
setItem: (key, value) => {
|
||||
|
||||
Reference in New Issue
Block a user