@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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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 getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
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
  }];
@@ -684,31 +684,31 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
684
684
  readonly user: {
685
685
  accounts: [{
686
686
  readonly sourceField: string[];
687
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
687
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
688
688
  readonly destSchema: "account";
689
689
  readonly cardinality: "many";
690
690
  }];
691
691
  contacts: [{
692
692
  readonly sourceField: string[];
693
- readonly destField: ("id" | "name" | "emailAddress" | "userId")[];
693
+ readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
694
694
  readonly destSchema: "contact";
695
695
  readonly cardinality: "many";
696
696
  }];
697
697
  drafts: [{
698
698
  readonly sourceField: string[];
699
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
699
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
700
700
  readonly destSchema: "draft";
701
701
  readonly cardinality: "many";
702
702
  }];
703
703
  pushNotificationTokens: [{
704
704
  readonly sourceField: string[];
705
- readonly destField: ("createdAt" | "id" | "token" | "userId")[];
705
+ readonly destField: ("id" | "createdAt" | "token" | "userId")[];
706
706
  readonly destSchema: "userPushNotificationToken";
707
707
  readonly cardinality: "many";
708
708
  }];
709
709
  threads: [{
710
710
  readonly sourceField: string[];
711
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
711
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
712
712
  readonly destSchema: "thread";
713
713
  readonly cardinality: "many";
714
714
  }];
@@ -716,7 +716,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
716
716
  readonly userPushNotificationToken: {
717
717
  user: [{
718
718
  readonly sourceField: string[];
719
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
719
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
720
720
  readonly destSchema: "user";
721
721
  readonly cardinality: "one";
722
722
  }];
@@ -724,7 +724,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
724
724
  readonly contact: {
725
725
  user: [{
726
726
  readonly sourceField: string[];
727
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
727
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
728
728
  readonly destSchema: "user";
729
729
  readonly cardinality: "one";
730
730
  }];
@@ -738,7 +738,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
738
738
  }];
739
739
  drafts: [{
740
740
  readonly sourceField: string[];
741
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
741
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
742
742
  readonly destSchema: "draft";
743
743
  readonly cardinality: "many";
744
744
  }];
@@ -756,13 +756,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
756
756
  }];
757
757
  threads: [{
758
758
  readonly sourceField: string[];
759
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
759
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
760
760
  readonly destSchema: "thread";
761
761
  readonly cardinality: "many";
762
762
  }];
763
763
  user: [{
764
764
  readonly sourceField: string[];
765
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
765
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
766
766
  readonly destSchema: "user";
767
767
  readonly cardinality: "one";
768
768
  }];
@@ -770,7 +770,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
770
770
  readonly accountAlias: {
771
771
  account: [{
772
772
  readonly sourceField: string[];
773
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
773
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
774
774
  readonly destSchema: "account";
775
775
  readonly cardinality: "one";
776
776
  }];
@@ -778,7 +778,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
778
778
  readonly accountLabel: {
779
779
  account: [{
780
780
  readonly sourceField: string[];
781
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
781
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
782
782
  readonly destSchema: "account";
783
783
  readonly cardinality: "one";
784
784
  }];
@@ -789,18 +789,18 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
789
789
  readonly cardinality: "many";
790
790
  }, {
791
791
  readonly sourceField: string[];
792
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
792
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
793
793
  readonly destSchema: "threadMessage";
794
794
  readonly cardinality: "many";
795
795
  }];
796
796
  threads: [{
797
797
  readonly sourceField: string[];
798
- readonly destField: ("threadId" | "labelId")[];
798
+ readonly destField: ("labelId" | "threadId")[];
799
799
  readonly destSchema: "threadLabel";
800
800
  readonly cardinality: "many";
801
801
  }, {
802
802
  readonly sourceField: string[];
803
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
803
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
804
804
  readonly destSchema: "thread";
805
805
  readonly cardinality: "many";
806
806
  }];
@@ -808,13 +808,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
808
808
  readonly draft: {
809
809
  account: [{
810
810
  readonly sourceField: string[];
811
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
811
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
812
812
  readonly destSchema: "account";
813
813
  readonly cardinality: "one";
814
814
  }];
815
815
  attachments: [{
816
816
  readonly sourceField: string[];
817
- readonly destField: ("id" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks" | "draftId")[];
817
+ readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
818
818
  readonly destSchema: "draftAttachment";
819
819
  readonly cardinality: "many";
820
820
  }];
@@ -826,7 +826,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
826
826
  }];
827
827
  user: [{
828
828
  readonly sourceField: string[];
829
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
829
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
830
830
  readonly destSchema: "user";
831
831
  readonly cardinality: "one";
832
832
  }];
@@ -834,7 +834,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
834
834
  readonly draftRecipient: {
835
835
  draft: [{
836
836
  readonly sourceField: string[];
837
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
837
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
838
838
  readonly destSchema: "draft";
839
839
  readonly cardinality: "one";
840
840
  }];
@@ -842,7 +842,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
842
842
  readonly draftAttachment: {
843
843
  draft: [{
844
844
  readonly sourceField: string[];
845
- readonly destField: ("type" | "status" | "id" | "updatedAt" | "body" | "accountId" | "subject" | "scheduledFor" | "error" | "fromName" | "referencedMessageId" | "userId" | "fromAliasId" | "fromEmail")[];
845
+ readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
846
846
  readonly destSchema: "draft";
847
847
  readonly cardinality: "one";
848
848
  }];
@@ -850,13 +850,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
850
850
  readonly thread: {
851
851
  account: [{
852
852
  readonly sourceField: string[];
853
- readonly destField: ("id" | "color" | "userId" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
853
+ readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
854
854
  readonly destSchema: "account";
855
855
  readonly cardinality: "one";
856
856
  }];
857
857
  labels: [{
858
858
  readonly sourceField: string[];
859
- readonly destField: ("threadId" | "labelId")[];
859
+ readonly destField: ("labelId" | "threadId")[];
860
860
  readonly destSchema: "threadLabel";
861
861
  readonly cardinality: "many";
862
862
  }, {
@@ -867,13 +867,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
867
867
  }];
868
868
  messages: [{
869
869
  readonly sourceField: string[];
870
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
870
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
871
871
  readonly destSchema: "threadMessage";
872
872
  readonly cardinality: "many";
873
873
  }];
874
874
  user: [{
875
875
  readonly sourceField: string[];
876
- readonly destField: ("id" | "name" | "profilePicture" | "undoSendEnabled")[];
876
+ readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
877
877
  readonly destSchema: "user";
878
878
  readonly cardinality: "one";
879
879
  }];
@@ -887,7 +887,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
887
887
  }];
888
888
  thread: [{
889
889
  readonly sourceField: string[];
890
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
890
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
891
891
  readonly destSchema: "thread";
892
892
  readonly cardinality: "one";
893
893
  }];
@@ -907,7 +907,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
907
907
  }];
908
908
  thread: [{
909
909
  readonly sourceField: string[];
910
- readonly destField: ("id" | "accountId" | "flagged" | "seen" | "userId" | "latestMessageDate" | "words")[];
910
+ readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
911
911
  readonly destSchema: "thread";
912
912
  readonly cardinality: "one";
913
913
  }];
@@ -915,7 +915,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
915
915
  readonly threadMessageRecipient: {
916
916
  message: [{
917
917
  readonly sourceField: string[];
918
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
918
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
919
919
  readonly destSchema: "threadMessage";
920
920
  readonly cardinality: "one";
921
921
  }];
@@ -923,7 +923,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
923
923
  readonly threadMessageAttachment: {
924
924
  message: [{
925
925
  readonly sourceField: string[];
926
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
926
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
927
927
  readonly destSchema: "threadMessage";
928
928
  readonly cardinality: "one";
929
929
  }];
@@ -937,7 +937,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
937
937
  }];
938
938
  message: [{
939
939
  readonly sourceField: string[];
940
- readonly destField: ("threadId" | "id" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
940
+ readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
941
941
  readonly destSchema: "threadMessage";
942
942
  readonly cardinality: "one";
943
943
  }];