@dxos/plugin-jmap 0.10.0 → 0.12.0-next-bbabc02363f18d7643ea4160e3a7a7809870fd0d
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/dist/lib/chunk-apis.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/services/jmap-credentials.ts
|
|
29
|
-
var __dxlog_file = "/
|
|
29
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-jmap/src/services/jmap-credentials.ts";
|
|
30
30
|
/**
|
|
31
31
|
* Service for accessing JMAP credentials.
|
|
32
32
|
*
|
package/dist/lib/chunk-send.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import * as InboxOperation from "@dxos/plugin-inbox/InboxOperation";
|
|
|
8
8
|
import * as SystemTags from "@dxos/plugin-inbox/SystemTags";
|
|
9
9
|
import * as FetchHttpClient from "@effect/platform/FetchHttpClient";
|
|
10
10
|
//#region src/operations/mail/send/handler.ts
|
|
11
|
-
var __dxlog_file = "/
|
|
11
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-jmap/src/operations/mail/send/handler.ts";
|
|
12
12
|
var MAIL_ACCOUNT_CAPABILITY = "urn:ietf:params:jmap:mail";
|
|
13
13
|
var handler_default = InboxOperation.JmapSend.pipe(Operation.withHandler(({ message, connection: connectionRef }) => Effect.gen(function* () {
|
|
14
14
|
log("sending email via jmap", { connection: connectionRef.uri }, {
|
|
@@ -18,7 +18,7 @@ import * as SystemTags from "@dxos/plugin-inbox/SystemTags";
|
|
|
18
18
|
import { TagIndex } from "@dxos/schema";
|
|
19
19
|
import { Message, Person } from "@dxos/types";
|
|
20
20
|
//#region src/operations/mail/mapper.ts
|
|
21
|
-
var __dxlog_file$1 = "/
|
|
21
|
+
var __dxlog_file$1 = "/__w/dxos/dxos/packages/plugins/plugin-jmap/src/operations/mail/mapper.ts";
|
|
22
22
|
/** Attachment parts carry a `blobId` to fetch bytes for; parts without one can't be downloaded. */
|
|
23
23
|
var collectAttachments = (attachments) => (attachments ?? []).flatMap((part) => part.blobId ? [{
|
|
24
24
|
blobId: part.blobId,
|
|
@@ -180,7 +180,7 @@ var JMAP_ROLE_TAGS = {
|
|
|
180
180
|
var JMAP_KEYWORD_TAGS = { $flagged: "starred" };
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region src/operations/mail/sync/sync-provider.ts
|
|
183
|
-
var __dxlog_file = "/
|
|
183
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-jmap/src/operations/mail/sync/sync-provider.ts";
|
|
184
184
|
var MAIL_ACCOUNT_CAPABILITY = "urn:ietf:params:jmap:mail";
|
|
185
185
|
/** JMAP mail's streaming-pipeline tuning; see {@link SyncStreamConfig.SyncStreamConfig}. */
|
|
186
186
|
var JMAP_SYNC_CONFIG = {
|
package/dist/lib/chunk-sync.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { Cursor } from "@dxos/link";
|
|
|
12
12
|
import * as FetchHttpClient from "@effect/platform/FetchHttpClient";
|
|
13
13
|
import * as InboxResolver from "@dxos/extractor-lib";
|
|
14
14
|
//#region src/operations/mail/sync/handler.ts
|
|
15
|
-
var __dxlog_file = "/
|
|
15
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-jmap/src/operations/mail/sync/handler.ts";
|
|
16
16
|
var handler = InboxOperation.JmapSync.pipe(Operation.withHandler(({ binding: bindingRef }) => Effect.gen(function* () {
|
|
17
17
|
const bindingObj = bindingRef.target;
|
|
18
18
|
const db = bindingObj ? Obj.getDatabase(bindingObj) : void 0;
|