@marcoappio/marco-config 2.0.428 → 2.0.430
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/schemas/emailAccount.d.ts +2 -0
- package/dist/schemas/emailAccount.d.ts.map +1 -1
- package/dist/schemas/emailAccount.js +2 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/zero/index.d.ts +0 -304
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutators/index.d.ts +0 -304
- package/dist/zero/mutators/index.d.ts.map +1 -1
- package/dist/zero/queries/getAccounts.d.ts +0 -47
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +0 -47
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.d.ts +0 -47
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.d.ts +0 -47
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getUser.d.ts +0 -47
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/index.d.ts +0 -47
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +0 -69
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +0 -31
- package/package.json +1 -1
|
@@ -664,28 +664,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
664
664
|
} & {
|
|
665
665
|
primaryKey: ["id"];
|
|
666
666
|
};
|
|
667
|
-
readonly threadMessageLabel: {
|
|
668
|
-
name: "threadMessageLabel";
|
|
669
|
-
columns: {
|
|
670
|
-
readonly labelId: {
|
|
671
|
-
type: "string";
|
|
672
|
-
optional: false;
|
|
673
|
-
customType: string;
|
|
674
|
-
} & {
|
|
675
|
-
serverName: string;
|
|
676
|
-
};
|
|
677
|
-
readonly threadMessageId: {
|
|
678
|
-
type: "string";
|
|
679
|
-
optional: false;
|
|
680
|
-
customType: string;
|
|
681
|
-
} & {
|
|
682
|
-
serverName: string;
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
primaryKey: readonly [string, ...string[]];
|
|
686
|
-
} & {
|
|
687
|
-
primaryKey: ["threadMessageId", "labelId"];
|
|
688
|
-
};
|
|
689
667
|
};
|
|
690
668
|
relationships: {
|
|
691
669
|
readonly user: {
|
|
@@ -789,17 +767,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
789
767
|
readonly destSchema: "account";
|
|
790
768
|
readonly cardinality: "one";
|
|
791
769
|
}];
|
|
792
|
-
threadMessages: [{
|
|
793
|
-
readonly sourceField: string[];
|
|
794
|
-
readonly destField: ("labelId" | "threadMessageId")[];
|
|
795
|
-
readonly destSchema: "threadMessageLabel";
|
|
796
|
-
readonly cardinality: "many";
|
|
797
|
-
}, {
|
|
798
|
-
readonly sourceField: string[];
|
|
799
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
800
|
-
readonly destSchema: "threadMessage";
|
|
801
|
-
readonly cardinality: "many";
|
|
802
|
-
}];
|
|
803
770
|
threads: [{
|
|
804
771
|
readonly sourceField: string[];
|
|
805
772
|
readonly destField: ("labelId" | "threadId")[];
|
|
@@ -935,20 +902,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
935
902
|
readonly cardinality: "one";
|
|
936
903
|
}];
|
|
937
904
|
};
|
|
938
|
-
readonly threadMessageLabel: {
|
|
939
|
-
label: [{
|
|
940
|
-
readonly sourceField: string[];
|
|
941
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
|
|
942
|
-
readonly destSchema: "accountLabel";
|
|
943
|
-
readonly cardinality: "one";
|
|
944
|
-
}];
|
|
945
|
-
message: [{
|
|
946
|
-
readonly sourceField: string[];
|
|
947
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
948
|
-
readonly destSchema: "threadMessage";
|
|
949
|
-
readonly cardinality: "one";
|
|
950
|
-
}];
|
|
951
|
-
};
|
|
952
905
|
};
|
|
953
906
|
enableLegacyQueries: boolean | undefined;
|
|
954
907
|
enableLegacyMutators: false;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBrB,CAAA"}
|
|
@@ -669,28 +669,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
669
669
|
} & {
|
|
670
670
|
primaryKey: ["id"];
|
|
671
671
|
};
|
|
672
|
-
readonly threadMessageLabel: {
|
|
673
|
-
name: "threadMessageLabel";
|
|
674
|
-
columns: {
|
|
675
|
-
readonly labelId: {
|
|
676
|
-
type: "string";
|
|
677
|
-
optional: false;
|
|
678
|
-
customType: string;
|
|
679
|
-
} & {
|
|
680
|
-
serverName: string;
|
|
681
|
-
};
|
|
682
|
-
readonly threadMessageId: {
|
|
683
|
-
type: "string";
|
|
684
|
-
optional: false;
|
|
685
|
-
customType: string;
|
|
686
|
-
} & {
|
|
687
|
-
serverName: string;
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
primaryKey: readonly [string, ...string[]];
|
|
691
|
-
} & {
|
|
692
|
-
primaryKey: ["threadMessageId", "labelId"];
|
|
693
|
-
};
|
|
694
672
|
};
|
|
695
673
|
relationships: {
|
|
696
674
|
readonly user: {
|
|
@@ -794,17 +772,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
794
772
|
readonly destSchema: "account";
|
|
795
773
|
readonly cardinality: "one";
|
|
796
774
|
}];
|
|
797
|
-
threadMessages: [{
|
|
798
|
-
readonly sourceField: string[];
|
|
799
|
-
readonly destField: ("labelId" | "threadMessageId")[];
|
|
800
|
-
readonly destSchema: "threadMessageLabel";
|
|
801
|
-
readonly cardinality: "many";
|
|
802
|
-
}, {
|
|
803
|
-
readonly sourceField: string[];
|
|
804
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
805
|
-
readonly destSchema: "threadMessage";
|
|
806
|
-
readonly cardinality: "many";
|
|
807
|
-
}];
|
|
808
775
|
threads: [{
|
|
809
776
|
readonly sourceField: string[];
|
|
810
777
|
readonly destField: ("labelId" | "threadId")[];
|
|
@@ -940,20 +907,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
940
907
|
readonly cardinality: "one";
|
|
941
908
|
}];
|
|
942
909
|
};
|
|
943
|
-
readonly threadMessageLabel: {
|
|
944
|
-
label: [{
|
|
945
|
-
readonly sourceField: string[];
|
|
946
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
|
|
947
|
-
readonly destSchema: "accountLabel";
|
|
948
|
-
readonly cardinality: "one";
|
|
949
|
-
}];
|
|
950
|
-
message: [{
|
|
951
|
-
readonly sourceField: string[];
|
|
952
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
953
|
-
readonly destSchema: "threadMessage";
|
|
954
|
-
readonly cardinality: "one";
|
|
955
|
-
}];
|
|
956
|
-
};
|
|
957
910
|
};
|
|
958
911
|
enableLegacyQueries: boolean | undefined;
|
|
959
912
|
enableLegacyMutators: false;
|
|
@@ -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,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;QACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;QACvB,IAAI,CAAC,EAAE,OAAO,CAAA;KACf,CAAA;CACF,CAAA;AAmBD,eAAO,MAAM,UAAU
|
|
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,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,UAAU,CAAC,EAAE,MAAM,EAAE,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDtB,CAAA"}
|
|
@@ -658,28 +658,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
658
658
|
} & {
|
|
659
659
|
primaryKey: ["id"];
|
|
660
660
|
};
|
|
661
|
-
readonly threadMessageLabel: {
|
|
662
|
-
name: "threadMessageLabel";
|
|
663
|
-
columns: {
|
|
664
|
-
readonly labelId: {
|
|
665
|
-
type: "string";
|
|
666
|
-
optional: false;
|
|
667
|
-
customType: string;
|
|
668
|
-
} & {
|
|
669
|
-
serverName: string;
|
|
670
|
-
};
|
|
671
|
-
readonly threadMessageId: {
|
|
672
|
-
type: "string";
|
|
673
|
-
optional: false;
|
|
674
|
-
customType: string;
|
|
675
|
-
} & {
|
|
676
|
-
serverName: string;
|
|
677
|
-
};
|
|
678
|
-
};
|
|
679
|
-
primaryKey: readonly [string, ...string[]];
|
|
680
|
-
} & {
|
|
681
|
-
primaryKey: ["threadMessageId", "labelId"];
|
|
682
|
-
};
|
|
683
661
|
};
|
|
684
662
|
relationships: {
|
|
685
663
|
readonly user: {
|
|
@@ -783,17 +761,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
783
761
|
readonly destSchema: "account";
|
|
784
762
|
readonly cardinality: "one";
|
|
785
763
|
}];
|
|
786
|
-
threadMessages: [{
|
|
787
|
-
readonly sourceField: string[];
|
|
788
|
-
readonly destField: ("labelId" | "threadMessageId")[];
|
|
789
|
-
readonly destSchema: "threadMessageLabel";
|
|
790
|
-
readonly cardinality: "many";
|
|
791
|
-
}, {
|
|
792
|
-
readonly sourceField: string[];
|
|
793
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
794
|
-
readonly destSchema: "threadMessage";
|
|
795
|
-
readonly cardinality: "many";
|
|
796
|
-
}];
|
|
797
764
|
threads: [{
|
|
798
765
|
readonly sourceField: string[];
|
|
799
766
|
readonly destField: ("labelId" | "threadId")[];
|
|
@@ -929,20 +896,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
929
896
|
readonly cardinality: "one";
|
|
930
897
|
}];
|
|
931
898
|
};
|
|
932
|
-
readonly threadMessageLabel: {
|
|
933
|
-
label: [{
|
|
934
|
-
readonly sourceField: string[];
|
|
935
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
|
|
936
|
-
readonly destSchema: "accountLabel";
|
|
937
|
-
readonly cardinality: "one";
|
|
938
|
-
}];
|
|
939
|
-
message: [{
|
|
940
|
-
readonly sourceField: string[];
|
|
941
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
942
|
-
readonly destSchema: "threadMessage";
|
|
943
|
-
readonly cardinality: "one";
|
|
944
|
-
}];
|
|
945
|
-
};
|
|
946
899
|
};
|
|
947
900
|
enableLegacyQueries: boolean | undefined;
|
|
948
901
|
enableLegacyMutators: false;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKnB,CAAA"}
|
|
@@ -657,28 +657,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
657
657
|
} & {
|
|
658
658
|
primaryKey: ["id"];
|
|
659
659
|
};
|
|
660
|
-
readonly threadMessageLabel: {
|
|
661
|
-
name: "threadMessageLabel";
|
|
662
|
-
columns: {
|
|
663
|
-
readonly labelId: {
|
|
664
|
-
type: "string";
|
|
665
|
-
optional: false;
|
|
666
|
-
customType: string;
|
|
667
|
-
} & {
|
|
668
|
-
serverName: string;
|
|
669
|
-
};
|
|
670
|
-
readonly threadMessageId: {
|
|
671
|
-
type: "string";
|
|
672
|
-
optional: false;
|
|
673
|
-
customType: string;
|
|
674
|
-
} & {
|
|
675
|
-
serverName: string;
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
primaryKey: readonly [string, ...string[]];
|
|
679
|
-
} & {
|
|
680
|
-
primaryKey: ["threadMessageId", "labelId"];
|
|
681
|
-
};
|
|
682
660
|
};
|
|
683
661
|
relationships: {
|
|
684
662
|
readonly user: {
|
|
@@ -782,17 +760,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
782
760
|
readonly destSchema: "account";
|
|
783
761
|
readonly cardinality: "one";
|
|
784
762
|
}];
|
|
785
|
-
threadMessages: [{
|
|
786
|
-
readonly sourceField: string[];
|
|
787
|
-
readonly destField: ("labelId" | "threadMessageId")[];
|
|
788
|
-
readonly destSchema: "threadMessageLabel";
|
|
789
|
-
readonly cardinality: "many";
|
|
790
|
-
}, {
|
|
791
|
-
readonly sourceField: string[];
|
|
792
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
793
|
-
readonly destSchema: "threadMessage";
|
|
794
|
-
readonly cardinality: "many";
|
|
795
|
-
}];
|
|
796
763
|
threads: [{
|
|
797
764
|
readonly sourceField: string[];
|
|
798
765
|
readonly destField: ("labelId" | "threadId")[];
|
|
@@ -928,20 +895,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
928
895
|
readonly cardinality: "one";
|
|
929
896
|
}];
|
|
930
897
|
};
|
|
931
|
-
readonly threadMessageLabel: {
|
|
932
|
-
label: [{
|
|
933
|
-
readonly sourceField: string[];
|
|
934
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
|
|
935
|
-
readonly destSchema: "accountLabel";
|
|
936
|
-
readonly cardinality: "one";
|
|
937
|
-
}];
|
|
938
|
-
message: [{
|
|
939
|
-
readonly sourceField: string[];
|
|
940
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
941
|
-
readonly destSchema: "threadMessage";
|
|
942
|
-
readonly cardinality: "one";
|
|
943
|
-
}];
|
|
944
|
-
};
|
|
945
898
|
};
|
|
946
899
|
enableLegacyQueries: boolean | undefined;
|
|
947
900
|
enableLegacyMutators: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
package/dist/zero/schema.d.ts
CHANGED
|
@@ -657,28 +657,6 @@ export declare const schema: {
|
|
|
657
657
|
} & {
|
|
658
658
|
primaryKey: ["id"];
|
|
659
659
|
};
|
|
660
|
-
readonly threadMessageLabel: {
|
|
661
|
-
name: "threadMessageLabel";
|
|
662
|
-
columns: {
|
|
663
|
-
readonly labelId: {
|
|
664
|
-
type: "string";
|
|
665
|
-
optional: false;
|
|
666
|
-
customType: string;
|
|
667
|
-
} & {
|
|
668
|
-
serverName: string;
|
|
669
|
-
};
|
|
670
|
-
readonly threadMessageId: {
|
|
671
|
-
type: "string";
|
|
672
|
-
optional: false;
|
|
673
|
-
customType: string;
|
|
674
|
-
} & {
|
|
675
|
-
serverName: string;
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
primaryKey: readonly [string, ...string[]];
|
|
679
|
-
} & {
|
|
680
|
-
primaryKey: ["threadMessageId", "labelId"];
|
|
681
|
-
};
|
|
682
660
|
};
|
|
683
661
|
relationships: {
|
|
684
662
|
readonly user: {
|
|
@@ -782,17 +760,6 @@ export declare const schema: {
|
|
|
782
760
|
readonly destSchema: "account";
|
|
783
761
|
readonly cardinality: "one";
|
|
784
762
|
}];
|
|
785
|
-
threadMessages: [{
|
|
786
|
-
readonly sourceField: string[];
|
|
787
|
-
readonly destField: ("labelId" | "threadMessageId")[];
|
|
788
|
-
readonly destSchema: "threadMessageLabel";
|
|
789
|
-
readonly cardinality: "many";
|
|
790
|
-
}, {
|
|
791
|
-
readonly sourceField: string[];
|
|
792
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
793
|
-
readonly destSchema: "threadMessage";
|
|
794
|
-
readonly cardinality: "many";
|
|
795
|
-
}];
|
|
796
763
|
threads: [{
|
|
797
764
|
readonly sourceField: string[];
|
|
798
765
|
readonly destField: ("labelId" | "threadId")[];
|
|
@@ -928,20 +895,6 @@ export declare const schema: {
|
|
|
928
895
|
readonly cardinality: "one";
|
|
929
896
|
}];
|
|
930
897
|
};
|
|
931
|
-
readonly threadMessageLabel: {
|
|
932
|
-
label: [{
|
|
933
|
-
readonly sourceField: string[];
|
|
934
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
|
|
935
|
-
readonly destSchema: "accountLabel";
|
|
936
|
-
readonly cardinality: "one";
|
|
937
|
-
}];
|
|
938
|
-
message: [{
|
|
939
|
-
readonly sourceField: string[];
|
|
940
|
-
readonly destField: ("id" | "threadId" | "envelopeDate" | "envelopeSubject" | "previewText" | "senderEmail" | "senderName")[];
|
|
941
|
-
readonly destSchema: "threadMessage";
|
|
942
|
-
readonly cardinality: "one";
|
|
943
|
-
}];
|
|
944
|
-
};
|
|
945
898
|
};
|
|
946
899
|
enableLegacyQueries: boolean | undefined;
|
|
947
900
|
enableLegacyMutators: false;
|
|
@@ -1498,28 +1451,6 @@ export declare const zeroTables: {
|
|
|
1498
1451
|
} & {
|
|
1499
1452
|
primaryKey: ["id"];
|
|
1500
1453
|
}>;
|
|
1501
|
-
readonly threadMessageLabel: import("@rocicorp/zero").TableBuilderWithColumns<{
|
|
1502
|
-
name: "threadMessageLabel";
|
|
1503
|
-
columns: {
|
|
1504
|
-
readonly labelId: {
|
|
1505
|
-
type: "string";
|
|
1506
|
-
optional: false;
|
|
1507
|
-
customType: string;
|
|
1508
|
-
} & {
|
|
1509
|
-
serverName: string;
|
|
1510
|
-
};
|
|
1511
|
-
readonly threadMessageId: {
|
|
1512
|
-
type: "string";
|
|
1513
|
-
optional: false;
|
|
1514
|
-
customType: string;
|
|
1515
|
-
} & {
|
|
1516
|
-
serverName: string;
|
|
1517
|
-
};
|
|
1518
|
-
};
|
|
1519
|
-
primaryKey: readonly [string, ...string[]];
|
|
1520
|
-
} & {
|
|
1521
|
-
primaryKey: ["threadMessageId", "labelId"];
|
|
1522
|
-
}>;
|
|
1523
1454
|
readonly threadMessageRecipient: import("@rocicorp/zero").TableBuilderWithColumns<{
|
|
1524
1455
|
name: "threadMessageRecipient";
|
|
1525
1456
|
columns: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AAwZA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAjUJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmXT,CAAA"}
|
package/dist/zero/schema.js
CHANGED
|
@@ -146,13 +146,6 @@ const threadMessageAttachment = table('threadMessageAttachment')
|
|
|
146
146
|
threadMessageId: string().from('thread_message_id'),
|
|
147
147
|
})
|
|
148
148
|
.primaryKey('id');
|
|
149
|
-
const threadMessageLabel = table('threadMessageLabel')
|
|
150
|
-
.from('thread_message_label')
|
|
151
|
-
.columns({
|
|
152
|
-
labelId: string().from('label_id'),
|
|
153
|
-
threadMessageId: string().from('thread_message_id'),
|
|
154
|
-
})
|
|
155
|
-
.primaryKey('threadMessageId', 'labelId');
|
|
156
149
|
const userRelationships = relationships(user, ({ many }) => ({
|
|
157
150
|
accounts: many({
|
|
158
151
|
destField: ['userId'],
|
|
@@ -239,15 +232,6 @@ const accountLabelRelationships = relationships(accountLabel, ({ one, many }) =>
|
|
|
239
232
|
destSchema: account,
|
|
240
233
|
sourceField: ['accountId'],
|
|
241
234
|
}),
|
|
242
|
-
threadMessages: many({
|
|
243
|
-
destField: ['labelId'],
|
|
244
|
-
destSchema: threadMessageLabel,
|
|
245
|
-
sourceField: ['id'],
|
|
246
|
-
}, {
|
|
247
|
-
destField: ['id'],
|
|
248
|
-
destSchema: threadMessage,
|
|
249
|
-
sourceField: ['threadMessageId'],
|
|
250
|
-
}),
|
|
251
235
|
threads: many({
|
|
252
236
|
destField: ['labelId'],
|
|
253
237
|
destSchema: threadLabel,
|
|
@@ -363,18 +347,6 @@ const threadMessageRecipientRelationships = relationships(threadMessageRecipient
|
|
|
363
347
|
sourceField: ['threadMessageId'],
|
|
364
348
|
}),
|
|
365
349
|
}));
|
|
366
|
-
const threadMessageLabelRelationships = relationships(threadMessageLabel, ({ one }) => ({
|
|
367
|
-
label: one({
|
|
368
|
-
destField: ['id'],
|
|
369
|
-
destSchema: accountLabel,
|
|
370
|
-
sourceField: ['labelId'],
|
|
371
|
-
}),
|
|
372
|
-
message: one({
|
|
373
|
-
destField: ['id'],
|
|
374
|
-
destSchema: threadMessage,
|
|
375
|
-
sourceField: ['threadMessageId'],
|
|
376
|
-
}),
|
|
377
|
-
}));
|
|
378
350
|
export const schema = createSchema({
|
|
379
351
|
enableLegacyMutators: false,
|
|
380
352
|
relationships: [
|
|
@@ -392,7 +364,6 @@ export const schema = createSchema({
|
|
|
392
364
|
threadMessageRelationships,
|
|
393
365
|
threadMessageAttachmentRelationships,
|
|
394
366
|
threadMessageRecipientRelationships,
|
|
395
|
-
threadMessageLabelRelationships,
|
|
396
367
|
],
|
|
397
368
|
tables: [
|
|
398
369
|
user,
|
|
@@ -409,7 +380,6 @@ export const schema = createSchema({
|
|
|
409
380
|
threadMessage,
|
|
410
381
|
threadMessageRecipient,
|
|
411
382
|
threadMessageAttachment,
|
|
412
|
-
threadMessageLabel,
|
|
413
383
|
],
|
|
414
384
|
});
|
|
415
385
|
export const zeroTables = {
|
|
@@ -424,7 +394,6 @@ export const zeroTables = {
|
|
|
424
394
|
threadLabel,
|
|
425
395
|
threadMessage,
|
|
426
396
|
threadMessageAttachment,
|
|
427
|
-
threadMessageLabel,
|
|
428
397
|
threadMessageRecipient,
|
|
429
398
|
user,
|
|
430
399
|
userPushNotificationToken,
|