@marcoappio/marco-config 2.0.427 → 2.0.429

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.
Files changed (96) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/types/AuthData.d.ts +4 -0
  5. package/dist/types/AuthData.d.ts.map +1 -0
  6. package/dist/types/AuthData.js +1 -0
  7. package/dist/types/Zero.d.ts +18 -0
  8. package/dist/types/Zero.d.ts.map +1 -1
  9. package/dist/types/Zero.js +5 -1
  10. package/dist/types/index.d.ts +1 -0
  11. package/dist/types/index.d.ts.map +1 -1
  12. package/dist/types/index.js +1 -0
  13. package/dist/zero/index.d.ts +164 -476
  14. package/dist/zero/index.d.ts.map +1 -1
  15. package/dist/zero/index.js +0 -7
  16. package/dist/zero/{mutators → mutatorSchemas}/account.d.ts +4 -33
  17. package/dist/zero/mutatorSchemas/account.d.ts.map +1 -0
  18. package/dist/zero/{mutators → mutatorSchemas}/account.js +4 -7
  19. package/dist/zero/{mutators → mutatorSchemas}/draft.d.ts +1 -1
  20. package/dist/zero/{mutators → mutatorSchemas}/draft.d.ts.map +1 -1
  21. package/dist/zero/{mutators → mutatorSchemas}/draft.js +1 -1
  22. package/dist/zero/mutatorSchemas/index.d.ts +5 -0
  23. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -0
  24. package/dist/zero/mutatorSchemas/index.js +4 -0
  25. package/dist/zero/{mutators → mutatorSchemas}/thread.d.ts +13 -26
  26. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -0
  27. package/dist/zero/{mutators → mutatorSchemas}/thread.js +13 -24
  28. package/dist/zero/{mutators → mutatorSchemas}/user.d.ts +1 -7
  29. package/dist/zero/mutatorSchemas/user.d.ts.map +1 -0
  30. package/dist/zero/{mutators → mutatorSchemas}/user.js +1 -7
  31. package/dist/zero/mutators/accountMutators/accountMutators.d.ts +8 -0
  32. package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -0
  33. package/dist/zero/mutators/accountMutators/accountMutators.js +112 -0
  34. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +2 -0
  35. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +1 -0
  36. package/dist/zero/mutators/accountMutators/accountMutators.test.js +390 -0
  37. package/dist/zero/mutators/accountMutators/index.d.ts +2 -0
  38. package/dist/zero/mutators/accountMutators/index.d.ts.map +1 -0
  39. package/dist/zero/mutators/accountMutators/index.js +1 -0
  40. package/dist/zero/mutators/draftMutators/draftMutators.d.ts +8 -0
  41. package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -0
  42. package/dist/zero/mutators/draftMutators/draftMutators.js +162 -0
  43. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +2 -0
  44. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +1 -0
  45. package/dist/zero/mutators/draftMutators/draftMutators.test.js +390 -0
  46. package/dist/zero/mutators/draftMutators/index.d.ts +2 -0
  47. package/dist/zero/mutators/draftMutators/index.d.ts.map +1 -0
  48. package/dist/zero/mutators/draftMutators/index.js +1 -0
  49. package/dist/zero/mutators/index.d.ts +6262 -0
  50. package/dist/zero/mutators/index.d.ts.map +1 -0
  51. package/dist/zero/mutators/index.js +17 -0
  52. package/dist/zero/mutators/mutators.d.ts +29 -0
  53. package/dist/zero/mutators/mutators.d.ts.map +1 -0
  54. package/dist/zero/{mutators.js → mutators/mutators.js} +10 -15
  55. package/dist/zero/mutators/threadMutators/index.d.ts +2 -0
  56. package/dist/zero/mutators/threadMutators/index.d.ts.map +1 -0
  57. package/dist/zero/mutators/threadMutators/index.js +1 -0
  58. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +8 -0
  59. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -0
  60. package/dist/zero/mutators/threadMutators/threadMutators.js +238 -0
  61. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts +2 -0
  62. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts.map +1 -0
  63. package/dist/zero/mutators/threadMutators/threadMutators.test.js +465 -0
  64. package/dist/zero/mutators/userMutators/index.d.ts +2 -0
  65. package/dist/zero/mutators/userMutators/index.d.ts.map +1 -0
  66. package/dist/zero/mutators/userMutators/index.js +1 -0
  67. package/dist/zero/mutators/userMutators/userMutators.d.ts +8 -0
  68. package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -0
  69. package/dist/zero/mutators/userMutators/userMutators.js +37 -0
  70. package/dist/zero/mutators/userMutators/userMutators.test.d.ts +2 -0
  71. package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +1 -0
  72. package/dist/zero/mutators/userMutators/userMutators.test.js +123 -0
  73. package/dist/zero/queries/getAccounts.d.ts +27 -74
  74. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  75. package/dist/zero/queries/getContacts.d.ts +27 -74
  76. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  77. package/dist/zero/queries/getDrafts.d.ts +27 -74
  78. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  79. package/dist/zero/queries/getThreads.d.ts +27 -74
  80. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  81. package/dist/zero/queries/getUser.d.ts +27 -74
  82. package/dist/zero/queries/getUser.d.ts.map +1 -1
  83. package/dist/zero/queries/index.d.ts +27 -74
  84. package/dist/zero/queries/index.d.ts.map +1 -1
  85. package/dist/zero/schema.d.ts +27 -96
  86. package/dist/zero/schema.d.ts.map +1 -1
  87. package/dist/zero/schema.js +0 -31
  88. package/package.json +1 -1
  89. package/dist/zero/mutators/account.d.ts.map +0 -1
  90. package/dist/zero/mutators/thread.d.ts.map +0 -1
  91. package/dist/zero/mutators/user.d.ts.map +0 -1
  92. package/dist/zero/mutators.d.ts +0 -412
  93. package/dist/zero/mutators.d.ts.map +0 -1
  94. package/dist/zero/mutators.test.d.ts +0 -2
  95. package/dist/zero/mutators.test.d.ts.map +0 -1
  96. package/dist/zero/mutators.test.js +0 -33
@@ -664,58 +664,36 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
664
664
  } & {
665
665
  primaryKey: ["id"];
666
666
  };
667
- readonly threadMessageLabel: {
668
- name: "threadMessageLabel";
669
- columns: {
670
- readonly labelId: {
671
- type: "string";
672
- optional: false;
673
- customType: string;
674
- } & {
675
- serverName: string;
676
- };
677
- readonly threadMessageId: {
678
- type: "string";
679
- optional: false;
680
- customType: string;
681
- } & {
682
- serverName: string;
683
- };
684
- };
685
- primaryKey: readonly [string, ...string[]];
686
- } & {
687
- primaryKey: ["threadMessageId", "labelId"];
688
- };
689
667
  };
690
668
  relationships: {
691
669
  readonly user: {
692
670
  accounts: [{
693
671
  readonly sourceField: string[];
694
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
672
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
695
673
  readonly destSchema: "account";
696
674
  readonly cardinality: "many";
697
675
  }];
698
676
  contacts: [{
699
677
  readonly sourceField: string[];
700
- readonly destField: ("id" | "name" | "emailAddress" | "userId")[];
678
+ readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
701
679
  readonly destSchema: "contact";
702
680
  readonly cardinality: "many";
703
681
  }];
704
682
  drafts: [{
705
683
  readonly sourceField: string[];
706
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
684
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
707
685
  readonly destSchema: "draft";
708
686
  readonly cardinality: "many";
709
687
  }];
710
688
  pushNotificationTokens: [{
711
689
  readonly sourceField: string[];
712
- readonly destField: ("createdAt" | "id" | "token" | "userId")[];
690
+ readonly destField: ("id" | "createdAt" | "token" | "userId")[];
713
691
  readonly destSchema: "userPushNotificationToken";
714
692
  readonly cardinality: "many";
715
693
  }];
716
694
  threads: [{
717
695
  readonly sourceField: string[];
718
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
696
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
719
697
  readonly destSchema: "thread";
720
698
  readonly cardinality: "many";
721
699
  }];
@@ -723,7 +701,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
723
701
  readonly userPushNotificationToken: {
724
702
  user: [{
725
703
  readonly sourceField: string[];
726
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
704
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
727
705
  readonly destSchema: "user";
728
706
  readonly cardinality: "one";
729
707
  }];
@@ -731,7 +709,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
731
709
  readonly contact: {
732
710
  user: [{
733
711
  readonly sourceField: string[];
734
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
712
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
735
713
  readonly destSchema: "user";
736
714
  readonly cardinality: "one";
737
715
  }];
@@ -745,7 +723,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
745
723
  }];
746
724
  drafts: [{
747
725
  readonly sourceField: string[];
748
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
726
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
749
727
  readonly destSchema: "draft";
750
728
  readonly cardinality: "many";
751
729
  }];
@@ -763,13 +741,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
763
741
  }];
764
742
  threads: [{
765
743
  readonly sourceField: string[];
766
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
744
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
767
745
  readonly destSchema: "thread";
768
746
  readonly cardinality: "many";
769
747
  }];
770
748
  user: [{
771
749
  readonly sourceField: string[];
772
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
750
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
773
751
  readonly destSchema: "user";
774
752
  readonly cardinality: "one";
775
753
  }];
@@ -777,7 +755,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
777
755
  readonly accountAlias: {
778
756
  account: [{
779
757
  readonly sourceField: string[];
780
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
758
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
781
759
  readonly destSchema: "account";
782
760
  readonly cardinality: "one";
783
761
  }];
@@ -785,29 +763,18 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
785
763
  readonly accountLabel: {
786
764
  account: [{
787
765
  readonly sourceField: string[];
788
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
766
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
789
767
  readonly destSchema: "account";
790
768
  readonly cardinality: "one";
791
769
  }];
792
- threadMessages: [{
793
- readonly sourceField: string[];
794
- readonly destField: ("labelId" | "threadMessageId")[];
795
- readonly destSchema: "threadMessageLabel";
796
- readonly cardinality: "many";
797
- }, {
798
- readonly sourceField: string[];
799
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
800
- readonly destSchema: "threadMessage";
801
- readonly cardinality: "many";
802
- }];
803
770
  threads: [{
804
771
  readonly sourceField: string[];
805
- readonly destField: ("threadId" | "labelId")[];
772
+ readonly destField: ("labelId" | "threadId")[];
806
773
  readonly destSchema: "threadLabel";
807
774
  readonly cardinality: "many";
808
775
  }, {
809
776
  readonly sourceField: string[];
810
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
777
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
811
778
  readonly destSchema: "thread";
812
779
  readonly cardinality: "many";
813
780
  }];
@@ -815,13 +782,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
815
782
  readonly draft: {
816
783
  account: [{
817
784
  readonly sourceField: string[];
818
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
785
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
819
786
  readonly destSchema: "account";
820
787
  readonly cardinality: "one";
821
788
  }];
822
789
  attachments: [{
823
790
  readonly sourceField: string[];
824
- readonly destField: ("id" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks" | "draftId")[];
791
+ readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
825
792
  readonly destSchema: "draftAttachment";
826
793
  readonly cardinality: "many";
827
794
  }];
@@ -833,7 +800,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
833
800
  }];
834
801
  user: [{
835
802
  readonly sourceField: string[];
836
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
803
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
837
804
  readonly destSchema: "user";
838
805
  readonly cardinality: "one";
839
806
  }];
@@ -841,7 +808,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
841
808
  readonly draftRecipient: {
842
809
  draft: [{
843
810
  readonly sourceField: string[];
844
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
811
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
845
812
  readonly destSchema: "draft";
846
813
  readonly cardinality: "one";
847
814
  }];
@@ -849,7 +816,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
849
816
  readonly draftAttachment: {
850
817
  draft: [{
851
818
  readonly sourceField: string[];
852
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
819
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
853
820
  readonly destSchema: "draft";
854
821
  readonly cardinality: "one";
855
822
  }];
@@ -857,13 +824,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
857
824
  readonly thread: {
858
825
  account: [{
859
826
  readonly sourceField: string[];
860
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
827
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
861
828
  readonly destSchema: "account";
862
829
  readonly cardinality: "one";
863
830
  }];
864
831
  labels: [{
865
832
  readonly sourceField: string[];
866
- readonly destField: ("threadId" | "labelId")[];
833
+ readonly destField: ("labelId" | "threadId")[];
867
834
  readonly destSchema: "threadLabel";
868
835
  readonly cardinality: "many";
869
836
  }, {
@@ -874,13 +841,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
874
841
  }];
875
842
  messages: [{
876
843
  readonly sourceField: string[];
877
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
844
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
878
845
  readonly destSchema: "threadMessage";
879
846
  readonly cardinality: "many";
880
847
  }];
881
848
  user: [{
882
849
  readonly sourceField: string[];
883
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
850
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
884
851
  readonly destSchema: "user";
885
852
  readonly cardinality: "one";
886
853
  }];
@@ -894,7 +861,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
894
861
  }];
895
862
  thread: [{
896
863
  readonly sourceField: string[];
897
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
864
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
898
865
  readonly destSchema: "thread";
899
866
  readonly cardinality: "one";
900
867
  }];
@@ -914,7 +881,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
914
881
  }];
915
882
  thread: [{
916
883
  readonly sourceField: string[];
917
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
884
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
918
885
  readonly destSchema: "thread";
919
886
  readonly cardinality: "one";
920
887
  }];
@@ -922,7 +889,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
922
889
  readonly threadMessageRecipient: {
923
890
  message: [{
924
891
  readonly sourceField: string[];
925
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
892
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
926
893
  readonly destSchema: "threadMessage";
927
894
  readonly cardinality: "one";
928
895
  }];
@@ -930,21 +897,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
930
897
  readonly threadMessageAttachment: {
931
898
  message: [{
932
899
  readonly sourceField: string[];
933
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
934
- readonly destSchema: "threadMessage";
935
- readonly cardinality: "one";
936
- }];
937
- };
938
- readonly threadMessageLabel: {
939
- label: [{
940
- readonly sourceField: string[];
941
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
942
- readonly destSchema: "accountLabel";
943
- readonly cardinality: "one";
944
- }];
945
- message: [{
946
- readonly sourceField: string[];
947
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
900
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
948
901
  readonly destSchema: "threadMessage";
949
902
  readonly cardinality: "one";
950
903
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBrB,CAAA"}
@@ -669,58 +669,36 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
669
669
  } & {
670
670
  primaryKey: ["id"];
671
671
  };
672
- readonly threadMessageLabel: {
673
- name: "threadMessageLabel";
674
- columns: {
675
- readonly labelId: {
676
- type: "string";
677
- optional: false;
678
- customType: string;
679
- } & {
680
- serverName: string;
681
- };
682
- readonly threadMessageId: {
683
- type: "string";
684
- optional: false;
685
- customType: string;
686
- } & {
687
- serverName: string;
688
- };
689
- };
690
- primaryKey: readonly [string, ...string[]];
691
- } & {
692
- primaryKey: ["threadMessageId", "labelId"];
693
- };
694
672
  };
695
673
  relationships: {
696
674
  readonly user: {
697
675
  accounts: [{
698
676
  readonly sourceField: string[];
699
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
677
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
700
678
  readonly destSchema: "account";
701
679
  readonly cardinality: "many";
702
680
  }];
703
681
  contacts: [{
704
682
  readonly sourceField: string[];
705
- readonly destField: ("id" | "name" | "emailAddress" | "userId")[];
683
+ readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
706
684
  readonly destSchema: "contact";
707
685
  readonly cardinality: "many";
708
686
  }];
709
687
  drafts: [{
710
688
  readonly sourceField: string[];
711
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
689
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
712
690
  readonly destSchema: "draft";
713
691
  readonly cardinality: "many";
714
692
  }];
715
693
  pushNotificationTokens: [{
716
694
  readonly sourceField: string[];
717
- readonly destField: ("createdAt" | "id" | "token" | "userId")[];
695
+ readonly destField: ("id" | "createdAt" | "token" | "userId")[];
718
696
  readonly destSchema: "userPushNotificationToken";
719
697
  readonly cardinality: "many";
720
698
  }];
721
699
  threads: [{
722
700
  readonly sourceField: string[];
723
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
701
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
724
702
  readonly destSchema: "thread";
725
703
  readonly cardinality: "many";
726
704
  }];
@@ -728,7 +706,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
728
706
  readonly userPushNotificationToken: {
729
707
  user: [{
730
708
  readonly sourceField: string[];
731
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
709
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
732
710
  readonly destSchema: "user";
733
711
  readonly cardinality: "one";
734
712
  }];
@@ -736,7 +714,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
736
714
  readonly contact: {
737
715
  user: [{
738
716
  readonly sourceField: string[];
739
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
717
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
740
718
  readonly destSchema: "user";
741
719
  readonly cardinality: "one";
742
720
  }];
@@ -750,7 +728,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
750
728
  }];
751
729
  drafts: [{
752
730
  readonly sourceField: string[];
753
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
731
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
754
732
  readonly destSchema: "draft";
755
733
  readonly cardinality: "many";
756
734
  }];
@@ -768,13 +746,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
768
746
  }];
769
747
  threads: [{
770
748
  readonly sourceField: string[];
771
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
749
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
772
750
  readonly destSchema: "thread";
773
751
  readonly cardinality: "many";
774
752
  }];
775
753
  user: [{
776
754
  readonly sourceField: string[];
777
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
755
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
778
756
  readonly destSchema: "user";
779
757
  readonly cardinality: "one";
780
758
  }];
@@ -782,7 +760,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
782
760
  readonly accountAlias: {
783
761
  account: [{
784
762
  readonly sourceField: string[];
785
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
763
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
786
764
  readonly destSchema: "account";
787
765
  readonly cardinality: "one";
788
766
  }];
@@ -790,29 +768,18 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
790
768
  readonly accountLabel: {
791
769
  account: [{
792
770
  readonly sourceField: string[];
793
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
771
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
794
772
  readonly destSchema: "account";
795
773
  readonly cardinality: "one";
796
774
  }];
797
- threadMessages: [{
798
- readonly sourceField: string[];
799
- readonly destField: ("labelId" | "threadMessageId")[];
800
- readonly destSchema: "threadMessageLabel";
801
- readonly cardinality: "many";
802
- }, {
803
- readonly sourceField: string[];
804
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
805
- readonly destSchema: "threadMessage";
806
- readonly cardinality: "many";
807
- }];
808
775
  threads: [{
809
776
  readonly sourceField: string[];
810
- readonly destField: ("threadId" | "labelId")[];
777
+ readonly destField: ("labelId" | "threadId")[];
811
778
  readonly destSchema: "threadLabel";
812
779
  readonly cardinality: "many";
813
780
  }, {
814
781
  readonly sourceField: string[];
815
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
782
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
816
783
  readonly destSchema: "thread";
817
784
  readonly cardinality: "many";
818
785
  }];
@@ -820,13 +787,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
820
787
  readonly draft: {
821
788
  account: [{
822
789
  readonly sourceField: string[];
823
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
790
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
824
791
  readonly destSchema: "account";
825
792
  readonly cardinality: "one";
826
793
  }];
827
794
  attachments: [{
828
795
  readonly sourceField: string[];
829
- readonly destField: ("id" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks" | "draftId")[];
796
+ readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
830
797
  readonly destSchema: "draftAttachment";
831
798
  readonly cardinality: "many";
832
799
  }];
@@ -838,7 +805,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
838
805
  }];
839
806
  user: [{
840
807
  readonly sourceField: string[];
841
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
808
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
842
809
  readonly destSchema: "user";
843
810
  readonly cardinality: "one";
844
811
  }];
@@ -846,7 +813,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
846
813
  readonly draftRecipient: {
847
814
  draft: [{
848
815
  readonly sourceField: string[];
849
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
816
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
850
817
  readonly destSchema: "draft";
851
818
  readonly cardinality: "one";
852
819
  }];
@@ -854,7 +821,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
854
821
  readonly draftAttachment: {
855
822
  draft: [{
856
823
  readonly sourceField: string[];
857
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
824
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
858
825
  readonly destSchema: "draft";
859
826
  readonly cardinality: "one";
860
827
  }];
@@ -862,13 +829,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
862
829
  readonly thread: {
863
830
  account: [{
864
831
  readonly sourceField: string[];
865
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
832
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
866
833
  readonly destSchema: "account";
867
834
  readonly cardinality: "one";
868
835
  }];
869
836
  labels: [{
870
837
  readonly sourceField: string[];
871
- readonly destField: ("threadId" | "labelId")[];
838
+ readonly destField: ("labelId" | "threadId")[];
872
839
  readonly destSchema: "threadLabel";
873
840
  readonly cardinality: "many";
874
841
  }, {
@@ -879,13 +846,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
879
846
  }];
880
847
  messages: [{
881
848
  readonly sourceField: string[];
882
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
849
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
883
850
  readonly destSchema: "threadMessage";
884
851
  readonly cardinality: "many";
885
852
  }];
886
853
  user: [{
887
854
  readonly sourceField: string[];
888
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
855
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
889
856
  readonly destSchema: "user";
890
857
  readonly cardinality: "one";
891
858
  }];
@@ -899,7 +866,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
899
866
  }];
900
867
  thread: [{
901
868
  readonly sourceField: string[];
902
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
869
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
903
870
  readonly destSchema: "thread";
904
871
  readonly cardinality: "one";
905
872
  }];
@@ -919,7 +886,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
919
886
  }];
920
887
  thread: [{
921
888
  readonly sourceField: string[];
922
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
889
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
923
890
  readonly destSchema: "thread";
924
891
  readonly cardinality: "one";
925
892
  }];
@@ -927,7 +894,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
927
894
  readonly threadMessageRecipient: {
928
895
  message: [{
929
896
  readonly sourceField: string[];
930
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
897
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
931
898
  readonly destSchema: "threadMessage";
932
899
  readonly cardinality: "one";
933
900
  }];
@@ -935,21 +902,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
935
902
  readonly threadMessageAttachment: {
936
903
  message: [{
937
904
  readonly sourceField: string[];
938
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
939
- readonly destSchema: "threadMessage";
940
- readonly cardinality: "one";
941
- }];
942
- };
943
- readonly threadMessageLabel: {
944
- label: [{
945
- readonly sourceField: string[];
946
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
947
- readonly destSchema: "accountLabel";
948
- readonly cardinality: "one";
949
- }];
950
- message: [{
951
- readonly sourceField: string[];
952
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
905
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
953
906
  readonly destSchema: "threadMessage";
954
907
  readonly cardinality: "one";
955
908
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"getThreads.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThreads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;QACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;QACvB,IAAI,CAAC,EAAE,OAAO,CAAA;KACf,CAAA;CACF,CAAA;AAmBD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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