@marcoappio/marco-config 2.0.427 → 2.0.428

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 (88) 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 +176 -184
  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 +6566 -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 +29 -29
  74. package/dist/zero/queries/getContacts.d.ts +29 -29
  75. package/dist/zero/queries/getDrafts.d.ts +29 -29
  76. package/dist/zero/queries/getThreads.d.ts +29 -29
  77. package/dist/zero/queries/getUser.d.ts +29 -29
  78. package/dist/zero/queries/index.d.ts +29 -29
  79. package/dist/zero/schema.d.ts +29 -29
  80. package/package.json +1 -1
  81. package/dist/zero/mutators/account.d.ts.map +0 -1
  82. package/dist/zero/mutators/thread.d.ts.map +0 -1
  83. package/dist/zero/mutators/user.d.ts.map +0 -1
  84. package/dist/zero/mutators.d.ts +0 -412
  85. package/dist/zero/mutators.d.ts.map +0 -1
  86. package/dist/zero/mutators.test.d.ts +0 -2
  87. package/dist/zero/mutators.test.d.ts.map +0 -1
  88. package/dist/zero/mutators.test.js +0 -33
@@ -685,31 +685,31 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
685
685
  readonly user: {
686
686
  accounts: [{
687
687
  readonly sourceField: string[];
688
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
688
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
689
689
  readonly destSchema: "account";
690
690
  readonly cardinality: "many";
691
691
  }];
692
692
  contacts: [{
693
693
  readonly sourceField: string[];
694
- readonly destField: ("id" | "name" | "emailAddress" | "userId")[];
694
+ readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
695
695
  readonly destSchema: "contact";
696
696
  readonly cardinality: "many";
697
697
  }];
698
698
  drafts: [{
699
699
  readonly sourceField: string[];
700
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
700
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
701
701
  readonly destSchema: "draft";
702
702
  readonly cardinality: "many";
703
703
  }];
704
704
  pushNotificationTokens: [{
705
705
  readonly sourceField: string[];
706
- readonly destField: ("createdAt" | "id" | "token" | "userId")[];
706
+ readonly destField: ("id" | "createdAt" | "token" | "userId")[];
707
707
  readonly destSchema: "userPushNotificationToken";
708
708
  readonly cardinality: "many";
709
709
  }];
710
710
  threads: [{
711
711
  readonly sourceField: string[];
712
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
712
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
713
713
  readonly destSchema: "thread";
714
714
  readonly cardinality: "many";
715
715
  }];
@@ -717,7 +717,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
717
717
  readonly userPushNotificationToken: {
718
718
  user: [{
719
719
  readonly sourceField: string[];
720
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
720
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
721
721
  readonly destSchema: "user";
722
722
  readonly cardinality: "one";
723
723
  }];
@@ -725,7 +725,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
725
725
  readonly contact: {
726
726
  user: [{
727
727
  readonly sourceField: string[];
728
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
728
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
729
729
  readonly destSchema: "user";
730
730
  readonly cardinality: "one";
731
731
  }];
@@ -739,7 +739,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
739
739
  }];
740
740
  drafts: [{
741
741
  readonly sourceField: string[];
742
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
742
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
743
743
  readonly destSchema: "draft";
744
744
  readonly cardinality: "many";
745
745
  }];
@@ -757,13 +757,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
757
757
  }];
758
758
  threads: [{
759
759
  readonly sourceField: string[];
760
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
760
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
761
761
  readonly destSchema: "thread";
762
762
  readonly cardinality: "many";
763
763
  }];
764
764
  user: [{
765
765
  readonly sourceField: string[];
766
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
766
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
767
767
  readonly destSchema: "user";
768
768
  readonly cardinality: "one";
769
769
  }];
@@ -771,7 +771,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
771
771
  readonly accountAlias: {
772
772
  account: [{
773
773
  readonly sourceField: string[];
774
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
774
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
775
775
  readonly destSchema: "account";
776
776
  readonly cardinality: "one";
777
777
  }];
@@ -779,7 +779,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
779
779
  readonly accountLabel: {
780
780
  account: [{
781
781
  readonly sourceField: string[];
782
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
782
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
783
783
  readonly destSchema: "account";
784
784
  readonly cardinality: "one";
785
785
  }];
@@ -790,18 +790,18 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
790
790
  readonly cardinality: "many";
791
791
  }, {
792
792
  readonly sourceField: string[];
793
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
793
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
794
794
  readonly destSchema: "threadMessage";
795
795
  readonly cardinality: "many";
796
796
  }];
797
797
  threads: [{
798
798
  readonly sourceField: string[];
799
- readonly destField: ("threadId" | "labelId")[];
799
+ readonly destField: ("labelId" | "threadId")[];
800
800
  readonly destSchema: "threadLabel";
801
801
  readonly cardinality: "many";
802
802
  }, {
803
803
  readonly sourceField: string[];
804
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
804
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
805
805
  readonly destSchema: "thread";
806
806
  readonly cardinality: "many";
807
807
  }];
@@ -809,13 +809,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
809
809
  readonly draft: {
810
810
  account: [{
811
811
  readonly sourceField: string[];
812
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
812
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
813
813
  readonly destSchema: "account";
814
814
  readonly cardinality: "one";
815
815
  }];
816
816
  attachments: [{
817
817
  readonly sourceField: string[];
818
- readonly destField: ("id" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks" | "draftId")[];
818
+ readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
819
819
  readonly destSchema: "draftAttachment";
820
820
  readonly cardinality: "many";
821
821
  }];
@@ -827,7 +827,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
827
827
  }];
828
828
  user: [{
829
829
  readonly sourceField: string[];
830
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
830
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
831
831
  readonly destSchema: "user";
832
832
  readonly cardinality: "one";
833
833
  }];
@@ -835,7 +835,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
835
835
  readonly draftRecipient: {
836
836
  draft: [{
837
837
  readonly sourceField: string[];
838
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
838
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
839
839
  readonly destSchema: "draft";
840
840
  readonly cardinality: "one";
841
841
  }];
@@ -843,7 +843,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
843
843
  readonly draftAttachment: {
844
844
  draft: [{
845
845
  readonly sourceField: string[];
846
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
846
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
847
847
  readonly destSchema: "draft";
848
848
  readonly cardinality: "one";
849
849
  }];
@@ -851,13 +851,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
851
851
  readonly thread: {
852
852
  account: [{
853
853
  readonly sourceField: string[];
854
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
854
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
855
855
  readonly destSchema: "account";
856
856
  readonly cardinality: "one";
857
857
  }];
858
858
  labels: [{
859
859
  readonly sourceField: string[];
860
- readonly destField: ("threadId" | "labelId")[];
860
+ readonly destField: ("labelId" | "threadId")[];
861
861
  readonly destSchema: "threadLabel";
862
862
  readonly cardinality: "many";
863
863
  }, {
@@ -868,13 +868,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
868
868
  }];
869
869
  messages: [{
870
870
  readonly sourceField: string[];
871
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
871
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
872
872
  readonly destSchema: "threadMessage";
873
873
  readonly cardinality: "many";
874
874
  }];
875
875
  user: [{
876
876
  readonly sourceField: string[];
877
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
877
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
878
878
  readonly destSchema: "user";
879
879
  readonly cardinality: "one";
880
880
  }];
@@ -888,7 +888,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
888
888
  }];
889
889
  thread: [{
890
890
  readonly sourceField: string[];
891
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
891
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
892
892
  readonly destSchema: "thread";
893
893
  readonly cardinality: "one";
894
894
  }];
@@ -908,7 +908,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
908
908
  }];
909
909
  thread: [{
910
910
  readonly sourceField: string[];
911
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
911
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
912
912
  readonly destSchema: "thread";
913
913
  readonly cardinality: "one";
914
914
  }];
@@ -916,7 +916,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
916
916
  readonly threadMessageRecipient: {
917
917
  message: [{
918
918
  readonly sourceField: string[];
919
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
919
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
920
920
  readonly destSchema: "threadMessage";
921
921
  readonly cardinality: "one";
922
922
  }];
@@ -924,7 +924,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
924
924
  readonly threadMessageAttachment: {
925
925
  message: [{
926
926
  readonly sourceField: string[];
927
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
927
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
928
928
  readonly destSchema: "threadMessage";
929
929
  readonly cardinality: "one";
930
930
  }];
@@ -938,7 +938,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
938
938
  }];
939
939
  message: [{
940
940
  readonly sourceField: string[];
941
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
941
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
942
942
  readonly destSchema: "threadMessage";
943
943
  readonly cardinality: "one";
944
944
  }];
@@ -693,31 +693,31 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
693
693
  readonly user: {
694
694
  accounts: [{
695
695
  readonly sourceField: string[];
696
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
696
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
697
697
  readonly destSchema: "account";
698
698
  readonly cardinality: "many";
699
699
  }];
700
700
  contacts: [{
701
701
  readonly sourceField: string[];
702
- readonly destField: ("id" | "name" | "emailAddress" | "userId")[];
702
+ readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
703
703
  readonly destSchema: "contact";
704
704
  readonly cardinality: "many";
705
705
  }];
706
706
  drafts: [{
707
707
  readonly sourceField: string[];
708
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
708
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
709
709
  readonly destSchema: "draft";
710
710
  readonly cardinality: "many";
711
711
  }];
712
712
  pushNotificationTokens: [{
713
713
  readonly sourceField: string[];
714
- readonly destField: ("createdAt" | "id" | "token" | "userId")[];
714
+ readonly destField: ("id" | "createdAt" | "token" | "userId")[];
715
715
  readonly destSchema: "userPushNotificationToken";
716
716
  readonly cardinality: "many";
717
717
  }];
718
718
  threads: [{
719
719
  readonly sourceField: string[];
720
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
720
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
721
721
  readonly destSchema: "thread";
722
722
  readonly cardinality: "many";
723
723
  }];
@@ -725,7 +725,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
725
725
  readonly userPushNotificationToken: {
726
726
  user: [{
727
727
  readonly sourceField: string[];
728
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
728
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
729
729
  readonly destSchema: "user";
730
730
  readonly cardinality: "one";
731
731
  }];
@@ -733,7 +733,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
733
733
  readonly contact: {
734
734
  user: [{
735
735
  readonly sourceField: string[];
736
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
736
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
737
737
  readonly destSchema: "user";
738
738
  readonly cardinality: "one";
739
739
  }];
@@ -747,7 +747,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
747
747
  }];
748
748
  drafts: [{
749
749
  readonly sourceField: string[];
750
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
750
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
751
751
  readonly destSchema: "draft";
752
752
  readonly cardinality: "many";
753
753
  }];
@@ -765,13 +765,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
765
765
  }];
766
766
  threads: [{
767
767
  readonly sourceField: string[];
768
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
768
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
769
769
  readonly destSchema: "thread";
770
770
  readonly cardinality: "many";
771
771
  }];
772
772
  user: [{
773
773
  readonly sourceField: string[];
774
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
774
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
775
775
  readonly destSchema: "user";
776
776
  readonly cardinality: "one";
777
777
  }];
@@ -779,7 +779,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
779
779
  readonly accountAlias: {
780
780
  account: [{
781
781
  readonly sourceField: string[];
782
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
782
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
783
783
  readonly destSchema: "account";
784
784
  readonly cardinality: "one";
785
785
  }];
@@ -787,7 +787,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
787
787
  readonly accountLabel: {
788
788
  account: [{
789
789
  readonly sourceField: string[];
790
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
790
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
791
791
  readonly destSchema: "account";
792
792
  readonly cardinality: "one";
793
793
  }];
@@ -798,18 +798,18 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
798
798
  readonly cardinality: "many";
799
799
  }, {
800
800
  readonly sourceField: string[];
801
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
801
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
802
802
  readonly destSchema: "threadMessage";
803
803
  readonly cardinality: "many";
804
804
  }];
805
805
  threads: [{
806
806
  readonly sourceField: string[];
807
- readonly destField: ("threadId" | "labelId")[];
807
+ readonly destField: ("labelId" | "threadId")[];
808
808
  readonly destSchema: "threadLabel";
809
809
  readonly cardinality: "many";
810
810
  }, {
811
811
  readonly sourceField: string[];
812
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
812
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
813
813
  readonly destSchema: "thread";
814
814
  readonly cardinality: "many";
815
815
  }];
@@ -817,13 +817,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
817
817
  readonly draft: {
818
818
  account: [{
819
819
  readonly sourceField: string[];
820
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
820
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
821
821
  readonly destSchema: "account";
822
822
  readonly cardinality: "one";
823
823
  }];
824
824
  attachments: [{
825
825
  readonly sourceField: string[];
826
- readonly destField: ("id" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks" | "draftId")[];
826
+ readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
827
827
  readonly destSchema: "draftAttachment";
828
828
  readonly cardinality: "many";
829
829
  }];
@@ -835,7 +835,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
835
835
  }];
836
836
  user: [{
837
837
  readonly sourceField: string[];
838
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
838
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
839
839
  readonly destSchema: "user";
840
840
  readonly cardinality: "one";
841
841
  }];
@@ -843,7 +843,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
843
843
  readonly draftRecipient: {
844
844
  draft: [{
845
845
  readonly sourceField: string[];
846
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
846
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
847
847
  readonly destSchema: "draft";
848
848
  readonly cardinality: "one";
849
849
  }];
@@ -851,7 +851,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
851
851
  readonly draftAttachment: {
852
852
  draft: [{
853
853
  readonly sourceField: string[];
854
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
854
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
855
855
  readonly destSchema: "draft";
856
856
  readonly cardinality: "one";
857
857
  }];
@@ -859,13 +859,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
859
859
  readonly thread: {
860
860
  account: [{
861
861
  readonly sourceField: string[];
862
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
862
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
863
863
  readonly destSchema: "account";
864
864
  readonly cardinality: "one";
865
865
  }];
866
866
  labels: [{
867
867
  readonly sourceField: string[];
868
- readonly destField: ("threadId" | "labelId")[];
868
+ readonly destField: ("labelId" | "threadId")[];
869
869
  readonly destSchema: "threadLabel";
870
870
  readonly cardinality: "many";
871
871
  }, {
@@ -876,13 +876,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
876
876
  }];
877
877
  messages: [{
878
878
  readonly sourceField: string[];
879
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
879
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
880
880
  readonly destSchema: "threadMessage";
881
881
  readonly cardinality: "many";
882
882
  }];
883
883
  user: [{
884
884
  readonly sourceField: string[];
885
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
885
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
886
886
  readonly destSchema: "user";
887
887
  readonly cardinality: "one";
888
888
  }];
@@ -896,7 +896,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
896
896
  }];
897
897
  thread: [{
898
898
  readonly sourceField: string[];
899
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
899
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
900
900
  readonly destSchema: "thread";
901
901
  readonly cardinality: "one";
902
902
  }];
@@ -916,7 +916,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
916
916
  }];
917
917
  thread: [{
918
918
  readonly sourceField: string[];
919
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
919
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
920
920
  readonly destSchema: "thread";
921
921
  readonly cardinality: "one";
922
922
  }];
@@ -924,7 +924,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
924
924
  readonly threadMessageRecipient: {
925
925
  message: [{
926
926
  readonly sourceField: string[];
927
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
927
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
928
928
  readonly destSchema: "threadMessage";
929
929
  readonly cardinality: "one";
930
930
  }];
@@ -932,7 +932,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
932
932
  readonly threadMessageAttachment: {
933
933
  message: [{
934
934
  readonly sourceField: string[];
935
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
935
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
936
936
  readonly destSchema: "threadMessage";
937
937
  readonly cardinality: "one";
938
938
  }];
@@ -946,7 +946,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
946
946
  }];
947
947
  message: [{
948
948
  readonly sourceField: string[];
949
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
949
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
950
950
  readonly destSchema: "threadMessage";
951
951
  readonly cardinality: "one";
952
952
  }];