@marcoappio/marco-config 2.0.423 → 2.0.424

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.
@@ -902,16 +902,11 @@ export declare const marcoZero: {
902
902
  readonly destSchema: "threadMessageAttachment";
903
903
  readonly cardinality: "many";
904
904
  }];
905
- labels: [{
905
+ labelMappings: [{
906
906
  readonly sourceField: string[];
907
907
  readonly destField: ("labelId" | "threadMessageId")[];
908
908
  readonly destSchema: "threadMessageLabel";
909
909
  readonly cardinality: "many";
910
- }, {
911
- readonly sourceField: string[];
912
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
913
- readonly destSchema: "accountLabel";
914
- readonly cardinality: "many";
915
910
  }];
916
911
  recipients: [{
917
912
  readonly sourceField: string[];
@@ -1900,16 +1895,11 @@ export declare const marcoZero: {
1900
1895
  readonly destSchema: "threadMessageAttachment";
1901
1896
  readonly cardinality: "many";
1902
1897
  }];
1903
- labels: [{
1898
+ labelMappings: [{
1904
1899
  readonly sourceField: string[];
1905
1900
  readonly destField: ("labelId" | "threadMessageId")[];
1906
1901
  readonly destSchema: "threadMessageLabel";
1907
1902
  readonly cardinality: "many";
1908
- }, {
1909
- readonly sourceField: string[];
1910
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
1911
- readonly destSchema: "accountLabel";
1912
- readonly cardinality: "many";
1913
1903
  }];
1914
1904
  recipients: [{
1915
1905
  readonly sourceField: string[];
@@ -2868,16 +2858,11 @@ export declare const marcoZero: {
2868
2858
  readonly destSchema: "threadMessageAttachment";
2869
2859
  readonly cardinality: "many";
2870
2860
  }];
2871
- labels: [{
2861
+ labelMappings: [{
2872
2862
  readonly sourceField: string[];
2873
2863
  readonly destField: ("labelId" | "threadMessageId")[];
2874
2864
  readonly destSchema: "threadMessageLabel";
2875
2865
  readonly cardinality: "many";
2876
- }, {
2877
- readonly sourceField: string[];
2878
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
2879
- readonly destSchema: "accountLabel";
2880
- readonly cardinality: "many";
2881
2866
  }];
2882
2867
  recipients: [{
2883
2868
  readonly sourceField: string[];
@@ -2945,25 +2930,6 @@ export declare const marcoZero: {
2945
2930
  readonly type: "NEW" | "REPLY" | "FORWARD";
2946
2931
  readonly updatedAt: number;
2947
2932
  readonly userId: string;
2948
- } & {
2949
- readonly account: ({
2950
- readonly color: string;
2951
- readonly displayName: string | null;
2952
- readonly id: string;
2953
- readonly imapConnectionStatus: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
2954
- readonly mailProcessedCount: number;
2955
- readonly mailTotalCount: number;
2956
- readonly primaryAliasId: string | null;
2957
- readonly userId: string;
2958
- } & {
2959
- readonly aliases: readonly {
2960
- readonly accountId: string;
2961
- readonly emailAddress: string;
2962
- readonly id: string;
2963
- readonly isPrimary: boolean;
2964
- readonly name: string | null;
2965
- }[];
2966
- }) | undefined;
2967
2933
  } & {
2968
2934
  readonly recipients: readonly {
2969
2935
  readonly draftId: string;
@@ -3894,16 +3860,11 @@ export declare const marcoZero: {
3894
3860
  readonly destSchema: "threadMessageAttachment";
3895
3861
  readonly cardinality: "many";
3896
3862
  }];
3897
- labels: [{
3863
+ labelMappings: [{
3898
3864
  readonly sourceField: string[];
3899
3865
  readonly destField: ("labelId" | "threadMessageId")[];
3900
3866
  readonly destSchema: "threadMessageLabel";
3901
3867
  readonly cardinality: "many";
3902
- }, {
3903
- readonly sourceField: string[];
3904
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
3905
- readonly destSchema: "accountLabel";
3906
- readonly cardinality: "many";
3907
3868
  }];
3908
3869
  recipients: [{
3909
3870
  readonly sourceField: string[];
@@ -3986,11 +3947,9 @@ export declare const marcoZero: {
3986
3947
  readonly threadMessageId: string;
3987
3948
  }[];
3988
3949
  } & {
3989
- readonly labels: readonly {
3990
- readonly accountId: string;
3991
- readonly id: string;
3992
- readonly path: string;
3993
- readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
3950
+ readonly labelMappings: readonly {
3951
+ readonly labelId: string;
3952
+ readonly threadMessageId: string;
3994
3953
  }[];
3995
3954
  })[];
3996
3955
  } & {
@@ -4913,16 +4872,11 @@ export declare const marcoZero: {
4913
4872
  readonly destSchema: "threadMessageAttachment";
4914
4873
  readonly cardinality: "many";
4915
4874
  }];
4916
- labels: [{
4875
+ labelMappings: [{
4917
4876
  readonly sourceField: string[];
4918
4877
  readonly destField: ("labelId" | "threadMessageId")[];
4919
4878
  readonly destSchema: "threadMessageLabel";
4920
4879
  readonly cardinality: "many";
4921
- }, {
4922
- readonly sourceField: string[];
4923
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
4924
- readonly destSchema: "accountLabel";
4925
- readonly cardinality: "many";
4926
4880
  }];
4927
4881
  recipients: [{
4928
4882
  readonly sourceField: string[];
@@ -5912,16 +5866,11 @@ export declare const marcoZero: {
5912
5866
  readonly destSchema: "threadMessageAttachment";
5913
5867
  readonly cardinality: "many";
5914
5868
  }];
5915
- labels: [{
5869
+ labelMappings: [{
5916
5870
  readonly sourceField: string[];
5917
5871
  readonly destField: ("labelId" | "threadMessageId")[];
5918
5872
  readonly destSchema: "threadMessageLabel";
5919
5873
  readonly cardinality: "many";
5920
- }, {
5921
- readonly sourceField: string[];
5922
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
5923
- readonly destSchema: "accountLabel";
5924
- readonly cardinality: "many";
5925
5874
  }];
5926
5875
  recipients: [{
5927
5876
  readonly sourceField: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
@@ -900,16 +900,11 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
900
900
  readonly destSchema: "threadMessageAttachment";
901
901
  readonly cardinality: "many";
902
902
  }];
903
- labels: [{
903
+ labelMappings: [{
904
904
  readonly sourceField: string[];
905
905
  readonly destField: ("labelId" | "threadMessageId")[];
906
906
  readonly destSchema: "threadMessageLabel";
907
907
  readonly cardinality: "many";
908
- }, {
909
- readonly sourceField: string[];
910
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
911
- readonly destSchema: "accountLabel";
912
- readonly cardinality: "many";
913
908
  }];
914
909
  recipients: [{
915
910
  readonly sourceField: string[];
@@ -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"}
@@ -908,16 +908,11 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
908
908
  readonly destSchema: "threadMessageAttachment";
909
909
  readonly cardinality: "many";
910
910
  }];
911
- labels: [{
911
+ labelMappings: [{
912
912
  readonly sourceField: string[];
913
913
  readonly destField: ("labelId" | "threadMessageId")[];
914
914
  readonly destSchema: "threadMessageLabel";
915
915
  readonly cardinality: "many";
916
- }, {
917
- readonly sourceField: string[];
918
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
919
- readonly destSchema: "accountLabel";
920
- readonly cardinality: "many";
921
916
  }];
922
917
  recipients: [{
923
918
  readonly sourceField: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"getContacts.d.ts","sourceRoot":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BvB,CAAA"}
@@ -906,16 +906,11 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
906
906
  readonly destSchema: "threadMessageAttachment";
907
907
  readonly cardinality: "many";
908
908
  }];
909
- labels: [{
909
+ labelMappings: [{
910
910
  readonly sourceField: string[];
911
911
  readonly destField: ("labelId" | "threadMessageId")[];
912
912
  readonly destSchema: "threadMessageLabel";
913
913
  readonly cardinality: "many";
914
- }, {
915
- readonly sourceField: string[];
916
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
917
- readonly destSchema: "accountLabel";
918
- readonly cardinality: "many";
919
914
  }];
920
915
  recipients: [{
921
916
  readonly sourceField: string[];
@@ -983,25 +978,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
983
978
  readonly type: "NEW" | "REPLY" | "FORWARD";
984
979
  readonly updatedAt: number;
985
980
  readonly userId: string;
986
- } & {
987
- readonly account: ({
988
- readonly color: string;
989
- readonly displayName: string | null;
990
- readonly id: string;
991
- readonly imapConnectionStatus: "AWAITING_CONNECTION" | "CONNECTED" | "CONNECTION_FAILED_AUTHENTICATION_ERROR" | "CONNECTION_FAILED_CONNECTION_ERROR" | "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR" | "CONNECTION_FAILED_QUOTA_ERROR" | "CONNECTION_FAILED_UNKNOWN_ERROR";
992
- readonly mailProcessedCount: number;
993
- readonly mailTotalCount: number;
994
- readonly primaryAliasId: string | null;
995
- readonly userId: string;
996
- } & {
997
- readonly aliases: readonly {
998
- readonly accountId: string;
999
- readonly emailAddress: string;
1000
- readonly id: string;
1001
- readonly isPrimary: boolean;
1002
- readonly name: string | null;
1003
- }[];
1004
- }) | undefined;
1005
981
  } & {
1006
982
  readonly recipients: readonly {
1007
983
  readonly draftId: string;
@@ -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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@ -15,7 +15,6 @@ const parseArgs = (args) => {
15
15
  export const getDrafts = syncedQueryWithContext('getDrafts', parseArgs, ({ userId }, { status, accountId, limit }) => {
16
16
  let query = z.draft
17
17
  .where('userId', userId)
18
- .related('account', x => x.related('aliases'))
19
18
  .related('recipients')
20
19
  .related('attachments')
21
20
  .orderBy('updatedAt', 'desc');
@@ -911,16 +911,11 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
911
911
  readonly destSchema: "threadMessageAttachment";
912
912
  readonly cardinality: "many";
913
913
  }];
914
- labels: [{
914
+ labelMappings: [{
915
915
  readonly sourceField: string[];
916
916
  readonly destField: ("labelId" | "threadMessageId")[];
917
917
  readonly destSchema: "threadMessageLabel";
918
918
  readonly cardinality: "many";
919
- }, {
920
- readonly sourceField: string[];
921
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
922
- readonly destSchema: "accountLabel";
923
- readonly cardinality: "many";
924
919
  }];
925
920
  recipients: [{
926
921
  readonly sourceField: string[];
@@ -1003,11 +998,9 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
1003
998
  readonly threadMessageId: string;
1004
999
  }[];
1005
1000
  } & {
1006
- readonly labels: readonly {
1007
- readonly accountId: string;
1008
- readonly id: string;
1009
- readonly path: string;
1010
- readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
1001
+ readonly labelMappings: readonly {
1002
+ readonly labelId: string;
1003
+ readonly threadMessageId: string;
1011
1004
  }[];
1012
1005
  })[];
1013
1006
  } & {
@@ -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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDtB,CAAA"}
@@ -20,7 +20,7 @@ const parseArgs = (args) => {
20
20
  export const getThreads = syncedQueryWithContext('getThreads', parseArgs, ({ userId }, { search, limit, where }) => {
21
21
  let query = z.thread
22
22
  .where('userId', userId)
23
- .related('messages', x => x.related('recipients').related('attachments').related('labels'))
23
+ .related('messages', x => x.related('recipients').related('attachments').related('labelMappings'))
24
24
  .related('labels')
25
25
  .related('account')
26
26
  .orderBy('latestMessageDate', 'desc');
@@ -900,16 +900,11 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
900
900
  readonly destSchema: "threadMessageAttachment";
901
901
  readonly cardinality: "many";
902
902
  }];
903
- labels: [{
903
+ labelMappings: [{
904
904
  readonly sourceField: string[];
905
905
  readonly destField: ("labelId" | "threadMessageId")[];
906
906
  readonly destSchema: "threadMessageLabel";
907
907
  readonly cardinality: "many";
908
- }, {
909
- readonly sourceField: string[];
910
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
911
- readonly destSchema: "accountLabel";
912
- readonly cardinality: "many";
913
908
  }];
914
909
  recipients: [{
915
910
  readonly sourceField: string[];
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKnB,CAAA"}
@@ -899,16 +899,11 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
899
899
  readonly destSchema: "threadMessageAttachment";
900
900
  readonly cardinality: "many";
901
901
  }];
902
- labels: [{
902
+ labelMappings: [{
903
903
  readonly sourceField: string[];
904
904
  readonly destField: ("labelId" | "threadMessageId")[];
905
905
  readonly destSchema: "threadMessageLabel";
906
906
  readonly cardinality: "many";
907
- }, {
908
- readonly sourceField: string[];
909
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
910
- readonly destSchema: "accountLabel";
911
- readonly cardinality: "many";
912
907
  }];
913
908
  recipients: [{
914
909
  readonly sourceField: string[];
@@ -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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AAE,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"}
@@ -899,16 +899,11 @@ export declare const schema: {
899
899
  readonly destSchema: "threadMessageAttachment";
900
900
  readonly cardinality: "many";
901
901
  }];
902
- labels: [{
902
+ labelMappings: [{
903
903
  readonly sourceField: string[];
904
904
  readonly destField: ("labelId" | "threadMessageId")[];
905
905
  readonly destSchema: "threadMessageLabel";
906
906
  readonly cardinality: "many";
907
- }, {
908
- readonly sourceField: string[];
909
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
910
- readonly destSchema: "accountLabel";
911
- readonly cardinality: "many";
912
907
  }];
913
908
  recipients: [{
914
909
  readonly sourceField: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AAqcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA9WJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ZT,CAAA"}
@@ -338,14 +338,10 @@ const threadMessageRelationships = relationships(threadMessage, ({ one, many })
338
338
  destSchema: threadMessageAttachment,
339
339
  sourceField: ['id'],
340
340
  }),
341
- labels: many({
341
+ labelMappings: many({
342
342
  destField: ['threadMessageId'],
343
343
  destSchema: threadMessageLabel,
344
344
  sourceField: ['id'],
345
- }, {
346
- destField: ['id'],
347
- destSchema: accountLabel,
348
- sourceField: ['labelId'],
349
345
  }),
350
346
  recipients: many({
351
347
  destField: ['threadMessageId'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.423",
3
+ "version": "2.0.424",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",