@marcoappio/marco-config 2.0.496 → 2.0.497

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.
@@ -1,5 +1,5 @@
1
1
  export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
2
- readonly account: {
2
+ account: {
3
3
  createAccount: import("@rocicorp/zero").MutatorDefinition<{
4
4
  aliasId: string;
5
5
  color: string;
@@ -126,7 +126,7 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
126
126
  readonly userId: string;
127
127
  }, unknown>;
128
128
  };
129
- readonly draft: {
129
+ draft: {
130
130
  cancelSend: import("@rocicorp/zero").MutatorDefinition<{
131
131
  id: string;
132
132
  updatedAt: number;
@@ -311,7 +311,7 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
311
311
  readonly userId: string;
312
312
  }, unknown>;
313
313
  };
314
- readonly thread: {
314
+ thread: {
315
315
  addLabel: import("@rocicorp/zero").MutatorDefinition<{
316
316
  accounts: {
317
317
  [x: string]: {
@@ -456,7 +456,7 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
456
456
  readonly userId: string;
457
457
  }, unknown>;
458
458
  };
459
- readonly user: {
459
+ user: {
460
460
  deleteSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
461
461
  id: string;
462
462
  token: string;
@@ -493,6 +493,1028 @@ export declare const mutators: import("@rocicorp/zero").MutatorRegistry<{
493
493
  readonly userId: string;
494
494
  }, unknown>;
495
495
  };
496
- }, import("@rocicorp/zero").Schema>;
496
+ }, {
497
+ tables: {
498
+ readonly user: {
499
+ name: "user";
500
+ columns: {
501
+ readonly id: {
502
+ type: "string";
503
+ optional: false;
504
+ customType: string;
505
+ };
506
+ readonly name: Omit<{
507
+ type: "string";
508
+ optional: false;
509
+ customType: string;
510
+ }, "optional"> & {
511
+ optional: true;
512
+ };
513
+ readonly profilePicture: Omit<{
514
+ type: "string";
515
+ optional: false;
516
+ customType: string;
517
+ }, "optional"> & {
518
+ optional: true;
519
+ } & {
520
+ serverName: string;
521
+ };
522
+ readonly undoSendEnabled: {
523
+ type: "boolean";
524
+ optional: false;
525
+ customType: boolean;
526
+ } & {
527
+ serverName: string;
528
+ };
529
+ };
530
+ primaryKey: readonly [string, ...string[]];
531
+ } & {
532
+ primaryKey: ["id"];
533
+ };
534
+ readonly draftAttachment: {
535
+ name: "draftAttachment";
536
+ columns: {
537
+ readonly draftId: {
538
+ type: "string";
539
+ optional: false;
540
+ customType: string;
541
+ } & {
542
+ serverName: string;
543
+ };
544
+ readonly fileName: {
545
+ type: "string";
546
+ optional: false;
547
+ customType: string;
548
+ } & {
549
+ serverName: string;
550
+ };
551
+ readonly id: {
552
+ type: "string";
553
+ optional: false;
554
+ customType: string;
555
+ };
556
+ readonly mimeType: {
557
+ type: "string";
558
+ optional: false;
559
+ customType: string;
560
+ } & {
561
+ serverName: string;
562
+ };
563
+ readonly status: {
564
+ type: "string";
565
+ optional: false;
566
+ customType: "PENDING" | "COMPLETE" | "FAILED";
567
+ } & {
568
+ serverName: string;
569
+ };
570
+ readonly totalSize: {
571
+ type: "number";
572
+ optional: false;
573
+ customType: number;
574
+ } & {
575
+ serverName: string;
576
+ };
577
+ };
578
+ primaryKey: readonly [string, ...string[]];
579
+ } & {
580
+ primaryKey: ["id"];
581
+ };
582
+ readonly userPushNotificationToken: {
583
+ name: "userPushNotificationToken";
584
+ columns: {
585
+ readonly createdAt: {
586
+ type: "number";
587
+ optional: false;
588
+ customType: number;
589
+ } & {
590
+ serverName: string;
591
+ };
592
+ readonly id: {
593
+ type: "string";
594
+ optional: false;
595
+ customType: string;
596
+ };
597
+ readonly token: {
598
+ type: "string";
599
+ optional: false;
600
+ customType: string;
601
+ };
602
+ readonly userId: {
603
+ type: "string";
604
+ optional: false;
605
+ customType: string;
606
+ } & {
607
+ serverName: string;
608
+ };
609
+ };
610
+ primaryKey: readonly [string, ...string[]];
611
+ } & {
612
+ primaryKey: ["id"];
613
+ };
614
+ readonly contact: {
615
+ name: "contact";
616
+ columns: {
617
+ readonly emailAddress: {
618
+ type: "string";
619
+ optional: false;
620
+ customType: string;
621
+ } & {
622
+ serverName: string;
623
+ };
624
+ readonly id: {
625
+ type: "string";
626
+ optional: false;
627
+ customType: string;
628
+ };
629
+ readonly name: Omit<{
630
+ type: "string";
631
+ optional: false;
632
+ customType: string;
633
+ }, "optional"> & {
634
+ optional: true;
635
+ };
636
+ readonly userId: {
637
+ type: "string";
638
+ optional: false;
639
+ customType: string;
640
+ } & {
641
+ serverName: string;
642
+ };
643
+ };
644
+ primaryKey: readonly [string, ...string[]];
645
+ } & {
646
+ primaryKey: ["id"];
647
+ };
648
+ readonly account: {
649
+ name: "account";
650
+ columns: {
651
+ readonly color: {
652
+ type: "string";
653
+ optional: false;
654
+ customType: string;
655
+ };
656
+ readonly displayName: Omit<{
657
+ type: "string";
658
+ optional: false;
659
+ customType: string;
660
+ }, "optional"> & {
661
+ optional: true;
662
+ } & {
663
+ serverName: string;
664
+ };
665
+ readonly id: {
666
+ type: "string";
667
+ optional: false;
668
+ customType: string;
669
+ };
670
+ readonly imapConnectionStatus: {
671
+ type: "string";
672
+ optional: false;
673
+ 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";
674
+ } & {
675
+ serverName: string;
676
+ };
677
+ readonly mailProcessedCount: {
678
+ type: "number";
679
+ optional: false;
680
+ customType: number;
681
+ } & {
682
+ serverName: string;
683
+ };
684
+ readonly mailTotalCount: {
685
+ type: "number";
686
+ optional: false;
687
+ customType: number;
688
+ } & {
689
+ serverName: string;
690
+ };
691
+ readonly primaryAliasId: Omit<{
692
+ type: "string";
693
+ optional: false;
694
+ customType: string;
695
+ }, "optional"> & {
696
+ optional: true;
697
+ } & {
698
+ serverName: string;
699
+ };
700
+ readonly userId: {
701
+ type: "string";
702
+ optional: false;
703
+ customType: string;
704
+ } & {
705
+ serverName: string;
706
+ };
707
+ };
708
+ primaryKey: readonly [string, ...string[]];
709
+ } & {
710
+ primaryKey: ["id"];
711
+ };
712
+ readonly accountAlias: {
713
+ name: "accountAlias";
714
+ columns: {
715
+ readonly accountId: {
716
+ type: "string";
717
+ optional: false;
718
+ customType: string;
719
+ } & {
720
+ serverName: string;
721
+ };
722
+ readonly emailAddress: {
723
+ type: "string";
724
+ optional: false;
725
+ customType: string;
726
+ } & {
727
+ serverName: string;
728
+ };
729
+ readonly id: {
730
+ type: "string";
731
+ optional: false;
732
+ customType: string;
733
+ };
734
+ readonly isPrimary: {
735
+ type: "boolean";
736
+ optional: false;
737
+ customType: boolean;
738
+ } & {
739
+ serverName: string;
740
+ };
741
+ readonly name: Omit<{
742
+ type: "string";
743
+ optional: false;
744
+ customType: string;
745
+ }, "optional"> & {
746
+ optional: true;
747
+ };
748
+ };
749
+ primaryKey: readonly [string, ...string[]];
750
+ } & {
751
+ primaryKey: ["id"];
752
+ };
753
+ readonly accountLabel: {
754
+ name: "accountLabel";
755
+ columns: {
756
+ readonly accountId: {
757
+ type: "string";
758
+ optional: false;
759
+ customType: string;
760
+ } & {
761
+ serverName: string;
762
+ };
763
+ readonly id: {
764
+ type: "string";
765
+ optional: false;
766
+ customType: string;
767
+ };
768
+ readonly name: Omit<{
769
+ type: "string";
770
+ optional: false;
771
+ customType: string;
772
+ }, "optional"> & {
773
+ optional: true;
774
+ };
775
+ readonly path: {
776
+ type: "string";
777
+ optional: false;
778
+ customType: string;
779
+ };
780
+ readonly specialUse: Omit<{
781
+ type: "string";
782
+ optional: false;
783
+ customType: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH";
784
+ }, "optional"> & {
785
+ optional: true;
786
+ } & {
787
+ serverName: string;
788
+ };
789
+ readonly uidValidity: {
790
+ type: "number";
791
+ optional: false;
792
+ customType: number;
793
+ } & {
794
+ serverName: string;
795
+ };
796
+ readonly unreadCount: {
797
+ type: "number";
798
+ optional: false;
799
+ customType: number;
800
+ } & {
801
+ serverName: string;
802
+ };
803
+ };
804
+ primaryKey: readonly [string, ...string[]];
805
+ } & {
806
+ primaryKey: ["id"];
807
+ };
808
+ readonly draft: {
809
+ name: "draft";
810
+ columns: {
811
+ readonly accountId: {
812
+ type: "string";
813
+ optional: false;
814
+ customType: string;
815
+ } & {
816
+ serverName: string;
817
+ };
818
+ readonly body: {
819
+ type: "json";
820
+ optional: false;
821
+ customType: {
822
+ content: string;
823
+ to: string[];
824
+ cc: string[];
825
+ bcc: string[];
826
+ };
827
+ };
828
+ readonly error: Omit<{
829
+ type: "string";
830
+ optional: false;
831
+ customType: string;
832
+ }, "optional"> & {
833
+ optional: true;
834
+ };
835
+ readonly fromAliasId: Omit<{
836
+ type: "string";
837
+ optional: false;
838
+ customType: string;
839
+ }, "optional"> & {
840
+ optional: true;
841
+ } & {
842
+ serverName: string;
843
+ };
844
+ readonly fromEmail: {
845
+ type: "string";
846
+ optional: false;
847
+ customType: string;
848
+ } & {
849
+ serverName: string;
850
+ };
851
+ readonly fromName: Omit<{
852
+ type: "string";
853
+ optional: false;
854
+ customType: string;
855
+ }, "optional"> & {
856
+ optional: true;
857
+ } & {
858
+ serverName: string;
859
+ };
860
+ readonly id: {
861
+ type: "string";
862
+ optional: false;
863
+ customType: string;
864
+ };
865
+ readonly referencedMessageId: Omit<{
866
+ type: "string";
867
+ optional: false;
868
+ customType: string;
869
+ }, "optional"> & {
870
+ optional: true;
871
+ } & {
872
+ serverName: string;
873
+ };
874
+ readonly scheduledFor: Omit<{
875
+ type: "number";
876
+ optional: false;
877
+ customType: number;
878
+ }, "optional"> & {
879
+ optional: true;
880
+ } & {
881
+ serverName: string;
882
+ };
883
+ readonly status: {
884
+ type: "string";
885
+ optional: false;
886
+ customType: "DRAFT" | "SEND_REQUESTED" | "SEND_CONFIRMED" | "SEND_FAILED";
887
+ };
888
+ readonly subject: Omit<{
889
+ type: "string";
890
+ optional: false;
891
+ customType: string;
892
+ }, "optional"> & {
893
+ optional: true;
894
+ };
895
+ readonly type: {
896
+ type: "string";
897
+ optional: false;
898
+ customType: "NEW" | "REPLY" | "FORWARD";
899
+ };
900
+ readonly updatedAt: {
901
+ type: "number";
902
+ optional: false;
903
+ customType: number;
904
+ } & {
905
+ serverName: string;
906
+ };
907
+ readonly userId: {
908
+ type: "string";
909
+ optional: false;
910
+ customType: string;
911
+ } & {
912
+ serverName: string;
913
+ };
914
+ };
915
+ primaryKey: readonly [string, ...string[]];
916
+ } & {
917
+ primaryKey: ["id"];
918
+ };
919
+ readonly thread: {
920
+ name: "thread";
921
+ columns: {
922
+ readonly accountId: {
923
+ type: "string";
924
+ optional: false;
925
+ customType: string;
926
+ } & {
927
+ serverName: string;
928
+ };
929
+ readonly flagged: {
930
+ type: "boolean";
931
+ optional: false;
932
+ customType: boolean;
933
+ };
934
+ readonly hasAttachments: {
935
+ type: "boolean";
936
+ optional: false;
937
+ customType: boolean;
938
+ } & {
939
+ serverName: string;
940
+ };
941
+ readonly id: {
942
+ type: "string";
943
+ optional: false;
944
+ customType: string;
945
+ };
946
+ readonly labelIdList: {
947
+ type: "string";
948
+ optional: false;
949
+ customType: string;
950
+ } & {
951
+ serverName: string;
952
+ };
953
+ readonly latestMessageDate: {
954
+ type: "number";
955
+ optional: false;
956
+ customType: number;
957
+ } & {
958
+ serverName: string;
959
+ };
960
+ readonly latestMessageId: {
961
+ type: "string";
962
+ optional: false;
963
+ customType: string;
964
+ } & {
965
+ serverName: string;
966
+ };
967
+ readonly messageCount: {
968
+ type: "number";
969
+ optional: false;
970
+ customType: number;
971
+ } & {
972
+ serverName: string;
973
+ };
974
+ readonly previewText: {
975
+ type: "string";
976
+ optional: false;
977
+ customType: string;
978
+ } & {
979
+ serverName: string;
980
+ };
981
+ readonly seen: {
982
+ type: "boolean";
983
+ optional: false;
984
+ customType: boolean;
985
+ };
986
+ readonly senderEmail: {
987
+ type: "string";
988
+ optional: false;
989
+ customType: string;
990
+ } & {
991
+ serverName: string;
992
+ };
993
+ readonly senderName: Omit<{
994
+ type: "string";
995
+ optional: false;
996
+ customType: string;
997
+ }, "optional"> & {
998
+ optional: true;
999
+ } & {
1000
+ serverName: string;
1001
+ };
1002
+ readonly subject: Omit<{
1003
+ type: "string";
1004
+ optional: false;
1005
+ customType: string;
1006
+ }, "optional"> & {
1007
+ optional: true;
1008
+ };
1009
+ readonly userId: {
1010
+ type: "string";
1011
+ optional: false;
1012
+ customType: string;
1013
+ } & {
1014
+ serverName: string;
1015
+ };
1016
+ readonly words: {
1017
+ type: "string";
1018
+ optional: false;
1019
+ customType: string;
1020
+ };
1021
+ };
1022
+ primaryKey: readonly [string, ...string[]];
1023
+ } & {
1024
+ primaryKey: ["id"];
1025
+ };
1026
+ readonly threadLabel: {
1027
+ name: "threadLabel";
1028
+ columns: {
1029
+ readonly accountId: {
1030
+ type: "string";
1031
+ optional: false;
1032
+ customType: string;
1033
+ } & {
1034
+ serverName: string;
1035
+ };
1036
+ readonly labelId: {
1037
+ type: "string";
1038
+ optional: false;
1039
+ customType: string;
1040
+ } & {
1041
+ serverName: string;
1042
+ };
1043
+ readonly lastSyncedAt: {
1044
+ type: "number";
1045
+ optional: false;
1046
+ customType: number;
1047
+ } & {
1048
+ serverName: string;
1049
+ };
1050
+ readonly threadId: {
1051
+ type: "string";
1052
+ optional: false;
1053
+ customType: string;
1054
+ } & {
1055
+ serverName: string;
1056
+ };
1057
+ readonly threadMessageId: {
1058
+ type: "string";
1059
+ optional: false;
1060
+ customType: string;
1061
+ } & {
1062
+ serverName: string;
1063
+ };
1064
+ readonly uid: {
1065
+ type: "number";
1066
+ optional: false;
1067
+ customType: number;
1068
+ };
1069
+ readonly uidValidity: {
1070
+ type: "number";
1071
+ optional: false;
1072
+ customType: number;
1073
+ } & {
1074
+ serverName: string;
1075
+ };
1076
+ };
1077
+ primaryKey: readonly [string, ...string[]];
1078
+ } & {
1079
+ primaryKey: ["accountId", "labelId", "threadMessageId"];
1080
+ };
1081
+ readonly threadByLabel: {
1082
+ name: "threadByLabel";
1083
+ columns: {
1084
+ readonly labelId: {
1085
+ type: "string";
1086
+ optional: false;
1087
+ customType: string;
1088
+ } & {
1089
+ serverName: string;
1090
+ };
1091
+ readonly latestMessageDate: {
1092
+ type: "number";
1093
+ optional: false;
1094
+ customType: number;
1095
+ } & {
1096
+ serverName: string;
1097
+ };
1098
+ readonly threadId: {
1099
+ type: "string";
1100
+ optional: false;
1101
+ customType: string;
1102
+ } & {
1103
+ serverName: string;
1104
+ };
1105
+ };
1106
+ primaryKey: readonly [string, ...string[]];
1107
+ } & {
1108
+ primaryKey: ["labelId", "threadId"];
1109
+ };
1110
+ readonly threadMessage: {
1111
+ name: "threadMessage";
1112
+ columns: {
1113
+ readonly accountId: {
1114
+ type: "string";
1115
+ optional: false;
1116
+ customType: string;
1117
+ } & {
1118
+ serverName: string;
1119
+ };
1120
+ readonly envelopeDate: {
1121
+ type: "number";
1122
+ optional: false;
1123
+ customType: number;
1124
+ } & {
1125
+ serverName: string;
1126
+ };
1127
+ readonly envelopeSubject: Omit<{
1128
+ type: "string";
1129
+ optional: false;
1130
+ customType: string;
1131
+ }, "optional"> & {
1132
+ optional: true;
1133
+ } & {
1134
+ serverName: string;
1135
+ };
1136
+ readonly id: {
1137
+ type: "string";
1138
+ optional: false;
1139
+ customType: string;
1140
+ };
1141
+ readonly previewText: {
1142
+ type: "string";
1143
+ optional: false;
1144
+ customType: string;
1145
+ } & {
1146
+ serverName: string;
1147
+ };
1148
+ readonly senderEmail: {
1149
+ type: "string";
1150
+ optional: false;
1151
+ customType: string;
1152
+ } & {
1153
+ serverName: string;
1154
+ };
1155
+ readonly senderName: Omit<{
1156
+ type: "string";
1157
+ optional: false;
1158
+ customType: string;
1159
+ }, "optional"> & {
1160
+ optional: true;
1161
+ } & {
1162
+ serverName: string;
1163
+ };
1164
+ readonly threadId: {
1165
+ type: "string";
1166
+ optional: false;
1167
+ customType: string;
1168
+ } & {
1169
+ serverName: string;
1170
+ };
1171
+ };
1172
+ primaryKey: readonly [string, ...string[]];
1173
+ } & {
1174
+ primaryKey: ["id"];
1175
+ };
1176
+ readonly threadMessageRecipient: {
1177
+ name: "threadMessageRecipient";
1178
+ columns: {
1179
+ readonly emailAddress: {
1180
+ type: "string";
1181
+ optional: false;
1182
+ customType: string;
1183
+ } & {
1184
+ serverName: string;
1185
+ };
1186
+ readonly id: {
1187
+ type: "string";
1188
+ optional: false;
1189
+ customType: string;
1190
+ };
1191
+ readonly name: Omit<{
1192
+ type: "string";
1193
+ optional: false;
1194
+ customType: string;
1195
+ }, "optional"> & {
1196
+ optional: true;
1197
+ };
1198
+ readonly threadMessageId: {
1199
+ type: "string";
1200
+ optional: false;
1201
+ customType: string;
1202
+ } & {
1203
+ serverName: string;
1204
+ };
1205
+ readonly type: {
1206
+ type: "string";
1207
+ optional: false;
1208
+ customType: "bcc" | "cc" | "to" | "replyTo";
1209
+ };
1210
+ };
1211
+ primaryKey: readonly [string, ...string[]];
1212
+ } & {
1213
+ primaryKey: ["id"];
1214
+ };
1215
+ readonly threadMessageAttachment: {
1216
+ name: "threadMessageAttachment";
1217
+ columns: {
1218
+ readonly fileName: {
1219
+ type: "string";
1220
+ optional: false;
1221
+ customType: string;
1222
+ } & {
1223
+ serverName: string;
1224
+ };
1225
+ readonly id: {
1226
+ type: "string";
1227
+ optional: false;
1228
+ customType: string;
1229
+ };
1230
+ readonly mimeType: {
1231
+ type: "string";
1232
+ optional: false;
1233
+ customType: string;
1234
+ } & {
1235
+ serverName: string;
1236
+ };
1237
+ readonly size: {
1238
+ type: "number";
1239
+ optional: false;
1240
+ customType: number;
1241
+ };
1242
+ readonly threadMessageId: {
1243
+ type: "string";
1244
+ optional: false;
1245
+ customType: string;
1246
+ } & {
1247
+ serverName: string;
1248
+ };
1249
+ };
1250
+ primaryKey: readonly [string, ...string[]];
1251
+ } & {
1252
+ primaryKey: ["id"];
1253
+ };
1254
+ };
1255
+ relationships: {
1256
+ readonly user: {
1257
+ accounts: [{
1258
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1259
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1260
+ readonly destSchema: "account";
1261
+ readonly cardinality: "many";
1262
+ }];
1263
+ contacts: [{
1264
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1265
+ readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1266
+ readonly destSchema: "contact";
1267
+ readonly cardinality: "many";
1268
+ }];
1269
+ drafts: [{
1270
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1271
+ readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1272
+ readonly destSchema: "draft";
1273
+ readonly cardinality: "many";
1274
+ }];
1275
+ pushNotificationTokens: [{
1276
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1277
+ readonly destField: readonly ("createdAt" | "id" | "token" | "userId")[];
1278
+ readonly destSchema: "userPushNotificationToken";
1279
+ readonly cardinality: "many";
1280
+ }];
1281
+ threads: [{
1282
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1283
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1284
+ readonly destSchema: "thread";
1285
+ readonly cardinality: "many";
1286
+ }];
1287
+ };
1288
+ readonly draftAttachment: {
1289
+ draft: [{
1290
+ readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1291
+ readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1292
+ readonly destSchema: "draft";
1293
+ readonly cardinality: "one";
1294
+ }];
1295
+ };
1296
+ readonly userPushNotificationToken: {
1297
+ user: [{
1298
+ readonly sourceField: readonly ("createdAt" | "id" | "token" | "userId")[];
1299
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1300
+ readonly destSchema: "user";
1301
+ readonly cardinality: "one";
1302
+ }];
1303
+ };
1304
+ readonly contact: {
1305
+ user: [{
1306
+ readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1307
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1308
+ readonly destSchema: "user";
1309
+ readonly cardinality: "one";
1310
+ }];
1311
+ };
1312
+ readonly account: {
1313
+ aliases: [{
1314
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1315
+ readonly destField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
1316
+ readonly destSchema: "accountAlias";
1317
+ readonly cardinality: "many";
1318
+ }];
1319
+ drafts: [{
1320
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1321
+ readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1322
+ readonly destSchema: "draft";
1323
+ readonly cardinality: "many";
1324
+ }];
1325
+ labels: [{
1326
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1327
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1328
+ readonly destSchema: "accountLabel";
1329
+ readonly cardinality: "many";
1330
+ }];
1331
+ primaryAlias: [{
1332
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1333
+ readonly destField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
1334
+ readonly destSchema: "accountAlias";
1335
+ readonly cardinality: "one";
1336
+ }];
1337
+ threads: [{
1338
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1339
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1340
+ readonly destSchema: "thread";
1341
+ readonly cardinality: "many";
1342
+ }];
1343
+ user: [{
1344
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1345
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1346
+ readonly destSchema: "user";
1347
+ readonly cardinality: "one";
1348
+ }];
1349
+ };
1350
+ readonly accountAlias: {
1351
+ account: [{
1352
+ readonly sourceField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
1353
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1354
+ readonly destSchema: "account";
1355
+ readonly cardinality: "one";
1356
+ }];
1357
+ };
1358
+ readonly accountLabel: {
1359
+ account: [{
1360
+ readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1361
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1362
+ readonly destSchema: "account";
1363
+ readonly cardinality: "one";
1364
+ }];
1365
+ threads: [{
1366
+ readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1367
+ readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1368
+ readonly destSchema: "threadLabel";
1369
+ readonly cardinality: "many";
1370
+ }, {
1371
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1372
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1373
+ readonly destSchema: "thread";
1374
+ readonly cardinality: "many";
1375
+ }];
1376
+ };
1377
+ readonly draft: {
1378
+ account: [{
1379
+ readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1380
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1381
+ readonly destSchema: "account";
1382
+ readonly cardinality: "one";
1383
+ }];
1384
+ attachments: [{
1385
+ readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1386
+ readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
1387
+ readonly destSchema: "draftAttachment";
1388
+ readonly cardinality: "many";
1389
+ }];
1390
+ user: [{
1391
+ readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
1392
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1393
+ readonly destSchema: "user";
1394
+ readonly cardinality: "one";
1395
+ }];
1396
+ };
1397
+ readonly thread: {
1398
+ account: [{
1399
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1400
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1401
+ readonly destSchema: "account";
1402
+ readonly cardinality: "one";
1403
+ }];
1404
+ labels: [{
1405
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1406
+ readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1407
+ readonly destSchema: "threadLabel";
1408
+ readonly cardinality: "many";
1409
+ }, {
1410
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1411
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1412
+ readonly destSchema: "accountLabel";
1413
+ readonly cardinality: "many";
1414
+ }];
1415
+ messages: [{
1416
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1417
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1418
+ readonly destSchema: "threadMessage";
1419
+ readonly cardinality: "many";
1420
+ }];
1421
+ threadByLabel: [{
1422
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1423
+ readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1424
+ readonly destSchema: "threadByLabel";
1425
+ readonly cardinality: "many";
1426
+ }];
1427
+ user: [{
1428
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1429
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1430
+ readonly destSchema: "user";
1431
+ readonly cardinality: "one";
1432
+ }];
1433
+ };
1434
+ readonly threadLabel: {
1435
+ label: [{
1436
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1437
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1438
+ readonly destSchema: "accountLabel";
1439
+ readonly cardinality: "one";
1440
+ }];
1441
+ message: [{
1442
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1443
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1444
+ readonly destSchema: "threadMessage";
1445
+ readonly cardinality: "one";
1446
+ }];
1447
+ thread: [{
1448
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1449
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1450
+ readonly destSchema: "thread";
1451
+ readonly cardinality: "one";
1452
+ }];
1453
+ };
1454
+ readonly threadByLabel: {
1455
+ label: [{
1456
+ readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1457
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1458
+ readonly destSchema: "accountLabel";
1459
+ readonly cardinality: "one";
1460
+ }];
1461
+ thread: [{
1462
+ readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
1463
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1464
+ readonly destSchema: "thread";
1465
+ readonly cardinality: "one";
1466
+ }];
1467
+ };
1468
+ readonly threadMessage: {
1469
+ attachments: [{
1470
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1471
+ readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1472
+ readonly destSchema: "threadMessageAttachment";
1473
+ readonly cardinality: "many";
1474
+ }];
1475
+ labels: [{
1476
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1477
+ readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1478
+ readonly destSchema: "threadLabel";
1479
+ readonly cardinality: "many";
1480
+ }, {
1481
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
1482
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
1483
+ readonly destSchema: "accountLabel";
1484
+ readonly cardinality: "many";
1485
+ }];
1486
+ recipients: [{
1487
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1488
+ readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1489
+ readonly destSchema: "threadMessageRecipient";
1490
+ readonly cardinality: "many";
1491
+ }];
1492
+ thread: [{
1493
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1494
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1495
+ readonly destSchema: "thread";
1496
+ readonly cardinality: "one";
1497
+ }];
1498
+ };
1499
+ readonly threadMessageRecipient: {
1500
+ message: [{
1501
+ readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1502
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1503
+ readonly destSchema: "threadMessage";
1504
+ readonly cardinality: "one";
1505
+ }];
1506
+ };
1507
+ readonly threadMessageAttachment: {
1508
+ message: [{
1509
+ readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1510
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1511
+ readonly destSchema: "threadMessage";
1512
+ readonly cardinality: "one";
1513
+ }];
1514
+ };
1515
+ };
1516
+ enableLegacyQueries: boolean | undefined;
1517
+ enableLegacyMutators: boolean | undefined;
1518
+ }>;
497
1519
  export type MarcoZeroMutators = typeof mutators;
498
1520
  //# sourceMappingURL=mutators.d.ts.map