@marcoappio/marco-config 2.0.485 → 2.0.487
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/zero/index.d.ts +217 -151
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +8 -8
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +63 -63
- package/dist/zero/queries/getAccounts.d.ts +19 -12
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +19 -12
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.d.ts +19 -12
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getThread.d.ts +20 -12
- package/dist/zero/queries/getThread.d.ts.map +1 -1
- package/dist/zero/queries/getThreadList.d.ts +20 -12
- package/dist/zero/queries/getThreadList.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.d.ts +20 -12
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getUser.d.ts +19 -12
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/index.d.ts +19 -12
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +81 -67
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +9 -8
- package/package.json +1 -1
|
@@ -472,6 +472,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
472
472
|
} & {
|
|
473
473
|
serverName: string;
|
|
474
474
|
};
|
|
475
|
+
readonly latestMessageId: {
|
|
476
|
+
type: "string";
|
|
477
|
+
optional: false;
|
|
478
|
+
customType: string;
|
|
479
|
+
} & {
|
|
480
|
+
serverName: string;
|
|
481
|
+
};
|
|
475
482
|
readonly messageCount: {
|
|
476
483
|
type: "number";
|
|
477
484
|
optional: false;
|
|
@@ -531,8 +538,8 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
531
538
|
} & {
|
|
532
539
|
primaryKey: ["id"];
|
|
533
540
|
};
|
|
534
|
-
readonly
|
|
535
|
-
name: "
|
|
541
|
+
readonly threadMessageLabelUid: {
|
|
542
|
+
name: "threadMessageLabelUid";
|
|
536
543
|
columns: {
|
|
537
544
|
readonly accountId: {
|
|
538
545
|
type: "string";
|
|
@@ -788,7 +795,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
788
795
|
}];
|
|
789
796
|
threads: [{
|
|
790
797
|
readonly sourceField: string[];
|
|
791
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
798
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
792
799
|
readonly destSchema: "thread";
|
|
793
800
|
readonly cardinality: "many";
|
|
794
801
|
}];
|
|
@@ -836,7 +843,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
836
843
|
}];
|
|
837
844
|
threads: [{
|
|
838
845
|
readonly sourceField: string[];
|
|
839
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
846
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
840
847
|
readonly destSchema: "thread";
|
|
841
848
|
readonly cardinality: "many";
|
|
842
849
|
}];
|
|
@@ -865,11 +872,11 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
865
872
|
threads: [{
|
|
866
873
|
readonly sourceField: string[];
|
|
867
874
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
868
|
-
readonly destSchema: "
|
|
875
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
869
876
|
readonly cardinality: "many";
|
|
870
877
|
}, {
|
|
871
878
|
readonly sourceField: string[];
|
|
872
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
879
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
873
880
|
readonly destSchema: "thread";
|
|
874
881
|
readonly cardinality: "many";
|
|
875
882
|
}];
|
|
@@ -912,7 +919,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
912
919
|
labels: [{
|
|
913
920
|
readonly sourceField: string[];
|
|
914
921
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
915
|
-
readonly destSchema: "
|
|
922
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
916
923
|
readonly cardinality: "many";
|
|
917
924
|
}, {
|
|
918
925
|
readonly sourceField: string[];
|
|
@@ -939,7 +946,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
939
946
|
readonly cardinality: "one";
|
|
940
947
|
}];
|
|
941
948
|
};
|
|
942
|
-
readonly
|
|
949
|
+
readonly threadMessageLabelUid: {
|
|
943
950
|
label: [{
|
|
944
951
|
readonly sourceField: string[];
|
|
945
952
|
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
@@ -954,7 +961,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
954
961
|
}];
|
|
955
962
|
thread: [{
|
|
956
963
|
readonly sourceField: string[];
|
|
957
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
964
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
958
965
|
readonly destSchema: "thread";
|
|
959
966
|
readonly cardinality: "one";
|
|
960
967
|
}];
|
|
@@ -968,7 +975,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
968
975
|
}];
|
|
969
976
|
thread: [{
|
|
970
977
|
readonly sourceField: string[];
|
|
971
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
978
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
972
979
|
readonly destSchema: "thread";
|
|
973
980
|
readonly cardinality: "one";
|
|
974
981
|
}];
|
|
@@ -983,7 +990,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
983
990
|
labels: [{
|
|
984
991
|
readonly sourceField: string[];
|
|
985
992
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
986
|
-
readonly destSchema: "
|
|
993
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
987
994
|
readonly cardinality: "many";
|
|
988
995
|
}, {
|
|
989
996
|
readonly sourceField: string[];
|
|
@@ -999,7 +1006,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
999
1006
|
}];
|
|
1000
1007
|
thread: [{
|
|
1001
1008
|
readonly sourceField: string[];
|
|
1002
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1009
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1003
1010
|
readonly destSchema: "thread";
|
|
1004
1011
|
readonly cardinality: "one";
|
|
1005
1012
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getContacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;QACd,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,CAAA;CACF,CAAA;AAiBD,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getContacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,YAAY,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
|
|
@@ -469,6 +469,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
469
469
|
} & {
|
|
470
470
|
serverName: string;
|
|
471
471
|
};
|
|
472
|
+
readonly latestMessageId: {
|
|
473
|
+
type: "string";
|
|
474
|
+
optional: false;
|
|
475
|
+
customType: string;
|
|
476
|
+
} & {
|
|
477
|
+
serverName: string;
|
|
478
|
+
};
|
|
472
479
|
readonly messageCount: {
|
|
473
480
|
type: "number";
|
|
474
481
|
optional: false;
|
|
@@ -528,8 +535,8 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
528
535
|
} & {
|
|
529
536
|
primaryKey: ["id"];
|
|
530
537
|
};
|
|
531
|
-
readonly
|
|
532
|
-
name: "
|
|
538
|
+
readonly threadMessageLabelUid: {
|
|
539
|
+
name: "threadMessageLabelUid";
|
|
533
540
|
columns: {
|
|
534
541
|
readonly accountId: {
|
|
535
542
|
type: "string";
|
|
@@ -785,7 +792,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
785
792
|
}];
|
|
786
793
|
threads: [{
|
|
787
794
|
readonly sourceField: string[];
|
|
788
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
795
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
789
796
|
readonly destSchema: "thread";
|
|
790
797
|
readonly cardinality: "many";
|
|
791
798
|
}];
|
|
@@ -833,7 +840,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
833
840
|
}];
|
|
834
841
|
threads: [{
|
|
835
842
|
readonly sourceField: string[];
|
|
836
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
843
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
837
844
|
readonly destSchema: "thread";
|
|
838
845
|
readonly cardinality: "many";
|
|
839
846
|
}];
|
|
@@ -862,11 +869,11 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
862
869
|
threads: [{
|
|
863
870
|
readonly sourceField: string[];
|
|
864
871
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
865
|
-
readonly destSchema: "
|
|
872
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
866
873
|
readonly cardinality: "many";
|
|
867
874
|
}, {
|
|
868
875
|
readonly sourceField: string[];
|
|
869
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
876
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
870
877
|
readonly destSchema: "thread";
|
|
871
878
|
readonly cardinality: "many";
|
|
872
879
|
}];
|
|
@@ -909,7 +916,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
909
916
|
labels: [{
|
|
910
917
|
readonly sourceField: string[];
|
|
911
918
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
912
|
-
readonly destSchema: "
|
|
919
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
913
920
|
readonly cardinality: "many";
|
|
914
921
|
}, {
|
|
915
922
|
readonly sourceField: string[];
|
|
@@ -936,7 +943,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
936
943
|
readonly cardinality: "one";
|
|
937
944
|
}];
|
|
938
945
|
};
|
|
939
|
-
readonly
|
|
946
|
+
readonly threadMessageLabelUid: {
|
|
940
947
|
label: [{
|
|
941
948
|
readonly sourceField: string[];
|
|
942
949
|
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
@@ -951,7 +958,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
951
958
|
}];
|
|
952
959
|
thread: [{
|
|
953
960
|
readonly sourceField: string[];
|
|
954
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
961
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
955
962
|
readonly destSchema: "thread";
|
|
956
963
|
readonly cardinality: "one";
|
|
957
964
|
}];
|
|
@@ -965,7 +972,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
965
972
|
}];
|
|
966
973
|
thread: [{
|
|
967
974
|
readonly sourceField: string[];
|
|
968
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
975
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
969
976
|
readonly destSchema: "thread";
|
|
970
977
|
readonly cardinality: "one";
|
|
971
978
|
}];
|
|
@@ -980,7 +987,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
980
987
|
labels: [{
|
|
981
988
|
readonly sourceField: string[];
|
|
982
989
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
983
|
-
readonly destSchema: "
|
|
990
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
984
991
|
readonly cardinality: "many";
|
|
985
992
|
}, {
|
|
986
993
|
readonly sourceField: string[];
|
|
@@ -996,7 +1003,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
996
1003
|
}];
|
|
997
1004
|
thread: [{
|
|
998
1005
|
readonly sourceField: string[];
|
|
999
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1006
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1000
1007
|
readonly destSchema: "thread";
|
|
1001
1008
|
readonly cardinality: "one";
|
|
1002
1009
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBrB,CAAA"}
|
|
@@ -466,6 +466,13 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
466
466
|
} & {
|
|
467
467
|
serverName: string;
|
|
468
468
|
};
|
|
469
|
+
readonly latestMessageId: {
|
|
470
|
+
type: "string";
|
|
471
|
+
optional: false;
|
|
472
|
+
customType: string;
|
|
473
|
+
} & {
|
|
474
|
+
serverName: string;
|
|
475
|
+
};
|
|
469
476
|
readonly messageCount: {
|
|
470
477
|
type: "number";
|
|
471
478
|
optional: false;
|
|
@@ -525,8 +532,8 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
525
532
|
} & {
|
|
526
533
|
primaryKey: ["id"];
|
|
527
534
|
};
|
|
528
|
-
readonly
|
|
529
|
-
name: "
|
|
535
|
+
readonly threadMessageLabelUid: {
|
|
536
|
+
name: "threadMessageLabelUid";
|
|
530
537
|
columns: {
|
|
531
538
|
readonly accountId: {
|
|
532
539
|
type: "string";
|
|
@@ -782,7 +789,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
782
789
|
}];
|
|
783
790
|
threads: [{
|
|
784
791
|
readonly sourceField: string[];
|
|
785
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
792
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
786
793
|
readonly destSchema: "thread";
|
|
787
794
|
readonly cardinality: "many";
|
|
788
795
|
}];
|
|
@@ -830,7 +837,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
830
837
|
}];
|
|
831
838
|
threads: [{
|
|
832
839
|
readonly sourceField: string[];
|
|
833
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
840
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
834
841
|
readonly destSchema: "thread";
|
|
835
842
|
readonly cardinality: "many";
|
|
836
843
|
}];
|
|
@@ -859,11 +866,11 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
859
866
|
threads: [{
|
|
860
867
|
readonly sourceField: string[];
|
|
861
868
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
862
|
-
readonly destSchema: "
|
|
869
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
863
870
|
readonly cardinality: "many";
|
|
864
871
|
}, {
|
|
865
872
|
readonly sourceField: string[];
|
|
866
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
873
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
867
874
|
readonly destSchema: "thread";
|
|
868
875
|
readonly cardinality: "many";
|
|
869
876
|
}];
|
|
@@ -906,7 +913,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
906
913
|
labels: [{
|
|
907
914
|
readonly sourceField: string[];
|
|
908
915
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
909
|
-
readonly destSchema: "
|
|
916
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
910
917
|
readonly cardinality: "many";
|
|
911
918
|
}, {
|
|
912
919
|
readonly sourceField: string[];
|
|
@@ -933,7 +940,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
933
940
|
readonly cardinality: "one";
|
|
934
941
|
}];
|
|
935
942
|
};
|
|
936
|
-
readonly
|
|
943
|
+
readonly threadMessageLabelUid: {
|
|
937
944
|
label: [{
|
|
938
945
|
readonly sourceField: string[];
|
|
939
946
|
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
@@ -948,7 +955,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
948
955
|
}];
|
|
949
956
|
thread: [{
|
|
950
957
|
readonly sourceField: string[];
|
|
951
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
958
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
952
959
|
readonly destSchema: "thread";
|
|
953
960
|
readonly cardinality: "one";
|
|
954
961
|
}];
|
|
@@ -962,7 +969,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
962
969
|
}];
|
|
963
970
|
thread: [{
|
|
964
971
|
readonly sourceField: string[];
|
|
965
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
972
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
966
973
|
readonly destSchema: "thread";
|
|
967
974
|
readonly cardinality: "one";
|
|
968
975
|
}];
|
|
@@ -977,7 +984,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
977
984
|
labels: [{
|
|
978
985
|
readonly sourceField: string[];
|
|
979
986
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
980
|
-
readonly destSchema: "
|
|
987
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
981
988
|
readonly cardinality: "many";
|
|
982
989
|
}, {
|
|
983
990
|
readonly sourceField: string[];
|
|
@@ -993,7 +1000,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
993
1000
|
}];
|
|
994
1001
|
thread: [{
|
|
995
1002
|
readonly sourceField: string[];
|
|
996
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1003
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
997
1004
|
readonly destSchema: "thread";
|
|
998
1005
|
readonly cardinality: "one";
|
|
999
1006
|
}];
|
|
@@ -1024,6 +1031,7 @@ export declare const getThread: import("@rocicorp/zero").SyncedQuery<"getThread"
|
|
|
1024
1031
|
readonly id: string;
|
|
1025
1032
|
readonly labelIdList: string;
|
|
1026
1033
|
readonly latestMessageDate: number;
|
|
1034
|
+
readonly latestMessageId: string;
|
|
1027
1035
|
readonly messageCount: number;
|
|
1028
1036
|
readonly previewText: string;
|
|
1029
1037
|
readonly seen: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThread.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThread.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,KAAK,aAAa,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AASD,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"getThread.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThread.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,KAAK,aAAa,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AASD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@rocicorp/zero").SyncedQuery<"getThr
|
|
|
475
475
|
} & {
|
|
476
476
|
serverName: string;
|
|
477
477
|
};
|
|
478
|
+
readonly latestMessageId: {
|
|
479
|
+
type: "string";
|
|
480
|
+
optional: false;
|
|
481
|
+
customType: string;
|
|
482
|
+
} & {
|
|
483
|
+
serverName: string;
|
|
484
|
+
};
|
|
478
485
|
readonly messageCount: {
|
|
479
486
|
type: "number";
|
|
480
487
|
optional: false;
|
|
@@ -534,8 +541,8 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
534
541
|
} & {
|
|
535
542
|
primaryKey: ["id"];
|
|
536
543
|
};
|
|
537
|
-
readonly
|
|
538
|
-
name: "
|
|
544
|
+
readonly threadMessageLabelUid: {
|
|
545
|
+
name: "threadMessageLabelUid";
|
|
539
546
|
columns: {
|
|
540
547
|
readonly accountId: {
|
|
541
548
|
type: "string";
|
|
@@ -791,7 +798,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
791
798
|
}];
|
|
792
799
|
threads: [{
|
|
793
800
|
readonly sourceField: string[];
|
|
794
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
801
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
795
802
|
readonly destSchema: "thread";
|
|
796
803
|
readonly cardinality: "many";
|
|
797
804
|
}];
|
|
@@ -839,7 +846,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
839
846
|
}];
|
|
840
847
|
threads: [{
|
|
841
848
|
readonly sourceField: string[];
|
|
842
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
849
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
843
850
|
readonly destSchema: "thread";
|
|
844
851
|
readonly cardinality: "many";
|
|
845
852
|
}];
|
|
@@ -868,11 +875,11 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
868
875
|
threads: [{
|
|
869
876
|
readonly sourceField: string[];
|
|
870
877
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
871
|
-
readonly destSchema: "
|
|
878
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
872
879
|
readonly cardinality: "many";
|
|
873
880
|
}, {
|
|
874
881
|
readonly sourceField: string[];
|
|
875
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
882
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
876
883
|
readonly destSchema: "thread";
|
|
877
884
|
readonly cardinality: "many";
|
|
878
885
|
}];
|
|
@@ -915,7 +922,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
915
922
|
labels: [{
|
|
916
923
|
readonly sourceField: string[];
|
|
917
924
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
918
|
-
readonly destSchema: "
|
|
925
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
919
926
|
readonly cardinality: "many";
|
|
920
927
|
}, {
|
|
921
928
|
readonly sourceField: string[];
|
|
@@ -942,7 +949,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
942
949
|
readonly cardinality: "one";
|
|
943
950
|
}];
|
|
944
951
|
};
|
|
945
|
-
readonly
|
|
952
|
+
readonly threadMessageLabelUid: {
|
|
946
953
|
label: [{
|
|
947
954
|
readonly sourceField: string[];
|
|
948
955
|
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
@@ -957,7 +964,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
957
964
|
}];
|
|
958
965
|
thread: [{
|
|
959
966
|
readonly sourceField: string[];
|
|
960
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
967
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
961
968
|
readonly destSchema: "thread";
|
|
962
969
|
readonly cardinality: "one";
|
|
963
970
|
}];
|
|
@@ -971,7 +978,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
971
978
|
}];
|
|
972
979
|
thread: [{
|
|
973
980
|
readonly sourceField: string[];
|
|
974
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
981
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
975
982
|
readonly destSchema: "thread";
|
|
976
983
|
readonly cardinality: "one";
|
|
977
984
|
}];
|
|
@@ -986,7 +993,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
986
993
|
labels: [{
|
|
987
994
|
readonly sourceField: string[];
|
|
988
995
|
readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
|
|
989
|
-
readonly destSchema: "
|
|
996
|
+
readonly destSchema: "threadMessageLabelUid";
|
|
990
997
|
readonly cardinality: "many";
|
|
991
998
|
}, {
|
|
992
999
|
readonly sourceField: string[];
|
|
@@ -1002,7 +1009,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
1002
1009
|
}];
|
|
1003
1010
|
thread: [{
|
|
1004
1011
|
readonly sourceField: string[];
|
|
1005
|
-
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1012
|
+
readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
|
|
1006
1013
|
readonly destSchema: "thread";
|
|
1007
1014
|
readonly cardinality: "one";
|
|
1008
1015
|
}];
|
|
@@ -1038,6 +1045,7 @@ export declare const getThreadList: import("@rocicorp/zero").SyncedQuery<"getThr
|
|
|
1038
1045
|
readonly id: string;
|
|
1039
1046
|
readonly labelIdList: string;
|
|
1040
1047
|
readonly latestMessageDate: number;
|
|
1048
|
+
readonly latestMessageId: string;
|
|
1041
1049
|
readonly messageCount: number;
|
|
1042
1050
|
readonly previewText: string;
|
|
1043
1051
|
readonly seen: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThreadList.ts"],"names":[],"mapp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