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