@marcoappio/marco-config 2.0.486 → 2.0.487

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.
@@ -25,17 +25,17 @@ describe('threadMutators', () => {
25
25
  const runExisting = mock(async () => null);
26
26
  const oneExisting = mock(() => ({ run: runExisting }));
27
27
  const whereLabelId = mock(() => ({ one: oneExisting }));
28
- const runAllThreadLabels = mock(async () => [{ labelId: 'test-label-id-1', threadId: 'test-thread-id-1' }]);
29
- const whereThreadLabel = mock((field) => {
28
+ const runAllThreadMessageLabels = mock(async () => [{ labelId: 'test-label-id-1', threadId: 'test-thread-id-1' }]);
29
+ const whereThreadMessageLabelUid = mock((field) => {
30
30
  if (field === 'threadId') {
31
- return { run: runAllThreadLabels, where: whereLabelId };
31
+ return { run: runAllThreadMessageLabels, where: whereLabelId };
32
32
  }
33
33
  if (field === 'threadMessageId') {
34
34
  return { where: whereLabelId };
35
35
  }
36
36
  return { where: whereLabelId };
37
37
  });
38
- const threadLabelInsert = mock(async () => { });
38
+ const threadMessageLabelUidInsert = mock(async () => { });
39
39
  const threadUpdate = mock(async () => { });
40
40
  const threadByLabelInsert = mock(async () => { });
41
41
  const runThreadByLabel = mock(async () => null);
@@ -54,9 +54,9 @@ describe('threadMutators', () => {
54
54
  delete: mock(async () => { }),
55
55
  insert: threadByLabelInsert,
56
56
  },
57
- threadLabel: {
57
+ threadMessageLabelUid: {
58
58
  delete: mock(async () => { }),
59
- insert: threadLabelInsert,
59
+ insert: threadMessageLabelUidInsert,
60
60
  },
61
61
  },
62
62
  query: {
@@ -69,12 +69,12 @@ describe('threadMutators', () => {
69
69
  threadByLabel: {
70
70
  where: whereThreadByLabel,
71
71
  },
72
- threadLabel: {
73
- where: whereThreadLabel,
74
- },
75
72
  threadMessage: {
76
73
  where: whereMessages,
77
74
  },
75
+ threadMessageLabelUid: {
76
+ where: whereThreadMessageLabelUid,
77
+ },
78
78
  },
79
79
  };
80
80
  const mutators = createMutators();
@@ -83,14 +83,14 @@ describe('threadMutators', () => {
83
83
  sourceLocations: [],
84
84
  threadIds: ['test-thread-id-1'],
85
85
  });
86
- expect(threadLabelInsert).toHaveBeenCalledTimes(2);
87
- expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
86
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledTimes(2);
87
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledWith(expect.objectContaining({
88
88
  accountId: 'test-account-id-1',
89
89
  labelId: 'test-label-id-1',
90
90
  threadId: 'test-thread-id-1',
91
91
  threadMessageId: 'test-message-id-1',
92
92
  }));
93
- expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
93
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledWith(expect.objectContaining({
94
94
  accountId: 'test-account-id-1',
95
95
  labelId: 'test-label-id-1',
96
96
  threadId: 'test-thread-id-1',
@@ -236,13 +236,13 @@ describe('threadMutators', () => {
236
236
  const whereLabelAccount = mock(() => ({ where: whereLabelPath }));
237
237
  const runExisting = mock(async () => existingRecords);
238
238
  const whereLabelId = mock(() => ({ run: runExisting }));
239
- const whereThreadLabel = mock((field) => {
239
+ const whereThreadMessageLabelUid = mock((field) => {
240
240
  if (field === 'threadId') {
241
241
  return { run: runExisting, where: whereLabelId };
242
242
  }
243
243
  return { where: whereLabelId };
244
244
  });
245
- const threadLabelDelete = mock(async () => { });
245
+ const threadMessageLabelUidDelete = mock(async () => { });
246
246
  const threadUpdate = mock(async () => { });
247
247
  const threadByLabelDelete = mock(async () => { });
248
248
  const runThreadByLabel = mock(async () => ({
@@ -264,8 +264,8 @@ describe('threadMutators', () => {
264
264
  threadByLabel: {
265
265
  delete: threadByLabelDelete,
266
266
  },
267
- threadLabel: {
268
- delete: threadLabelDelete,
267
+ threadMessageLabelUid: {
268
+ delete: threadMessageLabelUidDelete,
269
269
  },
270
270
  },
271
271
  query: {
@@ -278,8 +278,8 @@ describe('threadMutators', () => {
278
278
  threadByLabel: {
279
279
  where: whereThreadByLabel,
280
280
  },
281
- threadLabel: {
282
- where: whereThreadLabel,
281
+ threadMessageLabelUid: {
282
+ where: whereThreadMessageLabelUid,
283
283
  },
284
284
  },
285
285
  };
@@ -289,13 +289,13 @@ describe('threadMutators', () => {
289
289
  sourceLocations: [],
290
290
  threadIds: ['test-thread-id-1'],
291
291
  });
292
- expect(threadLabelDelete).toHaveBeenCalledTimes(2);
293
- expect(threadLabelDelete).toHaveBeenCalledWith({
292
+ expect(threadMessageLabelUidDelete).toHaveBeenCalledTimes(2);
293
+ expect(threadMessageLabelUidDelete).toHaveBeenCalledWith({
294
294
  accountId: 'test-account-id-1',
295
295
  labelId: 'test-label-id-1',
296
296
  threadMessageId: 'test-message-id-1',
297
297
  });
298
- expect(threadLabelDelete).toHaveBeenCalledWith({
298
+ expect(threadMessageLabelUidDelete).toHaveBeenCalledWith({
299
299
  accountId: 'test-account-id-1',
300
300
  labelId: 'test-label-id-1',
301
301
  threadMessageId: 'test-message-id-2',
@@ -331,14 +331,14 @@ describe('threadMutators', () => {
331
331
  }
332
332
  return { where: whereSpecialUse };
333
333
  });
334
- const runAllThreadLabels = mock(async () => [
334
+ const runAllThreadMessageLabels = mock(async () => [
335
335
  { labelId: 'test-inbox-label-id', threadId: 'test-thread-id-1', threadMessageId: 'test-message-id-1' },
336
336
  ]);
337
- const whereThreadLabel = mock(() => ({ run: runAllThreadLabels }));
337
+ const whereThreadMessageLabelUid = mock(() => ({ run: runAllThreadMessageLabels }));
338
338
  const runMessages = mock(async () => messageRecords);
339
339
  const whereMessages = mock(() => ({ run: runMessages }));
340
- const threadLabelDelete = mock(async () => { });
341
- const threadLabelInsert = mock(async () => { });
340
+ const threadMessageLabelUidDelete = mock(async () => { });
341
+ const threadMessageLabelUidInsert = mock(async () => { });
342
342
  const threadUpdate = mock(async () => { });
343
343
  const threadByLabelDelete = mock(async () => { });
344
344
  const threadByLabelInsert = mock(async () => { });
@@ -362,9 +362,9 @@ describe('threadMutators', () => {
362
362
  delete: threadByLabelDelete,
363
363
  insert: threadByLabelInsert,
364
364
  },
365
- threadLabel: {
366
- delete: threadLabelDelete,
367
- insert: threadLabelInsert,
365
+ threadMessageLabelUid: {
366
+ delete: threadMessageLabelUidDelete,
367
+ insert: threadMessageLabelUidInsert,
368
368
  },
369
369
  },
370
370
  query: {
@@ -377,12 +377,12 @@ describe('threadMutators', () => {
377
377
  threadByLabel: {
378
378
  where: whereThreadByLabel,
379
379
  },
380
- threadLabel: {
381
- where: whereThreadLabel,
382
- },
383
380
  threadMessage: {
384
381
  where: whereMessages,
385
382
  },
383
+ threadMessageLabelUid: {
384
+ where: whereThreadMessageLabelUid,
385
+ },
386
386
  },
387
387
  };
388
388
  const mutators = createMutators();
@@ -390,12 +390,12 @@ describe('threadMutators', () => {
390
390
  sourceLocations: [],
391
391
  threadIds: ['test-thread-id-1'],
392
392
  });
393
- expect(threadLabelDelete).toHaveBeenCalledWith({
393
+ expect(threadMessageLabelUidDelete).toHaveBeenCalledWith({
394
394
  accountId: 'test-account-id-1',
395
395
  labelId: 'test-inbox-label-id',
396
396
  threadMessageId: 'test-message-id-1',
397
397
  });
398
- expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
398
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledWith(expect.objectContaining({
399
399
  accountId: 'test-account-id-1',
400
400
  labelId: 'test-archive-label-id',
401
401
  threadId: 'test-thread-id-1',
@@ -454,14 +454,14 @@ describe('threadMutators', () => {
454
454
  }
455
455
  return { where: whereSpecialUse };
456
456
  });
457
- const runAllThreadLabels = mock(async () => [
457
+ const runAllThreadMessageLabels = mock(async () => [
458
458
  { labelId: 'test-archive-label-id', threadId: 'test-thread-id-1', threadMessageId: 'test-message-id-1' },
459
459
  ]);
460
- const whereThreadLabel = mock(() => ({ run: runAllThreadLabels }));
460
+ const whereThreadMessageLabelUid = mock(() => ({ run: runAllThreadMessageLabels }));
461
461
  const runMessages = mock(async () => messageRecords);
462
462
  const whereMessages = mock(() => ({ run: runMessages }));
463
- const threadLabelDelete = mock(async () => { });
464
- const threadLabelInsert = mock(async () => { });
463
+ const threadMessageLabelUidDelete = mock(async () => { });
464
+ const threadMessageLabelUidInsert = mock(async () => { });
465
465
  const threadUpdate = mock(async () => { });
466
466
  const threadByLabelDelete = mock(async () => { });
467
467
  const threadByLabelInsert = mock(async () => { });
@@ -485,9 +485,9 @@ describe('threadMutators', () => {
485
485
  delete: threadByLabelDelete,
486
486
  insert: threadByLabelInsert,
487
487
  },
488
- threadLabel: {
489
- delete: threadLabelDelete,
490
- insert: threadLabelInsert,
488
+ threadMessageLabelUid: {
489
+ delete: threadMessageLabelUidDelete,
490
+ insert: threadMessageLabelUidInsert,
491
491
  },
492
492
  },
493
493
  query: {
@@ -500,12 +500,12 @@ describe('threadMutators', () => {
500
500
  threadByLabel: {
501
501
  where: whereThreadByLabel,
502
502
  },
503
- threadLabel: {
504
- where: whereThreadLabel,
505
- },
506
503
  threadMessage: {
507
504
  where: whereMessages,
508
505
  },
506
+ threadMessageLabelUid: {
507
+ where: whereThreadMessageLabelUid,
508
+ },
509
509
  },
510
510
  };
511
511
  const mutators = createMutators();
@@ -513,12 +513,12 @@ describe('threadMutators', () => {
513
513
  sourceLocations: [],
514
514
  threadIds: ['test-thread-id-1'],
515
515
  });
516
- expect(threadLabelDelete).toHaveBeenCalledWith({
516
+ expect(threadMessageLabelUidDelete).toHaveBeenCalledWith({
517
517
  accountId: 'test-account-id-1',
518
518
  labelId: 'test-archive-label-id',
519
519
  threadMessageId: 'test-message-id-1',
520
520
  });
521
- expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
521
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledWith(expect.objectContaining({
522
522
  accountId: 'test-account-id-1',
523
523
  labelId: 'test-inbox-label-id',
524
524
  threadId: 'test-thread-id-1',
@@ -688,11 +688,11 @@ describe('threadMutators', () => {
688
688
  const oneLabel = mock(() => ({ run: runSpam }));
689
689
  const whereSpecialUse = mock(() => ({ one: oneLabel }));
690
690
  const whereLabelAccount = mock(() => ({ where: whereSpecialUse }));
691
- const runAllThreadLabels = mock(async () => []);
692
- const whereThreadLabel = mock(() => ({ run: runAllThreadLabels }));
691
+ const runAllThreadMessageLabels = mock(async () => []);
692
+ const whereThreadMessageLabelUid = mock(() => ({ run: runAllThreadMessageLabels }));
693
693
  const runMessages = mock(async () => messageRecords);
694
694
  const whereMessages = mock(() => ({ run: runMessages }));
695
- const threadLabelInsert = mock(async () => { });
695
+ const threadMessageLabelUidInsert = mock(async () => { });
696
696
  const threadUpdate = mock(async () => { });
697
697
  const threadByLabelInsert = mock(async () => { });
698
698
  const transaction = {
@@ -707,9 +707,9 @@ describe('threadMutators', () => {
707
707
  delete: mock(async () => { }),
708
708
  insert: threadByLabelInsert,
709
709
  },
710
- threadLabel: {
710
+ threadMessageLabelUid: {
711
711
  delete: mock(async () => { }),
712
- insert: threadLabelInsert,
712
+ insert: threadMessageLabelUidInsert,
713
713
  },
714
714
  },
715
715
  query: {
@@ -719,12 +719,12 @@ describe('threadMutators', () => {
719
719
  thread: {
720
720
  where: whereThread,
721
721
  },
722
- threadLabel: {
723
- where: whereThreadLabel,
724
- },
725
722
  threadMessage: {
726
723
  where: whereMessages,
727
724
  },
725
+ threadMessageLabelUid: {
726
+ where: whereThreadMessageLabelUid,
727
+ },
728
728
  },
729
729
  };
730
730
  const mutators = createMutators();
@@ -732,7 +732,7 @@ describe('threadMutators', () => {
732
732
  sourceLocations: [],
733
733
  threadIds: ['test-thread-id-1'],
734
734
  });
735
- expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
735
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledWith(expect.objectContaining({
736
736
  accountId: 'test-account-id-1',
737
737
  labelId: 'test-spam-label-id',
738
738
  threadId: 'test-thread-id-1',
@@ -763,11 +763,11 @@ describe('threadMutators', () => {
763
763
  const oneLabel = mock(() => ({ run: runTrash }));
764
764
  const whereSpecialUse = mock(() => ({ one: oneLabel }));
765
765
  const whereLabelAccount = mock(() => ({ where: whereSpecialUse }));
766
- const runAllThreadLabels = mock(async () => []);
767
- const whereThreadLabel = mock(() => ({ run: runAllThreadLabels }));
766
+ const runAllThreadMessageLabels = mock(async () => []);
767
+ const whereThreadMessageLabelUid = mock(() => ({ run: runAllThreadMessageLabels }));
768
768
  const runMessages = mock(async () => messageRecords);
769
769
  const whereMessages = mock(() => ({ run: runMessages }));
770
- const threadLabelInsert = mock(async () => { });
770
+ const threadMessageLabelUidInsert = mock(async () => { });
771
771
  const threadUpdate = mock(async () => { });
772
772
  const threadByLabelInsert = mock(async () => { });
773
773
  const transaction = {
@@ -782,9 +782,9 @@ describe('threadMutators', () => {
782
782
  delete: mock(async () => { }),
783
783
  insert: threadByLabelInsert,
784
784
  },
785
- threadLabel: {
785
+ threadMessageLabelUid: {
786
786
  delete: mock(async () => { }),
787
- insert: threadLabelInsert,
787
+ insert: threadMessageLabelUidInsert,
788
788
  },
789
789
  },
790
790
  query: {
@@ -794,12 +794,12 @@ describe('threadMutators', () => {
794
794
  thread: {
795
795
  where: whereThread,
796
796
  },
797
- threadLabel: {
798
- where: whereThreadLabel,
799
- },
800
797
  threadMessage: {
801
798
  where: whereMessages,
802
799
  },
800
+ threadMessageLabelUid: {
801
+ where: whereThreadMessageLabelUid,
802
+ },
803
803
  },
804
804
  };
805
805
  const mutators = createMutators();
@@ -807,7 +807,7 @@ describe('threadMutators', () => {
807
807
  sourceLocations: [],
808
808
  threadIds: ['test-thread-id-1'],
809
809
  });
810
- expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
810
+ expect(threadMessageLabelUidInsert).toHaveBeenCalledWith(expect.objectContaining({
811
811
  accountId: 'test-account-id-1',
812
812
  labelId: 'test-trash-label-id',
813
813
  threadId: 'test-thread-id-1',
@@ -529,8 +529,8 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
529
529
  } & {
530
530
  primaryKey: ["id"];
531
531
  };
532
- readonly threadLabel: {
533
- name: "threadLabel";
532
+ readonly threadMessageLabelUid: {
533
+ name: "threadMessageLabelUid";
534
534
  columns: {
535
535
  readonly accountId: {
536
536
  type: "string";
@@ -863,7 +863,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
863
863
  threads: [{
864
864
  readonly sourceField: string[];
865
865
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
866
- readonly destSchema: "threadLabel";
866
+ readonly destSchema: "threadMessageLabelUid";
867
867
  readonly cardinality: "many";
868
868
  }, {
869
869
  readonly sourceField: string[];
@@ -910,7 +910,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
910
910
  labels: [{
911
911
  readonly sourceField: string[];
912
912
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
913
- readonly destSchema: "threadLabel";
913
+ readonly destSchema: "threadMessageLabelUid";
914
914
  readonly cardinality: "many";
915
915
  }, {
916
916
  readonly sourceField: string[];
@@ -937,7 +937,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
937
937
  readonly cardinality: "one";
938
938
  }];
939
939
  };
940
- readonly threadLabel: {
940
+ readonly threadMessageLabelUid: {
941
941
  label: [{
942
942
  readonly sourceField: string[];
943
943
  readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
@@ -981,7 +981,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
981
981
  labels: [{
982
982
  readonly sourceField: string[];
983
983
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
984
- readonly destSchema: "threadLabel";
984
+ readonly destSchema: "threadMessageLabelUid";
985
985
  readonly cardinality: "many";
986
986
  }, {
987
987
  readonly sourceField: string[];
@@ -538,8 +538,8 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
538
538
  } & {
539
539
  primaryKey: ["id"];
540
540
  };
541
- readonly threadLabel: {
542
- name: "threadLabel";
541
+ readonly threadMessageLabelUid: {
542
+ name: "threadMessageLabelUid";
543
543
  columns: {
544
544
  readonly accountId: {
545
545
  type: "string";
@@ -872,7 +872,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
872
872
  threads: [{
873
873
  readonly sourceField: string[];
874
874
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
875
- readonly destSchema: "threadLabel";
875
+ readonly destSchema: "threadMessageLabelUid";
876
876
  readonly cardinality: "many";
877
877
  }, {
878
878
  readonly sourceField: string[];
@@ -919,7 +919,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
919
919
  labels: [{
920
920
  readonly sourceField: string[];
921
921
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
922
- readonly destSchema: "threadLabel";
922
+ readonly destSchema: "threadMessageLabelUid";
923
923
  readonly cardinality: "many";
924
924
  }, {
925
925
  readonly sourceField: string[];
@@ -946,7 +946,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
946
946
  readonly cardinality: "one";
947
947
  }];
948
948
  };
949
- readonly threadLabel: {
949
+ readonly threadMessageLabelUid: {
950
950
  label: [{
951
951
  readonly sourceField: string[];
952
952
  readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
@@ -990,7 +990,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
990
990
  labels: [{
991
991
  readonly sourceField: string[];
992
992
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
993
- readonly destSchema: "threadLabel";
993
+ readonly destSchema: "threadMessageLabelUid";
994
994
  readonly cardinality: "many";
995
995
  }, {
996
996
  readonly sourceField: string[];
@@ -535,8 +535,8 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
535
535
  } & {
536
536
  primaryKey: ["id"];
537
537
  };
538
- readonly threadLabel: {
539
- name: "threadLabel";
538
+ readonly threadMessageLabelUid: {
539
+ name: "threadMessageLabelUid";
540
540
  columns: {
541
541
  readonly accountId: {
542
542
  type: "string";
@@ -869,7 +869,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
869
869
  threads: [{
870
870
  readonly sourceField: string[];
871
871
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
872
- readonly destSchema: "threadLabel";
872
+ readonly destSchema: "threadMessageLabelUid";
873
873
  readonly cardinality: "many";
874
874
  }, {
875
875
  readonly sourceField: string[];
@@ -916,7 +916,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
916
916
  labels: [{
917
917
  readonly sourceField: string[];
918
918
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
919
- readonly destSchema: "threadLabel";
919
+ readonly destSchema: "threadMessageLabelUid";
920
920
  readonly cardinality: "many";
921
921
  }, {
922
922
  readonly sourceField: string[];
@@ -943,7 +943,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
943
943
  readonly cardinality: "one";
944
944
  }];
945
945
  };
946
- readonly threadLabel: {
946
+ readonly threadMessageLabelUid: {
947
947
  label: [{
948
948
  readonly sourceField: string[];
949
949
  readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
@@ -987,7 +987,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
987
987
  labels: [{
988
988
  readonly sourceField: string[];
989
989
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
990
- readonly destSchema: "threadLabel";
990
+ readonly destSchema: "threadMessageLabelUid";
991
991
  readonly cardinality: "many";
992
992
  }, {
993
993
  readonly sourceField: string[];
@@ -532,8 +532,8 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
532
532
  } & {
533
533
  primaryKey: ["id"];
534
534
  };
535
- readonly threadLabel: {
536
- name: "threadLabel";
535
+ readonly threadMessageLabelUid: {
536
+ name: "threadMessageLabelUid";
537
537
  columns: {
538
538
  readonly accountId: {
539
539
  type: "string";
@@ -866,7 +866,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
866
866
  threads: [{
867
867
  readonly sourceField: string[];
868
868
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
869
- readonly destSchema: "threadLabel";
869
+ readonly destSchema: "threadMessageLabelUid";
870
870
  readonly cardinality: "many";
871
871
  }, {
872
872
  readonly sourceField: string[];
@@ -913,7 +913,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
913
913
  labels: [{
914
914
  readonly sourceField: string[];
915
915
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
916
- readonly destSchema: "threadLabel";
916
+ readonly destSchema: "threadMessageLabelUid";
917
917
  readonly cardinality: "many";
918
918
  }, {
919
919
  readonly sourceField: string[];
@@ -940,7 +940,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
940
940
  readonly cardinality: "one";
941
941
  }];
942
942
  };
943
- readonly threadLabel: {
943
+ readonly threadMessageLabelUid: {
944
944
  label: [{
945
945
  readonly sourceField: string[];
946
946
  readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
@@ -984,7 +984,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
984
984
  labels: [{
985
985
  readonly sourceField: string[];
986
986
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
987
- readonly destSchema: "threadLabel";
987
+ readonly destSchema: "threadMessageLabelUid";
988
988
  readonly cardinality: "many";
989
989
  }, {
990
990
  readonly sourceField: string[];
@@ -541,8 +541,8 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
541
541
  } & {
542
542
  primaryKey: ["id"];
543
543
  };
544
- readonly threadLabel: {
545
- name: "threadLabel";
544
+ readonly threadMessageLabelUid: {
545
+ name: "threadMessageLabelUid";
546
546
  columns: {
547
547
  readonly accountId: {
548
548
  type: "string";
@@ -875,7 +875,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
875
875
  threads: [{
876
876
  readonly sourceField: string[];
877
877
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
878
- readonly destSchema: "threadLabel";
878
+ readonly destSchema: "threadMessageLabelUid";
879
879
  readonly cardinality: "many";
880
880
  }, {
881
881
  readonly sourceField: string[];
@@ -922,7 +922,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
922
922
  labels: [{
923
923
  readonly sourceField: string[];
924
924
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
925
- readonly destSchema: "threadLabel";
925
+ readonly destSchema: "threadMessageLabelUid";
926
926
  readonly cardinality: "many";
927
927
  }, {
928
928
  readonly sourceField: string[];
@@ -949,7 +949,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
949
949
  readonly cardinality: "one";
950
950
  }];
951
951
  };
952
- readonly threadLabel: {
952
+ readonly threadMessageLabelUid: {
953
953
  label: [{
954
954
  readonly sourceField: string[];
955
955
  readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
@@ -993,7 +993,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
993
993
  labels: [{
994
994
  readonly sourceField: string[];
995
995
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
996
- readonly destSchema: "threadLabel";
996
+ readonly destSchema: "threadMessageLabelUid";
997
997
  readonly cardinality: "many";
998
998
  }, {
999
999
  readonly sourceField: string[];
@@ -541,8 +541,8 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
541
541
  } & {
542
542
  primaryKey: ["id"];
543
543
  };
544
- readonly threadLabel: {
545
- name: "threadLabel";
544
+ readonly threadMessageLabelUid: {
545
+ name: "threadMessageLabelUid";
546
546
  columns: {
547
547
  readonly accountId: {
548
548
  type: "string";
@@ -875,7 +875,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
875
875
  threads: [{
876
876
  readonly sourceField: string[];
877
877
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
878
- readonly destSchema: "threadLabel";
878
+ readonly destSchema: "threadMessageLabelUid";
879
879
  readonly cardinality: "many";
880
880
  }, {
881
881
  readonly sourceField: string[];
@@ -922,7 +922,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
922
922
  labels: [{
923
923
  readonly sourceField: string[];
924
924
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
925
- readonly destSchema: "threadLabel";
925
+ readonly destSchema: "threadMessageLabelUid";
926
926
  readonly cardinality: "many";
927
927
  }, {
928
928
  readonly sourceField: string[];
@@ -949,7 +949,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
949
949
  readonly cardinality: "one";
950
950
  }];
951
951
  };
952
- readonly threadLabel: {
952
+ readonly threadMessageLabelUid: {
953
953
  label: [{
954
954
  readonly sourceField: string[];
955
955
  readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
@@ -993,7 +993,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
993
993
  labels: [{
994
994
  readonly sourceField: string[];
995
995
  readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
996
- readonly destSchema: "threadLabel";
996
+ readonly destSchema: "threadMessageLabelUid";
997
997
  readonly cardinality: "many";
998
998
  }, {
999
999
  readonly sourceField: string[];