@marcoappio/marco-config 2.0.448 → 2.0.449

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.
@@ -509,6 +509,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
509
509
  readonly threadLabel: {
510
510
  name: "threadLabel";
511
511
  columns: {
512
+ readonly accountId: {
513
+ type: "string";
514
+ optional: false;
515
+ customType: string;
516
+ } & {
517
+ serverName: string;
518
+ };
512
519
  readonly labelId: {
513
520
  type: "string";
514
521
  optional: false;
@@ -533,11 +540,18 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
533
540
  };
534
541
  primaryKey: readonly [string, ...string[]];
535
542
  } & {
536
- primaryKey: ["threadMessageId", "labelId"];
543
+ primaryKey: ["accountId", "labelId", "threadMessageId"];
537
544
  };
538
545
  readonly threadMessage: {
539
546
  name: "threadMessage";
540
547
  columns: {
548
+ readonly accountId: {
549
+ type: "string";
550
+ optional: false;
551
+ customType: string;
552
+ } & {
553
+ serverName: string;
554
+ };
541
555
  readonly envelopeDate: {
542
556
  type: "number";
543
557
  optional: false;
@@ -554,6 +568,11 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
554
568
  } & {
555
569
  serverName: string;
556
570
  };
571
+ readonly flagged: {
572
+ type: "boolean";
573
+ optional: false;
574
+ customType: boolean;
575
+ };
557
576
  readonly id: {
558
577
  type: "string";
559
578
  optional: false;
@@ -566,6 +585,11 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
566
585
  } & {
567
586
  serverName: string;
568
587
  };
588
+ readonly seen: {
589
+ type: "boolean";
590
+ optional: false;
591
+ customType: boolean;
592
+ };
569
593
  readonly senderEmail: {
570
594
  type: "string";
571
595
  optional: false;
@@ -782,7 +806,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
782
806
  }];
783
807
  threads: [{
784
808
  readonly sourceField: string[];
785
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
809
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
786
810
  readonly destSchema: "threadLabel";
787
811
  readonly cardinality: "many";
788
812
  }, {
@@ -843,7 +867,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
843
867
  }];
844
868
  labels: [{
845
869
  readonly sourceField: string[];
846
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
870
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
847
871
  readonly destSchema: "threadLabel";
848
872
  readonly cardinality: "many";
849
873
  }, {
@@ -854,7 +878,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
854
878
  }];
855
879
  messages: [{
856
880
  readonly sourceField: string[];
857
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
881
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
858
882
  readonly destSchema: "threadMessage";
859
883
  readonly cardinality: "many";
860
884
  }];
@@ -874,7 +898,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
874
898
  }];
875
899
  message: [{
876
900
  readonly sourceField: string[];
877
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
901
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
878
902
  readonly destSchema: "threadMessage";
879
903
  readonly cardinality: "one";
880
904
  }];
@@ -894,7 +918,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
894
918
  }];
895
919
  labels: [{
896
920
  readonly sourceField: string[];
897
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
921
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
898
922
  readonly destSchema: "threadLabel";
899
923
  readonly cardinality: "many";
900
924
  }, {
@@ -919,7 +943,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
919
943
  readonly threadMessageRecipient: {
920
944
  message: [{
921
945
  readonly sourceField: string[];
922
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
946
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
923
947
  readonly destSchema: "threadMessage";
924
948
  readonly cardinality: "one";
925
949
  }];
@@ -927,7 +951,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
927
951
  readonly threadMessageAttachment: {
928
952
  message: [{
929
953
  readonly sourceField: string[];
930
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
954
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
931
955
  readonly destSchema: "threadMessage";
932
956
  readonly cardinality: "one";
933
957
  }];
@@ -945,10 +969,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
945
969
  readonly words: string;
946
970
  } & {
947
971
  readonly messages: readonly ({
972
+ readonly accountId: string;
948
973
  readonly envelopeDate: number;
949
974
  readonly envelopeSubject: string | null;
975
+ readonly flagged: boolean;
950
976
  readonly id: string;
951
977
  readonly previewText: string;
978
+ readonly seen: boolean;
952
979
  readonly senderEmail: string;
953
980
  readonly senderName: string | null;
954
981
  readonly threadId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getThreads.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThreads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
@@ -497,6 +497,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
497
497
  readonly threadLabel: {
498
498
  name: "threadLabel";
499
499
  columns: {
500
+ readonly accountId: {
501
+ type: "string";
502
+ optional: false;
503
+ customType: string;
504
+ } & {
505
+ serverName: string;
506
+ };
500
507
  readonly labelId: {
501
508
  type: "string";
502
509
  optional: false;
@@ -521,11 +528,18 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
521
528
  };
522
529
  primaryKey: readonly [string, ...string[]];
523
530
  } & {
524
- primaryKey: ["threadMessageId", "labelId"];
531
+ primaryKey: ["accountId", "labelId", "threadMessageId"];
525
532
  };
526
533
  readonly threadMessage: {
527
534
  name: "threadMessage";
528
535
  columns: {
536
+ readonly accountId: {
537
+ type: "string";
538
+ optional: false;
539
+ customType: string;
540
+ } & {
541
+ serverName: string;
542
+ };
529
543
  readonly envelopeDate: {
530
544
  type: "number";
531
545
  optional: false;
@@ -542,6 +556,11 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
542
556
  } & {
543
557
  serverName: string;
544
558
  };
559
+ readonly flagged: {
560
+ type: "boolean";
561
+ optional: false;
562
+ customType: boolean;
563
+ };
545
564
  readonly id: {
546
565
  type: "string";
547
566
  optional: false;
@@ -554,6 +573,11 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
554
573
  } & {
555
574
  serverName: string;
556
575
  };
576
+ readonly seen: {
577
+ type: "boolean";
578
+ optional: false;
579
+ customType: boolean;
580
+ };
557
581
  readonly senderEmail: {
558
582
  type: "string";
559
583
  optional: false;
@@ -770,7 +794,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
770
794
  }];
771
795
  threads: [{
772
796
  readonly sourceField: string[];
773
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
797
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
774
798
  readonly destSchema: "threadLabel";
775
799
  readonly cardinality: "many";
776
800
  }, {
@@ -831,7 +855,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
831
855
  }];
832
856
  labels: [{
833
857
  readonly sourceField: string[];
834
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
858
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
835
859
  readonly destSchema: "threadLabel";
836
860
  readonly cardinality: "many";
837
861
  }, {
@@ -842,7 +866,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
842
866
  }];
843
867
  messages: [{
844
868
  readonly sourceField: string[];
845
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
869
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
846
870
  readonly destSchema: "threadMessage";
847
871
  readonly cardinality: "many";
848
872
  }];
@@ -862,7 +886,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
862
886
  }];
863
887
  message: [{
864
888
  readonly sourceField: string[];
865
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
889
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
866
890
  readonly destSchema: "threadMessage";
867
891
  readonly cardinality: "one";
868
892
  }];
@@ -882,7 +906,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
882
906
  }];
883
907
  labels: [{
884
908
  readonly sourceField: string[];
885
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
909
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
886
910
  readonly destSchema: "threadLabel";
887
911
  readonly cardinality: "many";
888
912
  }, {
@@ -907,7 +931,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
907
931
  readonly threadMessageRecipient: {
908
932
  message: [{
909
933
  readonly sourceField: string[];
910
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
934
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
911
935
  readonly destSchema: "threadMessage";
912
936
  readonly cardinality: "one";
913
937
  }];
@@ -915,7 +939,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
915
939
  readonly threadMessageAttachment: {
916
940
  message: [{
917
941
  readonly sourceField: string[];
918
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
942
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
919
943
  readonly destSchema: "threadMessage";
920
944
  readonly cardinality: "one";
921
945
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,CAAA"}
@@ -496,6 +496,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
496
496
  readonly threadLabel: {
497
497
  name: "threadLabel";
498
498
  columns: {
499
+ readonly accountId: {
500
+ type: "string";
501
+ optional: false;
502
+ customType: string;
503
+ } & {
504
+ serverName: string;
505
+ };
499
506
  readonly labelId: {
500
507
  type: "string";
501
508
  optional: false;
@@ -520,11 +527,18 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
520
527
  };
521
528
  primaryKey: readonly [string, ...string[]];
522
529
  } & {
523
- primaryKey: ["threadMessageId", "labelId"];
530
+ primaryKey: ["accountId", "labelId", "threadMessageId"];
524
531
  };
525
532
  readonly threadMessage: {
526
533
  name: "threadMessage";
527
534
  columns: {
535
+ readonly accountId: {
536
+ type: "string";
537
+ optional: false;
538
+ customType: string;
539
+ } & {
540
+ serverName: string;
541
+ };
528
542
  readonly envelopeDate: {
529
543
  type: "number";
530
544
  optional: false;
@@ -541,6 +555,11 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
541
555
  } & {
542
556
  serverName: string;
543
557
  };
558
+ readonly flagged: {
559
+ type: "boolean";
560
+ optional: false;
561
+ customType: boolean;
562
+ };
544
563
  readonly id: {
545
564
  type: "string";
546
565
  optional: false;
@@ -553,6 +572,11 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
553
572
  } & {
554
573
  serverName: string;
555
574
  };
575
+ readonly seen: {
576
+ type: "boolean";
577
+ optional: false;
578
+ customType: boolean;
579
+ };
556
580
  readonly senderEmail: {
557
581
  type: "string";
558
582
  optional: false;
@@ -769,7 +793,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
769
793
  }];
770
794
  threads: [{
771
795
  readonly sourceField: string[];
772
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
796
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
773
797
  readonly destSchema: "threadLabel";
774
798
  readonly cardinality: "many";
775
799
  }, {
@@ -830,7 +854,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
830
854
  }];
831
855
  labels: [{
832
856
  readonly sourceField: string[];
833
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
857
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
834
858
  readonly destSchema: "threadLabel";
835
859
  readonly cardinality: "many";
836
860
  }, {
@@ -841,7 +865,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
841
865
  }];
842
866
  messages: [{
843
867
  readonly sourceField: string[];
844
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
868
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
845
869
  readonly destSchema: "threadMessage";
846
870
  readonly cardinality: "many";
847
871
  }];
@@ -861,7 +885,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
861
885
  }];
862
886
  message: [{
863
887
  readonly sourceField: string[];
864
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
888
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
865
889
  readonly destSchema: "threadMessage";
866
890
  readonly cardinality: "one";
867
891
  }];
@@ -881,7 +905,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
881
905
  }];
882
906
  labels: [{
883
907
  readonly sourceField: string[];
884
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
908
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
885
909
  readonly destSchema: "threadLabel";
886
910
  readonly cardinality: "many";
887
911
  }, {
@@ -906,7 +930,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
906
930
  readonly threadMessageRecipient: {
907
931
  message: [{
908
932
  readonly sourceField: string[];
909
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
933
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
910
934
  readonly destSchema: "threadMessage";
911
935
  readonly cardinality: "one";
912
936
  }];
@@ -914,7 +938,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
914
938
  readonly threadMessageAttachment: {
915
939
  message: [{
916
940
  readonly sourceField: string[];
917
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
941
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
918
942
  readonly destSchema: "threadMessage";
919
943
  readonly cardinality: "one";
920
944
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwB,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -496,6 +496,13 @@ export declare const schema: {
496
496
  readonly threadLabel: {
497
497
  name: "threadLabel";
498
498
  columns: {
499
+ readonly accountId: {
500
+ type: "string";
501
+ optional: false;
502
+ customType: string;
503
+ } & {
504
+ serverName: string;
505
+ };
499
506
  readonly labelId: {
500
507
  type: "string";
501
508
  optional: false;
@@ -520,11 +527,18 @@ export declare const schema: {
520
527
  };
521
528
  primaryKey: readonly [string, ...string[]];
522
529
  } & {
523
- primaryKey: ["threadMessageId", "labelId"];
530
+ primaryKey: ["accountId", "labelId", "threadMessageId"];
524
531
  };
525
532
  readonly threadMessage: {
526
533
  name: "threadMessage";
527
534
  columns: {
535
+ readonly accountId: {
536
+ type: "string";
537
+ optional: false;
538
+ customType: string;
539
+ } & {
540
+ serverName: string;
541
+ };
528
542
  readonly envelopeDate: {
529
543
  type: "number";
530
544
  optional: false;
@@ -541,6 +555,11 @@ export declare const schema: {
541
555
  } & {
542
556
  serverName: string;
543
557
  };
558
+ readonly flagged: {
559
+ type: "boolean";
560
+ optional: false;
561
+ customType: boolean;
562
+ };
544
563
  readonly id: {
545
564
  type: "string";
546
565
  optional: false;
@@ -553,6 +572,11 @@ export declare const schema: {
553
572
  } & {
554
573
  serverName: string;
555
574
  };
575
+ readonly seen: {
576
+ type: "boolean";
577
+ optional: false;
578
+ customType: boolean;
579
+ };
556
580
  readonly senderEmail: {
557
581
  type: "string";
558
582
  optional: false;
@@ -769,7 +793,7 @@ export declare const schema: {
769
793
  }];
770
794
  threads: [{
771
795
  readonly sourceField: string[];
772
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
796
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
773
797
  readonly destSchema: "threadLabel";
774
798
  readonly cardinality: "many";
775
799
  }, {
@@ -830,7 +854,7 @@ export declare const schema: {
830
854
  }];
831
855
  labels: [{
832
856
  readonly sourceField: string[];
833
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
857
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
834
858
  readonly destSchema: "threadLabel";
835
859
  readonly cardinality: "many";
836
860
  }, {
@@ -841,7 +865,7 @@ export declare const schema: {
841
865
  }];
842
866
  messages: [{
843
867
  readonly sourceField: string[];
844
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
868
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
845
869
  readonly destSchema: "threadMessage";
846
870
  readonly cardinality: "many";
847
871
  }];
@@ -861,7 +885,7 @@ export declare const schema: {
861
885
  }];
862
886
  message: [{
863
887
  readonly sourceField: string[];
864
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
888
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
865
889
  readonly destSchema: "threadMessage";
866
890
  readonly cardinality: "one";
867
891
  }];
@@ -881,7 +905,7 @@ export declare const schema: {
881
905
  }];
882
906
  labels: [{
883
907
  readonly sourceField: string[];
884
- readonly destField: ("labelId" | "threadId" | "threadMessageId")[];
908
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
885
909
  readonly destSchema: "threadLabel";
886
910
  readonly cardinality: "many";
887
911
  }, {
@@ -906,7 +930,7 @@ export declare const schema: {
906
930
  readonly threadMessageRecipient: {
907
931
  message: [{
908
932
  readonly sourceField: string[];
909
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
933
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
910
934
  readonly destSchema: "threadMessage";
911
935
  readonly cardinality: "one";
912
936
  }];
@@ -914,7 +938,7 @@ export declare const schema: {
914
938
  readonly threadMessageAttachment: {
915
939
  message: [{
916
940
  readonly sourceField: string[];
917
- readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
941
+ readonly destField: ("id" | "accountId" | "flagged" | "seen" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
918
942
  readonly destSchema: "threadMessage";
919
943
  readonly cardinality: "one";
920
944
  }];
@@ -1353,6 +1377,13 @@ export declare const zeroTables: {
1353
1377
  readonly threadLabel: import("@rocicorp/zero").TableBuilderWithColumns<{
1354
1378
  name: "threadLabel";
1355
1379
  columns: {
1380
+ readonly accountId: {
1381
+ type: "string";
1382
+ optional: false;
1383
+ customType: string;
1384
+ } & {
1385
+ serverName: string;
1386
+ };
1356
1387
  readonly labelId: {
1357
1388
  type: "string";
1358
1389
  optional: false;
@@ -1377,11 +1408,18 @@ export declare const zeroTables: {
1377
1408
  };
1378
1409
  primaryKey: readonly [string, ...string[]];
1379
1410
  } & {
1380
- primaryKey: ["threadMessageId", "labelId"];
1411
+ primaryKey: ["accountId", "labelId", "threadMessageId"];
1381
1412
  }>;
1382
1413
  readonly threadMessage: import("@rocicorp/zero").TableBuilderWithColumns<{
1383
1414
  name: "threadMessage";
1384
1415
  columns: {
1416
+ readonly accountId: {
1417
+ type: "string";
1418
+ optional: false;
1419
+ customType: string;
1420
+ } & {
1421
+ serverName: string;
1422
+ };
1385
1423
  readonly envelopeDate: {
1386
1424
  type: "number";
1387
1425
  optional: false;
@@ -1398,6 +1436,11 @@ export declare const zeroTables: {
1398
1436
  } & {
1399
1437
  serverName: string;
1400
1438
  };
1439
+ readonly flagged: {
1440
+ type: "boolean";
1441
+ optional: false;
1442
+ customType: boolean;
1443
+ };
1401
1444
  readonly id: {
1402
1445
  type: "string";
1403
1446
  optional: false;
@@ -1410,6 +1453,11 @@ export declare const zeroTables: {
1410
1453
  } & {
1411
1454
  serverName: string;
1412
1455
  };
1456
+ readonly seen: {
1457
+ type: "boolean";
1458
+ optional: false;
1459
+ customType: boolean;
1460
+ };
1413
1461
  readonly senderEmail: {
1414
1462
  type: "string";
1415
1463
  optional: false;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA0aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAnVJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;CAyYT,CAAA"}
@@ -109,18 +109,22 @@ const thread = table('thread')
109
109
  const threadLabel = table('threadLabel')
110
110
  .from('thread_label')
111
111
  .columns({
112
+ accountId: string().from('account_id'),
112
113
  labelId: string().from('label_id'),
113
114
  threadId: string().from('thread_id'),
114
115
  threadMessageId: string().from('thread_message_id'),
115
116
  })
116
- .primaryKey('threadMessageId', 'labelId');
117
+ .primaryKey('accountId', 'labelId', 'threadMessageId');
117
118
  const threadMessage = table('threadMessage')
118
119
  .from('thread_message')
119
120
  .columns({
121
+ accountId: string().from('account_id'),
120
122
  envelopeDate: numeric().from('envelope_date'),
121
123
  envelopeSubject: string().optional().from('envelope_subject'),
124
+ flagged: boolean(),
122
125
  id: string(),
123
126
  previewText: string().from('preview_text'),
127
+ seen: boolean(),
124
128
  senderEmail: string().from('sender_email'),
125
129
  senderName: string().optional().from('sender_name'),
126
130
  threadId: string().from('thread_id'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.448",
3
+ "version": "2.0.449",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",