@marcoappio/marco-config 2.0.535 → 2.0.537
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/marcoPublicConfig.d.ts +5 -0
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +15 -0
- package/dist/schemas/boolean.d.ts +5 -0
- package/dist/schemas/boolean.d.ts.map +1 -0
- package/dist/schemas/boolean.js +4 -0
- package/dist/schemas/index.d.ts +257 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +23 -0
- package/dist/schemas/models/account.d.ts +54 -0
- package/dist/schemas/models/account.d.ts.map +1 -0
- package/dist/schemas/models/account.js +33 -0
- package/dist/schemas/models/contact.d.ts +9 -0
- package/dist/schemas/models/contact.d.ts.map +1 -0
- package/dist/schemas/models/contact.js +8 -0
- package/dist/schemas/models/draft.d.ts +48 -0
- package/dist/schemas/models/draft.d.ts.map +1 -0
- package/dist/schemas/models/draft.js +35 -0
- package/dist/schemas/models/index.d.ts +6 -0
- package/dist/schemas/models/index.d.ts.map +1 -0
- package/dist/schemas/models/index.js +5 -0
- package/dist/schemas/models/thread.d.ts +122 -0
- package/dist/schemas/models/thread.d.ts.map +1 -0
- package/dist/schemas/models/thread.js +55 -0
- package/dist/schemas/models/user.d.ts +35 -0
- package/dist/schemas/models/user.d.ts.map +1 -0
- package/dist/schemas/models/user.js +24 -0
- package/dist/schemas/number.d.ts +2 -0
- package/dist/schemas/number.d.ts.map +1 -1
- package/dist/schemas/number.js +2 -0
- package/dist/schemas/paginatedResponse.d.ts +10 -0
- package/dist/schemas/paginatedResponse.d.ts.map +1 -0
- package/dist/schemas/paginatedResponse.js +5 -0
- package/dist/schemas/websocket.d.ts +12 -0
- package/dist/schemas/websocket.d.ts.map +1 -0
- package/dist/schemas/websocket.js +9 -0
- package/dist/sdk/endpoints/index.d.ts +14 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +14 -0
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +4 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +68 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +26 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/index.js +1 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +41 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +26 -0
- package/dist/sdk/endpoints/private/models/contact/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/contact/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/contact/index.js +1 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +25 -0
- package/dist/sdk/endpoints/private/models/draft/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/draft/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/draft/index.js +1 -0
- package/dist/sdk/endpoints/private/models/index.d.ts +15 -0
- package/dist/sdk/endpoints/private/models/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/index.js +14 -0
- package/dist/sdk/endpoints/private/models/label/getLabels.d.ts +44 -0
- package/dist/sdk/endpoints/private/models/label/getLabels.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/label/getLabels.js +27 -0
- package/dist/sdk/endpoints/private/models/label/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/label/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/label/index.js +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThread.js +17 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +62 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +17 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +55 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +30 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +75 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/getThreads.js +25 -0
- package/dist/sdk/endpoints/private/models/thread/index.d.ts +5 -0
- package/dist/sdk/endpoints/private/models/thread/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/thread/index.js +4 -0
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts +33 -0
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/user/getUser.js +16 -0
- package/dist/sdk/endpoints/private/models/user/index.d.ts +2 -0
- package/dist/sdk/endpoints/private/models/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/user/index.js +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAccount.js +18 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +42 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createAlias.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +27 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +18 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +44 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +49 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +42 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +19 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +39 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setSettings.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +28 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +18 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +45 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +60 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +27 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +18 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +45 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setContent.d.ts +43 -0
- package/dist/sdk/endpoints/private/mutations/draft/setContent.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setContent.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +85 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +19 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +47 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +20 -0
- package/dist/sdk/endpoints/private/mutations/index.d.ts +11 -0
- package/dist/sdk/endpoints/private/mutations/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/index.js +10 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +40 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +19 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +10 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.js +9 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +40 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +19 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +35 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +18 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +34 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +38 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/createView.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +23 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +17 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +28 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/deleteView.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts +7 -0
- package/dist/sdk/endpoints/private/mutations/user/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/index.js +6 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +37 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +33 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +18 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +43 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/user/updateView.js +19 -0
- package/dist/sdk/index.d.ts +50 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +72 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +30 -0
- package/dist/sdk/validation/index.d.ts +36 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/PokeEvent.d.ts +6 -0
- package/dist/types/PokeEvent.d.ts.map +1 -0
- package/dist/types/PokeEvent.js +1 -0
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/zero/index.d.ts +935 -925
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/index.js +1 -0
- package/dist/zero/mutatorSchemas.d.ts +1 -1
- package/dist/zero/mutators.d.ts +281 -281
- package/dist/zero/queries.d.ts +290 -282
- package/dist/zero/queries.d.ts.map +1 -1
- package/dist/zero/queries.js +14 -8
- package/dist/zero/schema.d.ts +281 -281
- package/dist/zero/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/zero/queries.d.ts
CHANGED
|
@@ -262,7 +262,15 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
262
262
|
})[];
|
|
263
263
|
}) | undefined;
|
|
264
264
|
}, Context>;
|
|
265
|
-
readonly getUser: import("@rocicorp/zero").QueryDefinition<"user",
|
|
265
|
+
readonly getUser: import("@rocicorp/zero").QueryDefinition<"user", {
|
|
266
|
+
aliasesLimit?: number | undefined;
|
|
267
|
+
labelsLimit?: number | undefined;
|
|
268
|
+
pushNotificationTokensLimit?: number | undefined;
|
|
269
|
+
} | undefined, {
|
|
270
|
+
aliasesLimit: number;
|
|
271
|
+
labelsLimit: number;
|
|
272
|
+
pushNotificationTokensLimit: number;
|
|
273
|
+
}, {
|
|
266
274
|
readonly id: string;
|
|
267
275
|
readonly name: string | null;
|
|
268
276
|
readonly profilePicture: string | null;
|
|
@@ -366,72 +374,6 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
366
374
|
} & {
|
|
367
375
|
primaryKey: ["id"];
|
|
368
376
|
};
|
|
369
|
-
readonly userPushNotificationToken: {
|
|
370
|
-
name: "userPushNotificationToken";
|
|
371
|
-
columns: {
|
|
372
|
-
readonly createdAt: {
|
|
373
|
-
type: "number";
|
|
374
|
-
optional: false;
|
|
375
|
-
customType: number;
|
|
376
|
-
} & {
|
|
377
|
-
serverName: string;
|
|
378
|
-
};
|
|
379
|
-
readonly id: {
|
|
380
|
-
type: "string";
|
|
381
|
-
optional: false;
|
|
382
|
-
customType: string;
|
|
383
|
-
};
|
|
384
|
-
readonly token: {
|
|
385
|
-
type: "string";
|
|
386
|
-
optional: false;
|
|
387
|
-
customType: string;
|
|
388
|
-
};
|
|
389
|
-
readonly userId: {
|
|
390
|
-
type: "string";
|
|
391
|
-
optional: false;
|
|
392
|
-
customType: string;
|
|
393
|
-
} & {
|
|
394
|
-
serverName: string;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
primaryKey: readonly [string, ...string[]];
|
|
398
|
-
} & {
|
|
399
|
-
primaryKey: ["id"];
|
|
400
|
-
};
|
|
401
|
-
readonly contact: {
|
|
402
|
-
name: "contact";
|
|
403
|
-
columns: {
|
|
404
|
-
readonly emailAddress: {
|
|
405
|
-
type: "string";
|
|
406
|
-
optional: false;
|
|
407
|
-
customType: string;
|
|
408
|
-
} & {
|
|
409
|
-
serverName: string;
|
|
410
|
-
};
|
|
411
|
-
readonly id: {
|
|
412
|
-
type: "string";
|
|
413
|
-
optional: false;
|
|
414
|
-
customType: string;
|
|
415
|
-
};
|
|
416
|
-
readonly name: Omit<{
|
|
417
|
-
type: "string";
|
|
418
|
-
optional: false;
|
|
419
|
-
customType: string;
|
|
420
|
-
}, "optional"> & {
|
|
421
|
-
optional: true;
|
|
422
|
-
};
|
|
423
|
-
readonly userId: {
|
|
424
|
-
type: "string";
|
|
425
|
-
optional: false;
|
|
426
|
-
customType: string;
|
|
427
|
-
} & {
|
|
428
|
-
serverName: string;
|
|
429
|
-
};
|
|
430
|
-
};
|
|
431
|
-
primaryKey: readonly [string, ...string[]];
|
|
432
|
-
} & {
|
|
433
|
-
primaryKey: ["id"];
|
|
434
|
-
};
|
|
435
377
|
readonly account: {
|
|
436
378
|
name: "account";
|
|
437
379
|
columns: {
|
|
@@ -496,16 +438,9 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
496
438
|
} & {
|
|
497
439
|
primaryKey: ["id"];
|
|
498
440
|
};
|
|
499
|
-
readonly
|
|
500
|
-
name: "
|
|
441
|
+
readonly contact: {
|
|
442
|
+
name: "contact";
|
|
501
443
|
columns: {
|
|
502
|
-
readonly accountId: {
|
|
503
|
-
type: "string";
|
|
504
|
-
optional: false;
|
|
505
|
-
customType: string;
|
|
506
|
-
} & {
|
|
507
|
-
serverName: string;
|
|
508
|
-
};
|
|
509
444
|
readonly emailAddress: {
|
|
510
445
|
type: "string";
|
|
511
446
|
optional: false;
|
|
@@ -518,40 +453,6 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
518
453
|
optional: false;
|
|
519
454
|
customType: string;
|
|
520
455
|
};
|
|
521
|
-
readonly isPrimary: {
|
|
522
|
-
type: "boolean";
|
|
523
|
-
optional: false;
|
|
524
|
-
customType: boolean;
|
|
525
|
-
} & {
|
|
526
|
-
serverName: string;
|
|
527
|
-
};
|
|
528
|
-
readonly name: Omit<{
|
|
529
|
-
type: "string";
|
|
530
|
-
optional: false;
|
|
531
|
-
customType: string;
|
|
532
|
-
}, "optional"> & {
|
|
533
|
-
optional: true;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
primaryKey: readonly [string, ...string[]];
|
|
537
|
-
} & {
|
|
538
|
-
primaryKey: ["id"];
|
|
539
|
-
};
|
|
540
|
-
readonly accountLabel: {
|
|
541
|
-
name: "accountLabel";
|
|
542
|
-
columns: {
|
|
543
|
-
readonly accountId: {
|
|
544
|
-
type: "string";
|
|
545
|
-
optional: false;
|
|
546
|
-
customType: string;
|
|
547
|
-
} & {
|
|
548
|
-
serverName: string;
|
|
549
|
-
};
|
|
550
|
-
readonly id: {
|
|
551
|
-
type: "string";
|
|
552
|
-
optional: false;
|
|
553
|
-
customType: string;
|
|
554
|
-
};
|
|
555
456
|
readonly name: Omit<{
|
|
556
457
|
type: "string";
|
|
557
458
|
optional: false;
|
|
@@ -559,31 +460,10 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
559
460
|
}, "optional"> & {
|
|
560
461
|
optional: true;
|
|
561
462
|
};
|
|
562
|
-
readonly
|
|
463
|
+
readonly userId: {
|
|
563
464
|
type: "string";
|
|
564
465
|
optional: false;
|
|
565
466
|
customType: string;
|
|
566
|
-
};
|
|
567
|
-
readonly specialUse: Omit<{
|
|
568
|
-
type: "string";
|
|
569
|
-
optional: false;
|
|
570
|
-
customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
|
|
571
|
-
}, "optional"> & {
|
|
572
|
-
optional: true;
|
|
573
|
-
} & {
|
|
574
|
-
serverName: string;
|
|
575
|
-
};
|
|
576
|
-
readonly uidValidity: {
|
|
577
|
-
type: "number";
|
|
578
|
-
optional: false;
|
|
579
|
-
customType: number;
|
|
580
|
-
} & {
|
|
581
|
-
serverName: string;
|
|
582
|
-
};
|
|
583
|
-
readonly unreadCount: {
|
|
584
|
-
type: "number";
|
|
585
|
-
optional: false;
|
|
586
|
-
customType: number;
|
|
587
467
|
} & {
|
|
588
468
|
serverName: string;
|
|
589
469
|
};
|
|
@@ -703,20 +583,25 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
703
583
|
} & {
|
|
704
584
|
primaryKey: ["id"];
|
|
705
585
|
};
|
|
706
|
-
readonly
|
|
707
|
-
name: "
|
|
586
|
+
readonly thread: {
|
|
587
|
+
name: "thread";
|
|
708
588
|
columns: {
|
|
709
|
-
readonly
|
|
589
|
+
readonly accountId: {
|
|
710
590
|
type: "string";
|
|
711
591
|
optional: false;
|
|
712
592
|
customType: string;
|
|
713
593
|
} & {
|
|
714
594
|
serverName: string;
|
|
715
595
|
};
|
|
716
|
-
readonly
|
|
717
|
-
type: "
|
|
596
|
+
readonly flagged: {
|
|
597
|
+
type: "boolean";
|
|
718
598
|
optional: false;
|
|
719
|
-
customType:
|
|
599
|
+
customType: boolean;
|
|
600
|
+
};
|
|
601
|
+
readonly hasAttachments: {
|
|
602
|
+
type: "boolean";
|
|
603
|
+
optional: false;
|
|
604
|
+
customType: boolean;
|
|
720
605
|
} & {
|
|
721
606
|
serverName: string;
|
|
722
607
|
};
|
|
@@ -725,133 +610,256 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
725
610
|
optional: false;
|
|
726
611
|
customType: string;
|
|
727
612
|
};
|
|
728
|
-
readonly
|
|
613
|
+
readonly labelIdList: {
|
|
729
614
|
type: "string";
|
|
730
615
|
optional: false;
|
|
731
616
|
customType: string;
|
|
732
617
|
} & {
|
|
733
618
|
serverName: string;
|
|
734
619
|
};
|
|
735
|
-
readonly
|
|
620
|
+
readonly latestMessageDate: {
|
|
621
|
+
type: "number";
|
|
622
|
+
optional: false;
|
|
623
|
+
customType: number;
|
|
624
|
+
} & {
|
|
625
|
+
serverName: string;
|
|
626
|
+
};
|
|
627
|
+
readonly latestMessageId: {
|
|
736
628
|
type: "string";
|
|
737
629
|
optional: false;
|
|
738
|
-
customType:
|
|
630
|
+
customType: string;
|
|
739
631
|
} & {
|
|
740
632
|
serverName: string;
|
|
741
633
|
};
|
|
742
|
-
readonly
|
|
634
|
+
readonly messageCount: {
|
|
743
635
|
type: "number";
|
|
744
636
|
optional: false;
|
|
745
637
|
customType: number;
|
|
746
638
|
} & {
|
|
747
639
|
serverName: string;
|
|
748
640
|
};
|
|
749
|
-
|
|
750
|
-
primaryKey: readonly [string, ...string[]];
|
|
751
|
-
} & {
|
|
752
|
-
primaryKey: ["id"];
|
|
753
|
-
};
|
|
754
|
-
readonly thread: {
|
|
755
|
-
name: "thread";
|
|
756
|
-
columns: {
|
|
757
|
-
readonly accountId: {
|
|
641
|
+
readonly previewText: {
|
|
758
642
|
type: "string";
|
|
759
643
|
optional: false;
|
|
760
644
|
customType: string;
|
|
761
645
|
} & {
|
|
762
646
|
serverName: string;
|
|
763
647
|
};
|
|
764
|
-
readonly
|
|
648
|
+
readonly seen: {
|
|
765
649
|
type: "boolean";
|
|
766
650
|
optional: false;
|
|
767
651
|
customType: boolean;
|
|
768
652
|
};
|
|
769
|
-
readonly
|
|
770
|
-
type: "
|
|
653
|
+
readonly senderEmail: {
|
|
654
|
+
type: "string";
|
|
771
655
|
optional: false;
|
|
772
|
-
customType:
|
|
656
|
+
customType: string;
|
|
773
657
|
} & {
|
|
774
658
|
serverName: string;
|
|
775
659
|
};
|
|
776
|
-
readonly
|
|
660
|
+
readonly senderName: Omit<{
|
|
777
661
|
type: "string";
|
|
778
662
|
optional: false;
|
|
779
663
|
customType: string;
|
|
664
|
+
}, "optional"> & {
|
|
665
|
+
optional: true;
|
|
666
|
+
} & {
|
|
667
|
+
serverName: string;
|
|
780
668
|
};
|
|
781
|
-
readonly
|
|
669
|
+
readonly subject: Omit<{
|
|
670
|
+
type: "string";
|
|
671
|
+
optional: false;
|
|
672
|
+
customType: string;
|
|
673
|
+
}, "optional"> & {
|
|
674
|
+
optional: true;
|
|
675
|
+
};
|
|
676
|
+
readonly userId: {
|
|
782
677
|
type: "string";
|
|
783
678
|
optional: false;
|
|
784
679
|
customType: string;
|
|
785
680
|
} & {
|
|
786
681
|
serverName: string;
|
|
787
682
|
};
|
|
788
|
-
readonly
|
|
683
|
+
readonly words: {
|
|
684
|
+
type: "string";
|
|
685
|
+
optional: false;
|
|
686
|
+
customType: string;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
primaryKey: readonly [string, ...string[]];
|
|
690
|
+
} & {
|
|
691
|
+
primaryKey: ["id"];
|
|
692
|
+
};
|
|
693
|
+
readonly userPushNotificationToken: {
|
|
694
|
+
name: "userPushNotificationToken";
|
|
695
|
+
columns: {
|
|
696
|
+
readonly createdAt: {
|
|
789
697
|
type: "number";
|
|
790
698
|
optional: false;
|
|
791
699
|
customType: number;
|
|
792
700
|
} & {
|
|
793
701
|
serverName: string;
|
|
794
702
|
};
|
|
795
|
-
readonly
|
|
703
|
+
readonly id: {
|
|
704
|
+
type: "string";
|
|
705
|
+
optional: false;
|
|
706
|
+
customType: string;
|
|
707
|
+
};
|
|
708
|
+
readonly token: {
|
|
709
|
+
type: "string";
|
|
710
|
+
optional: false;
|
|
711
|
+
customType: string;
|
|
712
|
+
};
|
|
713
|
+
readonly userId: {
|
|
796
714
|
type: "string";
|
|
797
715
|
optional: false;
|
|
798
716
|
customType: string;
|
|
799
717
|
} & {
|
|
800
718
|
serverName: string;
|
|
801
719
|
};
|
|
802
|
-
|
|
803
|
-
|
|
720
|
+
};
|
|
721
|
+
primaryKey: readonly [string, ...string[]];
|
|
722
|
+
} & {
|
|
723
|
+
primaryKey: ["id"];
|
|
724
|
+
};
|
|
725
|
+
readonly accountAlias: {
|
|
726
|
+
name: "accountAlias";
|
|
727
|
+
columns: {
|
|
728
|
+
readonly accountId: {
|
|
729
|
+
type: "string";
|
|
804
730
|
optional: false;
|
|
805
|
-
customType:
|
|
731
|
+
customType: string;
|
|
806
732
|
} & {
|
|
807
733
|
serverName: string;
|
|
808
734
|
};
|
|
809
|
-
readonly
|
|
735
|
+
readonly emailAddress: {
|
|
810
736
|
type: "string";
|
|
811
737
|
optional: false;
|
|
812
738
|
customType: string;
|
|
813
739
|
} & {
|
|
814
740
|
serverName: string;
|
|
815
741
|
};
|
|
816
|
-
readonly
|
|
742
|
+
readonly id: {
|
|
743
|
+
type: "string";
|
|
744
|
+
optional: false;
|
|
745
|
+
customType: string;
|
|
746
|
+
};
|
|
747
|
+
readonly isPrimary: {
|
|
817
748
|
type: "boolean";
|
|
818
749
|
optional: false;
|
|
819
750
|
customType: boolean;
|
|
751
|
+
} & {
|
|
752
|
+
serverName: string;
|
|
820
753
|
};
|
|
821
|
-
readonly
|
|
754
|
+
readonly name: Omit<{
|
|
755
|
+
type: "string";
|
|
756
|
+
optional: false;
|
|
757
|
+
customType: string;
|
|
758
|
+
}, "optional"> & {
|
|
759
|
+
optional: true;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
primaryKey: readonly [string, ...string[]];
|
|
763
|
+
} & {
|
|
764
|
+
primaryKey: ["id"];
|
|
765
|
+
};
|
|
766
|
+
readonly accountLabel: {
|
|
767
|
+
name: "accountLabel";
|
|
768
|
+
columns: {
|
|
769
|
+
readonly accountId: {
|
|
822
770
|
type: "string";
|
|
823
771
|
optional: false;
|
|
824
772
|
customType: string;
|
|
825
773
|
} & {
|
|
826
774
|
serverName: string;
|
|
827
775
|
};
|
|
828
|
-
readonly
|
|
776
|
+
readonly id: {
|
|
777
|
+
type: "string";
|
|
778
|
+
optional: false;
|
|
779
|
+
customType: string;
|
|
780
|
+
};
|
|
781
|
+
readonly name: Omit<{
|
|
829
782
|
type: "string";
|
|
830
783
|
optional: false;
|
|
831
784
|
customType: string;
|
|
832
785
|
}, "optional"> & {
|
|
833
786
|
optional: true;
|
|
834
|
-
} & {
|
|
835
|
-
serverName: string;
|
|
836
787
|
};
|
|
837
|
-
readonly
|
|
788
|
+
readonly path: {
|
|
838
789
|
type: "string";
|
|
839
790
|
optional: false;
|
|
840
791
|
customType: string;
|
|
792
|
+
};
|
|
793
|
+
readonly specialUse: Omit<{
|
|
794
|
+
type: "string";
|
|
795
|
+
optional: false;
|
|
796
|
+
customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
|
|
841
797
|
}, "optional"> & {
|
|
842
798
|
optional: true;
|
|
799
|
+
} & {
|
|
800
|
+
serverName: string;
|
|
843
801
|
};
|
|
844
|
-
readonly
|
|
802
|
+
readonly uidValidity: {
|
|
803
|
+
type: "number";
|
|
804
|
+
optional: false;
|
|
805
|
+
customType: number;
|
|
806
|
+
} & {
|
|
807
|
+
serverName: string;
|
|
808
|
+
};
|
|
809
|
+
readonly unreadCount: {
|
|
810
|
+
type: "number";
|
|
811
|
+
optional: false;
|
|
812
|
+
customType: number;
|
|
813
|
+
} & {
|
|
814
|
+
serverName: string;
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
primaryKey: readonly [string, ...string[]];
|
|
818
|
+
} & {
|
|
819
|
+
primaryKey: ["id"];
|
|
820
|
+
};
|
|
821
|
+
readonly draftAttachment: {
|
|
822
|
+
name: "draftAttachment";
|
|
823
|
+
columns: {
|
|
824
|
+
readonly draftId: {
|
|
845
825
|
type: "string";
|
|
846
826
|
optional: false;
|
|
847
827
|
customType: string;
|
|
848
828
|
} & {
|
|
849
829
|
serverName: string;
|
|
850
830
|
};
|
|
851
|
-
readonly
|
|
831
|
+
readonly fileName: {
|
|
832
|
+
type: "string";
|
|
833
|
+
optional: false;
|
|
834
|
+
customType: string;
|
|
835
|
+
} & {
|
|
836
|
+
serverName: string;
|
|
837
|
+
};
|
|
838
|
+
readonly id: {
|
|
839
|
+
type: "string";
|
|
840
|
+
optional: false;
|
|
841
|
+
customType: string;
|
|
842
|
+
};
|
|
843
|
+
readonly mimeType: {
|
|
852
844
|
type: "string";
|
|
853
845
|
optional: false;
|
|
854
846
|
customType: string;
|
|
847
|
+
} & {
|
|
848
|
+
serverName: string;
|
|
849
|
+
};
|
|
850
|
+
readonly status: {
|
|
851
|
+
type: "string";
|
|
852
|
+
optional: false;
|
|
853
|
+
customType: "PENDING" | "COMPLETE" | "FAILED";
|
|
854
|
+
} & {
|
|
855
|
+
serverName: string;
|
|
856
|
+
};
|
|
857
|
+
readonly totalSize: {
|
|
858
|
+
type: "number";
|
|
859
|
+
optional: false;
|
|
860
|
+
customType: number;
|
|
861
|
+
} & {
|
|
862
|
+
serverName: string;
|
|
855
863
|
};
|
|
856
864
|
};
|
|
857
865
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -1099,259 +1107,259 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
|
|
|
1099
1107
|
relationships: {
|
|
1100
1108
|
readonly user: {
|
|
1101
1109
|
accounts: [{
|
|
1102
|
-
readonly sourceField: readonly ("id" | "
|
|
1103
|
-
readonly destField: readonly ("id" | "
|
|
1110
|
+
readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1111
|
+
readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1104
1112
|
readonly destSchema: "account";
|
|
1105
1113
|
readonly cardinality: "many";
|
|
1106
1114
|
}];
|
|
1107
1115
|
contacts: [{
|
|
1108
|
-
readonly sourceField: readonly ("id" | "
|
|
1109
|
-
readonly destField: readonly ("
|
|
1116
|
+
readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1117
|
+
readonly destField: readonly ("emailAddress" | "id" | "name" | "userId")[];
|
|
1110
1118
|
readonly destSchema: "contact";
|
|
1111
1119
|
readonly cardinality: "many";
|
|
1112
1120
|
}];
|
|
1113
1121
|
drafts: [{
|
|
1114
|
-
readonly sourceField: readonly ("id" | "
|
|
1115
|
-
readonly destField: readonly ("type" | "status" | "
|
|
1122
|
+
readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1123
|
+
readonly destField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
|
|
1116
1124
|
readonly destSchema: "draft";
|
|
1117
1125
|
readonly cardinality: "many";
|
|
1118
1126
|
}];
|
|
1119
1127
|
pushNotificationTokens: [{
|
|
1120
|
-
readonly sourceField: readonly ("id" | "
|
|
1121
|
-
readonly destField: readonly ("id" | "
|
|
1128
|
+
readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1129
|
+
readonly destField: readonly ("id" | "userId" | "createdAt" | "token")[];
|
|
1122
1130
|
readonly destSchema: "userPushNotificationToken";
|
|
1123
1131
|
readonly cardinality: "many";
|
|
1124
1132
|
}];
|
|
1125
1133
|
threads: [{
|
|
1126
|
-
readonly sourceField: readonly ("id" | "
|
|
1127
|
-
readonly destField: readonly ("
|
|
1134
|
+
readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1135
|
+
readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1128
1136
|
readonly destSchema: "thread";
|
|
1129
1137
|
readonly cardinality: "many";
|
|
1130
1138
|
}];
|
|
1131
1139
|
};
|
|
1132
|
-
readonly userPushNotificationToken: {
|
|
1133
|
-
user: [{
|
|
1134
|
-
readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
|
|
1135
|
-
readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
|
|
1136
|
-
readonly destSchema: "user";
|
|
1137
|
-
readonly cardinality: "one";
|
|
1138
|
-
}];
|
|
1139
|
-
};
|
|
1140
|
-
readonly contact: {
|
|
1141
|
-
user: [{
|
|
1142
|
-
readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
|
|
1143
|
-
readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
|
|
1144
|
-
readonly destSchema: "user";
|
|
1145
|
-
readonly cardinality: "one";
|
|
1146
|
-
}];
|
|
1147
|
-
};
|
|
1148
1140
|
readonly account: {
|
|
1149
1141
|
aliases: [{
|
|
1150
|
-
readonly sourceField: readonly ("id" | "
|
|
1151
|
-
readonly destField: readonly ("
|
|
1142
|
+
readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1143
|
+
readonly destField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
|
|
1152
1144
|
readonly destSchema: "accountAlias";
|
|
1153
1145
|
readonly cardinality: "many";
|
|
1154
1146
|
}];
|
|
1155
1147
|
drafts: [{
|
|
1156
|
-
readonly sourceField: readonly ("id" | "
|
|
1157
|
-
readonly destField: readonly ("type" | "status" | "
|
|
1148
|
+
readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1149
|
+
readonly destField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
|
|
1158
1150
|
readonly destSchema: "draft";
|
|
1159
1151
|
readonly cardinality: "many";
|
|
1160
1152
|
}];
|
|
1161
1153
|
labels: [{
|
|
1162
|
-
readonly sourceField: readonly ("id" | "
|
|
1163
|
-
readonly destField: readonly ("
|
|
1154
|
+
readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1155
|
+
readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1164
1156
|
readonly destSchema: "accountLabel";
|
|
1165
1157
|
readonly cardinality: "many";
|
|
1166
1158
|
}];
|
|
1167
1159
|
primaryAlias: [{
|
|
1168
|
-
readonly sourceField: readonly ("id" | "
|
|
1169
|
-
readonly destField: readonly ("
|
|
1160
|
+
readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1161
|
+
readonly destField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
|
|
1170
1162
|
readonly destSchema: "accountAlias";
|
|
1171
1163
|
readonly cardinality: "one";
|
|
1172
1164
|
}];
|
|
1173
1165
|
threads: [{
|
|
1174
|
-
readonly sourceField: readonly ("id" | "
|
|
1175
|
-
readonly destField: readonly ("
|
|
1166
|
+
readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1167
|
+
readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1176
1168
|
readonly destSchema: "thread";
|
|
1177
1169
|
readonly cardinality: "many";
|
|
1178
1170
|
}];
|
|
1179
1171
|
user: [{
|
|
1180
|
-
readonly sourceField: readonly ("id" | "
|
|
1181
|
-
readonly destField: readonly ("id" | "
|
|
1172
|
+
readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1173
|
+
readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1182
1174
|
readonly destSchema: "user";
|
|
1183
1175
|
readonly cardinality: "one";
|
|
1184
1176
|
}];
|
|
1185
1177
|
};
|
|
1186
|
-
readonly
|
|
1187
|
-
|
|
1188
|
-
readonly sourceField: readonly ("
|
|
1189
|
-
readonly destField: readonly ("id" | "
|
|
1190
|
-
readonly destSchema: "
|
|
1191
|
-
readonly cardinality: "one";
|
|
1192
|
-
}];
|
|
1193
|
-
};
|
|
1194
|
-
readonly accountLabel: {
|
|
1195
|
-
account: [{
|
|
1196
|
-
readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1197
|
-
readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
1198
|
-
readonly destSchema: "account";
|
|
1178
|
+
readonly contact: {
|
|
1179
|
+
user: [{
|
|
1180
|
+
readonly sourceField: readonly ("emailAddress" | "id" | "name" | "userId")[];
|
|
1181
|
+
readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1182
|
+
readonly destSchema: "user";
|
|
1199
1183
|
readonly cardinality: "one";
|
|
1200
1184
|
}];
|
|
1201
|
-
threads: [{
|
|
1202
|
-
readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1203
|
-
readonly destField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
1204
|
-
readonly destSchema: "threadLabel";
|
|
1205
|
-
readonly cardinality: "many";
|
|
1206
|
-
}, {
|
|
1207
|
-
readonly sourceField: readonly ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
1208
|
-
readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1209
|
-
readonly destSchema: "thread";
|
|
1210
|
-
readonly cardinality: "many";
|
|
1211
|
-
}];
|
|
1212
1185
|
};
|
|
1213
1186
|
readonly draft: {
|
|
1214
1187
|
account: [{
|
|
1215
|
-
readonly sourceField: readonly ("type" | "status" | "
|
|
1216
|
-
readonly destField: readonly ("id" | "
|
|
1188
|
+
readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
|
|
1189
|
+
readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1217
1190
|
readonly destSchema: "account";
|
|
1218
1191
|
readonly cardinality: "one";
|
|
1219
1192
|
}];
|
|
1220
1193
|
attachments: [{
|
|
1221
|
-
readonly sourceField: readonly ("type" | "status" | "
|
|
1194
|
+
readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
|
|
1222
1195
|
readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
1223
1196
|
readonly destSchema: "draftAttachment";
|
|
1224
1197
|
readonly cardinality: "many";
|
|
1225
1198
|
}];
|
|
1226
1199
|
user: [{
|
|
1227
|
-
readonly sourceField: readonly ("type" | "status" | "
|
|
1228
|
-
readonly destField: readonly ("id" | "
|
|
1200
|
+
readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
|
|
1201
|
+
readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1229
1202
|
readonly destSchema: "user";
|
|
1230
1203
|
readonly cardinality: "one";
|
|
1231
1204
|
}];
|
|
1232
1205
|
};
|
|
1233
|
-
readonly draftAttachment: {
|
|
1234
|
-
draft: [{
|
|
1235
|
-
readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
1236
|
-
readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
1237
|
-
readonly destSchema: "draft";
|
|
1238
|
-
readonly cardinality: "one";
|
|
1239
|
-
}];
|
|
1240
|
-
};
|
|
1241
1206
|
readonly thread: {
|
|
1242
1207
|
account: [{
|
|
1243
|
-
readonly sourceField: readonly ("
|
|
1244
|
-
readonly destField: readonly ("id" | "
|
|
1208
|
+
readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1209
|
+
readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1245
1210
|
readonly destSchema: "account";
|
|
1246
1211
|
readonly cardinality: "one";
|
|
1247
1212
|
}];
|
|
1248
1213
|
labels: [{
|
|
1249
|
-
readonly sourceField: readonly ("
|
|
1250
|
-
readonly destField: readonly ("accountId" | "uidValidity" | "
|
|
1214
|
+
readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1215
|
+
readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1251
1216
|
readonly destSchema: "threadLabel";
|
|
1252
1217
|
readonly cardinality: "many";
|
|
1253
1218
|
}, {
|
|
1254
|
-
readonly sourceField: readonly ("accountId" | "uidValidity" | "
|
|
1255
|
-
readonly destField: readonly ("
|
|
1219
|
+
readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1220
|
+
readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1256
1221
|
readonly destSchema: "accountLabel";
|
|
1257
1222
|
readonly cardinality: "many";
|
|
1258
1223
|
}];
|
|
1259
1224
|
messages: [{
|
|
1260
|
-
readonly sourceField: readonly ("
|
|
1261
|
-
readonly destField: readonly ("
|
|
1225
|
+
readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1226
|
+
readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1262
1227
|
readonly destSchema: "threadMessage";
|
|
1263
1228
|
readonly cardinality: "many";
|
|
1264
1229
|
}];
|
|
1265
1230
|
threadByLabel: [{
|
|
1266
|
-
readonly sourceField: readonly ("
|
|
1267
|
-
readonly destField: readonly ("
|
|
1231
|
+
readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1232
|
+
readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
|
|
1268
1233
|
readonly destSchema: "threadByLabel";
|
|
1269
1234
|
readonly cardinality: "many";
|
|
1270
1235
|
}];
|
|
1271
1236
|
user: [{
|
|
1272
|
-
readonly sourceField: readonly ("
|
|
1273
|
-
readonly destField: readonly ("id" | "
|
|
1237
|
+
readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1238
|
+
readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1274
1239
|
readonly destSchema: "user";
|
|
1275
1240
|
readonly cardinality: "one";
|
|
1276
1241
|
}];
|
|
1277
1242
|
};
|
|
1243
|
+
readonly userPushNotificationToken: {
|
|
1244
|
+
user: [{
|
|
1245
|
+
readonly sourceField: readonly ("id" | "userId" | "createdAt" | "token")[];
|
|
1246
|
+
readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
|
|
1247
|
+
readonly destSchema: "user";
|
|
1248
|
+
readonly cardinality: "one";
|
|
1249
|
+
}];
|
|
1250
|
+
};
|
|
1251
|
+
readonly accountAlias: {
|
|
1252
|
+
account: [{
|
|
1253
|
+
readonly sourceField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
|
|
1254
|
+
readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1255
|
+
readonly destSchema: "account";
|
|
1256
|
+
readonly cardinality: "one";
|
|
1257
|
+
}];
|
|
1258
|
+
};
|
|
1259
|
+
readonly accountLabel: {
|
|
1260
|
+
account: [{
|
|
1261
|
+
readonly sourceField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1262
|
+
readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
|
|
1263
|
+
readonly destSchema: "account";
|
|
1264
|
+
readonly cardinality: "one";
|
|
1265
|
+
}];
|
|
1266
|
+
threads: [{
|
|
1267
|
+
readonly sourceField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1268
|
+
readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1269
|
+
readonly destSchema: "threadLabel";
|
|
1270
|
+
readonly cardinality: "many";
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1273
|
+
readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1274
|
+
readonly destSchema: "thread";
|
|
1275
|
+
readonly cardinality: "many";
|
|
1276
|
+
}];
|
|
1277
|
+
};
|
|
1278
|
+
readonly draftAttachment: {
|
|
1279
|
+
draft: [{
|
|
1280
|
+
readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
1281
|
+
readonly destField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
|
|
1282
|
+
readonly destSchema: "draft";
|
|
1283
|
+
readonly cardinality: "one";
|
|
1284
|
+
}];
|
|
1285
|
+
};
|
|
1278
1286
|
readonly threadLabel: {
|
|
1279
1287
|
label: [{
|
|
1280
|
-
readonly sourceField: readonly ("accountId" | "uidValidity" | "
|
|
1281
|
-
readonly destField: readonly ("
|
|
1288
|
+
readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1289
|
+
readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1282
1290
|
readonly destSchema: "accountLabel";
|
|
1283
1291
|
readonly cardinality: "one";
|
|
1284
1292
|
}];
|
|
1285
1293
|
message: [{
|
|
1286
|
-
readonly sourceField: readonly ("accountId" | "uidValidity" | "
|
|
1287
|
-
readonly destField: readonly ("
|
|
1294
|
+
readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1295
|
+
readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1288
1296
|
readonly destSchema: "threadMessage";
|
|
1289
1297
|
readonly cardinality: "one";
|
|
1290
1298
|
}];
|
|
1291
1299
|
thread: [{
|
|
1292
|
-
readonly sourceField: readonly ("accountId" | "uidValidity" | "
|
|
1293
|
-
readonly destField: readonly ("
|
|
1300
|
+
readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1301
|
+
readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1294
1302
|
readonly destSchema: "thread";
|
|
1295
1303
|
readonly cardinality: "one";
|
|
1296
1304
|
}];
|
|
1297
1305
|
};
|
|
1298
1306
|
readonly threadByLabel: {
|
|
1299
1307
|
label: [{
|
|
1300
|
-
readonly sourceField: readonly ("
|
|
1301
|
-
readonly destField: readonly ("
|
|
1308
|
+
readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
|
|
1309
|
+
readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1302
1310
|
readonly destSchema: "accountLabel";
|
|
1303
1311
|
readonly cardinality: "one";
|
|
1304
1312
|
}];
|
|
1305
1313
|
thread: [{
|
|
1306
|
-
readonly sourceField: readonly ("
|
|
1307
|
-
readonly destField: readonly ("
|
|
1314
|
+
readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
|
|
1315
|
+
readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1308
1316
|
readonly destSchema: "thread";
|
|
1309
1317
|
readonly cardinality: "one";
|
|
1310
1318
|
}];
|
|
1311
1319
|
};
|
|
1312
1320
|
readonly threadMessage: {
|
|
1313
1321
|
attachments: [{
|
|
1314
|
-
readonly sourceField: readonly ("
|
|
1315
|
-
readonly destField: readonly ("id" | "fileName" | "mimeType" | "
|
|
1322
|
+
readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1323
|
+
readonly destField: readonly ("id" | "fileName" | "mimeType" | "size" | "threadMessageId")[];
|
|
1316
1324
|
readonly destSchema: "threadMessageAttachment";
|
|
1317
1325
|
readonly cardinality: "many";
|
|
1318
1326
|
}];
|
|
1319
1327
|
labels: [{
|
|
1320
|
-
readonly sourceField: readonly ("
|
|
1321
|
-
readonly destField: readonly ("accountId" | "uidValidity" | "
|
|
1328
|
+
readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1329
|
+
readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1322
1330
|
readonly destSchema: "threadLabel";
|
|
1323
1331
|
readonly cardinality: "many";
|
|
1324
1332
|
}, {
|
|
1325
|
-
readonly sourceField: readonly ("accountId" | "uidValidity" | "
|
|
1326
|
-
readonly destField: readonly ("
|
|
1333
|
+
readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
|
|
1334
|
+
readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
|
|
1327
1335
|
readonly destSchema: "accountLabel";
|
|
1328
1336
|
readonly cardinality: "many";
|
|
1329
1337
|
}];
|
|
1330
1338
|
recipients: [{
|
|
1331
|
-
readonly sourceField: readonly ("
|
|
1332
|
-
readonly destField: readonly ("type" | "
|
|
1339
|
+
readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1340
|
+
readonly destField: readonly ("type" | "emailAddress" | "id" | "name" | "threadMessageId")[];
|
|
1333
1341
|
readonly destSchema: "threadMessageRecipient";
|
|
1334
1342
|
readonly cardinality: "many";
|
|
1335
1343
|
}];
|
|
1336
1344
|
thread: [{
|
|
1337
|
-
readonly sourceField: readonly ("
|
|
1338
|
-
readonly destField: readonly ("
|
|
1345
|
+
readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1346
|
+
readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
|
|
1339
1347
|
readonly destSchema: "thread";
|
|
1340
1348
|
readonly cardinality: "one";
|
|
1341
1349
|
}];
|
|
1342
1350
|
};
|
|
1343
1351
|
readonly threadMessageRecipient: {
|
|
1344
1352
|
message: [{
|
|
1345
|
-
readonly sourceField: readonly ("type" | "
|
|
1346
|
-
readonly destField: readonly ("
|
|
1353
|
+
readonly sourceField: readonly ("type" | "emailAddress" | "id" | "name" | "threadMessageId")[];
|
|
1354
|
+
readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1347
1355
|
readonly destSchema: "threadMessage";
|
|
1348
1356
|
readonly cardinality: "one";
|
|
1349
1357
|
}];
|
|
1350
1358
|
};
|
|
1351
1359
|
readonly threadMessageAttachment: {
|
|
1352
1360
|
message: [{
|
|
1353
|
-
readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "
|
|
1354
|
-
readonly destField: readonly ("
|
|
1361
|
+
readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "size" | "threadMessageId")[];
|
|
1362
|
+
readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
|
|
1355
1363
|
readonly destSchema: "threadMessage";
|
|
1356
1364
|
readonly cardinality: "one";
|
|
1357
1365
|
}];
|