@marcoappio/marco-config 2.0.504 → 2.0.505

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 (108) hide show
  1. package/dist/types/AuthData.d.ts +4 -0
  2. package/dist/types/AuthData.d.ts.map +1 -0
  3. package/dist/types/AuthData.js +1 -0
  4. package/dist/types/IMAPSourceLocation.d.ts +7 -0
  5. package/dist/types/IMAPSourceLocation.d.ts.map +1 -0
  6. package/dist/types/IMAPSourceLocation.js +1 -0
  7. package/dist/types/Zero.d.ts +14 -8
  8. package/dist/types/Zero.d.ts.map +1 -1
  9. package/dist/types/index.d.ts +2 -0
  10. package/dist/types/index.d.ts.map +1 -1
  11. package/dist/types/index.js +2 -0
  12. package/dist/zero/index.d.ts +7745 -3109
  13. package/dist/zero/index.d.ts.map +1 -1
  14. package/dist/zero/index.js +14 -5
  15. package/dist/zero/mutatorSchemas/account.d.ts +80 -0
  16. package/dist/zero/mutatorSchemas/account.d.ts.map +1 -0
  17. package/dist/zero/mutatorSchemas/account.js +66 -0
  18. package/dist/zero/mutatorSchemas/draft.d.ts +150 -0
  19. package/dist/zero/mutatorSchemas/draft.d.ts.map +1 -0
  20. package/dist/zero/mutatorSchemas/draft.js +104 -0
  21. package/dist/zero/mutatorSchemas/index.d.ts +323 -0
  22. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -0
  23. package/dist/zero/mutatorSchemas/index.js +10 -0
  24. package/dist/zero/mutatorSchemas/thread.d.ts +71 -0
  25. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -0
  26. package/dist/zero/mutatorSchemas/thread.js +47 -0
  27. package/dist/zero/mutatorSchemas/user.d.ts +26 -0
  28. package/dist/zero/mutatorSchemas/user.d.ts.map +1 -0
  29. package/dist/zero/mutatorSchemas/user.js +27 -0
  30. package/dist/zero/mutators/accountMutators/accountMutators.d.ts +3 -188
  31. package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
  32. package/dist/zero/mutators/accountMutators/accountMutators.js +82 -118
  33. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +2 -0
  34. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +1 -0
  35. package/dist/zero/mutators/accountMutators/accountMutators.test.js +372 -0
  36. package/dist/zero/mutators/accountMutators/index.d.ts +1 -1
  37. package/dist/zero/mutators/accountMutators/index.d.ts.map +1 -1
  38. package/dist/zero/mutators/accountMutators/index.js +1 -1
  39. package/dist/zero/mutators/draftMutators/draftMutators.d.ts +3 -305
  40. package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
  41. package/dist/zero/mutators/draftMutators/draftMutators.js +83 -157
  42. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +2 -0
  43. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +1 -0
  44. package/dist/zero/mutators/draftMutators/draftMutators.test.js +416 -0
  45. package/dist/zero/mutators/draftMutators/index.d.ts +1 -1
  46. package/dist/zero/mutators/draftMutators/index.d.ts.map +1 -1
  47. package/dist/zero/mutators/draftMutators/index.js +1 -1
  48. package/dist/zero/mutators/index.d.ts +1 -251
  49. package/dist/zero/mutators/index.d.ts.map +1 -1
  50. package/dist/zero/mutators/index.js +1 -11
  51. package/dist/zero/mutators/mutators.d.ts +17 -1519
  52. package/dist/zero/mutators/mutators.d.ts.map +1 -1
  53. package/dist/zero/mutators/mutators.js +38 -11
  54. package/dist/zero/mutators/threadMutators/index.d.ts +1 -1
  55. package/dist/zero/mutators/threadMutators/index.d.ts.map +1 -1
  56. package/dist/zero/mutators/threadMutators/index.js +1 -1
  57. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +6 -199
  58. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  59. package/dist/zero/mutators/threadMutators/threadMutators.js +87 -119
  60. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts +2 -0
  61. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts.map +1 -0
  62. package/dist/zero/mutators/threadMutators/threadMutators.test.js +755 -0
  63. package/dist/zero/mutators/userMutators/index.d.ts +1 -1
  64. package/dist/zero/mutators/userMutators/index.d.ts.map +1 -1
  65. package/dist/zero/mutators/userMutators/index.js +1 -1
  66. package/dist/zero/mutators/userMutators/userMutators.d.ts +3 -56
  67. package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
  68. package/dist/zero/mutators/userMutators/userMutators.js +26 -40
  69. package/dist/zero/mutators/userMutators/userMutators.test.d.ts +2 -0
  70. package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +1 -0
  71. package/dist/zero/mutators/userMutators/userMutators.test.js +84 -0
  72. package/dist/zero/queries/getAccounts.d.ts +1025 -4
  73. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  74. package/dist/zero/queries/getAccounts.js +3 -6
  75. package/dist/zero/queries/getContacts.d.ts +1033 -18
  76. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  77. package/dist/zero/queries/getContacts.js +15 -11
  78. package/dist/zero/queries/getDrafts.d.ts +1031 -11
  79. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  80. package/dist/zero/queries/getDrafts.js +11 -7
  81. package/dist/zero/queries/getThread.d.ts +1028 -7
  82. package/dist/zero/queries/getThread.d.ts.map +1 -1
  83. package/dist/zero/queries/getThread.js +9 -5
  84. package/dist/zero/queries/getThreadList.d.ts +1035 -23
  85. package/dist/zero/queries/getThreadList.d.ts.map +1 -1
  86. package/dist/zero/queries/getThreadList.js +18 -14
  87. package/dist/zero/queries/getThreads.d.ts +1035 -23
  88. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  89. package/dist/zero/queries/getThreads.js +18 -14
  90. package/dist/zero/queries/getUser.d.ts +1025 -4
  91. package/dist/zero/queries/getUser.d.ts.map +1 -1
  92. package/dist/zero/queries/getUser.js +7 -10
  93. package/dist/zero/queries/index.d.ts +141 -460
  94. package/dist/zero/queries/index.d.ts.map +1 -1
  95. package/dist/zero/queries/index.js +10 -18
  96. package/dist/zero/schema.d.ts +133 -133
  97. package/dist/zero/schema.d.ts.map +1 -1
  98. package/dist/zero/schema.js +1 -0
  99. package/package.json +2 -2
  100. package/dist/zero/crud.d.ts +0 -1024
  101. package/dist/zero/crud.d.ts.map +0 -1
  102. package/dist/zero/crud.js +0 -3
  103. package/dist/zero/mutators/typedMutator.d.ts +0 -2056
  104. package/dist/zero/mutators/typedMutator.d.ts.map +0 -1
  105. package/dist/zero/mutators/typedMutator.js +0 -2
  106. package/dist/zero/queries/z.d.ts +0 -14439
  107. package/dist/zero/queries/z.d.ts.map +0 -1
  108. package/dist/zero/queries/z.js +0 -3
@@ -1,330 +1,4 @@
1
- export declare const queries: import("@rocicorp/zero").QueryRegistry<{
2
- getAccounts: import("@rocicorp/zero").QueryDefinition<"account", import("@rocicorp/zero").ReadonlyJSONValue | undefined, import("@rocicorp/zero").ReadonlyJSONValue | undefined, {
3
- readonly color: string;
4
- readonly displayName: string | null;
5
- readonly id: string;
6
- 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";
7
- readonly mailProcessedCount: number;
8
- readonly mailTotalCount: number;
9
- readonly primaryAliasId: string | null;
10
- readonly userId: string;
11
- } & {
12
- readonly aliases: readonly {
13
- readonly accountId: string;
14
- readonly emailAddress: string;
15
- readonly id: string;
16
- readonly isPrimary: boolean;
17
- readonly name: string | null;
18
- }[];
19
- } & {
20
- readonly primaryAlias: {
21
- readonly accountId: string;
22
- readonly emailAddress: string;
23
- readonly id: string;
24
- readonly isPrimary: boolean;
25
- readonly name: string | null;
26
- } | undefined;
27
- } & {
28
- readonly labels: readonly {
29
- readonly accountId: string;
30
- readonly id: string;
31
- readonly name: string | null;
32
- readonly path: string;
33
- readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
34
- readonly uidValidity: number;
35
- readonly unreadCount: number;
36
- }[];
37
- }, {
38
- readonly userId: string;
39
- }>;
40
- getContacts: import("@rocicorp/zero").QueryDefinition<"contact", {
41
- limit?: number | undefined;
42
- search?: string | undefined;
43
- where?: {
44
- emailAddress?: string | undefined;
45
- ids?: string[] | undefined;
46
- name?: string | undefined;
47
- } | undefined;
48
- }, {
49
- limit: number;
50
- search?: string | undefined;
51
- where?: {
52
- emailAddress?: string | undefined;
53
- ids?: string[] | undefined;
54
- name?: string | undefined;
55
- } | undefined;
56
- }, {
57
- readonly emailAddress: string;
58
- readonly id: string;
59
- readonly name: string | null;
60
- readonly userId: string;
61
- }, {
62
- readonly userId: string;
63
- }>;
64
- getDrafts: import("@rocicorp/zero").QueryDefinition<"draft", {
65
- accountId?: string | undefined;
66
- limit?: number | undefined;
67
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
68
- }, {
69
- accountId?: string | undefined;
70
- limit: number;
71
- status?: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED" | undefined;
72
- }, {
73
- readonly accountId: string;
74
- readonly body: {
75
- content: string;
76
- to: string[];
77
- cc: string[];
78
- bcc: string[];
79
- };
80
- readonly error: string | null;
81
- readonly fromAliasId: string | null;
82
- readonly fromEmail: string;
83
- readonly fromName: string | null;
84
- readonly id: string;
85
- readonly referencedMessageId: string | null;
86
- readonly scheduledFor: number | null;
87
- readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
88
- readonly subject: string | null;
89
- readonly type: "NEW" | "REPLY" | "FORWARD";
90
- readonly updatedAt: number;
91
- readonly userId: string;
92
- } & {
93
- readonly attachments: readonly {
94
- readonly draftId: string;
95
- readonly fileName: string;
96
- readonly id: string;
97
- readonly mimeType: string;
98
- readonly status: "PENDING" | "COMPLETE" | "FAILED";
99
- readonly totalSize: number;
100
- }[];
101
- }, {
102
- readonly userId: string;
103
- }>;
104
- getThread: import("@rocicorp/zero").QueryDefinition<"thread", {
105
- id: string;
106
- }, {
107
- id: string;
108
- }, ({
109
- readonly accountId: string;
110
- readonly flagged: boolean;
111
- readonly hasAttachments: boolean;
112
- readonly id: string;
113
- readonly labelIdList: string;
114
- readonly latestMessageDate: number;
115
- readonly latestMessageId: string;
116
- readonly messageCount: number;
117
- readonly previewText: string;
118
- readonly seen: boolean;
119
- readonly senderEmail: string;
120
- readonly senderName: string | null;
121
- readonly subject: string | null;
122
- readonly userId: string;
123
- readonly words: string;
124
- } & {
125
- readonly messages: readonly ({
126
- readonly accountId: string;
127
- readonly envelopeDate: number;
128
- readonly envelopeSubject: string | null;
129
- readonly id: string;
130
- readonly previewText: string;
131
- readonly senderEmail: string;
132
- readonly senderName: string | null;
133
- readonly threadId: string;
134
- } & {
135
- readonly recipients: readonly {
136
- readonly emailAddress: string;
137
- readonly id: string;
138
- readonly name: string | null;
139
- readonly threadMessageId: string;
140
- readonly type: "bcc" | "cc" | "to" | "replyTo";
141
- }[];
142
- } & {
143
- readonly attachments: readonly {
144
- readonly fileName: string;
145
- readonly id: string;
146
- readonly mimeType: string;
147
- readonly size: number;
148
- readonly threadMessageId: string;
149
- }[];
150
- })[];
151
- }) | undefined, {
152
- readonly userId: string;
153
- }>;
154
- getThreadList: import("@rocicorp/zero").QueryDefinition<"threadByLabel", {
155
- labelIds: string[];
156
- limit?: number | undefined;
157
- search?: string | undefined;
158
- where?: {
159
- flagged?: boolean | undefined;
160
- id?: string | undefined;
161
- messageIds?: string[] | undefined;
162
- participants?: string[] | undefined;
163
- seen?: boolean | undefined;
164
- } | undefined;
165
- }, {
166
- labelIds: string[];
167
- limit: number;
168
- search?: string | undefined;
169
- where?: {
170
- flagged?: boolean | undefined;
171
- id?: string | undefined;
172
- messageIds?: string[] | undefined;
173
- participants?: string[] | undefined;
174
- seen?: boolean | undefined;
175
- } | undefined;
176
- }, {
177
- readonly labelId: string;
178
- readonly latestMessageDate: number;
179
- readonly threadId: string;
180
- } & {
181
- readonly thread: {
182
- readonly accountId: string;
183
- readonly flagged: boolean;
184
- readonly hasAttachments: boolean;
185
- readonly id: string;
186
- readonly labelIdList: string;
187
- readonly latestMessageDate: number;
188
- readonly latestMessageId: string;
189
- readonly messageCount: number;
190
- readonly previewText: string;
191
- readonly seen: boolean;
192
- readonly senderEmail: string;
193
- readonly senderName: string | null;
194
- readonly subject: string | null;
195
- readonly userId: string;
196
- readonly words: string;
197
- } | undefined;
198
- }, {
199
- readonly userId: string;
200
- }>;
201
- getThreads: import("@rocicorp/zero").QueryDefinition<"threadByLabel", {
202
- labelIds: string[];
203
- limit?: number | undefined;
204
- search?: string | undefined;
205
- where?: {
206
- flagged?: boolean | undefined;
207
- id?: string | undefined;
208
- messageIds?: string[] | undefined;
209
- participants?: string[] | undefined;
210
- seen?: boolean | undefined;
211
- } | undefined;
212
- }, {
213
- labelIds: string[];
214
- limit: number;
215
- search?: string | undefined;
216
- where?: {
217
- flagged?: boolean | undefined;
218
- id?: string | undefined;
219
- messageIds?: string[] | undefined;
220
- participants?: string[] | undefined;
221
- seen?: boolean | undefined;
222
- } | undefined;
223
- }, {
224
- readonly labelId: string;
225
- readonly latestMessageDate: number;
226
- readonly threadId: string;
227
- } & {
228
- readonly thread: ({
229
- readonly accountId: string;
230
- readonly flagged: boolean;
231
- readonly hasAttachments: boolean;
232
- readonly id: string;
233
- readonly labelIdList: string;
234
- readonly latestMessageDate: number;
235
- readonly latestMessageId: string;
236
- readonly messageCount: number;
237
- readonly previewText: string;
238
- readonly seen: boolean;
239
- readonly senderEmail: string;
240
- readonly senderName: string | null;
241
- readonly subject: string | null;
242
- readonly userId: string;
243
- readonly words: string;
244
- } & {
245
- readonly messages: readonly ({
246
- readonly accountId: string;
247
- readonly envelopeDate: number;
248
- readonly envelopeSubject: string | null;
249
- readonly id: string;
250
- readonly previewText: string;
251
- readonly senderEmail: string;
252
- readonly senderName: string | null;
253
- readonly threadId: string;
254
- } & {
255
- readonly recipients: readonly {
256
- readonly emailAddress: string;
257
- readonly id: string;
258
- readonly name: string | null;
259
- readonly threadMessageId: string;
260
- readonly type: "bcc" | "cc" | "to" | "replyTo";
261
- }[];
262
- } & {
263
- readonly attachments: readonly {
264
- readonly fileName: string;
265
- readonly id: string;
266
- readonly mimeType: string;
267
- readonly size: number;
268
- readonly threadMessageId: string;
269
- }[];
270
- })[];
271
- }) | undefined;
272
- }, {
273
- readonly userId: string;
274
- }>;
275
- getUser: import("@rocicorp/zero").QueryDefinition<"user", import("@rocicorp/zero").ReadonlyJSONValue | undefined, import("@rocicorp/zero").ReadonlyJSONValue | undefined, {
276
- readonly id: string;
277
- readonly name: string | null;
278
- readonly profilePicture: string | null;
279
- readonly undoSendEnabled: boolean;
280
- } & {
281
- readonly accounts: readonly ({
282
- readonly color: string;
283
- readonly displayName: string | null;
284
- readonly id: string;
285
- 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";
286
- readonly mailProcessedCount: number;
287
- readonly mailTotalCount: number;
288
- readonly primaryAliasId: string | null;
289
- readonly userId: string;
290
- } & {
291
- readonly aliases: readonly {
292
- readonly accountId: string;
293
- readonly emailAddress: string;
294
- readonly id: string;
295
- readonly isPrimary: boolean;
296
- readonly name: string | null;
297
- }[];
298
- } & {
299
- readonly primaryAlias: {
300
- readonly accountId: string;
301
- readonly emailAddress: string;
302
- readonly id: string;
303
- readonly isPrimary: boolean;
304
- readonly name: string | null;
305
- } | undefined;
306
- } & {
307
- readonly labels: readonly {
308
- readonly accountId: string;
309
- readonly id: string;
310
- readonly name: string | null;
311
- readonly path: string;
312
- readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
313
- readonly uidValidity: number;
314
- readonly unreadCount: number;
315
- }[];
316
- })[];
317
- } & {
318
- readonly pushNotificationTokens: readonly {
319
- readonly createdAt: number;
320
- readonly id: string;
321
- readonly token: string;
322
- readonly userId: string;
323
- }[];
324
- }, {
325
- readonly userId: string;
326
- }>;
327
- }, {
1
+ export declare const z: import("@rocicorp/zero").SchemaQuery<{
328
2
  tables: {
329
3
  readonly user: {
330
4
  name: "user";
@@ -362,54 +36,6 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
362
36
  } & {
363
37
  primaryKey: ["id"];
364
38
  };
365
- readonly draftAttachment: {
366
- name: "draftAttachment";
367
- columns: {
368
- readonly draftId: {
369
- type: "string";
370
- optional: false;
371
- customType: string;
372
- } & {
373
- serverName: string;
374
- };
375
- readonly fileName: {
376
- type: "string";
377
- optional: false;
378
- customType: string;
379
- } & {
380
- serverName: string;
381
- };
382
- readonly id: {
383
- type: "string";
384
- optional: false;
385
- customType: string;
386
- };
387
- readonly mimeType: {
388
- type: "string";
389
- optional: false;
390
- customType: string;
391
- } & {
392
- serverName: string;
393
- };
394
- readonly status: {
395
- type: "string";
396
- optional: false;
397
- customType: "PENDING" | "COMPLETE" | "FAILED";
398
- } & {
399
- serverName: string;
400
- };
401
- readonly totalSize: {
402
- type: "number";
403
- optional: false;
404
- customType: number;
405
- } & {
406
- serverName: string;
407
- };
408
- };
409
- primaryKey: readonly [string, ...string[]];
410
- } & {
411
- primaryKey: ["id"];
412
- };
413
39
  readonly userPushNotificationToken: {
414
40
  name: "userPushNotificationToken";
415
41
  columns: {
@@ -747,6 +373,54 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
747
373
  } & {
748
374
  primaryKey: ["id"];
749
375
  };
376
+ readonly draftAttachment: {
377
+ name: "draftAttachment";
378
+ columns: {
379
+ readonly draftId: {
380
+ type: "string";
381
+ optional: false;
382
+ customType: string;
383
+ } & {
384
+ serverName: string;
385
+ };
386
+ readonly fileName: {
387
+ type: "string";
388
+ optional: false;
389
+ customType: string;
390
+ } & {
391
+ serverName: string;
392
+ };
393
+ readonly id: {
394
+ type: "string";
395
+ optional: false;
396
+ customType: string;
397
+ };
398
+ readonly mimeType: {
399
+ type: "string";
400
+ optional: false;
401
+ customType: string;
402
+ } & {
403
+ serverName: string;
404
+ };
405
+ readonly status: {
406
+ type: "string";
407
+ optional: false;
408
+ customType: "PENDING" | "COMPLETE" | "FAILED";
409
+ } & {
410
+ serverName: string;
411
+ };
412
+ readonly totalSize: {
413
+ type: "number";
414
+ optional: false;
415
+ customType: number;
416
+ } & {
417
+ serverName: string;
418
+ };
419
+ };
420
+ primaryKey: readonly [string, ...string[]];
421
+ } & {
422
+ primaryKey: ["id"];
423
+ };
750
424
  readonly thread: {
751
425
  name: "thread";
752
426
  columns: {
@@ -1086,265 +760,272 @@ export declare const queries: import("@rocicorp/zero").QueryRegistry<{
1086
760
  relationships: {
1087
761
  readonly user: {
1088
762
  accounts: [{
1089
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1090
- readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
763
+ readonly sourceField: string[];
764
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1091
765
  readonly destSchema: "account";
1092
766
  readonly cardinality: "many";
1093
767
  }];
1094
768
  contacts: [{
1095
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1096
- readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
769
+ readonly sourceField: string[];
770
+ readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
1097
771
  readonly destSchema: "contact";
1098
772
  readonly cardinality: "many";
1099
773
  }];
1100
774
  drafts: [{
1101
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1102
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
775
+ readonly sourceField: string[];
776
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1103
777
  readonly destSchema: "draft";
1104
778
  readonly cardinality: "many";
1105
779
  }];
1106
780
  pushNotificationTokens: [{
1107
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1108
- readonly destField: readonly ("createdAt" | "id" | "token" | "userId")[];
781
+ readonly sourceField: string[];
782
+ readonly destField: ("id" | "createdAt" | "token" | "userId")[];
1109
783
  readonly destSchema: "userPushNotificationToken";
1110
784
  readonly cardinality: "many";
1111
785
  }];
1112
786
  threads: [{
1113
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1114
- readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
787
+ readonly sourceField: string[];
788
+ readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1115
789
  readonly destSchema: "thread";
1116
790
  readonly cardinality: "many";
1117
791
  }];
1118
792
  };
1119
- readonly draftAttachment: {
1120
- draft: [{
1121
- readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1122
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1123
- readonly destSchema: "draft";
1124
- readonly cardinality: "one";
1125
- }];
1126
- };
1127
793
  readonly userPushNotificationToken: {
1128
794
  user: [{
1129
- readonly sourceField: readonly ("createdAt" | "id" | "token" | "userId")[];
1130
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
795
+ readonly sourceField: string[];
796
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1131
797
  readonly destSchema: "user";
1132
798
  readonly cardinality: "one";
1133
799
  }];
1134
800
  };
1135
801
  readonly contact: {
1136
802
  user: [{
1137
- readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1138
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
803
+ readonly sourceField: string[];
804
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1139
805
  readonly destSchema: "user";
1140
806
  readonly cardinality: "one";
1141
807
  }];
1142
808
  };
1143
809
  readonly account: {
1144
810
  aliases: [{
1145
- readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1146
- readonly destField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
811
+ readonly sourceField: string[];
812
+ readonly destField: ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
1147
813
  readonly destSchema: "accountAlias";
1148
814
  readonly cardinality: "many";
1149
815
  }];
1150
816
  drafts: [{
1151
- readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1152
- readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
817
+ readonly sourceField: string[];
818
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1153
819
  readonly destSchema: "draft";
1154
820
  readonly cardinality: "many";
1155
821
  }];
1156
822
  labels: [{
1157
- readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1158
- readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
823
+ readonly sourceField: string[];
824
+ readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1159
825
  readonly destSchema: "accountLabel";
1160
826
  readonly cardinality: "many";
1161
827
  }];
1162
828
  primaryAlias: [{
1163
- readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1164
- readonly destField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
829
+ readonly sourceField: string[];
830
+ readonly destField: ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
1165
831
  readonly destSchema: "accountAlias";
1166
832
  readonly cardinality: "one";
1167
833
  }];
1168
834
  threads: [{
1169
- readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1170
- readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
835
+ readonly sourceField: string[];
836
+ readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1171
837
  readonly destSchema: "thread";
1172
838
  readonly cardinality: "many";
1173
839
  }];
1174
840
  user: [{
1175
- readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1176
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
841
+ readonly sourceField: string[];
842
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1177
843
  readonly destSchema: "user";
1178
844
  readonly cardinality: "one";
1179
845
  }];
1180
846
  };
1181
847
  readonly accountAlias: {
1182
848
  account: [{
1183
- readonly sourceField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
1184
- readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
849
+ readonly sourceField: string[];
850
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1185
851
  readonly destSchema: "account";
1186
852
  readonly cardinality: "one";
1187
853
  }];
1188
854
  };
1189
855
  readonly accountLabel: {
1190
856
  account: [{
1191
- readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1192
- readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
857
+ readonly sourceField: string[];
858
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1193
859
  readonly destSchema: "account";
1194
860
  readonly cardinality: "one";
1195
861
  }];
1196
862
  threads: [{
1197
- readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1198
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
863
+ readonly sourceField: string[];
864
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1199
865
  readonly destSchema: "threadLabel";
1200
866
  readonly cardinality: "many";
1201
867
  }, {
1202
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1203
- readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
868
+ readonly sourceField: string[];
869
+ readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1204
870
  readonly destSchema: "thread";
1205
871
  readonly cardinality: "many";
1206
872
  }];
1207
873
  };
1208
874
  readonly draft: {
1209
875
  account: [{
1210
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1211
- readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
876
+ readonly sourceField: string[];
877
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1212
878
  readonly destSchema: "account";
1213
879
  readonly cardinality: "one";
1214
880
  }];
1215
881
  attachments: [{
1216
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1217
- readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
882
+ readonly sourceField: string[];
883
+ readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1218
884
  readonly destSchema: "draftAttachment";
1219
885
  readonly cardinality: "many";
1220
886
  }];
1221
887
  user: [{
1222
- readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1223
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
888
+ readonly sourceField: string[];
889
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1224
890
  readonly destSchema: "user";
1225
891
  readonly cardinality: "one";
1226
892
  }];
1227
893
  };
894
+ readonly draftAttachment: {
895
+ draft: [{
896
+ readonly sourceField: string[];
897
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
898
+ readonly destSchema: "draft";
899
+ readonly cardinality: "one";
900
+ }];
901
+ };
1228
902
  readonly thread: {
1229
903
  account: [{
1230
- readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1231
- readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
904
+ readonly sourceField: string[];
905
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1232
906
  readonly destSchema: "account";
1233
907
  readonly cardinality: "one";
1234
908
  }];
1235
909
  labels: [{
1236
- readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1237
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
910
+ readonly sourceField: string[];
911
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1238
912
  readonly destSchema: "threadLabel";
1239
913
  readonly cardinality: "many";
1240
914
  }, {
1241
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1242
- readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
915
+ readonly sourceField: string[];
916
+ readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1243
917
  readonly destSchema: "accountLabel";
1244
918
  readonly cardinality: "many";
1245
919
  }];
1246
920
  messages: [{
1247
- readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1248
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
921
+ readonly sourceField: string[];
922
+ readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1249
923
  readonly destSchema: "threadMessage";
1250
924
  readonly cardinality: "many";
1251
925
  }];
1252
926
  threadByLabel: [{
1253
- readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1254
- readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
927
+ readonly sourceField: string[];
928
+ readonly destField: ("latestMessageDate" | "labelId" | "threadId")[];
1255
929
  readonly destSchema: "threadByLabel";
1256
930
  readonly cardinality: "many";
1257
931
  }];
1258
932
  user: [{
1259
- readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1260
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
933
+ readonly sourceField: string[];
934
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1261
935
  readonly destSchema: "user";
1262
936
  readonly cardinality: "one";
1263
937
  }];
1264
938
  };
1265
939
  readonly threadLabel: {
1266
940
  label: [{
1267
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1268
- readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
941
+ readonly sourceField: string[];
942
+ readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1269
943
  readonly destSchema: "accountLabel";
1270
944
  readonly cardinality: "one";
1271
945
  }];
1272
946
  message: [{
1273
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1274
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
947
+ readonly sourceField: string[];
948
+ readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1275
949
  readonly destSchema: "threadMessage";
1276
950
  readonly cardinality: "one";
1277
951
  }];
1278
952
  thread: [{
1279
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1280
- readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
953
+ readonly sourceField: string[];
954
+ readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1281
955
  readonly destSchema: "thread";
1282
956
  readonly cardinality: "one";
1283
957
  }];
1284
958
  };
1285
959
  readonly threadByLabel: {
1286
960
  label: [{
1287
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1288
- readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
961
+ readonly sourceField: string[];
962
+ readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1289
963
  readonly destSchema: "accountLabel";
1290
964
  readonly cardinality: "one";
1291
965
  }];
1292
966
  thread: [{
1293
- readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1294
- readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
967
+ readonly sourceField: string[];
968
+ readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1295
969
  readonly destSchema: "thread";
1296
970
  readonly cardinality: "one";
1297
971
  }];
1298
972
  };
1299
973
  readonly threadMessage: {
1300
974
  attachments: [{
1301
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1302
- readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
975
+ readonly sourceField: string[];
976
+ readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1303
977
  readonly destSchema: "threadMessageAttachment";
1304
978
  readonly cardinality: "many";
1305
979
  }];
1306
980
  labels: [{
1307
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1308
- readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
981
+ readonly sourceField: string[];
982
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1309
983
  readonly destSchema: "threadLabel";
1310
984
  readonly cardinality: "many";
1311
985
  }, {
1312
- readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1313
- readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
986
+ readonly sourceField: string[];
987
+ readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1314
988
  readonly destSchema: "accountLabel";
1315
989
  readonly cardinality: "many";
1316
990
  }];
1317
991
  recipients: [{
1318
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1319
- readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
992
+ readonly sourceField: string[];
993
+ readonly destField: ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1320
994
  readonly destSchema: "threadMessageRecipient";
1321
995
  readonly cardinality: "many";
1322
996
  }];
1323
997
  thread: [{
1324
- readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1325
- readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
998
+ readonly sourceField: string[];
999
+ readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1326
1000
  readonly destSchema: "thread";
1327
1001
  readonly cardinality: "one";
1328
1002
  }];
1329
1003
  };
1330
1004
  readonly threadMessageRecipient: {
1331
1005
  message: [{
1332
- readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1333
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1006
+ readonly sourceField: string[];
1007
+ readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1334
1008
  readonly destSchema: "threadMessage";
1335
1009
  readonly cardinality: "one";
1336
1010
  }];
1337
1011
  };
1338
1012
  readonly threadMessageAttachment: {
1339
1013
  message: [{
1340
- readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1341
- readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1014
+ readonly sourceField: string[];
1015
+ readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1342
1016
  readonly destSchema: "threadMessage";
1343
1017
  readonly cardinality: "one";
1344
1018
  }];
1345
1019
  };
1346
1020
  };
1347
1021
  enableLegacyQueries: boolean | undefined;
1348
- enableLegacyMutators: boolean | undefined;
1022
+ enableLegacyMutators: false;
1349
1023
  }>;
1024
+ export { getAccounts } from './getAccounts';
1025
+ export { getContacts } from './getContacts';
1026
+ export { getDrafts } from './getDrafts';
1027
+ export { getThread } from './getThread';
1028
+ export { getThreadList } from './getThreadList';
1029
+ export { getThreads } from './getThreads';
1030
+ export { getUser } from './getUser';
1350
1031
  //# sourceMappingURL=index.d.ts.map