@marcoappio/marco-config 2.0.468 → 2.0.469
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 +93 -35
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +15 -0
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +62 -2
- package/dist/zero/queries/getAccounts.d.ts +12 -5
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +12 -5
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.d.ts +12 -5
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getThreadList.d.ts +13 -5
- package/dist/zero/queries/getThreadList.d.ts.map +1 -1
- package/dist/zero/queries/getThreadList.js +1 -1
- package/dist/zero/queries/getThreads.d.ts +13 -5
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.js +1 -1
- package/dist/zero/queries/getUser.d.ts +12 -5
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/index.d.ts +12 -5
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +19 -5
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +1 -0
- package/package.json +1 -1
|
@@ -441,6 +441,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
441
441
|
optional: false;
|
|
442
442
|
customType: string;
|
|
443
443
|
};
|
|
444
|
+
readonly labelIdList: {
|
|
445
|
+
type: "string";
|
|
446
|
+
optional: false;
|
|
447
|
+
customType: string;
|
|
448
|
+
} & {
|
|
449
|
+
serverName: string;
|
|
450
|
+
};
|
|
444
451
|
readonly latestMessageDate: {
|
|
445
452
|
type: "number";
|
|
446
453
|
optional: false;
|
|
@@ -698,7 +705,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
698
705
|
}];
|
|
699
706
|
threads: [{
|
|
700
707
|
readonly sourceField: string[];
|
|
701
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
708
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
702
709
|
readonly destSchema: "thread";
|
|
703
710
|
readonly cardinality: "many";
|
|
704
711
|
}];
|
|
@@ -746,7 +753,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
746
753
|
}];
|
|
747
754
|
threads: [{
|
|
748
755
|
readonly sourceField: string[];
|
|
749
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
756
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
750
757
|
readonly destSchema: "thread";
|
|
751
758
|
readonly cardinality: "many";
|
|
752
759
|
}];
|
|
@@ -779,7 +786,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
779
786
|
readonly cardinality: "many";
|
|
780
787
|
}, {
|
|
781
788
|
readonly sourceField: string[];
|
|
782
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
789
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
783
790
|
readonly destSchema: "thread";
|
|
784
791
|
readonly cardinality: "many";
|
|
785
792
|
}];
|
|
@@ -858,7 +865,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
858
865
|
}];
|
|
859
866
|
thread: [{
|
|
860
867
|
readonly sourceField: string[];
|
|
861
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
868
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
862
869
|
readonly destSchema: "thread";
|
|
863
870
|
readonly cardinality: "one";
|
|
864
871
|
}];
|
|
@@ -889,7 +896,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
889
896
|
}];
|
|
890
897
|
thread: [{
|
|
891
898
|
readonly sourceField: string[];
|
|
892
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
899
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
893
900
|
readonly destSchema: "thread";
|
|
894
901
|
readonly cardinality: "one";
|
|
895
902
|
}];
|
|
@@ -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,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
|
package/dist/zero/schema.d.ts
CHANGED
|
@@ -441,6 +441,13 @@ export declare const schema: {
|
|
|
441
441
|
optional: false;
|
|
442
442
|
customType: string;
|
|
443
443
|
};
|
|
444
|
+
readonly labelIdList: {
|
|
445
|
+
type: "string";
|
|
446
|
+
optional: false;
|
|
447
|
+
customType: string;
|
|
448
|
+
} & {
|
|
449
|
+
serverName: string;
|
|
450
|
+
};
|
|
444
451
|
readonly latestMessageDate: {
|
|
445
452
|
type: "number";
|
|
446
453
|
optional: false;
|
|
@@ -698,7 +705,7 @@ export declare const schema: {
|
|
|
698
705
|
}];
|
|
699
706
|
threads: [{
|
|
700
707
|
readonly sourceField: string[];
|
|
701
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
708
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
702
709
|
readonly destSchema: "thread";
|
|
703
710
|
readonly cardinality: "many";
|
|
704
711
|
}];
|
|
@@ -746,7 +753,7 @@ export declare const schema: {
|
|
|
746
753
|
}];
|
|
747
754
|
threads: [{
|
|
748
755
|
readonly sourceField: string[];
|
|
749
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
756
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
750
757
|
readonly destSchema: "thread";
|
|
751
758
|
readonly cardinality: "many";
|
|
752
759
|
}];
|
|
@@ -779,7 +786,7 @@ export declare const schema: {
|
|
|
779
786
|
readonly cardinality: "many";
|
|
780
787
|
}, {
|
|
781
788
|
readonly sourceField: string[];
|
|
782
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
789
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
783
790
|
readonly destSchema: "thread";
|
|
784
791
|
readonly cardinality: "many";
|
|
785
792
|
}];
|
|
@@ -858,7 +865,7 @@ export declare const schema: {
|
|
|
858
865
|
}];
|
|
859
866
|
thread: [{
|
|
860
867
|
readonly sourceField: string[];
|
|
861
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
868
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
862
869
|
readonly destSchema: "thread";
|
|
863
870
|
readonly cardinality: "one";
|
|
864
871
|
}];
|
|
@@ -889,7 +896,7 @@ export declare const schema: {
|
|
|
889
896
|
}];
|
|
890
897
|
thread: [{
|
|
891
898
|
readonly sourceField: string[];
|
|
892
|
-
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "latestMessageDate" | "seen" | "words")[];
|
|
899
|
+
readonly destField: ("id" | "userId" | "accountId" | "flagged" | "labelIdList" | "latestMessageDate" | "seen" | "words")[];
|
|
893
900
|
readonly destSchema: "thread";
|
|
894
901
|
readonly cardinality: "one";
|
|
895
902
|
}];
|
|
@@ -1289,6 +1296,13 @@ export declare const zeroTables: {
|
|
|
1289
1296
|
optional: false;
|
|
1290
1297
|
customType: string;
|
|
1291
1298
|
};
|
|
1299
|
+
readonly labelIdList: {
|
|
1300
|
+
type: "string";
|
|
1301
|
+
optional: false;
|
|
1302
|
+
customType: string;
|
|
1303
|
+
} & {
|
|
1304
|
+
serverName: string;
|
|
1305
|
+
};
|
|
1292
1306
|
readonly latestMessageDate: {
|
|
1293
1307
|
type: "number";
|
|
1294
1308
|
optional: false;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA/T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M,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8WT,CAAA"}
|
package/dist/zero/schema.js
CHANGED
|
@@ -92,6 +92,7 @@ const thread = table('thread')
|
|
|
92
92
|
accountId: string().from('account_id'),
|
|
93
93
|
flagged: boolean(),
|
|
94
94
|
id: string(),
|
|
95
|
+
labelIdList: string().from('label_id_list'),
|
|
95
96
|
latestMessageDate: numeric().from('latest_message_date'),
|
|
96
97
|
seen: boolean(),
|
|
97
98
|
userId: string().from('user_id'),
|