@marcoappio/marco-config 2.0.450 → 2.0.452

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 (37) hide show
  1. package/dist/types/{ImapConnectionStatus.d.ts → IMAPConnectionStatus.d.ts} +2 -2
  2. package/dist/types/IMAPConnectionStatus.d.ts.map +1 -0
  3. package/dist/types/IMAPSourceLocation.d.ts +7 -0
  4. package/dist/types/IMAPSourceLocation.d.ts.map +1 -0
  5. package/dist/types/IMAPSourceLocation.js +1 -0
  6. package/dist/types/index.d.ts +2 -1
  7. package/dist/types/index.d.ts.map +1 -1
  8. package/dist/types/index.js +2 -1
  9. package/dist/zero/index.d.ts +263 -42
  10. package/dist/zero/index.d.ts.map +1 -1
  11. package/dist/zero/mutatorSchemas/index.d.ts +36 -0
  12. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
  13. package/dist/zero/mutatorSchemas/thread.d.ts +36 -0
  14. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -1
  15. package/dist/zero/mutatorSchemas/thread.js +18 -7
  16. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +4 -2
  17. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  18. package/dist/zero/mutators/threadMutators/threadMutators.js +59 -19
  19. package/dist/zero/mutators/threadMutators/threadMutators.test.js +18 -12
  20. package/dist/zero/queries/getAccounts.d.ts +34 -7
  21. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  22. package/dist/zero/queries/getContacts.d.ts +33 -7
  23. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  24. package/dist/zero/queries/getDrafts.d.ts +33 -7
  25. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  26. package/dist/zero/queries/getThreads.d.ts +34 -7
  27. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  28. package/dist/zero/queries/getUser.d.ts +34 -7
  29. package/dist/zero/queries/getUser.d.ts.map +1 -1
  30. package/dist/zero/queries/index.d.ts +33 -7
  31. package/dist/zero/queries/index.d.ts.map +1 -1
  32. package/dist/zero/schema.d.ts +59 -7
  33. package/dist/zero/schema.d.ts.map +1 -1
  34. package/dist/zero/schema.js +4 -0
  35. package/package.json +1 -1
  36. package/dist/types/ImapConnectionStatus.d.ts.map +0 -1
  37. /package/dist/types/{ImapConnectionStatus.js → IMAPConnectionStatus.js} +0 -0
@@ -237,6 +237,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
237
237
  } & {
238
238
  serverName: string;
239
239
  };
240
+ readonly uidValidity: {
241
+ type: "number";
242
+ optional: false;
243
+ customType: number;
244
+ } & {
245
+ serverName: string;
246
+ };
240
247
  };
241
248
  primaryKey: readonly [string, ...string[]];
242
249
  } & {
@@ -511,6 +518,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
511
518
  } & {
512
519
  serverName: string;
513
520
  };
521
+ readonly lastSyncedAt: {
522
+ type: "number";
523
+ optional: false;
524
+ customType: number;
525
+ } & {
526
+ serverName: string;
527
+ };
514
528
  readonly threadId: {
515
529
  type: "string";
516
530
  optional: false;
@@ -525,6 +539,18 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
525
539
  } & {
526
540
  serverName: string;
527
541
  };
542
+ readonly uid: {
543
+ type: "number";
544
+ optional: false;
545
+ customType: number;
546
+ };
547
+ readonly uidValidity: {
548
+ type: "number";
549
+ optional: false;
550
+ customType: number;
551
+ } & {
552
+ serverName: string;
553
+ };
528
554
  };
529
555
  primaryKey: readonly [string, ...string[]];
530
556
  } & {
@@ -744,7 +770,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
744
770
  }];
745
771
  labels: [{
746
772
  readonly sourceField: string[];
747
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
773
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
748
774
  readonly destSchema: "accountLabel";
749
775
  readonly cardinality: "many";
750
776
  }];
@@ -784,7 +810,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
784
810
  }];
785
811
  threads: [{
786
812
  readonly sourceField: string[];
787
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
813
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
788
814
  readonly destSchema: "threadLabel";
789
815
  readonly cardinality: "many";
790
816
  }, {
@@ -845,12 +871,12 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
845
871
  }];
846
872
  labels: [{
847
873
  readonly sourceField: string[];
848
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
874
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
849
875
  readonly destSchema: "threadLabel";
850
876
  readonly cardinality: "many";
851
877
  }, {
852
878
  readonly sourceField: string[];
853
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
879
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
854
880
  readonly destSchema: "accountLabel";
855
881
  readonly cardinality: "many";
856
882
  }];
@@ -870,7 +896,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
870
896
  readonly threadLabel: {
871
897
  label: [{
872
898
  readonly sourceField: string[];
873
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
899
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
874
900
  readonly destSchema: "accountLabel";
875
901
  readonly cardinality: "one";
876
902
  }];
@@ -896,12 +922,12 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
896
922
  }];
897
923
  labels: [{
898
924
  readonly sourceField: string[];
899
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
925
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
900
926
  readonly destSchema: "threadLabel";
901
927
  readonly cardinality: "many";
902
928
  }, {
903
929
  readonly sourceField: string[];
904
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
930
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
905
931
  readonly destSchema: "accountLabel";
906
932
  readonly cardinality: "many";
907
933
  }];
@@ -968,6 +994,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
968
994
  readonly id: string;
969
995
  readonly path: string;
970
996
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
997
+ readonly uidValidity: number;
971
998
  }[];
972
999
  }>>;
973
1000
  //# sourceMappingURL=getAccounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getAccounts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEvB,CAAA"}
@@ -246,6 +246,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
246
246
  } & {
247
247
  serverName: string;
248
248
  };
249
+ readonly uidValidity: {
250
+ type: "number";
251
+ optional: false;
252
+ customType: number;
253
+ } & {
254
+ serverName: string;
255
+ };
249
256
  };
250
257
  primaryKey: readonly [string, ...string[]];
251
258
  } & {
@@ -520,6 +527,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
520
527
  } & {
521
528
  serverName: string;
522
529
  };
530
+ readonly lastSyncedAt: {
531
+ type: "number";
532
+ optional: false;
533
+ customType: number;
534
+ } & {
535
+ serverName: string;
536
+ };
523
537
  readonly threadId: {
524
538
  type: "string";
525
539
  optional: false;
@@ -534,6 +548,18 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
534
548
  } & {
535
549
  serverName: string;
536
550
  };
551
+ readonly uid: {
552
+ type: "number";
553
+ optional: false;
554
+ customType: number;
555
+ };
556
+ readonly uidValidity: {
557
+ type: "number";
558
+ optional: false;
559
+ customType: number;
560
+ } & {
561
+ serverName: string;
562
+ };
537
563
  };
538
564
  primaryKey: readonly [string, ...string[]];
539
565
  } & {
@@ -753,7 +779,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
753
779
  }];
754
780
  labels: [{
755
781
  readonly sourceField: string[];
756
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
782
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
757
783
  readonly destSchema: "accountLabel";
758
784
  readonly cardinality: "many";
759
785
  }];
@@ -793,7 +819,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
793
819
  }];
794
820
  threads: [{
795
821
  readonly sourceField: string[];
796
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
822
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
797
823
  readonly destSchema: "threadLabel";
798
824
  readonly cardinality: "many";
799
825
  }, {
@@ -854,12 +880,12 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
854
880
  }];
855
881
  labels: [{
856
882
  readonly sourceField: string[];
857
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
883
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
858
884
  readonly destSchema: "threadLabel";
859
885
  readonly cardinality: "many";
860
886
  }, {
861
887
  readonly sourceField: string[];
862
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
888
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
863
889
  readonly destSchema: "accountLabel";
864
890
  readonly cardinality: "many";
865
891
  }];
@@ -879,7 +905,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
879
905
  readonly threadLabel: {
880
906
  label: [{
881
907
  readonly sourceField: string[];
882
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
908
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
883
909
  readonly destSchema: "accountLabel";
884
910
  readonly cardinality: "one";
885
911
  }];
@@ -905,12 +931,12 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
905
931
  }];
906
932
  labels: [{
907
933
  readonly sourceField: string[];
908
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
934
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
909
935
  readonly destSchema: "threadLabel";
910
936
  readonly cardinality: "many";
911
937
  }, {
912
938
  readonly sourceField: string[];
913
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
939
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
914
940
  readonly destSchema: "accountLabel";
915
941
  readonly cardinality: "many";
916
942
  }];
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
@@ -243,6 +243,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
243
243
  } & {
244
244
  serverName: string;
245
245
  };
246
+ readonly uidValidity: {
247
+ type: "number";
248
+ optional: false;
249
+ customType: number;
250
+ } & {
251
+ serverName: string;
252
+ };
246
253
  };
247
254
  primaryKey: readonly [string, ...string[]];
248
255
  } & {
@@ -517,6 +524,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
517
524
  } & {
518
525
  serverName: string;
519
526
  };
527
+ readonly lastSyncedAt: {
528
+ type: "number";
529
+ optional: false;
530
+ customType: number;
531
+ } & {
532
+ serverName: string;
533
+ };
520
534
  readonly threadId: {
521
535
  type: "string";
522
536
  optional: false;
@@ -531,6 +545,18 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
531
545
  } & {
532
546
  serverName: string;
533
547
  };
548
+ readonly uid: {
549
+ type: "number";
550
+ optional: false;
551
+ customType: number;
552
+ };
553
+ readonly uidValidity: {
554
+ type: "number";
555
+ optional: false;
556
+ customType: number;
557
+ } & {
558
+ serverName: string;
559
+ };
534
560
  };
535
561
  primaryKey: readonly [string, ...string[]];
536
562
  } & {
@@ -750,7 +776,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
750
776
  }];
751
777
  labels: [{
752
778
  readonly sourceField: string[];
753
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
779
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
754
780
  readonly destSchema: "accountLabel";
755
781
  readonly cardinality: "many";
756
782
  }];
@@ -790,7 +816,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
790
816
  }];
791
817
  threads: [{
792
818
  readonly sourceField: string[];
793
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
819
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
794
820
  readonly destSchema: "threadLabel";
795
821
  readonly cardinality: "many";
796
822
  }, {
@@ -851,12 +877,12 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
851
877
  }];
852
878
  labels: [{
853
879
  readonly sourceField: string[];
854
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
880
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
855
881
  readonly destSchema: "threadLabel";
856
882
  readonly cardinality: "many";
857
883
  }, {
858
884
  readonly sourceField: string[];
859
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
885
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
860
886
  readonly destSchema: "accountLabel";
861
887
  readonly cardinality: "many";
862
888
  }];
@@ -876,7 +902,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
876
902
  readonly threadLabel: {
877
903
  label: [{
878
904
  readonly sourceField: string[];
879
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
905
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
880
906
  readonly destSchema: "accountLabel";
881
907
  readonly cardinality: "one";
882
908
  }];
@@ -902,12 +928,12 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
902
928
  }];
903
929
  labels: [{
904
930
  readonly sourceField: string[];
905
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
931
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
906
932
  readonly destSchema: "threadLabel";
907
933
  readonly cardinality: "many";
908
934
  }, {
909
935
  readonly sourceField: string[];
910
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
936
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
911
937
  readonly destSchema: "accountLabel";
912
938
  readonly cardinality: "many";
913
939
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAMpD,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;CACzC,CAAA;AAWD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBrB,CAAA"}
@@ -249,6 +249,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
249
249
  } & {
250
250
  serverName: string;
251
251
  };
252
+ readonly uidValidity: {
253
+ type: "number";
254
+ optional: false;
255
+ customType: number;
256
+ } & {
257
+ serverName: string;
258
+ };
252
259
  };
253
260
  primaryKey: readonly [string, ...string[]];
254
261
  } & {
@@ -523,6 +530,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
523
530
  } & {
524
531
  serverName: string;
525
532
  };
533
+ readonly lastSyncedAt: {
534
+ type: "number";
535
+ optional: false;
536
+ customType: number;
537
+ } & {
538
+ serverName: string;
539
+ };
526
540
  readonly threadId: {
527
541
  type: "string";
528
542
  optional: false;
@@ -537,6 +551,18 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
537
551
  } & {
538
552
  serverName: string;
539
553
  };
554
+ readonly uid: {
555
+ type: "number";
556
+ optional: false;
557
+ customType: number;
558
+ };
559
+ readonly uidValidity: {
560
+ type: "number";
561
+ optional: false;
562
+ customType: number;
563
+ } & {
564
+ serverName: string;
565
+ };
540
566
  };
541
567
  primaryKey: readonly [string, ...string[]];
542
568
  } & {
@@ -756,7 +782,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
756
782
  }];
757
783
  labels: [{
758
784
  readonly sourceField: string[];
759
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
785
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
760
786
  readonly destSchema: "accountLabel";
761
787
  readonly cardinality: "many";
762
788
  }];
@@ -796,7 +822,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
796
822
  }];
797
823
  threads: [{
798
824
  readonly sourceField: string[];
799
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
825
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
800
826
  readonly destSchema: "threadLabel";
801
827
  readonly cardinality: "many";
802
828
  }, {
@@ -857,12 +883,12 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
857
883
  }];
858
884
  labels: [{
859
885
  readonly sourceField: string[];
860
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
886
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
861
887
  readonly destSchema: "threadLabel";
862
888
  readonly cardinality: "many";
863
889
  }, {
864
890
  readonly sourceField: string[];
865
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
891
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
866
892
  readonly destSchema: "accountLabel";
867
893
  readonly cardinality: "many";
868
894
  }];
@@ -882,7 +908,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
882
908
  readonly threadLabel: {
883
909
  label: [{
884
910
  readonly sourceField: string[];
885
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
911
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
886
912
  readonly destSchema: "accountLabel";
887
913
  readonly cardinality: "one";
888
914
  }];
@@ -908,12 +934,12 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
908
934
  }];
909
935
  labels: [{
910
936
  readonly sourceField: string[];
911
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
937
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
912
938
  readonly destSchema: "threadLabel";
913
939
  readonly cardinality: "many";
914
940
  }, {
915
941
  readonly sourceField: string[];
916
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
942
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
917
943
  readonly destSchema: "accountLabel";
918
944
  readonly cardinality: "many";
919
945
  }];
@@ -991,6 +1017,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
991
1017
  readonly id: string;
992
1018
  readonly path: string;
993
1019
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
1020
+ readonly uidValidity: number;
994
1021
  }[];
995
1022
  }>>;
996
1023
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"getThreads.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThreads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
@@ -237,6 +237,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
237
237
  } & {
238
238
  serverName: string;
239
239
  };
240
+ readonly uidValidity: {
241
+ type: "number";
242
+ optional: false;
243
+ customType: number;
244
+ } & {
245
+ serverName: string;
246
+ };
240
247
  };
241
248
  primaryKey: readonly [string, ...string[]];
242
249
  } & {
@@ -511,6 +518,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
511
518
  } & {
512
519
  serverName: string;
513
520
  };
521
+ readonly lastSyncedAt: {
522
+ type: "number";
523
+ optional: false;
524
+ customType: number;
525
+ } & {
526
+ serverName: string;
527
+ };
514
528
  readonly threadId: {
515
529
  type: "string";
516
530
  optional: false;
@@ -525,6 +539,18 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
525
539
  } & {
526
540
  serverName: string;
527
541
  };
542
+ readonly uid: {
543
+ type: "number";
544
+ optional: false;
545
+ customType: number;
546
+ };
547
+ readonly uidValidity: {
548
+ type: "number";
549
+ optional: false;
550
+ customType: number;
551
+ } & {
552
+ serverName: string;
553
+ };
528
554
  };
529
555
  primaryKey: readonly [string, ...string[]];
530
556
  } & {
@@ -744,7 +770,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
744
770
  }];
745
771
  labels: [{
746
772
  readonly sourceField: string[];
747
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
773
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
748
774
  readonly destSchema: "accountLabel";
749
775
  readonly cardinality: "many";
750
776
  }];
@@ -784,7 +810,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
784
810
  }];
785
811
  threads: [{
786
812
  readonly sourceField: string[];
787
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
813
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
788
814
  readonly destSchema: "threadLabel";
789
815
  readonly cardinality: "many";
790
816
  }, {
@@ -845,12 +871,12 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
845
871
  }];
846
872
  labels: [{
847
873
  readonly sourceField: string[];
848
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
874
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
849
875
  readonly destSchema: "threadLabel";
850
876
  readonly cardinality: "many";
851
877
  }, {
852
878
  readonly sourceField: string[];
853
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
879
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
854
880
  readonly destSchema: "accountLabel";
855
881
  readonly cardinality: "many";
856
882
  }];
@@ -870,7 +896,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
870
896
  readonly threadLabel: {
871
897
  label: [{
872
898
  readonly sourceField: string[];
873
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
899
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
874
900
  readonly destSchema: "accountLabel";
875
901
  readonly cardinality: "one";
876
902
  }];
@@ -896,12 +922,12 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
896
922
  }];
897
923
  labels: [{
898
924
  readonly sourceField: string[];
899
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
925
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
900
926
  readonly destSchema: "threadLabel";
901
927
  readonly cardinality: "many";
902
928
  }, {
903
929
  readonly sourceField: string[];
904
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
930
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
905
931
  readonly destSchema: "accountLabel";
906
932
  readonly cardinality: "many";
907
933
  }];
@@ -974,6 +1000,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
974
1000
  readonly id: string;
975
1001
  readonly path: string;
976
1002
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
1003
+ readonly uidValidity: number;
977
1004
  }[];
978
1005
  })[];
979
1006
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EA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