@marcoappio/marco-config 2.0.420 → 2.0.422

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.
@@ -2,8 +2,5 @@ import { syncedQueryWithContext } from '@rocicorp/zero';
2
2
  import { z } from '../../zero/queries';
3
3
  export const getUser = syncedQueryWithContext('getUser', undefined, ({ userId }) => z.user
4
4
  .where('id', userId)
5
- .related('accounts', q => q.related('aliases').related('primaryAlias').related('labels'))
6
- .related('contacts')
7
- .related('drafts', q => q.related('recipients').related('attachments'))
8
- .related('pushNotificationTokens')
9
- .related('threads'));
5
+ .limit(1)
6
+ .related('accounts', x => x.related('aliases').related('primaryAlias').related('labels')));
@@ -21,11 +21,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
21
21
  customType: string;
22
22
  }, "optional"> & {
23
23
  optional: true;
24
+ } & {
25
+ serverName: string;
24
26
  };
25
27
  readonly undoSendEnabled: {
26
28
  type: "boolean";
27
29
  optional: false;
28
30
  customType: boolean;
31
+ } & {
32
+ serverName: string;
29
33
  };
30
34
  };
31
35
  primaryKey: readonly [string, ...string[]];
@@ -39,6 +43,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
39
43
  type: "number";
40
44
  optional: false;
41
45
  customType: number;
46
+ } & {
47
+ serverName: string;
42
48
  };
43
49
  readonly id: {
44
50
  type: "string";
@@ -54,6 +60,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
54
60
  type: "string";
55
61
  optional: false;
56
62
  customType: string;
63
+ } & {
64
+ serverName: string;
57
65
  };
58
66
  };
59
67
  primaryKey: readonly [string, ...string[]];
@@ -67,6 +75,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
67
75
  type: "string";
68
76
  optional: false;
69
77
  customType: string;
78
+ } & {
79
+ serverName: string;
70
80
  };
71
81
  readonly id: {
72
82
  type: "string";
@@ -84,6 +94,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
84
94
  type: "string";
85
95
  optional: false;
86
96
  customType: string;
97
+ } & {
98
+ serverName: string;
87
99
  };
88
100
  };
89
101
  primaryKey: readonly [string, ...string[]];
@@ -104,6 +116,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
104
116
  customType: string;
105
117
  }, "optional"> & {
106
118
  optional: true;
119
+ } & {
120
+ serverName: string;
107
121
  };
108
122
  readonly id: {
109
123
  type: "string";
@@ -114,16 +128,22 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
114
128
  type: "string";
115
129
  optional: false;
116
130
  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";
131
+ } & {
132
+ serverName: string;
117
133
  };
118
134
  readonly mailProcessedCount: {
119
135
  type: "number";
120
136
  optional: false;
121
137
  customType: number;
138
+ } & {
139
+ serverName: string;
122
140
  };
123
141
  readonly mailTotalCount: {
124
142
  type: "number";
125
143
  optional: false;
126
144
  customType: number;
145
+ } & {
146
+ serverName: string;
127
147
  };
128
148
  readonly primaryAliasId: Omit<{
129
149
  type: "string";
@@ -131,11 +151,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
131
151
  customType: string;
132
152
  }, "optional"> & {
133
153
  optional: true;
154
+ } & {
155
+ serverName: string;
134
156
  };
135
157
  readonly userId: {
136
158
  type: "string";
137
159
  optional: false;
138
160
  customType: string;
161
+ } & {
162
+ serverName: string;
139
163
  };
140
164
  };
141
165
  primaryKey: readonly [string, ...string[]];
@@ -149,11 +173,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
149
173
  type: "string";
150
174
  optional: false;
151
175
  customType: string;
176
+ } & {
177
+ serverName: string;
152
178
  };
153
179
  readonly emailAddress: {
154
180
  type: "string";
155
181
  optional: false;
156
182
  customType: string;
183
+ } & {
184
+ serverName: string;
157
185
  };
158
186
  readonly id: {
159
187
  type: "string";
@@ -164,6 +192,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
164
192
  type: "boolean";
165
193
  optional: false;
166
194
  customType: boolean;
195
+ } & {
196
+ serverName: string;
167
197
  };
168
198
  readonly name: Omit<{
169
199
  type: "string";
@@ -184,6 +214,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
184
214
  type: "string";
185
215
  optional: false;
186
216
  customType: string;
217
+ } & {
218
+ serverName: string;
187
219
  };
188
220
  readonly id: {
189
221
  type: "string";
@@ -201,6 +233,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
201
233
  customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
202
234
  }, "optional"> & {
203
235
  optional: true;
236
+ } & {
237
+ serverName: string;
204
238
  };
205
239
  };
206
240
  primaryKey: readonly [string, ...string[]];
@@ -214,6 +248,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
214
248
  type: "string";
215
249
  optional: false;
216
250
  customType: string;
251
+ } & {
252
+ serverName: string;
217
253
  };
218
254
  readonly body: {
219
255
  type: "json";
@@ -238,11 +274,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
238
274
  customType: string;
239
275
  }, "optional"> & {
240
276
  optional: true;
277
+ } & {
278
+ serverName: string;
241
279
  };
242
280
  readonly fromEmail: {
243
281
  type: "string";
244
282
  optional: false;
245
283
  customType: string;
284
+ } & {
285
+ serverName: string;
246
286
  };
247
287
  readonly fromName: Omit<{
248
288
  type: "string";
@@ -250,6 +290,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
250
290
  customType: string;
251
291
  }, "optional"> & {
252
292
  optional: true;
293
+ } & {
294
+ serverName: string;
253
295
  };
254
296
  readonly id: {
255
297
  type: "string";
@@ -262,6 +304,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
262
304
  customType: string;
263
305
  }, "optional"> & {
264
306
  optional: true;
307
+ } & {
308
+ serverName: string;
265
309
  };
266
310
  readonly scheduledFor: Omit<{
267
311
  type: "number";
@@ -269,6 +313,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
269
313
  customType: number;
270
314
  }, "optional"> & {
271
315
  optional: true;
316
+ } & {
317
+ serverName: string;
272
318
  };
273
319
  readonly status: {
274
320
  type: "string";
@@ -291,11 +337,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
291
337
  type: "number";
292
338
  optional: false;
293
339
  customType: number;
340
+ } & {
341
+ serverName: string;
294
342
  };
295
343
  readonly userId: {
296
344
  type: "string";
297
345
  optional: false;
298
346
  customType: string;
347
+ } & {
348
+ serverName: string;
299
349
  };
300
350
  };
301
351
  primaryKey: readonly [string, ...string[]];
@@ -309,11 +359,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
309
359
  type: "string";
310
360
  optional: false;
311
361
  customType: string;
362
+ } & {
363
+ serverName: string;
312
364
  };
313
365
  readonly emailAddress: {
314
366
  type: "string";
315
367
  optional: false;
316
368
  customType: string;
369
+ } & {
370
+ serverName: string;
317
371
  };
318
372
  readonly id: {
319
373
  type: "string";
@@ -337,6 +391,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
337
391
  type: "string";
338
392
  optional: false;
339
393
  customType: string;
394
+ } & {
395
+ serverName: string;
340
396
  };
341
397
  readonly failed: {
342
398
  type: "boolean";
@@ -347,6 +403,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
347
403
  type: "string";
348
404
  optional: false;
349
405
  customType: string;
406
+ } & {
407
+ serverName: string;
350
408
  };
351
409
  readonly id: {
352
410
  type: "string";
@@ -357,21 +415,29 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
357
415
  type: "string";
358
416
  optional: false;
359
417
  customType: string;
418
+ } & {
419
+ serverName: string;
360
420
  };
361
421
  readonly totalChunks: {
362
422
  type: "number";
363
423
  optional: false;
364
424
  customType: number;
425
+ } & {
426
+ serverName: string;
365
427
  };
366
428
  readonly totalSize: {
367
429
  type: "number";
368
430
  optional: false;
369
431
  customType: number;
432
+ } & {
433
+ serverName: string;
370
434
  };
371
435
  readonly uploadedChunks: {
372
436
  type: "number";
373
437
  optional: false;
374
438
  customType: number;
439
+ } & {
440
+ serverName: string;
375
441
  };
376
442
  };
377
443
  primaryKey: readonly [string, ...string[]];
@@ -385,6 +451,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
385
451
  type: "string";
386
452
  optional: false;
387
453
  customType: string;
454
+ } & {
455
+ serverName: string;
388
456
  };
389
457
  readonly flagged: {
390
458
  type: "boolean";
@@ -400,6 +468,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
400
468
  type: "number";
401
469
  optional: false;
402
470
  customType: number;
471
+ } & {
472
+ serverName: string;
403
473
  };
404
474
  readonly seen: {
405
475
  type: "boolean";
@@ -410,6 +480,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
410
480
  type: "string";
411
481
  optional: false;
412
482
  customType: string;
483
+ } & {
484
+ serverName: string;
413
485
  };
414
486
  readonly words: {
415
487
  type: "string";
@@ -428,11 +500,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
428
500
  type: "string";
429
501
  optional: false;
430
502
  customType: string;
503
+ } & {
504
+ serverName: string;
431
505
  };
432
506
  readonly threadId: {
433
507
  type: "string";
434
508
  optional: false;
435
509
  customType: string;
510
+ } & {
511
+ serverName: string;
436
512
  };
437
513
  };
438
514
  primaryKey: readonly [string, ...string[]];
@@ -446,6 +522,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
446
522
  type: "number";
447
523
  optional: false;
448
524
  customType: number;
525
+ } & {
526
+ serverName: string;
449
527
  };
450
528
  readonly envelopeSubject: Omit<{
451
529
  type: "string";
@@ -453,6 +531,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
453
531
  customType: string;
454
532
  }, "optional"> & {
455
533
  optional: true;
534
+ } & {
535
+ serverName: string;
456
536
  };
457
537
  readonly id: {
458
538
  type: "string";
@@ -463,11 +543,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
463
543
  type: "string";
464
544
  optional: false;
465
545
  customType: string;
546
+ } & {
547
+ serverName: string;
466
548
  };
467
549
  readonly senderEmail: {
468
550
  type: "string";
469
551
  optional: false;
470
552
  customType: string;
553
+ } & {
554
+ serverName: string;
471
555
  };
472
556
  readonly senderName: Omit<{
473
557
  type: "string";
@@ -475,11 +559,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
475
559
  customType: string;
476
560
  }, "optional"> & {
477
561
  optional: true;
562
+ } & {
563
+ serverName: string;
478
564
  };
479
565
  readonly threadId: {
480
566
  type: "string";
481
567
  optional: false;
482
568
  customType: string;
569
+ } & {
570
+ serverName: string;
483
571
  };
484
572
  };
485
573
  primaryKey: readonly [string, ...string[]];
@@ -493,6 +581,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
493
581
  type: "string";
494
582
  optional: false;
495
583
  customType: string;
584
+ } & {
585
+ serverName: string;
496
586
  };
497
587
  readonly id: {
498
588
  type: "string";
@@ -510,6 +600,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
510
600
  type: "string";
511
601
  optional: false;
512
602
  customType: string;
603
+ } & {
604
+ serverName: string;
513
605
  };
514
606
  readonly type: {
515
607
  type: "string";
@@ -528,6 +620,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
528
620
  type: "string";
529
621
  optional: false;
530
622
  customType: string;
623
+ } & {
624
+ serverName: string;
531
625
  };
532
626
  readonly id: {
533
627
  type: "string";
@@ -538,6 +632,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
538
632
  type: "string";
539
633
  optional: false;
540
634
  customType: string;
635
+ } & {
636
+ serverName: string;
541
637
  };
542
638
  readonly size: {
543
639
  type: "number";
@@ -553,6 +649,8 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
553
649
  type: "string";
554
650
  optional: false;
555
651
  customType: string;
652
+ } & {
653
+ serverName: string;
556
654
  };
557
655
  };
558
656
  primaryKey: readonly [string, ...string[]];
@@ -566,11 +664,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
566
664
  type: "string";
567
665
  optional: false;
568
666
  customType: string;
667
+ } & {
668
+ serverName: string;
569
669
  };
570
670
  readonly threadMessageId: {
571
671
  type: "string";
572
672
  optional: false;
573
673
  customType: string;
674
+ } & {
675
+ serverName: string;
574
676
  };
575
677
  };
576
678
  primaryKey: readonly [string, ...string[]];
@@ -582,7 +684,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
582
684
  readonly user: {
583
685
  accounts: [{
584
686
  readonly sourceField: string[];
585
- readonly destField: ("id" | "color" | "userId" | "mailProcessedCount" | "mailTotalCount" | "displayName" | "imapConnectionStatus" | "primaryAliasId")[];
687
+ readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
586
688
  readonly destSchema: "account";
587
689
  readonly cardinality: "many";
588
690
  }];
@@ -594,7 +696,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
594
696
  }];
595
697
  drafts: [{
596
698
  readonly sourceField: string[];
597
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromEmail" | "fromAliasId")[];
699
+ readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
598
700
  readonly destSchema: "draft";
599
701
  readonly cardinality: "many";
600
702
  }];
@@ -614,7 +716,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
614
716
  readonly userPushNotificationToken: {
615
717
  user: [{
616
718
  readonly sourceField: string[];
617
- readonly destField: ("id" | "name" | "undoSendEnabled" | "profilePicture")[];
719
+ readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
618
720
  readonly destSchema: "user";
619
721
  readonly cardinality: "one";
620
722
  }];
@@ -622,7 +724,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
622
724
  readonly contact: {
623
725
  user: [{
624
726
  readonly sourceField: string[];
625
- readonly destField: ("id" | "name" | "undoSendEnabled" | "profilePicture")[];
727
+ readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
626
728
  readonly destSchema: "user";
627
729
  readonly cardinality: "one";
628
730
  }];
@@ -636,7 +738,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
636
738
  }];
637
739
  drafts: [{
638
740
  readonly sourceField: string[];
639
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromEmail" | "fromAliasId")[];
741
+ readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
640
742
  readonly destSchema: "draft";
641
743
  readonly cardinality: "many";
642
744
  }];
@@ -660,7 +762,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
660
762
  }];
661
763
  user: [{
662
764
  readonly sourceField: string[];
663
- readonly destField: ("id" | "name" | "undoSendEnabled" | "profilePicture")[];
765
+ readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
664
766
  readonly destSchema: "user";
665
767
  readonly cardinality: "one";
666
768
  }];
@@ -668,7 +770,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
668
770
  readonly accountAlias: {
669
771
  account: [{
670
772
  readonly sourceField: string[];
671
- readonly destField: ("id" | "color" | "userId" | "mailProcessedCount" | "mailTotalCount" | "displayName" | "imapConnectionStatus" | "primaryAliasId")[];
773
+ readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
672
774
  readonly destSchema: "account";
673
775
  readonly cardinality: "one";
674
776
  }];
@@ -676,7 +778,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
676
778
  readonly accountLabel: {
677
779
  account: [{
678
780
  readonly sourceField: string[];
679
- readonly destField: ("id" | "color" | "userId" | "mailProcessedCount" | "mailTotalCount" | "displayName" | "imapConnectionStatus" | "primaryAliasId")[];
781
+ readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
680
782
  readonly destSchema: "account";
681
783
  readonly cardinality: "one";
682
784
  }];
@@ -687,7 +789,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
687
789
  readonly cardinality: "many";
688
790
  }, {
689
791
  readonly sourceField: string[];
690
- readonly destField: ("threadId" | "id" | "envelopeDate" | "previewText" | "senderEmail" | "envelopeSubject" | "senderName")[];
792
+ readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
691
793
  readonly destSchema: "threadMessage";
692
794
  readonly cardinality: "many";
693
795
  }];
@@ -706,7 +808,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
706
808
  readonly draft: {
707
809
  account: [{
708
810
  readonly sourceField: string[];
709
- readonly destField: ("id" | "color" | "userId" | "mailProcessedCount" | "mailTotalCount" | "displayName" | "imapConnectionStatus" | "primaryAliasId")[];
811
+ readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
710
812
  readonly destSchema: "account";
711
813
  readonly cardinality: "one";
712
814
  }];
@@ -724,7 +826,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
724
826
  }];
725
827
  user: [{
726
828
  readonly sourceField: string[];
727
- readonly destField: ("id" | "name" | "undoSendEnabled" | "profilePicture")[];
829
+ readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
728
830
  readonly destSchema: "user";
729
831
  readonly cardinality: "one";
730
832
  }];
@@ -732,7 +834,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
732
834
  readonly draftRecipient: {
733
835
  draft: [{
734
836
  readonly sourceField: string[];
735
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromEmail" | "fromAliasId")[];
837
+ readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
736
838
  readonly destSchema: "draft";
737
839
  readonly cardinality: "one";
738
840
  }];
@@ -740,7 +842,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
740
842
  readonly draftAttachment: {
741
843
  draft: [{
742
844
  readonly sourceField: string[];
743
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromEmail" | "fromAliasId")[];
845
+ readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
744
846
  readonly destSchema: "draft";
745
847
  readonly cardinality: "one";
746
848
  }];
@@ -748,7 +850,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
748
850
  readonly thread: {
749
851
  account: [{
750
852
  readonly sourceField: string[];
751
- readonly destField: ("id" | "color" | "userId" | "mailProcessedCount" | "mailTotalCount" | "displayName" | "imapConnectionStatus" | "primaryAliasId")[];
853
+ readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
752
854
  readonly destSchema: "account";
753
855
  readonly cardinality: "one";
754
856
  }];
@@ -765,13 +867,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
765
867
  }];
766
868
  messages: [{
767
869
  readonly sourceField: string[];
768
- readonly destField: ("threadId" | "id" | "envelopeDate" | "previewText" | "senderEmail" | "envelopeSubject" | "senderName")[];
870
+ readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
769
871
  readonly destSchema: "threadMessage";
770
872
  readonly cardinality: "many";
771
873
  }];
772
874
  user: [{
773
875
  readonly sourceField: string[];
774
- readonly destField: ("id" | "name" | "undoSendEnabled" | "profilePicture")[];
876
+ readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
775
877
  readonly destSchema: "user";
776
878
  readonly cardinality: "one";
777
879
  }];
@@ -824,7 +926,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
824
926
  readonly threadMessageRecipient: {
825
927
  message: [{
826
928
  readonly sourceField: string[];
827
- readonly destField: ("threadId" | "id" | "envelopeDate" | "previewText" | "senderEmail" | "envelopeSubject" | "senderName")[];
929
+ readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
828
930
  readonly destSchema: "threadMessage";
829
931
  readonly cardinality: "one";
830
932
  }];
@@ -832,7 +934,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
832
934
  readonly threadMessageAttachment: {
833
935
  message: [{
834
936
  readonly sourceField: string[];
835
- readonly destField: ("threadId" | "id" | "envelopeDate" | "previewText" | "senderEmail" | "envelopeSubject" | "senderName")[];
937
+ readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
836
938
  readonly destSchema: "threadMessage";
837
939
  readonly cardinality: "one";
838
940
  }];
@@ -846,7 +948,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
846
948
  }];
847
949
  message: [{
848
950
  readonly sourceField: string[];
849
- readonly destField: ("threadId" | "id" | "envelopeDate" | "previewText" | "senderEmail" | "envelopeSubject" | "senderName")[];
951
+ readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
850
952
  readonly destSchema: "threadMessage";
851
953
  readonly cardinality: "one";
852
954
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwB,CAA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