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