@marcoappio/marco-config 2.0.420 → 2.0.421
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/zero/index.d.ts +830 -201
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/queries/getAccounts.d.ts +121 -26
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getAccounts.js +1 -1
- package/dist/zero/queries/getContacts.d.ts +121 -26
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.js +6 -7
- package/dist/zero/queries/getDrafts.d.ts +122 -27
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.js +6 -8
- package/dist/zero/queries/getThreads.d.ts +122 -20
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.js +10 -11
- package/dist/zero/queries/getUser.d.ts +121 -83
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/getUser.js +2 -5
- package/dist/zero/queries/index.d.ts +121 -19
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +223 -19
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +61 -51
- package/package.json +1 -1
|
@@ -22,11 +22,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
22
22
|
customType: string;
|
|
23
23
|
}, "optional"> & {
|
|
24
24
|
optional: true;
|
|
25
|
+
} & {
|
|
26
|
+
serverName: string;
|
|
25
27
|
};
|
|
26
28
|
readonly undoSendEnabled: {
|
|
27
29
|
type: "boolean";
|
|
28
30
|
optional: false;
|
|
29
31
|
customType: boolean;
|
|
32
|
+
} & {
|
|
33
|
+
serverName: string;
|
|
30
34
|
};
|
|
31
35
|
};
|
|
32
36
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -40,6 +44,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
40
44
|
type: "number";
|
|
41
45
|
optional: false;
|
|
42
46
|
customType: number;
|
|
47
|
+
} & {
|
|
48
|
+
serverName: string;
|
|
43
49
|
};
|
|
44
50
|
readonly id: {
|
|
45
51
|
type: "string";
|
|
@@ -55,6 +61,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
55
61
|
type: "string";
|
|
56
62
|
optional: false;
|
|
57
63
|
customType: string;
|
|
64
|
+
} & {
|
|
65
|
+
serverName: string;
|
|
58
66
|
};
|
|
59
67
|
};
|
|
60
68
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -68,6 +76,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
68
76
|
type: "string";
|
|
69
77
|
optional: false;
|
|
70
78
|
customType: string;
|
|
79
|
+
} & {
|
|
80
|
+
serverName: string;
|
|
71
81
|
};
|
|
72
82
|
readonly id: {
|
|
73
83
|
type: "string";
|
|
@@ -85,6 +95,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
85
95
|
type: "string";
|
|
86
96
|
optional: false;
|
|
87
97
|
customType: string;
|
|
98
|
+
} & {
|
|
99
|
+
serverName: string;
|
|
88
100
|
};
|
|
89
101
|
};
|
|
90
102
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -105,6 +117,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
105
117
|
customType: string;
|
|
106
118
|
}, "optional"> & {
|
|
107
119
|
optional: true;
|
|
120
|
+
} & {
|
|
121
|
+
serverName: string;
|
|
108
122
|
};
|
|
109
123
|
readonly id: {
|
|
110
124
|
type: "string";
|
|
@@ -115,16 +129,22 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
115
129
|
type: "string";
|
|
116
130
|
optional: false;
|
|
117
131
|
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";
|
|
132
|
+
} & {
|
|
133
|
+
serverName: string;
|
|
118
134
|
};
|
|
119
135
|
readonly mailProcessedCount: {
|
|
120
136
|
type: "number";
|
|
121
137
|
optional: false;
|
|
122
138
|
customType: number;
|
|
139
|
+
} & {
|
|
140
|
+
serverName: string;
|
|
123
141
|
};
|
|
124
142
|
readonly mailTotalCount: {
|
|
125
143
|
type: "number";
|
|
126
144
|
optional: false;
|
|
127
145
|
customType: number;
|
|
146
|
+
} & {
|
|
147
|
+
serverName: string;
|
|
128
148
|
};
|
|
129
149
|
readonly primaryAliasId: Omit<{
|
|
130
150
|
type: "string";
|
|
@@ -132,11 +152,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
132
152
|
customType: string;
|
|
133
153
|
}, "optional"> & {
|
|
134
154
|
optional: true;
|
|
155
|
+
} & {
|
|
156
|
+
serverName: string;
|
|
135
157
|
};
|
|
136
158
|
readonly userId: {
|
|
137
159
|
type: "string";
|
|
138
160
|
optional: false;
|
|
139
161
|
customType: string;
|
|
162
|
+
} & {
|
|
163
|
+
serverName: string;
|
|
140
164
|
};
|
|
141
165
|
};
|
|
142
166
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -150,11 +174,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
150
174
|
type: "string";
|
|
151
175
|
optional: false;
|
|
152
176
|
customType: string;
|
|
177
|
+
} & {
|
|
178
|
+
serverName: string;
|
|
153
179
|
};
|
|
154
180
|
readonly emailAddress: {
|
|
155
181
|
type: "string";
|
|
156
182
|
optional: false;
|
|
157
183
|
customType: string;
|
|
184
|
+
} & {
|
|
185
|
+
serverName: string;
|
|
158
186
|
};
|
|
159
187
|
readonly id: {
|
|
160
188
|
type: "string";
|
|
@@ -165,6 +193,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
165
193
|
type: "boolean";
|
|
166
194
|
optional: false;
|
|
167
195
|
customType: boolean;
|
|
196
|
+
} & {
|
|
197
|
+
serverName: string;
|
|
168
198
|
};
|
|
169
199
|
readonly name: Omit<{
|
|
170
200
|
type: "string";
|
|
@@ -185,6 +215,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
185
215
|
type: "string";
|
|
186
216
|
optional: false;
|
|
187
217
|
customType: string;
|
|
218
|
+
} & {
|
|
219
|
+
serverName: string;
|
|
188
220
|
};
|
|
189
221
|
readonly id: {
|
|
190
222
|
type: "string";
|
|
@@ -202,6 +234,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
202
234
|
customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
|
|
203
235
|
}, "optional"> & {
|
|
204
236
|
optional: true;
|
|
237
|
+
} & {
|
|
238
|
+
serverName: string;
|
|
205
239
|
};
|
|
206
240
|
};
|
|
207
241
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -215,6 +249,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
215
249
|
type: "string";
|
|
216
250
|
optional: false;
|
|
217
251
|
customType: string;
|
|
252
|
+
} & {
|
|
253
|
+
serverName: string;
|
|
218
254
|
};
|
|
219
255
|
readonly body: {
|
|
220
256
|
type: "json";
|
|
@@ -239,11 +275,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
239
275
|
customType: string;
|
|
240
276
|
}, "optional"> & {
|
|
241
277
|
optional: true;
|
|
278
|
+
} & {
|
|
279
|
+
serverName: string;
|
|
242
280
|
};
|
|
243
281
|
readonly fromEmail: {
|
|
244
282
|
type: "string";
|
|
245
283
|
optional: false;
|
|
246
284
|
customType: string;
|
|
285
|
+
} & {
|
|
286
|
+
serverName: string;
|
|
247
287
|
};
|
|
248
288
|
readonly fromName: Omit<{
|
|
249
289
|
type: "string";
|
|
@@ -251,6 +291,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
251
291
|
customType: string;
|
|
252
292
|
}, "optional"> & {
|
|
253
293
|
optional: true;
|
|
294
|
+
} & {
|
|
295
|
+
serverName: string;
|
|
254
296
|
};
|
|
255
297
|
readonly id: {
|
|
256
298
|
type: "string";
|
|
@@ -263,6 +305,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
263
305
|
customType: string;
|
|
264
306
|
}, "optional"> & {
|
|
265
307
|
optional: true;
|
|
308
|
+
} & {
|
|
309
|
+
serverName: string;
|
|
266
310
|
};
|
|
267
311
|
readonly scheduledFor: Omit<{
|
|
268
312
|
type: "number";
|
|
@@ -270,6 +314,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
270
314
|
customType: number;
|
|
271
315
|
}, "optional"> & {
|
|
272
316
|
optional: true;
|
|
317
|
+
} & {
|
|
318
|
+
serverName: string;
|
|
273
319
|
};
|
|
274
320
|
readonly status: {
|
|
275
321
|
type: "string";
|
|
@@ -292,11 +338,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
292
338
|
type: "number";
|
|
293
339
|
optional: false;
|
|
294
340
|
customType: number;
|
|
341
|
+
} & {
|
|
342
|
+
serverName: string;
|
|
295
343
|
};
|
|
296
344
|
readonly userId: {
|
|
297
345
|
type: "string";
|
|
298
346
|
optional: false;
|
|
299
347
|
customType: string;
|
|
348
|
+
} & {
|
|
349
|
+
serverName: string;
|
|
300
350
|
};
|
|
301
351
|
};
|
|
302
352
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -310,11 +360,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
310
360
|
type: "string";
|
|
311
361
|
optional: false;
|
|
312
362
|
customType: string;
|
|
363
|
+
} & {
|
|
364
|
+
serverName: string;
|
|
313
365
|
};
|
|
314
366
|
readonly emailAddress: {
|
|
315
367
|
type: "string";
|
|
316
368
|
optional: false;
|
|
317
369
|
customType: string;
|
|
370
|
+
} & {
|
|
371
|
+
serverName: string;
|
|
318
372
|
};
|
|
319
373
|
readonly id: {
|
|
320
374
|
type: "string";
|
|
@@ -338,6 +392,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
338
392
|
type: "string";
|
|
339
393
|
optional: false;
|
|
340
394
|
customType: string;
|
|
395
|
+
} & {
|
|
396
|
+
serverName: string;
|
|
341
397
|
};
|
|
342
398
|
readonly failed: {
|
|
343
399
|
type: "boolean";
|
|
@@ -348,6 +404,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
348
404
|
type: "string";
|
|
349
405
|
optional: false;
|
|
350
406
|
customType: string;
|
|
407
|
+
} & {
|
|
408
|
+
serverName: string;
|
|
351
409
|
};
|
|
352
410
|
readonly id: {
|
|
353
411
|
type: "string";
|
|
@@ -358,21 +416,29 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
358
416
|
type: "string";
|
|
359
417
|
optional: false;
|
|
360
418
|
customType: string;
|
|
419
|
+
} & {
|
|
420
|
+
serverName: string;
|
|
361
421
|
};
|
|
362
422
|
readonly totalChunks: {
|
|
363
423
|
type: "number";
|
|
364
424
|
optional: false;
|
|
365
425
|
customType: number;
|
|
426
|
+
} & {
|
|
427
|
+
serverName: string;
|
|
366
428
|
};
|
|
367
429
|
readonly totalSize: {
|
|
368
430
|
type: "number";
|
|
369
431
|
optional: false;
|
|
370
432
|
customType: number;
|
|
433
|
+
} & {
|
|
434
|
+
serverName: string;
|
|
371
435
|
};
|
|
372
436
|
readonly uploadedChunks: {
|
|
373
437
|
type: "number";
|
|
374
438
|
optional: false;
|
|
375
439
|
customType: number;
|
|
440
|
+
} & {
|
|
441
|
+
serverName: string;
|
|
376
442
|
};
|
|
377
443
|
};
|
|
378
444
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -386,6 +452,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
386
452
|
type: "string";
|
|
387
453
|
optional: false;
|
|
388
454
|
customType: string;
|
|
455
|
+
} & {
|
|
456
|
+
serverName: string;
|
|
389
457
|
};
|
|
390
458
|
readonly flagged: {
|
|
391
459
|
type: "boolean";
|
|
@@ -401,6 +469,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
401
469
|
type: "number";
|
|
402
470
|
optional: false;
|
|
403
471
|
customType: number;
|
|
472
|
+
} & {
|
|
473
|
+
serverName: string;
|
|
404
474
|
};
|
|
405
475
|
readonly seen: {
|
|
406
476
|
type: "boolean";
|
|
@@ -411,6 +481,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
411
481
|
type: "string";
|
|
412
482
|
optional: false;
|
|
413
483
|
customType: string;
|
|
484
|
+
} & {
|
|
485
|
+
serverName: string;
|
|
414
486
|
};
|
|
415
487
|
readonly words: {
|
|
416
488
|
type: "string";
|
|
@@ -429,11 +501,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
429
501
|
type: "string";
|
|
430
502
|
optional: false;
|
|
431
503
|
customType: string;
|
|
504
|
+
} & {
|
|
505
|
+
serverName: string;
|
|
432
506
|
};
|
|
433
507
|
readonly threadId: {
|
|
434
508
|
type: "string";
|
|
435
509
|
optional: false;
|
|
436
510
|
customType: string;
|
|
511
|
+
} & {
|
|
512
|
+
serverName: string;
|
|
437
513
|
};
|
|
438
514
|
};
|
|
439
515
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -447,6 +523,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
447
523
|
type: "number";
|
|
448
524
|
optional: false;
|
|
449
525
|
customType: number;
|
|
526
|
+
} & {
|
|
527
|
+
serverName: string;
|
|
450
528
|
};
|
|
451
529
|
readonly envelopeSubject: Omit<{
|
|
452
530
|
type: "string";
|
|
@@ -454,6 +532,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
454
532
|
customType: string;
|
|
455
533
|
}, "optional"> & {
|
|
456
534
|
optional: true;
|
|
535
|
+
} & {
|
|
536
|
+
serverName: string;
|
|
457
537
|
};
|
|
458
538
|
readonly id: {
|
|
459
539
|
type: "string";
|
|
@@ -464,11 +544,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
464
544
|
type: "string";
|
|
465
545
|
optional: false;
|
|
466
546
|
customType: string;
|
|
547
|
+
} & {
|
|
548
|
+
serverName: string;
|
|
467
549
|
};
|
|
468
550
|
readonly senderEmail: {
|
|
469
551
|
type: "string";
|
|
470
552
|
optional: false;
|
|
471
553
|
customType: string;
|
|
554
|
+
} & {
|
|
555
|
+
serverName: string;
|
|
472
556
|
};
|
|
473
557
|
readonly senderName: Omit<{
|
|
474
558
|
type: "string";
|
|
@@ -476,11 +560,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
476
560
|
customType: string;
|
|
477
561
|
}, "optional"> & {
|
|
478
562
|
optional: true;
|
|
563
|
+
} & {
|
|
564
|
+
serverName: string;
|
|
479
565
|
};
|
|
480
566
|
readonly threadId: {
|
|
481
567
|
type: "string";
|
|
482
568
|
optional: false;
|
|
483
569
|
customType: string;
|
|
570
|
+
} & {
|
|
571
|
+
serverName: string;
|
|
484
572
|
};
|
|
485
573
|
};
|
|
486
574
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -494,6 +582,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
494
582
|
type: "string";
|
|
495
583
|
optional: false;
|
|
496
584
|
customType: string;
|
|
585
|
+
} & {
|
|
586
|
+
serverName: string;
|
|
497
587
|
};
|
|
498
588
|
readonly id: {
|
|
499
589
|
type: "string";
|
|
@@ -511,6 +601,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
511
601
|
type: "string";
|
|
512
602
|
optional: false;
|
|
513
603
|
customType: string;
|
|
604
|
+
} & {
|
|
605
|
+
serverName: string;
|
|
514
606
|
};
|
|
515
607
|
readonly type: {
|
|
516
608
|
type: "string";
|
|
@@ -529,6 +621,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
529
621
|
type: "string";
|
|
530
622
|
optional: false;
|
|
531
623
|
customType: string;
|
|
624
|
+
} & {
|
|
625
|
+
serverName: string;
|
|
532
626
|
};
|
|
533
627
|
readonly id: {
|
|
534
628
|
type: "string";
|
|
@@ -539,6 +633,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
539
633
|
type: "string";
|
|
540
634
|
optional: false;
|
|
541
635
|
customType: string;
|
|
636
|
+
} & {
|
|
637
|
+
serverName: string;
|
|
542
638
|
};
|
|
543
639
|
readonly size: {
|
|
544
640
|
type: "number";
|
|
@@ -554,6 +650,8 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
554
650
|
type: "string";
|
|
555
651
|
optional: false;
|
|
556
652
|
customType: string;
|
|
653
|
+
} & {
|
|
654
|
+
serverName: string;
|
|
557
655
|
};
|
|
558
656
|
};
|
|
559
657
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -567,11 +665,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
567
665
|
type: "string";
|
|
568
666
|
optional: false;
|
|
569
667
|
customType: string;
|
|
668
|
+
} & {
|
|
669
|
+
serverName: string;
|
|
570
670
|
};
|
|
571
671
|
readonly threadMessageId: {
|
|
572
672
|
type: "string";
|
|
573
673
|
optional: false;
|
|
574
674
|
customType: string;
|
|
675
|
+
} & {
|
|
676
|
+
serverName: string;
|
|
575
677
|
};
|
|
576
678
|
};
|
|
577
679
|
primaryKey: readonly [string, ...string[]];
|
|
@@ -583,7 +685,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
583
685
|
readonly user: {
|
|
584
686
|
accounts: [{
|
|
585
687
|
readonly sourceField: string[];
|
|
586
|
-
readonly destField: ("id" | "color" | "userId" | "
|
|
688
|
+
readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
587
689
|
readonly destSchema: "account";
|
|
588
690
|
readonly cardinality: "many";
|
|
589
691
|
}];
|
|
@@ -595,7 +697,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
595
697
|
}];
|
|
596
698
|
drafts: [{
|
|
597
699
|
readonly sourceField: string[];
|
|
598
|
-
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "
|
|
700
|
+
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
|
|
599
701
|
readonly destSchema: "draft";
|
|
600
702
|
readonly cardinality: "many";
|
|
601
703
|
}];
|
|
@@ -615,7 +717,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
615
717
|
readonly userPushNotificationToken: {
|
|
616
718
|
user: [{
|
|
617
719
|
readonly sourceField: string[];
|
|
618
|
-
readonly destField: ("id" | "name" | "
|
|
720
|
+
readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
|
|
619
721
|
readonly destSchema: "user";
|
|
620
722
|
readonly cardinality: "one";
|
|
621
723
|
}];
|
|
@@ -623,7 +725,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
623
725
|
readonly contact: {
|
|
624
726
|
user: [{
|
|
625
727
|
readonly sourceField: string[];
|
|
626
|
-
readonly destField: ("id" | "name" | "
|
|
728
|
+
readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
|
|
627
729
|
readonly destSchema: "user";
|
|
628
730
|
readonly cardinality: "one";
|
|
629
731
|
}];
|
|
@@ -637,7 +739,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
637
739
|
}];
|
|
638
740
|
drafts: [{
|
|
639
741
|
readonly sourceField: string[];
|
|
640
|
-
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "
|
|
742
|
+
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
|
|
641
743
|
readonly destSchema: "draft";
|
|
642
744
|
readonly cardinality: "many";
|
|
643
745
|
}];
|
|
@@ -661,7 +763,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
661
763
|
}];
|
|
662
764
|
user: [{
|
|
663
765
|
readonly sourceField: string[];
|
|
664
|
-
readonly destField: ("id" | "name" | "
|
|
766
|
+
readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
|
|
665
767
|
readonly destSchema: "user";
|
|
666
768
|
readonly cardinality: "one";
|
|
667
769
|
}];
|
|
@@ -669,7 +771,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
669
771
|
readonly accountAlias: {
|
|
670
772
|
account: [{
|
|
671
773
|
readonly sourceField: string[];
|
|
672
|
-
readonly destField: ("id" | "color" | "userId" | "
|
|
774
|
+
readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
673
775
|
readonly destSchema: "account";
|
|
674
776
|
readonly cardinality: "one";
|
|
675
777
|
}];
|
|
@@ -677,7 +779,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
677
779
|
readonly accountLabel: {
|
|
678
780
|
account: [{
|
|
679
781
|
readonly sourceField: string[];
|
|
680
|
-
readonly destField: ("id" | "color" | "userId" | "
|
|
782
|
+
readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
681
783
|
readonly destSchema: "account";
|
|
682
784
|
readonly cardinality: "one";
|
|
683
785
|
}];
|
|
@@ -688,7 +790,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
688
790
|
readonly cardinality: "many";
|
|
689
791
|
}, {
|
|
690
792
|
readonly sourceField: string[];
|
|
691
|
-
readonly destField: ("threadId" | "id" | "envelopeDate" | "
|
|
793
|
+
readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
692
794
|
readonly destSchema: "threadMessage";
|
|
693
795
|
readonly cardinality: "many";
|
|
694
796
|
}];
|
|
@@ -707,7 +809,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
707
809
|
readonly draft: {
|
|
708
810
|
account: [{
|
|
709
811
|
readonly sourceField: string[];
|
|
710
|
-
readonly destField: ("id" | "color" | "userId" | "
|
|
812
|
+
readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
711
813
|
readonly destSchema: "account";
|
|
712
814
|
readonly cardinality: "one";
|
|
713
815
|
}];
|
|
@@ -725,7 +827,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
725
827
|
}];
|
|
726
828
|
user: [{
|
|
727
829
|
readonly sourceField: string[];
|
|
728
|
-
readonly destField: ("id" | "name" | "
|
|
830
|
+
readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
|
|
729
831
|
readonly destSchema: "user";
|
|
730
832
|
readonly cardinality: "one";
|
|
731
833
|
}];
|
|
@@ -733,7 +835,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
733
835
|
readonly draftRecipient: {
|
|
734
836
|
draft: [{
|
|
735
837
|
readonly sourceField: string[];
|
|
736
|
-
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "
|
|
838
|
+
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
|
|
737
839
|
readonly destSchema: "draft";
|
|
738
840
|
readonly cardinality: "one";
|
|
739
841
|
}];
|
|
@@ -741,7 +843,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
741
843
|
readonly draftAttachment: {
|
|
742
844
|
draft: [{
|
|
743
845
|
readonly sourceField: string[];
|
|
744
|
-
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "
|
|
846
|
+
readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
|
|
745
847
|
readonly destSchema: "draft";
|
|
746
848
|
readonly cardinality: "one";
|
|
747
849
|
}];
|
|
@@ -749,7 +851,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
749
851
|
readonly thread: {
|
|
750
852
|
account: [{
|
|
751
853
|
readonly sourceField: string[];
|
|
752
|
-
readonly destField: ("id" | "color" | "userId" | "
|
|
854
|
+
readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
|
|
753
855
|
readonly destSchema: "account";
|
|
754
856
|
readonly cardinality: "one";
|
|
755
857
|
}];
|
|
@@ -766,13 +868,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
766
868
|
}];
|
|
767
869
|
messages: [{
|
|
768
870
|
readonly sourceField: string[];
|
|
769
|
-
readonly destField: ("threadId" | "id" | "envelopeDate" | "
|
|
871
|
+
readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
770
872
|
readonly destSchema: "threadMessage";
|
|
771
873
|
readonly cardinality: "many";
|
|
772
874
|
}];
|
|
773
875
|
user: [{
|
|
774
876
|
readonly sourceField: string[];
|
|
775
|
-
readonly destField: ("id" | "name" | "
|
|
877
|
+
readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
|
|
776
878
|
readonly destSchema: "user";
|
|
777
879
|
readonly cardinality: "one";
|
|
778
880
|
}];
|
|
@@ -825,7 +927,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
825
927
|
readonly threadMessageRecipient: {
|
|
826
928
|
message: [{
|
|
827
929
|
readonly sourceField: string[];
|
|
828
|
-
readonly destField: ("threadId" | "id" | "envelopeDate" | "
|
|
930
|
+
readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
829
931
|
readonly destSchema: "threadMessage";
|
|
830
932
|
readonly cardinality: "one";
|
|
831
933
|
}];
|
|
@@ -833,7 +935,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
833
935
|
readonly threadMessageAttachment: {
|
|
834
936
|
message: [{
|
|
835
937
|
readonly sourceField: string[];
|
|
836
|
-
readonly destField: ("threadId" | "id" | "envelopeDate" | "
|
|
938
|
+
readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
837
939
|
readonly destSchema: "threadMessage";
|
|
838
940
|
readonly cardinality: "one";
|
|
839
941
|
}];
|
|
@@ -847,7 +949,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
847
949
|
}];
|
|
848
950
|
message: [{
|
|
849
951
|
readonly sourceField: string[];
|
|
850
|
-
readonly destField: ("threadId" | "id" | "envelopeDate" | "
|
|
952
|
+
readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
851
953
|
readonly destSchema: "threadMessage";
|
|
852
954
|
readonly cardinality: "one";
|
|
853
955
|
}];
|
|
@@ -894,69 +996,5 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
894
996
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
895
997
|
}[];
|
|
896
998
|
})[];
|
|
897
|
-
} & {
|
|
898
|
-
readonly contacts: readonly {
|
|
899
|
-
readonly emailAddress: string;
|
|
900
|
-
readonly id: string;
|
|
901
|
-
readonly name: string | null;
|
|
902
|
-
readonly userId: string;
|
|
903
|
-
}[];
|
|
904
|
-
} & {
|
|
905
|
-
readonly drafts: readonly ({
|
|
906
|
-
readonly accountId: string;
|
|
907
|
-
readonly body: {
|
|
908
|
-
content: string;
|
|
909
|
-
to: string[];
|
|
910
|
-
cc: string[];
|
|
911
|
-
bcc: string[];
|
|
912
|
-
};
|
|
913
|
-
readonly error: string | null;
|
|
914
|
-
readonly fromAliasId: string | null;
|
|
915
|
-
readonly fromEmail: string;
|
|
916
|
-
readonly fromName: string | null;
|
|
917
|
-
readonly id: string;
|
|
918
|
-
readonly referencedMessageId: string | null;
|
|
919
|
-
readonly scheduledFor: number | null;
|
|
920
|
-
readonly status: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
|
|
921
|
-
readonly subject: string | null;
|
|
922
|
-
readonly type: "NEW" | "REPLY" | "FORWARD";
|
|
923
|
-
readonly updatedAt: number;
|
|
924
|
-
readonly userId: string;
|
|
925
|
-
} & {
|
|
926
|
-
readonly recipients: readonly {
|
|
927
|
-
readonly draftId: string;
|
|
928
|
-
readonly emailAddress: string;
|
|
929
|
-
readonly id: string;
|
|
930
|
-
readonly type: "bcc" | "cc" | "to";
|
|
931
|
-
}[];
|
|
932
|
-
} & {
|
|
933
|
-
readonly attachments: readonly {
|
|
934
|
-
readonly draftId: string;
|
|
935
|
-
readonly failed: boolean;
|
|
936
|
-
readonly fileName: string;
|
|
937
|
-
readonly id: string;
|
|
938
|
-
readonly mimeType: string;
|
|
939
|
-
readonly totalChunks: number;
|
|
940
|
-
readonly totalSize: number;
|
|
941
|
-
readonly uploadedChunks: number;
|
|
942
|
-
}[];
|
|
943
|
-
})[];
|
|
944
|
-
} & {
|
|
945
|
-
readonly pushNotificationTokens: readonly {
|
|
946
|
-
readonly createdAt: number;
|
|
947
|
-
readonly id: string;
|
|
948
|
-
readonly token: string;
|
|
949
|
-
readonly userId: string;
|
|
950
|
-
}[];
|
|
951
|
-
} & {
|
|
952
|
-
readonly threads: readonly {
|
|
953
|
-
readonly accountId: string;
|
|
954
|
-
readonly flagged: boolean;
|
|
955
|
-
readonly id: string;
|
|
956
|
-
readonly latestMessageDate: number;
|
|
957
|
-
readonly seen: boolean;
|
|
958
|
-
readonly userId: string;
|
|
959
|
-
readonly words: string;
|
|
960
|
-
}[];
|
|
961
999
|
}>>;
|
|
962
1000
|
//# sourceMappingURL=getUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKnB,CAAA"}
|