[fix] lib

This commit is contained in:
zhhe committed 2026-11-16 13:52:14 +08:00
1 parent 2bbab9c901
commit c668bef62a
35 files changed
+21879 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
export function createApi(ctx) {
const remote = ctx.remote['mail-gateway'];
return {
get: () => remote.get(),
saveMailbox: patch => remote.saveMailbox(patch),
saveWhitelist: addresses => remote.saveWhitelist(addresses),
testConnection: patch => remote.testConnection(patch),
status: () => remote.status(),
};
}