@marcoappio/marco-config 2.0.540 → 2.0.542

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.
Files changed (77) hide show
  1. package/dist/constants/index.d.ts +0 -4
  2. package/dist/constants/index.d.ts.map +1 -1
  3. package/dist/constants/index.js +0 -2
  4. package/dist/index.d.ts +1 -2
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -2
  7. package/dist/marcoPublicConfig.d.ts +0 -3
  8. package/dist/marcoPublicConfig.d.ts.map +1 -1
  9. package/dist/marcoPublicConfig.js +0 -9
  10. package/dist/schemas/index.d.ts +2 -0
  11. package/dist/schemas/index.d.ts.map +1 -1
  12. package/dist/schemas/index.js +2 -0
  13. package/dist/schemas/mutators/index.d.ts +2 -0
  14. package/dist/schemas/mutators/index.d.ts.map +1 -0
  15. package/dist/schemas/mutators/index.js +1 -0
  16. package/dist/{zero → schemas/mutators}/mutatorSchemas.d.ts +4 -4
  17. package/dist/{zero → schemas/mutators}/mutatorSchemas.d.ts.map +1 -1
  18. package/dist/{zero → schemas/mutators}/mutatorSchemas.js +4 -4
  19. package/dist/sdk/endpoints/private/mutations/account/createAccount.js +1 -1
  20. package/dist/sdk/endpoints/private/mutations/account/createAlias.js +1 -1
  21. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +1 -1
  22. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +1 -1
  23. package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +1 -1
  24. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +1 -1
  25. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +1 -1
  26. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +1 -1
  27. package/dist/sdk/endpoints/private/mutations/account/setSettings.js +1 -1
  28. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +1 -1
  29. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +1 -1
  30. package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +1 -1
  31. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +1 -1
  32. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +1 -1
  33. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +1 -1
  34. package/dist/sdk/endpoints/private/mutations/draft/setContent.js +1 -1
  35. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +2 -2
  36. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +1 -1
  37. package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +1 -1
  38. package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +1 -1
  39. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +1 -1
  40. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +1 -1
  41. package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +1 -1
  42. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +1 -1
  43. package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +1 -1
  44. package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +1 -1
  45. package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +1 -1
  46. package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +1 -1
  47. package/dist/sdk/endpoints/private/mutations/user/createView.js +1 -1
  48. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +1 -1
  49. package/dist/sdk/endpoints/private/mutations/user/deleteView.js +1 -1
  50. package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +1 -1
  51. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +1 -1
  52. package/dist/sdk/endpoints/private/mutations/user/updateView.js +1 -1
  53. package/dist/types/index.d.ts +0 -1
  54. package/dist/types/index.d.ts.map +1 -1
  55. package/dist/types/index.js +0 -1
  56. package/package.json +1 -2
  57. package/dist/constants/zero.d.ts +0 -5
  58. package/dist/constants/zero.d.ts.map +0 -1
  59. package/dist/constants/zero.js +0 -4
  60. package/dist/types/Zero.d.ts +0 -17
  61. package/dist/types/Zero.d.ts.map +0 -1
  62. package/dist/types/Zero.js +0 -5
  63. package/dist/zero/index.d.ts +0 -5072
  64. package/dist/zero/index.d.ts.map +0 -1
  65. package/dist/zero/index.js +0 -12
  66. package/dist/zero/mutators.d.ts +0 -1523
  67. package/dist/zero/mutators.d.ts.map +0 -1
  68. package/dist/zero/mutators.js +0 -560
  69. package/dist/zero/mutators.test.d.ts +0 -2
  70. package/dist/zero/mutators.test.d.ts.map +0 -1
  71. package/dist/zero/mutators.test.js +0 -1158
  72. package/dist/zero/queries.d.ts +0 -1372
  73. package/dist/zero/queries.d.ts.map +0 -1
  74. package/dist/zero/queries.js +0 -173
  75. package/dist/zero/schema.d.ts +0 -1821
  76. package/dist/zero/schema.d.ts.map +0 -1
  77. package/dist/zero/schema.js +0 -434
@@ -1,1372 +0,0 @@
1
- type Context = {
2
- userId: string;
3
- };
4
- export declare const queries: import("@rocicorp/zero").QueryRegistry<{
5
- readonly getContacts: import("@rocicorp/zero").QueryDefinition<"contact", {
6
- limit?: number | undefined;
7
- search?: string | undefined;
8
- where?: {
9
- emailAddress?: string | undefined;
10
- ids?: string[] | undefined;
11
- name?: string | undefined;
12
- } | undefined;
13
- }, {
14
- limit: number;
15
- search?: string | undefined;
16
- where?: {
17
- emailAddress?: string | undefined;
18
- ids?: string[] | undefined;
19
- name?: string | undefined;
20
- } | undefined;
21
- }, {
22
- readonly emailAddress: string;
23
- readonly id: string;
24
- readonly name: string | null;
25
- readonly userId: string;
26
- }, Context>;
27
- readonly getDrafts: import("@rocicorp/zero").QueryDefinition<"draft", {
28
- accountId?: string | undefined;
29
- limit?: number | undefined;
30
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
31
- }, {
32
- accountId?: string | undefined;
33
- limit: number;
34
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
35
- }, {
36
- readonly accountId: string;
37
- readonly body: {
38
- content: string;
39
- to: string[];
40
- cc: string[];
41
- bcc: string[];
42
- };
43
- readonly error: string | null;
44
- readonly fromAliasId: string | null;
45
- readonly fromEmail: string;
46
- readonly fromName: string | null;
47
- readonly id: string;
48
- readonly referencedMessageId: string | null;
49
- readonly scheduledFor: number | null;
50
- readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
51
- readonly subject: string | null;
52
- readonly type: "NEW" | "REPLY" | "FORWARD";
53
- readonly updatedAt: number;
54
- readonly userId: string;
55
- } & {
56
- readonly attachments: readonly {
57
- readonly draftId: string;
58
- readonly fileName: string;
59
- readonly id: string;
60
- readonly mimeType: string;
61
- readonly status: "PENDING" | "COMPLETE" | "FAILED";
62
- readonly totalSize: number;
63
- }[];
64
- }, Context>;
65
- readonly getThread: import("@rocicorp/zero").QueryDefinition<"thread", {
66
- id: string;
67
- }, {
68
- id: string;
69
- }, ({
70
- readonly accountId: string;
71
- readonly flagged: boolean;
72
- readonly hasAttachments: boolean;
73
- readonly id: string;
74
- readonly labelIdList: string;
75
- readonly latestMessageDate: number;
76
- readonly latestMessageId: string;
77
- readonly messageCount: number;
78
- readonly previewText: string;
79
- readonly seen: boolean;
80
- readonly senderEmail: string;
81
- readonly senderName: string | null;
82
- readonly subject: string | null;
83
- readonly userId: string;
84
- readonly words: string;
85
- } & {
86
- readonly messages: readonly ({
87
- readonly accountId: string;
88
- readonly envelopeDate: number;
89
- readonly envelopeSubject: string | null;
90
- readonly id: string;
91
- readonly previewText: string;
92
- readonly senderEmail: string;
93
- readonly senderName: string | null;
94
- readonly threadId: string;
95
- readonly unsubscribeUrl: string | null;
96
- } & {
97
- readonly recipients: readonly {
98
- readonly emailAddress: string;
99
- readonly id: string;
100
- readonly name: string | null;
101
- readonly threadMessageId: string;
102
- readonly type: "bcc" | "cc" | "to" | "replyTo";
103
- }[];
104
- } & {
105
- readonly attachments: readonly {
106
- readonly fileName: string;
107
- readonly id: string;
108
- readonly mimeType: string;
109
- readonly size: number;
110
- readonly threadMessageId: string;
111
- }[];
112
- })[];
113
- }) | undefined, Context>;
114
- readonly getThreadByMessageId: import("@rocicorp/zero").QueryDefinition<"threadMessage", {
115
- messageId: string;
116
- }, {
117
- messageId: string;
118
- }, ({
119
- readonly accountId: string;
120
- readonly envelopeDate: number;
121
- readonly envelopeSubject: string | null;
122
- readonly id: string;
123
- readonly previewText: string;
124
- readonly senderEmail: string;
125
- readonly senderName: string | null;
126
- readonly threadId: string;
127
- readonly unsubscribeUrl: string | null;
128
- } & {
129
- readonly thread: {
130
- readonly accountId: string;
131
- readonly flagged: boolean;
132
- readonly hasAttachments: boolean;
133
- readonly id: string;
134
- readonly labelIdList: string;
135
- readonly latestMessageDate: number;
136
- readonly latestMessageId: string;
137
- readonly messageCount: number;
138
- readonly previewText: string;
139
- readonly seen: boolean;
140
- readonly senderEmail: string;
141
- readonly senderName: string | null;
142
- readonly subject: string | null;
143
- readonly userId: string;
144
- readonly words: string;
145
- } | undefined;
146
- }) | undefined, Context>;
147
- readonly getThreadList: import("@rocicorp/zero").QueryDefinition<"threadByLabel", {
148
- labelIds: string[];
149
- limit?: number | undefined;
150
- search?: string | undefined;
151
- where?: {
152
- flagged?: boolean | undefined;
153
- id?: string | undefined;
154
- messageIds?: string[] | undefined;
155
- participants?: string[] | undefined;
156
- seen?: boolean | undefined;
157
- } | undefined;
158
- }, {
159
- labelIds: string[];
160
- limit: number;
161
- search?: string | undefined;
162
- where?: {
163
- flagged?: boolean | undefined;
164
- id?: string | undefined;
165
- messageIds?: string[] | undefined;
166
- participants?: string[] | undefined;
167
- seen?: boolean | undefined;
168
- } | undefined;
169
- }, {
170
- readonly labelId: string;
171
- readonly latestMessageDate: number;
172
- readonly threadId: string;
173
- } & {
174
- readonly thread: {
175
- readonly accountId: string;
176
- readonly flagged: boolean;
177
- readonly hasAttachments: boolean;
178
- readonly id: string;
179
- readonly labelIdList: string;
180
- readonly latestMessageDate: number;
181
- readonly latestMessageId: string;
182
- readonly messageCount: number;
183
- readonly previewText: string;
184
- readonly seen: boolean;
185
- readonly senderEmail: string;
186
- readonly senderName: string | null;
187
- readonly subject: string | null;
188
- readonly userId: string;
189
- readonly words: string;
190
- } | undefined;
191
- }, Context>;
192
- readonly getThreads: import("@rocicorp/zero").QueryDefinition<"threadByLabel", {
193
- labelIds: string[];
194
- limit?: number | undefined;
195
- search?: string | undefined;
196
- where?: {
197
- flagged?: boolean | undefined;
198
- id?: string | undefined;
199
- messageIds?: string[] | undefined;
200
- participants?: string[] | undefined;
201
- seen?: boolean | undefined;
202
- } | undefined;
203
- }, {
204
- labelIds: string[];
205
- limit: number;
206
- search?: string | undefined;
207
- where?: {
208
- flagged?: boolean | undefined;
209
- id?: string | undefined;
210
- messageIds?: string[] | undefined;
211
- participants?: string[] | undefined;
212
- seen?: boolean | undefined;
213
- } | undefined;
214
- }, {
215
- readonly labelId: string;
216
- readonly latestMessageDate: number;
217
- readonly threadId: string;
218
- } & {
219
- readonly thread: ({
220
- readonly accountId: string;
221
- readonly flagged: boolean;
222
- readonly hasAttachments: boolean;
223
- readonly id: string;
224
- readonly labelIdList: string;
225
- readonly latestMessageDate: number;
226
- readonly latestMessageId: string;
227
- readonly messageCount: number;
228
- readonly previewText: string;
229
- readonly seen: boolean;
230
- readonly senderEmail: string;
231
- readonly senderName: string | null;
232
- readonly subject: string | null;
233
- readonly userId: string;
234
- readonly words: string;
235
- } & {
236
- readonly messages: readonly ({
237
- readonly accountId: string;
238
- readonly envelopeDate: number;
239
- readonly envelopeSubject: string | null;
240
- readonly id: string;
241
- readonly previewText: string;
242
- readonly senderEmail: string;
243
- readonly senderName: string | null;
244
- readonly threadId: string;
245
- readonly unsubscribeUrl: string | null;
246
- } & {
247
- readonly recipients: readonly {
248
- readonly emailAddress: string;
249
- readonly id: string;
250
- readonly name: string | null;
251
- readonly threadMessageId: string;
252
- readonly type: "bcc" | "cc" | "to" | "replyTo";
253
- }[];
254
- } & {
255
- readonly attachments: readonly {
256
- readonly fileName: string;
257
- readonly id: string;
258
- readonly mimeType: string;
259
- readonly size: number;
260
- readonly threadMessageId: string;
261
- }[];
262
- })[];
263
- }) | undefined;
264
- }, Context>;
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
- }, {
274
- readonly id: string;
275
- readonly name: string | null;
276
- readonly profilePicture: string | null;
277
- readonly undoSendEnabled: boolean;
278
- readonly views: {
279
- id: string;
280
- name: string;
281
- aliasEmails: string[];
282
- icon: import("../types").CustomViewIcon;
283
- }[];
284
- } & {
285
- readonly accounts: readonly ({
286
- readonly color: string;
287
- readonly displayName: string | null;
288
- readonly id: string;
289
- readonly imapConnectionStatus: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
290
- readonly mailProcessedCount: number;
291
- readonly mailTotalCount: number;
292
- readonly primaryAliasId: string | null;
293
- readonly userId: string;
294
- } & {
295
- readonly aliases: readonly {
296
- readonly accountId: string;
297
- readonly emailAddress: string;
298
- readonly id: string;
299
- readonly isPrimary: boolean;
300
- readonly name: string | null;
301
- }[];
302
- } & {
303
- readonly primaryAlias: {
304
- readonly accountId: string;
305
- readonly emailAddress: string;
306
- readonly id: string;
307
- readonly isPrimary: boolean;
308
- readonly name: string | null;
309
- } | undefined;
310
- } & {
311
- readonly labels: readonly {
312
- readonly accountId: string;
313
- readonly id: string;
314
- readonly name: string | null;
315
- readonly path: string;
316
- readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
317
- readonly uidValidity: number;
318
- readonly unreadCount: number;
319
- }[];
320
- })[];
321
- } & {
322
- readonly pushNotificationTokens: readonly {
323
- readonly createdAt: number;
324
- readonly id: string;
325
- readonly token: string;
326
- readonly userId: string;
327
- }[];
328
- }, Context>;
329
- }, {
330
- tables: {
331
- readonly user: {
332
- name: "user";
333
- columns: {
334
- readonly id: {
335
- type: "string";
336
- optional: false;
337
- customType: string;
338
- };
339
- readonly name: Omit<{
340
- type: "string";
341
- optional: false;
342
- customType: string;
343
- }, "optional"> & {
344
- optional: true;
345
- };
346
- readonly profilePicture: Omit<{
347
- type: "string";
348
- optional: false;
349
- customType: string;
350
- }, "optional"> & {
351
- optional: true;
352
- } & {
353
- serverName: string;
354
- };
355
- readonly undoSendEnabled: {
356
- type: "boolean";
357
- optional: false;
358
- customType: boolean;
359
- } & {
360
- serverName: string;
361
- };
362
- readonly views: {
363
- type: "json";
364
- optional: false;
365
- customType: {
366
- id: string;
367
- name: string;
368
- aliasEmails: string[];
369
- icon: import("../types").CustomViewIcon;
370
- }[];
371
- };
372
- };
373
- primaryKey: readonly [string, ...string[]];
374
- } & {
375
- primaryKey: ["id"];
376
- };
377
- readonly account: {
378
- name: "account";
379
- columns: {
380
- readonly color: {
381
- type: "string";
382
- optional: false;
383
- customType: string;
384
- };
385
- readonly displayName: Omit<{
386
- type: "string";
387
- optional: false;
388
- customType: string;
389
- }, "optional"> & {
390
- optional: true;
391
- } & {
392
- serverName: string;
393
- };
394
- readonly id: {
395
- type: "string";
396
- optional: false;
397
- customType: string;
398
- };
399
- readonly imapConnectionStatus: {
400
- type: "string";
401
- optional: false;
402
- customType: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
403
- } & {
404
- serverName: string;
405
- };
406
- readonly mailProcessedCount: {
407
- type: "number";
408
- optional: false;
409
- customType: number;
410
- } & {
411
- serverName: string;
412
- };
413
- readonly mailTotalCount: {
414
- type: "number";
415
- optional: false;
416
- customType: number;
417
- } & {
418
- serverName: string;
419
- };
420
- readonly primaryAliasId: Omit<{
421
- type: "string";
422
- optional: false;
423
- customType: string;
424
- }, "optional"> & {
425
- optional: true;
426
- } & {
427
- serverName: string;
428
- };
429
- readonly userId: {
430
- type: "string";
431
- optional: false;
432
- customType: string;
433
- } & {
434
- serverName: string;
435
- };
436
- };
437
- primaryKey: readonly [string, ...string[]];
438
- } & {
439
- primaryKey: ["id"];
440
- };
441
- readonly contact: {
442
- name: "contact";
443
- columns: {
444
- readonly emailAddress: {
445
- type: "string";
446
- optional: false;
447
- customType: string;
448
- } & {
449
- serverName: string;
450
- };
451
- readonly id: {
452
- type: "string";
453
- optional: false;
454
- customType: string;
455
- };
456
- readonly name: Omit<{
457
- type: "string";
458
- optional: false;
459
- customType: string;
460
- }, "optional"> & {
461
- optional: true;
462
- };
463
- readonly userId: {
464
- type: "string";
465
- optional: false;
466
- customType: string;
467
- } & {
468
- serverName: string;
469
- };
470
- };
471
- primaryKey: readonly [string, ...string[]];
472
- } & {
473
- primaryKey: ["id"];
474
- };
475
- readonly draft: {
476
- name: "draft";
477
- columns: {
478
- readonly accountId: {
479
- type: "string";
480
- optional: false;
481
- customType: string;
482
- } & {
483
- serverName: string;
484
- };
485
- readonly body: {
486
- type: "json";
487
- optional: false;
488
- customType: {
489
- content: string;
490
- to: string[];
491
- cc: string[];
492
- bcc: string[];
493
- };
494
- };
495
- readonly error: Omit<{
496
- type: "string";
497
- optional: false;
498
- customType: string;
499
- }, "optional"> & {
500
- optional: true;
501
- };
502
- readonly fromAliasId: Omit<{
503
- type: "string";
504
- optional: false;
505
- customType: string;
506
- }, "optional"> & {
507
- optional: true;
508
- } & {
509
- serverName: string;
510
- };
511
- readonly fromEmail: {
512
- type: "string";
513
- optional: false;
514
- customType: string;
515
- } & {
516
- serverName: string;
517
- };
518
- readonly fromName: Omit<{
519
- type: "string";
520
- optional: false;
521
- customType: string;
522
- }, "optional"> & {
523
- optional: true;
524
- } & {
525
- serverName: string;
526
- };
527
- readonly id: {
528
- type: "string";
529
- optional: false;
530
- customType: string;
531
- };
532
- readonly referencedMessageId: Omit<{
533
- type: "string";
534
- optional: false;
535
- customType: string;
536
- }, "optional"> & {
537
- optional: true;
538
- } & {
539
- serverName: string;
540
- };
541
- readonly scheduledFor: Omit<{
542
- type: "number";
543
- optional: false;
544
- customType: number;
545
- }, "optional"> & {
546
- optional: true;
547
- } & {
548
- serverName: string;
549
- };
550
- readonly status: {
551
- type: "string";
552
- optional: false;
553
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
554
- };
555
- readonly subject: Omit<{
556
- type: "string";
557
- optional: false;
558
- customType: string;
559
- }, "optional"> & {
560
- optional: true;
561
- };
562
- readonly type: {
563
- type: "string";
564
- optional: false;
565
- customType: "NEW" | "REPLY" | "FORWARD";
566
- };
567
- readonly updatedAt: {
568
- type: "number";
569
- optional: false;
570
- customType: number;
571
- } & {
572
- serverName: string;
573
- };
574
- readonly userId: {
575
- type: "string";
576
- optional: false;
577
- customType: string;
578
- } & {
579
- serverName: string;
580
- };
581
- };
582
- primaryKey: readonly [string, ...string[]];
583
- } & {
584
- primaryKey: ["id"];
585
- };
586
- readonly thread: {
587
- name: "thread";
588
- columns: {
589
- readonly accountId: {
590
- type: "string";
591
- optional: false;
592
- customType: string;
593
- } & {
594
- serverName: string;
595
- };
596
- readonly flagged: {
597
- type: "boolean";
598
- optional: false;
599
- customType: boolean;
600
- };
601
- readonly hasAttachments: {
602
- type: "boolean";
603
- optional: false;
604
- customType: boolean;
605
- } & {
606
- serverName: string;
607
- };
608
- readonly id: {
609
- type: "string";
610
- optional: false;
611
- customType: string;
612
- };
613
- readonly labelIdList: {
614
- type: "string";
615
- optional: false;
616
- customType: string;
617
- } & {
618
- serverName: string;
619
- };
620
- readonly latestMessageDate: {
621
- type: "number";
622
- optional: false;
623
- customType: number;
624
- } & {
625
- serverName: string;
626
- };
627
- readonly latestMessageId: {
628
- type: "string";
629
- optional: false;
630
- customType: string;
631
- } & {
632
- serverName: string;
633
- };
634
- readonly messageCount: {
635
- type: "number";
636
- optional: false;
637
- customType: number;
638
- } & {
639
- serverName: string;
640
- };
641
- readonly previewText: {
642
- type: "string";
643
- optional: false;
644
- customType: string;
645
- } & {
646
- serverName: string;
647
- };
648
- readonly seen: {
649
- type: "boolean";
650
- optional: false;
651
- customType: boolean;
652
- };
653
- readonly senderEmail: {
654
- type: "string";
655
- optional: false;
656
- customType: string;
657
- } & {
658
- serverName: string;
659
- };
660
- readonly senderName: Omit<{
661
- type: "string";
662
- optional: false;
663
- customType: string;
664
- }, "optional"> & {
665
- optional: true;
666
- } & {
667
- serverName: string;
668
- };
669
- readonly subject: Omit<{
670
- type: "string";
671
- optional: false;
672
- customType: string;
673
- }, "optional"> & {
674
- optional: true;
675
- };
676
- readonly userId: {
677
- type: "string";
678
- optional: false;
679
- customType: string;
680
- } & {
681
- serverName: string;
682
- };
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: {
697
- type: "number";
698
- optional: false;
699
- customType: number;
700
- } & {
701
- serverName: string;
702
- };
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: {
714
- type: "string";
715
- optional: false;
716
- customType: string;
717
- } & {
718
- serverName: string;
719
- };
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";
730
- optional: false;
731
- customType: string;
732
- } & {
733
- serverName: string;
734
- };
735
- readonly emailAddress: {
736
- type: "string";
737
- optional: false;
738
- customType: string;
739
- } & {
740
- serverName: string;
741
- };
742
- readonly id: {
743
- type: "string";
744
- optional: false;
745
- customType: string;
746
- };
747
- readonly isPrimary: {
748
- type: "boolean";
749
- optional: false;
750
- customType: boolean;
751
- } & {
752
- serverName: string;
753
- };
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: {
770
- type: "string";
771
- optional: false;
772
- customType: string;
773
- } & {
774
- serverName: string;
775
- };
776
- readonly id: {
777
- type: "string";
778
- optional: false;
779
- customType: string;
780
- };
781
- readonly name: Omit<{
782
- type: "string";
783
- optional: false;
784
- customType: string;
785
- }, "optional"> & {
786
- optional: true;
787
- };
788
- readonly path: {
789
- type: "string";
790
- optional: false;
791
- customType: string;
792
- };
793
- readonly specialUse: Omit<{
794
- type: "string";
795
- optional: false;
796
- customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
797
- }, "optional"> & {
798
- optional: true;
799
- } & {
800
- serverName: string;
801
- };
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: {
825
- type: "string";
826
- optional: false;
827
- customType: string;
828
- } & {
829
- serverName: string;
830
- };
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: {
844
- type: "string";
845
- optional: false;
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;
863
- };
864
- };
865
- primaryKey: readonly [string, ...string[]];
866
- } & {
867
- primaryKey: ["id"];
868
- };
869
- readonly threadLabel: {
870
- name: "threadLabel";
871
- columns: {
872
- readonly accountId: {
873
- type: "string";
874
- optional: false;
875
- customType: string;
876
- } & {
877
- serverName: string;
878
- };
879
- readonly labelId: {
880
- type: "string";
881
- optional: false;
882
- customType: string;
883
- } & {
884
- serverName: string;
885
- };
886
- readonly lastSyncedAt: {
887
- type: "number";
888
- optional: false;
889
- customType: number;
890
- } & {
891
- serverName: string;
892
- };
893
- readonly threadId: {
894
- type: "string";
895
- optional: false;
896
- customType: string;
897
- } & {
898
- serverName: string;
899
- };
900
- readonly threadMessageId: {
901
- type: "string";
902
- optional: false;
903
- customType: string;
904
- } & {
905
- serverName: string;
906
- };
907
- readonly uid: {
908
- type: "number";
909
- optional: false;
910
- customType: number;
911
- };
912
- readonly uidValidity: {
913
- type: "number";
914
- optional: false;
915
- customType: number;
916
- } & {
917
- serverName: string;
918
- };
919
- };
920
- primaryKey: readonly [string, ...string[]];
921
- } & {
922
- primaryKey: ["accountId", "labelId", "threadMessageId"];
923
- };
924
- readonly threadByLabel: {
925
- name: "threadByLabel";
926
- columns: {
927
- readonly labelId: {
928
- type: "string";
929
- optional: false;
930
- customType: string;
931
- } & {
932
- serverName: string;
933
- };
934
- readonly latestMessageDate: {
935
- type: "number";
936
- optional: false;
937
- customType: number;
938
- } & {
939
- serverName: string;
940
- };
941
- readonly threadId: {
942
- type: "string";
943
- optional: false;
944
- customType: string;
945
- } & {
946
- serverName: string;
947
- };
948
- };
949
- primaryKey: readonly [string, ...string[]];
950
- } & {
951
- primaryKey: ["labelId", "threadId"];
952
- };
953
- readonly threadMessage: {
954
- name: "threadMessage";
955
- columns: {
956
- readonly accountId: {
957
- type: "string";
958
- optional: false;
959
- customType: string;
960
- } & {
961
- serverName: string;
962
- };
963
- readonly envelopeDate: {
964
- type: "number";
965
- optional: false;
966
- customType: number;
967
- } & {
968
- serverName: string;
969
- };
970
- readonly envelopeSubject: Omit<{
971
- type: "string";
972
- optional: false;
973
- customType: string;
974
- }, "optional"> & {
975
- optional: true;
976
- } & {
977
- serverName: string;
978
- };
979
- readonly id: {
980
- type: "string";
981
- optional: false;
982
- customType: string;
983
- };
984
- readonly previewText: {
985
- type: "string";
986
- optional: false;
987
- customType: string;
988
- } & {
989
- serverName: string;
990
- };
991
- readonly senderEmail: {
992
- type: "string";
993
- optional: false;
994
- customType: string;
995
- } & {
996
- serverName: string;
997
- };
998
- readonly senderName: Omit<{
999
- type: "string";
1000
- optional: false;
1001
- customType: string;
1002
- }, "optional"> & {
1003
- optional: true;
1004
- } & {
1005
- serverName: string;
1006
- };
1007
- readonly threadId: {
1008
- type: "string";
1009
- optional: false;
1010
- customType: string;
1011
- } & {
1012
- serverName: string;
1013
- };
1014
- readonly unsubscribeUrl: Omit<{
1015
- type: "string";
1016
- optional: false;
1017
- customType: string;
1018
- }, "optional"> & {
1019
- optional: true;
1020
- } & {
1021
- serverName: string;
1022
- };
1023
- };
1024
- primaryKey: readonly [string, ...string[]];
1025
- } & {
1026
- primaryKey: ["id"];
1027
- };
1028
- readonly threadMessageRecipient: {
1029
- name: "threadMessageRecipient";
1030
- columns: {
1031
- readonly emailAddress: {
1032
- type: "string";
1033
- optional: false;
1034
- customType: string;
1035
- } & {
1036
- serverName: string;
1037
- };
1038
- readonly id: {
1039
- type: "string";
1040
- optional: false;
1041
- customType: string;
1042
- };
1043
- readonly name: Omit<{
1044
- type: "string";
1045
- optional: false;
1046
- customType: string;
1047
- }, "optional"> & {
1048
- optional: true;
1049
- };
1050
- readonly threadMessageId: {
1051
- type: "string";
1052
- optional: false;
1053
- customType: string;
1054
- } & {
1055
- serverName: string;
1056
- };
1057
- readonly type: {
1058
- type: "string";
1059
- optional: false;
1060
- customType: "bcc" | "cc" | "to" | "replyTo";
1061
- };
1062
- };
1063
- primaryKey: readonly [string, ...string[]];
1064
- } & {
1065
- primaryKey: ["id"];
1066
- };
1067
- readonly threadMessageAttachment: {
1068
- name: "threadMessageAttachment";
1069
- columns: {
1070
- readonly fileName: {
1071
- type: "string";
1072
- optional: false;
1073
- customType: string;
1074
- } & {
1075
- serverName: string;
1076
- };
1077
- readonly id: {
1078
- type: "string";
1079
- optional: false;
1080
- customType: string;
1081
- };
1082
- readonly mimeType: {
1083
- type: "string";
1084
- optional: false;
1085
- customType: string;
1086
- } & {
1087
- serverName: string;
1088
- };
1089
- readonly size: {
1090
- type: "number";
1091
- optional: false;
1092
- customType: number;
1093
- };
1094
- readonly threadMessageId: {
1095
- type: "string";
1096
- optional: false;
1097
- customType: string;
1098
- } & {
1099
- serverName: string;
1100
- };
1101
- };
1102
- primaryKey: readonly [string, ...string[]];
1103
- } & {
1104
- primaryKey: ["id"];
1105
- };
1106
- };
1107
- relationships: {
1108
- readonly user: {
1109
- accounts: [{
1110
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1111
- readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1112
- readonly destSchema: "account";
1113
- readonly cardinality: "many";
1114
- }];
1115
- contacts: [{
1116
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1117
- readonly destField: readonly ("emailAddress" | "id" | "name" | "userId")[];
1118
- readonly destSchema: "contact";
1119
- readonly cardinality: "many";
1120
- }];
1121
- drafts: [{
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")[];
1124
- readonly destSchema: "draft";
1125
- readonly cardinality: "many";
1126
- }];
1127
- pushNotificationTokens: [{
1128
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1129
- readonly destField: readonly ("id" | "userId" | "createdAt" | "token")[];
1130
- readonly destSchema: "userPushNotificationToken";
1131
- readonly cardinality: "many";
1132
- }];
1133
- threads: [{
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")[];
1136
- readonly destSchema: "thread";
1137
- readonly cardinality: "many";
1138
- }];
1139
- };
1140
- readonly account: {
1141
- aliases: [{
1142
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1143
- readonly destField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
1144
- readonly destSchema: "accountAlias";
1145
- readonly cardinality: "many";
1146
- }];
1147
- drafts: [{
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")[];
1150
- readonly destSchema: "draft";
1151
- readonly cardinality: "many";
1152
- }];
1153
- labels: [{
1154
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1155
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1156
- readonly destSchema: "accountLabel";
1157
- readonly cardinality: "many";
1158
- }];
1159
- primaryAlias: [{
1160
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1161
- readonly destField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
1162
- readonly destSchema: "accountAlias";
1163
- readonly cardinality: "one";
1164
- }];
1165
- threads: [{
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")[];
1168
- readonly destSchema: "thread";
1169
- readonly cardinality: "many";
1170
- }];
1171
- user: [{
1172
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1173
- readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1174
- readonly destSchema: "user";
1175
- readonly cardinality: "one";
1176
- }];
1177
- };
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";
1183
- readonly cardinality: "one";
1184
- }];
1185
- };
1186
- readonly draft: {
1187
- account: [{
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")[];
1190
- readonly destSchema: "account";
1191
- readonly cardinality: "one";
1192
- }];
1193
- attachments: [{
1194
- readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1195
- readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1196
- readonly destSchema: "draftAttachment";
1197
- readonly cardinality: "many";
1198
- }];
1199
- user: [{
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")[];
1202
- readonly destSchema: "user";
1203
- readonly cardinality: "one";
1204
- }];
1205
- };
1206
- readonly thread: {
1207
- account: [{
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")[];
1210
- readonly destSchema: "account";
1211
- readonly cardinality: "one";
1212
- }];
1213
- labels: [{
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")[];
1216
- readonly destSchema: "threadLabel";
1217
- readonly cardinality: "many";
1218
- }, {
1219
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1220
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1221
- readonly destSchema: "accountLabel";
1222
- readonly cardinality: "many";
1223
- }];
1224
- messages: [{
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")[];
1227
- readonly destSchema: "threadMessage";
1228
- readonly cardinality: "many";
1229
- }];
1230
- threadByLabel: [{
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")[];
1233
- readonly destSchema: "threadByLabel";
1234
- readonly cardinality: "many";
1235
- }];
1236
- user: [{
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")[];
1239
- readonly destSchema: "user";
1240
- readonly cardinality: "one";
1241
- }];
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
- };
1286
- readonly threadLabel: {
1287
- label: [{
1288
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1289
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1290
- readonly destSchema: "accountLabel";
1291
- readonly cardinality: "one";
1292
- }];
1293
- message: [{
1294
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1295
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1296
- readonly destSchema: "threadMessage";
1297
- readonly cardinality: "one";
1298
- }];
1299
- thread: [{
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")[];
1302
- readonly destSchema: "thread";
1303
- readonly cardinality: "one";
1304
- }];
1305
- };
1306
- readonly threadByLabel: {
1307
- label: [{
1308
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1309
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1310
- readonly destSchema: "accountLabel";
1311
- readonly cardinality: "one";
1312
- }];
1313
- thread: [{
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")[];
1316
- readonly destSchema: "thread";
1317
- readonly cardinality: "one";
1318
- }];
1319
- };
1320
- readonly threadMessage: {
1321
- attachments: [{
1322
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1323
- readonly destField: readonly ("id" | "fileName" | "mimeType" | "size" | "threadMessageId")[];
1324
- readonly destSchema: "threadMessageAttachment";
1325
- readonly cardinality: "many";
1326
- }];
1327
- labels: [{
1328
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1329
- readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1330
- readonly destSchema: "threadLabel";
1331
- readonly cardinality: "many";
1332
- }, {
1333
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1334
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1335
- readonly destSchema: "accountLabel";
1336
- readonly cardinality: "many";
1337
- }];
1338
- recipients: [{
1339
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1340
- readonly destField: readonly ("type" | "emailAddress" | "id" | "name" | "threadMessageId")[];
1341
- readonly destSchema: "threadMessageRecipient";
1342
- readonly cardinality: "many";
1343
- }];
1344
- thread: [{
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")[];
1347
- readonly destSchema: "thread";
1348
- readonly cardinality: "one";
1349
- }];
1350
- };
1351
- readonly threadMessageRecipient: {
1352
- message: [{
1353
- readonly sourceField: readonly ("type" | "emailAddress" | "id" | "name" | "threadMessageId")[];
1354
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1355
- readonly destSchema: "threadMessage";
1356
- readonly cardinality: "one";
1357
- }];
1358
- };
1359
- readonly threadMessageAttachment: {
1360
- message: [{
1361
- readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "size" | "threadMessageId")[];
1362
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1363
- readonly destSchema: "threadMessage";
1364
- readonly cardinality: "one";
1365
- }];
1366
- };
1367
- };
1368
- enableLegacyQueries: boolean | undefined;
1369
- enableLegacyMutators: false;
1370
- }>;
1371
- export {};
1372
- //# sourceMappingURL=queries.d.ts.map