@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,1523 +0,0 @@
1
- type Context = {
2
- userId: string;
3
- };
4
- export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
5
- readonly account: {
6
- readonly createAccount: import("@rocicorp/zero").MutatorDefinition<{
7
- aliasId: string;
8
- color: string;
9
- emailAddress: string;
10
- id: string;
11
- }, {
12
- aliasId: string;
13
- color: string;
14
- emailAddress: string;
15
- id: string;
16
- }, Context, unknown>;
17
- readonly createAlias: import("@rocicorp/zero").MutatorDefinition<{
18
- accountId: string;
19
- alias: {
20
- emailAddress: string;
21
- id: string;
22
- name: string | null;
23
- };
24
- }, {
25
- accountId: string;
26
- alias: {
27
- emailAddress: string;
28
- id: string;
29
- name: string | null;
30
- };
31
- }, Context, unknown>;
32
- readonly deleteAccount: import("@rocicorp/zero").MutatorDefinition<{
33
- id: string;
34
- }, {
35
- id: string;
36
- }, Context, unknown>;
37
- readonly deleteAlias: import("@rocicorp/zero").MutatorDefinition<{
38
- accountId: string;
39
- aliasId: string;
40
- }, {
41
- accountId: string;
42
- aliasId: string;
43
- }, Context, unknown>;
44
- readonly setAliasName: import("@rocicorp/zero").MutatorDefinition<{
45
- accountId: string;
46
- aliasId: string;
47
- displayName: string | null;
48
- }, {
49
- accountId: string;
50
- aliasId: string;
51
- displayName: string | null;
52
- }, Context, unknown>;
53
- readonly setAliasPrimary: import("@rocicorp/zero").MutatorDefinition<{
54
- accountId: string;
55
- aliasId: string;
56
- }, {
57
- accountId: string;
58
- aliasId: string;
59
- }, Context, unknown>;
60
- readonly setConnectionConfigImapRaw: import("@rocicorp/zero").MutatorDefinition<{
61
- connectionConfig: {
62
- imapHost: string;
63
- imapPassword: string;
64
- imapPort: number;
65
- imapSocketType: "STARTTLS" | "SSL";
66
- imapUser: string;
67
- smtpHost: string;
68
- smtpPassword: string;
69
- smtpPort: number;
70
- smtpSocketType: "STARTTLS" | "SSL";
71
- smtpUser: string;
72
- };
73
- id: string;
74
- }, {
75
- connectionConfig: {
76
- imapHost: string;
77
- imapPassword: string;
78
- imapPort: number;
79
- imapSocketType: "STARTTLS" | "SSL";
80
- imapUser: string;
81
- smtpHost: string;
82
- smtpPassword: string;
83
- smtpPort: number;
84
- smtpSocketType: "STARTTLS" | "SSL";
85
- smtpUser: string;
86
- };
87
- id: string;
88
- }, Context, unknown>;
89
- readonly setConnectionConfigOauth: import("@rocicorp/zero").MutatorDefinition<{
90
- connectionConfig: {
91
- code: string;
92
- provider: "GOOGLE" | "OUTLOOK";
93
- user: string;
94
- };
95
- id: string;
96
- }, {
97
- connectionConfig: {
98
- code: string;
99
- provider: "GOOGLE" | "OUTLOOK";
100
- user: string;
101
- };
102
- id: string;
103
- }, Context, unknown>;
104
- readonly setSettings: import("@rocicorp/zero").MutatorDefinition<{
105
- color?: string | null | undefined;
106
- displayName?: string | null | undefined;
107
- id: string;
108
- }, {
109
- color?: string | null | undefined;
110
- displayName?: string | null | undefined;
111
- id: string;
112
- }, Context, unknown>;
113
- };
114
- readonly draft: {
115
- readonly cancelSend: import("@rocicorp/zero").MutatorDefinition<{
116
- id: string;
117
- updatedAt: number;
118
- }, {
119
- id: string;
120
- updatedAt: number;
121
- }, Context, unknown>;
122
- readonly createAttachment: import("@rocicorp/zero").MutatorDefinition<{
123
- attachment: {
124
- fileName: string;
125
- id: string;
126
- mimeType: string;
127
- status: "PENDING" | "COMPLETE" | "FAILED";
128
- totalSize: number;
129
- };
130
- id: string;
131
- updatedAt: number;
132
- }, {
133
- attachment: {
134
- fileName: string;
135
- id: string;
136
- mimeType: string;
137
- status: "PENDING" | "COMPLETE" | "FAILED";
138
- totalSize: number;
139
- };
140
- id: string;
141
- updatedAt: number;
142
- }, Context, unknown>;
143
- readonly createDraft: import("@rocicorp/zero").MutatorDefinition<{
144
- accountId: string;
145
- attachments: {
146
- fileName: string;
147
- id: string;
148
- mimeType: string;
149
- status: "PENDING" | "COMPLETE" | "FAILED";
150
- totalSize: number;
151
- }[];
152
- body: {
153
- bcc: string[];
154
- cc: string[];
155
- content: string;
156
- subject: string | null;
157
- to: string[];
158
- };
159
- error: string | null;
160
- from: string;
161
- fromName: string | null;
162
- id: string;
163
- referencedMessageId: string | null;
164
- scheduledFor: number | null;
165
- status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
166
- type: "NEW" | "REPLY" | "FORWARD";
167
- updatedAt: number;
168
- }, {
169
- accountId: string;
170
- attachments: {
171
- fileName: string;
172
- id: string;
173
- mimeType: string;
174
- status: "PENDING" | "COMPLETE" | "FAILED";
175
- totalSize: number;
176
- }[];
177
- body: {
178
- bcc: string[];
179
- cc: string[];
180
- content: string;
181
- subject: string | null;
182
- to: string[];
183
- };
184
- error: string | null;
185
- from: string;
186
- fromName: string | null;
187
- id: string;
188
- referencedMessageId: string | null;
189
- scheduledFor: number | null;
190
- status: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
191
- type: "NEW" | "REPLY" | "FORWARD";
192
- updatedAt: number;
193
- }, Context, unknown>;
194
- readonly deleteAttachment: import("@rocicorp/zero").MutatorDefinition<{
195
- attachmentId: string;
196
- id: string;
197
- updatedAt: number;
198
- }, {
199
- attachmentId: string;
200
- id: string;
201
- updatedAt: number;
202
- }, Context, unknown>;
203
- readonly deleteDraft: import("@rocicorp/zero").MutatorDefinition<{
204
- id: string;
205
- }, {
206
- id: string;
207
- }, Context, unknown>;
208
- readonly scheduleSend: import("@rocicorp/zero").MutatorDefinition<{
209
- id: string;
210
- kind: "IMMEDIATE";
211
- undoMs: number;
212
- updatedAt: number;
213
- } | {
214
- id: string;
215
- kind: "SCHEDULED";
216
- scheduledFor: number;
217
- updatedAt: number;
218
- }, {
219
- id: string;
220
- kind: "IMMEDIATE";
221
- undoMs: number;
222
- updatedAt: number;
223
- } | {
224
- id: string;
225
- kind: "SCHEDULED";
226
- scheduledFor: number;
227
- updatedAt: number;
228
- }, Context, unknown>;
229
- readonly setContent: import("@rocicorp/zero").MutatorDefinition<{
230
- id: string;
231
- patch: {
232
- index: number;
233
- type: "INSERTION" | "DELETION";
234
- value: string;
235
- }[];
236
- updatedAt: number;
237
- }, {
238
- id: string;
239
- patch: {
240
- index: number;
241
- type: "INSERTION" | "DELETION";
242
- value: string;
243
- }[];
244
- updatedAt: number;
245
- }, Context, unknown>;
246
- readonly setEnvelope: import("@rocicorp/zero").MutatorDefinition<{
247
- envelope: {
248
- bcc: string[];
249
- cc: string[];
250
- to: string[];
251
- subject: string | null;
252
- };
253
- id: string;
254
- updatedAt: number;
255
- }, {
256
- envelope: {
257
- bcc: string[];
258
- cc: string[];
259
- to: string[];
260
- subject: string | null;
261
- };
262
- id: string;
263
- updatedAt: number;
264
- }, Context, unknown>;
265
- readonly setFrom: import("@rocicorp/zero").MutatorDefinition<{
266
- accountId: string;
267
- aliasId: string;
268
- from: string;
269
- fromName: string | null;
270
- id: string;
271
- updatedAt: number;
272
- }, {
273
- accountId: string;
274
- aliasId: string;
275
- from: string;
276
- fromName: string | null;
277
- id: string;
278
- updatedAt: number;
279
- }, Context, unknown>;
280
- };
281
- readonly thread: {
282
- readonly addLabel: import("@rocicorp/zero").MutatorDefinition<{
283
- accounts: {
284
- [x: string]: {
285
- threadIds: string[];
286
- };
287
- };
288
- labelPath: string;
289
- }, {
290
- accounts: {
291
- [x: string]: {
292
- threadIds: string[];
293
- };
294
- };
295
- labelPath: string;
296
- }, Context, unknown>;
297
- readonly delete: import("@rocicorp/zero").MutatorDefinition<{
298
- accounts: {
299
- [x: string]: {
300
- threadIds: string[];
301
- };
302
- };
303
- }, {
304
- accounts: {
305
- [x: string]: {
306
- threadIds: string[];
307
- };
308
- };
309
- }, Context, unknown>;
310
- readonly removeLabel: import("@rocicorp/zero").MutatorDefinition<{
311
- accounts: {
312
- [x: string]: {
313
- threadIds: string[];
314
- };
315
- };
316
- labelPath: string;
317
- }, {
318
- accounts: {
319
- [x: string]: {
320
- threadIds: string[];
321
- };
322
- };
323
- labelPath: string;
324
- }, Context, unknown>;
325
- readonly setArchive: import("@rocicorp/zero").MutatorDefinition<{
326
- accounts: {
327
- [x: string]: {
328
- threadIds: string[];
329
- };
330
- };
331
- }, {
332
- accounts: {
333
- [x: string]: {
334
- threadIds: string[];
335
- };
336
- };
337
- }, Context, unknown>;
338
- readonly setFlagged: import("@rocicorp/zero").MutatorDefinition<{
339
- accounts: {
340
- [x: string]: {
341
- threadIds: string[];
342
- };
343
- };
344
- flagged: boolean;
345
- }, {
346
- accounts: {
347
- [x: string]: {
348
- threadIds: string[];
349
- };
350
- };
351
- flagged: boolean;
352
- }, Context, unknown>;
353
- readonly setInbox: import("@rocicorp/zero").MutatorDefinition<{
354
- accounts: {
355
- [x: string]: {
356
- threadIds: string[];
357
- };
358
- };
359
- }, {
360
- accounts: {
361
- [x: string]: {
362
- threadIds: string[];
363
- };
364
- };
365
- }, Context, unknown>;
366
- readonly setSeen: import("@rocicorp/zero").MutatorDefinition<{
367
- accounts: {
368
- [x: string]: {
369
- threadIds: string[];
370
- };
371
- };
372
- seen: boolean;
373
- }, {
374
- accounts: {
375
- [x: string]: {
376
- threadIds: string[];
377
- };
378
- };
379
- seen: boolean;
380
- }, Context, unknown>;
381
- readonly setSpam: import("@rocicorp/zero").MutatorDefinition<{
382
- accounts: {
383
- [x: string]: {
384
- threadIds: string[];
385
- };
386
- };
387
- }, {
388
- accounts: {
389
- [x: string]: {
390
- threadIds: string[];
391
- };
392
- };
393
- }, Context, unknown>;
394
- readonly setTrash: import("@rocicorp/zero").MutatorDefinition<{
395
- accounts: {
396
- [x: string]: {
397
- threadIds: string[];
398
- };
399
- };
400
- }, {
401
- accounts: {
402
- [x: string]: {
403
- threadIds: string[];
404
- };
405
- };
406
- }, Context, unknown>;
407
- };
408
- readonly user: {
409
- readonly createView: import("@rocicorp/zero").MutatorDefinition<{
410
- id: string;
411
- view: {
412
- aliasEmails: string[];
413
- icon: import("../types").CustomViewIcon;
414
- id: string;
415
- name: string;
416
- };
417
- }, {
418
- id: string;
419
- view: {
420
- aliasEmails: string[];
421
- icon: import("../types").CustomViewIcon;
422
- id: string;
423
- name: string;
424
- };
425
- }, Context, unknown>;
426
- readonly deleteSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
427
- id: string;
428
- token: string;
429
- }, {
430
- id: string;
431
- token: string;
432
- }, Context, unknown>;
433
- readonly deleteView: import("@rocicorp/zero").MutatorDefinition<{
434
- id: string;
435
- viewId: string;
436
- }, {
437
- id: string;
438
- viewId: string;
439
- }, Context, unknown>;
440
- readonly setSettingsName: import("@rocicorp/zero").MutatorDefinition<{
441
- id: string;
442
- name: string | null;
443
- }, {
444
- id: string;
445
- name: string | null;
446
- }, Context, unknown>;
447
- readonly setSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
448
- id: string;
449
- pushNotificationToken: {
450
- createdAt: number;
451
- id: string;
452
- token: string;
453
- };
454
- }, {
455
- id: string;
456
- pushNotificationToken: {
457
- createdAt: number;
458
- id: string;
459
- token: string;
460
- };
461
- }, Context, unknown>;
462
- readonly updateView: import("@rocicorp/zero").MutatorDefinition<{
463
- id: string;
464
- view: {
465
- aliasEmails: string[];
466
- icon: import("../types").CustomViewIcon;
467
- id: string;
468
- name: string;
469
- };
470
- }, {
471
- id: string;
472
- view: {
473
- aliasEmails: string[];
474
- icon: import("../types").CustomViewIcon;
475
- id: string;
476
- name: string;
477
- };
478
- }, Context, unknown>;
479
- };
480
- }, {
481
- tables: {
482
- readonly user: {
483
- name: "user";
484
- columns: {
485
- readonly id: {
486
- type: "string";
487
- optional: false;
488
- customType: string;
489
- };
490
- readonly name: Omit<{
491
- type: "string";
492
- optional: false;
493
- customType: string;
494
- }, "optional"> & {
495
- optional: true;
496
- };
497
- readonly profilePicture: Omit<{
498
- type: "string";
499
- optional: false;
500
- customType: string;
501
- }, "optional"> & {
502
- optional: true;
503
- } & {
504
- serverName: string;
505
- };
506
- readonly undoSendEnabled: {
507
- type: "boolean";
508
- optional: false;
509
- customType: boolean;
510
- } & {
511
- serverName: string;
512
- };
513
- readonly views: {
514
- type: "json";
515
- optional: false;
516
- customType: {
517
- id: string;
518
- name: string;
519
- aliasEmails: string[];
520
- icon: import("../types").CustomViewIcon;
521
- }[];
522
- };
523
- };
524
- primaryKey: readonly [string, ...string[]];
525
- } & {
526
- primaryKey: ["id"];
527
- };
528
- readonly account: {
529
- name: "account";
530
- columns: {
531
- readonly color: {
532
- type: "string";
533
- optional: false;
534
- customType: string;
535
- };
536
- readonly displayName: Omit<{
537
- type: "string";
538
- optional: false;
539
- customType: string;
540
- }, "optional"> & {
541
- optional: true;
542
- } & {
543
- serverName: string;
544
- };
545
- readonly id: {
546
- type: "string";
547
- optional: false;
548
- customType: string;
549
- };
550
- readonly imapConnectionStatus: {
551
- type: "string";
552
- optional: false;
553
- 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";
554
- } & {
555
- serverName: string;
556
- };
557
- readonly mailProcessedCount: {
558
- type: "number";
559
- optional: false;
560
- customType: number;
561
- } & {
562
- serverName: string;
563
- };
564
- readonly mailTotalCount: {
565
- type: "number";
566
- optional: false;
567
- customType: number;
568
- } & {
569
- serverName: string;
570
- };
571
- readonly primaryAliasId: Omit<{
572
- type: "string";
573
- optional: false;
574
- customType: string;
575
- }, "optional"> & {
576
- optional: true;
577
- } & {
578
- serverName: string;
579
- };
580
- readonly userId: {
581
- type: "string";
582
- optional: false;
583
- customType: string;
584
- } & {
585
- serverName: string;
586
- };
587
- };
588
- primaryKey: readonly [string, ...string[]];
589
- } & {
590
- primaryKey: ["id"];
591
- };
592
- readonly contact: {
593
- name: "contact";
594
- columns: {
595
- readonly emailAddress: {
596
- type: "string";
597
- optional: false;
598
- customType: string;
599
- } & {
600
- serverName: string;
601
- };
602
- readonly id: {
603
- type: "string";
604
- optional: false;
605
- customType: string;
606
- };
607
- readonly name: Omit<{
608
- type: "string";
609
- optional: false;
610
- customType: string;
611
- }, "optional"> & {
612
- optional: true;
613
- };
614
- readonly userId: {
615
- type: "string";
616
- optional: false;
617
- customType: string;
618
- } & {
619
- serverName: string;
620
- };
621
- };
622
- primaryKey: readonly [string, ...string[]];
623
- } & {
624
- primaryKey: ["id"];
625
- };
626
- readonly draft: {
627
- name: "draft";
628
- columns: {
629
- readonly accountId: {
630
- type: "string";
631
- optional: false;
632
- customType: string;
633
- } & {
634
- serverName: string;
635
- };
636
- readonly body: {
637
- type: "json";
638
- optional: false;
639
- customType: {
640
- content: string;
641
- to: string[];
642
- cc: string[];
643
- bcc: string[];
644
- };
645
- };
646
- readonly error: Omit<{
647
- type: "string";
648
- optional: false;
649
- customType: string;
650
- }, "optional"> & {
651
- optional: true;
652
- };
653
- readonly fromAliasId: Omit<{
654
- type: "string";
655
- optional: false;
656
- customType: string;
657
- }, "optional"> & {
658
- optional: true;
659
- } & {
660
- serverName: string;
661
- };
662
- readonly fromEmail: {
663
- type: "string";
664
- optional: false;
665
- customType: string;
666
- } & {
667
- serverName: string;
668
- };
669
- readonly fromName: Omit<{
670
- type: "string";
671
- optional: false;
672
- customType: string;
673
- }, "optional"> & {
674
- optional: true;
675
- } & {
676
- serverName: string;
677
- };
678
- readonly id: {
679
- type: "string";
680
- optional: false;
681
- customType: string;
682
- };
683
- readonly referencedMessageId: Omit<{
684
- type: "string";
685
- optional: false;
686
- customType: string;
687
- }, "optional"> & {
688
- optional: true;
689
- } & {
690
- serverName: string;
691
- };
692
- readonly scheduledFor: Omit<{
693
- type: "number";
694
- optional: false;
695
- customType: number;
696
- }, "optional"> & {
697
- optional: true;
698
- } & {
699
- serverName: string;
700
- };
701
- readonly status: {
702
- type: "string";
703
- optional: false;
704
- customType: "DRAFT" | "SEND_REQUESTED" | "SEND_IN_PROGRESS" | "SEND_CONFIRMED" | "SEND_FAILED";
705
- };
706
- readonly subject: Omit<{
707
- type: "string";
708
- optional: false;
709
- customType: string;
710
- }, "optional"> & {
711
- optional: true;
712
- };
713
- readonly type: {
714
- type: "string";
715
- optional: false;
716
- customType: "NEW" | "REPLY" | "FORWARD";
717
- };
718
- readonly updatedAt: {
719
- type: "number";
720
- optional: false;
721
- customType: number;
722
- } & {
723
- serverName: string;
724
- };
725
- readonly userId: {
726
- type: "string";
727
- optional: false;
728
- customType: string;
729
- } & {
730
- serverName: string;
731
- };
732
- };
733
- primaryKey: readonly [string, ...string[]];
734
- } & {
735
- primaryKey: ["id"];
736
- };
737
- readonly thread: {
738
- name: "thread";
739
- columns: {
740
- readonly accountId: {
741
- type: "string";
742
- optional: false;
743
- customType: string;
744
- } & {
745
- serverName: string;
746
- };
747
- readonly flagged: {
748
- type: "boolean";
749
- optional: false;
750
- customType: boolean;
751
- };
752
- readonly hasAttachments: {
753
- type: "boolean";
754
- optional: false;
755
- customType: boolean;
756
- } & {
757
- serverName: string;
758
- };
759
- readonly id: {
760
- type: "string";
761
- optional: false;
762
- customType: string;
763
- };
764
- readonly labelIdList: {
765
- type: "string";
766
- optional: false;
767
- customType: string;
768
- } & {
769
- serverName: string;
770
- };
771
- readonly latestMessageDate: {
772
- type: "number";
773
- optional: false;
774
- customType: number;
775
- } & {
776
- serverName: string;
777
- };
778
- readonly latestMessageId: {
779
- type: "string";
780
- optional: false;
781
- customType: string;
782
- } & {
783
- serverName: string;
784
- };
785
- readonly messageCount: {
786
- type: "number";
787
- optional: false;
788
- customType: number;
789
- } & {
790
- serverName: string;
791
- };
792
- readonly previewText: {
793
- type: "string";
794
- optional: false;
795
- customType: string;
796
- } & {
797
- serverName: string;
798
- };
799
- readonly seen: {
800
- type: "boolean";
801
- optional: false;
802
- customType: boolean;
803
- };
804
- readonly senderEmail: {
805
- type: "string";
806
- optional: false;
807
- customType: string;
808
- } & {
809
- serverName: string;
810
- };
811
- readonly senderName: Omit<{
812
- type: "string";
813
- optional: false;
814
- customType: string;
815
- }, "optional"> & {
816
- optional: true;
817
- } & {
818
- serverName: string;
819
- };
820
- readonly subject: Omit<{
821
- type: "string";
822
- optional: false;
823
- customType: string;
824
- }, "optional"> & {
825
- optional: true;
826
- };
827
- readonly userId: {
828
- type: "string";
829
- optional: false;
830
- customType: string;
831
- } & {
832
- serverName: string;
833
- };
834
- readonly words: {
835
- type: "string";
836
- optional: false;
837
- customType: string;
838
- };
839
- };
840
- primaryKey: readonly [string, ...string[]];
841
- } & {
842
- primaryKey: ["id"];
843
- };
844
- readonly userPushNotificationToken: {
845
- name: "userPushNotificationToken";
846
- columns: {
847
- readonly createdAt: {
848
- type: "number";
849
- optional: false;
850
- customType: number;
851
- } & {
852
- serverName: string;
853
- };
854
- readonly id: {
855
- type: "string";
856
- optional: false;
857
- customType: string;
858
- };
859
- readonly token: {
860
- type: "string";
861
- optional: false;
862
- customType: string;
863
- };
864
- readonly userId: {
865
- type: "string";
866
- optional: false;
867
- customType: string;
868
- } & {
869
- serverName: string;
870
- };
871
- };
872
- primaryKey: readonly [string, ...string[]];
873
- } & {
874
- primaryKey: ["id"];
875
- };
876
- readonly accountAlias: {
877
- name: "accountAlias";
878
- columns: {
879
- readonly accountId: {
880
- type: "string";
881
- optional: false;
882
- customType: string;
883
- } & {
884
- serverName: string;
885
- };
886
- readonly emailAddress: {
887
- type: "string";
888
- optional: false;
889
- customType: string;
890
- } & {
891
- serverName: string;
892
- };
893
- readonly id: {
894
- type: "string";
895
- optional: false;
896
- customType: string;
897
- };
898
- readonly isPrimary: {
899
- type: "boolean";
900
- optional: false;
901
- customType: boolean;
902
- } & {
903
- serverName: string;
904
- };
905
- readonly name: Omit<{
906
- type: "string";
907
- optional: false;
908
- customType: string;
909
- }, "optional"> & {
910
- optional: true;
911
- };
912
- };
913
- primaryKey: readonly [string, ...string[]];
914
- } & {
915
- primaryKey: ["id"];
916
- };
917
- readonly accountLabel: {
918
- name: "accountLabel";
919
- columns: {
920
- readonly accountId: {
921
- type: "string";
922
- optional: false;
923
- customType: string;
924
- } & {
925
- serverName: string;
926
- };
927
- readonly id: {
928
- type: "string";
929
- optional: false;
930
- customType: string;
931
- };
932
- readonly name: Omit<{
933
- type: "string";
934
- optional: false;
935
- customType: string;
936
- }, "optional"> & {
937
- optional: true;
938
- };
939
- readonly path: {
940
- type: "string";
941
- optional: false;
942
- customType: string;
943
- };
944
- readonly specialUse: Omit<{
945
- type: "string";
946
- optional: false;
947
- customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
948
- }, "optional"> & {
949
- optional: true;
950
- } & {
951
- serverName: string;
952
- };
953
- readonly uidValidity: {
954
- type: "number";
955
- optional: false;
956
- customType: number;
957
- } & {
958
- serverName: string;
959
- };
960
- readonly unreadCount: {
961
- type: "number";
962
- optional: false;
963
- customType: number;
964
- } & {
965
- serverName: string;
966
- };
967
- };
968
- primaryKey: readonly [string, ...string[]];
969
- } & {
970
- primaryKey: ["id"];
971
- };
972
- readonly draftAttachment: {
973
- name: "draftAttachment";
974
- columns: {
975
- readonly draftId: {
976
- type: "string";
977
- optional: false;
978
- customType: string;
979
- } & {
980
- serverName: string;
981
- };
982
- readonly fileName: {
983
- type: "string";
984
- optional: false;
985
- customType: string;
986
- } & {
987
- serverName: string;
988
- };
989
- readonly id: {
990
- type: "string";
991
- optional: false;
992
- customType: string;
993
- };
994
- readonly mimeType: {
995
- type: "string";
996
- optional: false;
997
- customType: string;
998
- } & {
999
- serverName: string;
1000
- };
1001
- readonly status: {
1002
- type: "string";
1003
- optional: false;
1004
- customType: "PENDING" | "COMPLETE" | "FAILED";
1005
- } & {
1006
- serverName: string;
1007
- };
1008
- readonly totalSize: {
1009
- type: "number";
1010
- optional: false;
1011
- customType: number;
1012
- } & {
1013
- serverName: string;
1014
- };
1015
- };
1016
- primaryKey: readonly [string, ...string[]];
1017
- } & {
1018
- primaryKey: ["id"];
1019
- };
1020
- readonly threadLabel: {
1021
- name: "threadLabel";
1022
- columns: {
1023
- readonly accountId: {
1024
- type: "string";
1025
- optional: false;
1026
- customType: string;
1027
- } & {
1028
- serverName: string;
1029
- };
1030
- readonly labelId: {
1031
- type: "string";
1032
- optional: false;
1033
- customType: string;
1034
- } & {
1035
- serverName: string;
1036
- };
1037
- readonly lastSyncedAt: {
1038
- type: "number";
1039
- optional: false;
1040
- customType: number;
1041
- } & {
1042
- serverName: string;
1043
- };
1044
- readonly threadId: {
1045
- type: "string";
1046
- optional: false;
1047
- customType: string;
1048
- } & {
1049
- serverName: string;
1050
- };
1051
- readonly threadMessageId: {
1052
- type: "string";
1053
- optional: false;
1054
- customType: string;
1055
- } & {
1056
- serverName: string;
1057
- };
1058
- readonly uid: {
1059
- type: "number";
1060
- optional: false;
1061
- customType: number;
1062
- };
1063
- readonly uidValidity: {
1064
- type: "number";
1065
- optional: false;
1066
- customType: number;
1067
- } & {
1068
- serverName: string;
1069
- };
1070
- };
1071
- primaryKey: readonly [string, ...string[]];
1072
- } & {
1073
- primaryKey: ["accountId", "labelId", "threadMessageId"];
1074
- };
1075
- readonly threadByLabel: {
1076
- name: "threadByLabel";
1077
- columns: {
1078
- readonly labelId: {
1079
- type: "string";
1080
- optional: false;
1081
- customType: string;
1082
- } & {
1083
- serverName: string;
1084
- };
1085
- readonly latestMessageDate: {
1086
- type: "number";
1087
- optional: false;
1088
- customType: number;
1089
- } & {
1090
- serverName: string;
1091
- };
1092
- readonly threadId: {
1093
- type: "string";
1094
- optional: false;
1095
- customType: string;
1096
- } & {
1097
- serverName: string;
1098
- };
1099
- };
1100
- primaryKey: readonly [string, ...string[]];
1101
- } & {
1102
- primaryKey: ["labelId", "threadId"];
1103
- };
1104
- readonly threadMessage: {
1105
- name: "threadMessage";
1106
- columns: {
1107
- readonly accountId: {
1108
- type: "string";
1109
- optional: false;
1110
- customType: string;
1111
- } & {
1112
- serverName: string;
1113
- };
1114
- readonly envelopeDate: {
1115
- type: "number";
1116
- optional: false;
1117
- customType: number;
1118
- } & {
1119
- serverName: string;
1120
- };
1121
- readonly envelopeSubject: Omit<{
1122
- type: "string";
1123
- optional: false;
1124
- customType: string;
1125
- }, "optional"> & {
1126
- optional: true;
1127
- } & {
1128
- serverName: string;
1129
- };
1130
- readonly id: {
1131
- type: "string";
1132
- optional: false;
1133
- customType: string;
1134
- };
1135
- readonly previewText: {
1136
- type: "string";
1137
- optional: false;
1138
- customType: string;
1139
- } & {
1140
- serverName: string;
1141
- };
1142
- readonly senderEmail: {
1143
- type: "string";
1144
- optional: false;
1145
- customType: string;
1146
- } & {
1147
- serverName: string;
1148
- };
1149
- readonly senderName: Omit<{
1150
- type: "string";
1151
- optional: false;
1152
- customType: string;
1153
- }, "optional"> & {
1154
- optional: true;
1155
- } & {
1156
- serverName: string;
1157
- };
1158
- readonly threadId: {
1159
- type: "string";
1160
- optional: false;
1161
- customType: string;
1162
- } & {
1163
- serverName: string;
1164
- };
1165
- readonly unsubscribeUrl: Omit<{
1166
- type: "string";
1167
- optional: false;
1168
- customType: string;
1169
- }, "optional"> & {
1170
- optional: true;
1171
- } & {
1172
- serverName: string;
1173
- };
1174
- };
1175
- primaryKey: readonly [string, ...string[]];
1176
- } & {
1177
- primaryKey: ["id"];
1178
- };
1179
- readonly threadMessageRecipient: {
1180
- name: "threadMessageRecipient";
1181
- columns: {
1182
- readonly emailAddress: {
1183
- type: "string";
1184
- optional: false;
1185
- customType: string;
1186
- } & {
1187
- serverName: string;
1188
- };
1189
- readonly id: {
1190
- type: "string";
1191
- optional: false;
1192
- customType: string;
1193
- };
1194
- readonly name: Omit<{
1195
- type: "string";
1196
- optional: false;
1197
- customType: string;
1198
- }, "optional"> & {
1199
- optional: true;
1200
- };
1201
- readonly threadMessageId: {
1202
- type: "string";
1203
- optional: false;
1204
- customType: string;
1205
- } & {
1206
- serverName: string;
1207
- };
1208
- readonly type: {
1209
- type: "string";
1210
- optional: false;
1211
- customType: "bcc" | "cc" | "to" | "replyTo";
1212
- };
1213
- };
1214
- primaryKey: readonly [string, ...string[]];
1215
- } & {
1216
- primaryKey: ["id"];
1217
- };
1218
- readonly threadMessageAttachment: {
1219
- name: "threadMessageAttachment";
1220
- columns: {
1221
- readonly fileName: {
1222
- type: "string";
1223
- optional: false;
1224
- customType: string;
1225
- } & {
1226
- serverName: string;
1227
- };
1228
- readonly id: {
1229
- type: "string";
1230
- optional: false;
1231
- customType: string;
1232
- };
1233
- readonly mimeType: {
1234
- type: "string";
1235
- optional: false;
1236
- customType: string;
1237
- } & {
1238
- serverName: string;
1239
- };
1240
- readonly size: {
1241
- type: "number";
1242
- optional: false;
1243
- customType: number;
1244
- };
1245
- readonly threadMessageId: {
1246
- type: "string";
1247
- optional: false;
1248
- customType: string;
1249
- } & {
1250
- serverName: string;
1251
- };
1252
- };
1253
- primaryKey: readonly [string, ...string[]];
1254
- } & {
1255
- primaryKey: ["id"];
1256
- };
1257
- };
1258
- relationships: {
1259
- readonly user: {
1260
- accounts: [{
1261
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1262
- readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1263
- readonly destSchema: "account";
1264
- readonly cardinality: "many";
1265
- }];
1266
- contacts: [{
1267
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1268
- readonly destField: readonly ("emailAddress" | "id" | "name" | "userId")[];
1269
- readonly destSchema: "contact";
1270
- readonly cardinality: "many";
1271
- }];
1272
- drafts: [{
1273
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1274
- readonly destField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1275
- readonly destSchema: "draft";
1276
- readonly cardinality: "many";
1277
- }];
1278
- pushNotificationTokens: [{
1279
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1280
- readonly destField: readonly ("id" | "userId" | "createdAt" | "token")[];
1281
- readonly destSchema: "userPushNotificationToken";
1282
- readonly cardinality: "many";
1283
- }];
1284
- threads: [{
1285
- readonly sourceField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1286
- readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1287
- readonly destSchema: "thread";
1288
- readonly cardinality: "many";
1289
- }];
1290
- };
1291
- readonly account: {
1292
- aliases: [{
1293
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1294
- readonly destField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
1295
- readonly destSchema: "accountAlias";
1296
- readonly cardinality: "many";
1297
- }];
1298
- drafts: [{
1299
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1300
- readonly destField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1301
- readonly destSchema: "draft";
1302
- readonly cardinality: "many";
1303
- }];
1304
- labels: [{
1305
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1306
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1307
- readonly destSchema: "accountLabel";
1308
- readonly cardinality: "many";
1309
- }];
1310
- primaryAlias: [{
1311
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1312
- readonly destField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
1313
- readonly destSchema: "accountAlias";
1314
- readonly cardinality: "one";
1315
- }];
1316
- threads: [{
1317
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1318
- readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1319
- readonly destSchema: "thread";
1320
- readonly cardinality: "many";
1321
- }];
1322
- user: [{
1323
- readonly sourceField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1324
- readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1325
- readonly destSchema: "user";
1326
- readonly cardinality: "one";
1327
- }];
1328
- };
1329
- readonly contact: {
1330
- user: [{
1331
- readonly sourceField: readonly ("emailAddress" | "id" | "name" | "userId")[];
1332
- readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1333
- readonly destSchema: "user";
1334
- readonly cardinality: "one";
1335
- }];
1336
- };
1337
- readonly draft: {
1338
- account: [{
1339
- readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1340
- readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1341
- readonly destSchema: "account";
1342
- readonly cardinality: "one";
1343
- }];
1344
- attachments: [{
1345
- readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1346
- readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1347
- readonly destSchema: "draftAttachment";
1348
- readonly cardinality: "many";
1349
- }];
1350
- user: [{
1351
- readonly sourceField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1352
- readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1353
- readonly destSchema: "user";
1354
- readonly cardinality: "one";
1355
- }];
1356
- };
1357
- readonly thread: {
1358
- account: [{
1359
- readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1360
- readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1361
- readonly destSchema: "account";
1362
- readonly cardinality: "one";
1363
- }];
1364
- labels: [{
1365
- readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1366
- readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1367
- readonly destSchema: "threadLabel";
1368
- readonly cardinality: "many";
1369
- }, {
1370
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1371
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1372
- readonly destSchema: "accountLabel";
1373
- readonly cardinality: "many";
1374
- }];
1375
- messages: [{
1376
- readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1377
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1378
- readonly destSchema: "threadMessage";
1379
- readonly cardinality: "many";
1380
- }];
1381
- threadByLabel: [{
1382
- readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1383
- readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1384
- readonly destSchema: "threadByLabel";
1385
- readonly cardinality: "many";
1386
- }];
1387
- user: [{
1388
- readonly sourceField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1389
- readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1390
- readonly destSchema: "user";
1391
- readonly cardinality: "one";
1392
- }];
1393
- };
1394
- readonly userPushNotificationToken: {
1395
- user: [{
1396
- readonly sourceField: readonly ("id" | "userId" | "createdAt" | "token")[];
1397
- readonly destField: readonly ("id" | "name" | "views" | "profilePicture" | "undoSendEnabled")[];
1398
- readonly destSchema: "user";
1399
- readonly cardinality: "one";
1400
- }];
1401
- };
1402
- readonly accountAlias: {
1403
- account: [{
1404
- readonly sourceField: readonly ("accountId" | "emailAddress" | "id" | "isPrimary" | "name")[];
1405
- readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1406
- readonly destSchema: "account";
1407
- readonly cardinality: "one";
1408
- }];
1409
- };
1410
- readonly accountLabel: {
1411
- account: [{
1412
- readonly sourceField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1413
- readonly destField: readonly ("id" | "imapConnectionStatus" | "color" | "displayName" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId" | "userId")[];
1414
- readonly destSchema: "account";
1415
- readonly cardinality: "one";
1416
- }];
1417
- threads: [{
1418
- readonly sourceField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1419
- readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1420
- readonly destSchema: "threadLabel";
1421
- readonly cardinality: "many";
1422
- }, {
1423
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1424
- readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1425
- readonly destSchema: "thread";
1426
- readonly cardinality: "many";
1427
- }];
1428
- };
1429
- readonly draftAttachment: {
1430
- draft: [{
1431
- readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1432
- readonly destField: readonly ("type" | "status" | "accountId" | "id" | "userId" | "scheduledFor" | "body" | "error" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "subject" | "updatedAt")[];
1433
- readonly destSchema: "draft";
1434
- readonly cardinality: "one";
1435
- }];
1436
- };
1437
- readonly threadLabel: {
1438
- label: [{
1439
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1440
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1441
- readonly destSchema: "accountLabel";
1442
- readonly cardinality: "one";
1443
- }];
1444
- message: [{
1445
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1446
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1447
- readonly destSchema: "threadMessage";
1448
- readonly cardinality: "one";
1449
- }];
1450
- thread: [{
1451
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1452
- readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1453
- readonly destSchema: "thread";
1454
- readonly cardinality: "one";
1455
- }];
1456
- };
1457
- readonly threadByLabel: {
1458
- label: [{
1459
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1460
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1461
- readonly destSchema: "accountLabel";
1462
- readonly cardinality: "one";
1463
- }];
1464
- thread: [{
1465
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1466
- readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1467
- readonly destSchema: "thread";
1468
- readonly cardinality: "one";
1469
- }];
1470
- };
1471
- readonly threadMessage: {
1472
- attachments: [{
1473
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1474
- readonly destField: readonly ("id" | "fileName" | "mimeType" | "size" | "threadMessageId")[];
1475
- readonly destSchema: "threadMessageAttachment";
1476
- readonly cardinality: "many";
1477
- }];
1478
- labels: [{
1479
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1480
- readonly destField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1481
- readonly destSchema: "threadLabel";
1482
- readonly cardinality: "many";
1483
- }, {
1484
- readonly sourceField: readonly ("accountId" | "uidValidity" | "threadMessageId" | "threadId" | "labelId" | "lastSyncedAt" | "uid")[];
1485
- readonly destField: readonly ("accountId" | "id" | "name" | "specialUse" | "path" | "uidValidity" | "unreadCount")[];
1486
- readonly destSchema: "accountLabel";
1487
- readonly cardinality: "many";
1488
- }];
1489
- recipients: [{
1490
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1491
- readonly destField: readonly ("type" | "emailAddress" | "id" | "name" | "threadMessageId")[];
1492
- readonly destSchema: "threadMessageRecipient";
1493
- readonly cardinality: "many";
1494
- }];
1495
- thread: [{
1496
- readonly sourceField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1497
- readonly destField: readonly ("accountId" | "id" | "userId" | "subject" | "previewText" | "senderEmail" | "senderName" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "seen" | "words")[];
1498
- readonly destSchema: "thread";
1499
- readonly cardinality: "one";
1500
- }];
1501
- };
1502
- readonly threadMessageRecipient: {
1503
- message: [{
1504
- readonly sourceField: readonly ("type" | "emailAddress" | "id" | "name" | "threadMessageId")[];
1505
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1506
- readonly destSchema: "threadMessage";
1507
- readonly cardinality: "one";
1508
- }];
1509
- };
1510
- readonly threadMessageAttachment: {
1511
- message: [{
1512
- readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "size" | "threadMessageId")[];
1513
- readonly destField: readonly ("accountId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName" | "threadId" | "unsubscribeUrl")[];
1514
- readonly destSchema: "threadMessage";
1515
- readonly cardinality: "one";
1516
- }];
1517
- };
1518
- };
1519
- enableLegacyQueries: boolean | undefined;
1520
- enableLegacyMutators: false;
1521
- }>;
1522
- export {};
1523
- //# sourceMappingURL=mutators.d.ts.map