@marcoappio/marco-config 2.0.461 → 2.0.463

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.
@@ -13,6 +13,9 @@ type MarcoPublicConfig = {
13
13
  host: string;
14
14
  key: string;
15
15
  };
16
+ img: {
17
+ baseUrl: string;
18
+ };
16
19
  };
17
20
  oauth: {
18
21
  google: {
@@ -1 +1 @@
1
- {"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAGP,CAAA;AAEf,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AA+FD,eAAO,MAAM,iBAAiB,SAAS,gBAAgB,sBAAmC,CAAA"}
1
+ {"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAGP,CAAA;AAEf,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAwGD,eAAO,MAAM,iBAAiB,SAAS,gBAAgB,sBAAmC,CAAA"}
@@ -10,6 +10,9 @@ const configMap = {
10
10
  app: {
11
11
  baseUrl: 'https://app.staging.marcoapp.io',
12
12
  },
13
+ img: {
14
+ baseUrl: 'https://img.staging.marcoapp.io',
15
+ },
13
16
  ws: {
14
17
  appId: 'marco-ws-staging',
15
18
  host: 'ws.staging.marcoapp.io',
@@ -40,6 +43,9 @@ const configMap = {
40
43
  app: {
41
44
  baseUrl: 'https://app.marcoapp.io',
42
45
  },
46
+ img: {
47
+ baseUrl: 'https://img.marcoapp.io',
48
+ },
43
49
  ws: {
44
50
  appId: 'marco-ws-production',
45
51
  host: 'ws.marcoapp.io',
@@ -70,6 +76,9 @@ const configMap = {
70
76
  app: {
71
77
  baseUrl: 'https://app.staging.marcoapp.io',
72
78
  },
79
+ img: {
80
+ baseUrl: 'https://img.staging.marcoapp.io',
81
+ },
73
82
  ws: {
74
83
  appId: 'marco-ws-staging',
75
84
  host: 'ws.staging.marcoapp.io',
@@ -1,6 +1,5 @@
1
1
  export * from './AuthData';
2
2
  export * from './DraftAttachmentUploadStatus';
3
- export * from './DraftRecipientType';
4
3
  export * from './DraftStatus';
5
4
  export * from './DraftType';
6
5
  export * from './EmailProvider';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}
@@ -1,6 +1,5 @@
1
1
  export * from './AuthData';
2
2
  export * from './DraftAttachmentUploadStatus';
3
- export * from './DraftRecipientType';
4
3
  export * from './DraftStatus';
5
4
  export * from './DraftType';
6
5
  export * from './EmailProvider';
@@ -708,38 +708,6 @@ export declare const marcoZero: {
708
708
  } & {
709
709
  primaryKey: ["id"];
710
710
  };
711
- readonly draftRecipient: {
712
- name: "draftRecipient";
713
- columns: {
714
- readonly draftId: {
715
- type: "string";
716
- optional: false;
717
- customType: string;
718
- } & {
719
- serverName: string;
720
- };
721
- readonly emailAddress: {
722
- type: "string";
723
- optional: false;
724
- customType: string;
725
- } & {
726
- serverName: string;
727
- };
728
- readonly id: {
729
- type: "string";
730
- optional: false;
731
- customType: string;
732
- };
733
- readonly type: {
734
- type: "string";
735
- optional: false;
736
- customType: "bcc" | "cc" | "to";
737
- };
738
- };
739
- primaryKey: readonly [string, ...string[]];
740
- } & {
741
- primaryKey: ["id"];
742
- };
743
711
  readonly draftAttachment: {
744
712
  name: "draftAttachment";
745
713
  columns: {
@@ -1164,12 +1132,6 @@ export declare const marcoZero: {
1164
1132
  readonly destSchema: "draftAttachment";
1165
1133
  readonly cardinality: "many";
1166
1134
  }];
1167
- recipients: [{
1168
- readonly sourceField: string[];
1169
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
1170
- readonly destSchema: "draftRecipient";
1171
- readonly cardinality: "many";
1172
- }];
1173
1135
  user: [{
1174
1136
  readonly sourceField: string[];
1175
1137
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -1177,14 +1139,6 @@ export declare const marcoZero: {
1177
1139
  readonly cardinality: "one";
1178
1140
  }];
1179
1141
  };
1180
- readonly draftRecipient: {
1181
- draft: [{
1182
- readonly sourceField: string[];
1183
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1184
- readonly destSchema: "draft";
1185
- readonly cardinality: "one";
1186
- }];
1187
- };
1188
1142
  readonly draftAttachment: {
1189
1143
  draft: [{
1190
1144
  readonly sourceField: string[];
@@ -1705,38 +1659,6 @@ export declare const marcoZero: {
1705
1659
  } & {
1706
1660
  primaryKey: ["id"];
1707
1661
  };
1708
- readonly draftRecipient: {
1709
- name: "draftRecipient";
1710
- columns: {
1711
- readonly draftId: {
1712
- type: "string";
1713
- optional: false;
1714
- customType: string;
1715
- } & {
1716
- serverName: string;
1717
- };
1718
- readonly emailAddress: {
1719
- type: "string";
1720
- optional: false;
1721
- customType: string;
1722
- } & {
1723
- serverName: string;
1724
- };
1725
- readonly id: {
1726
- type: "string";
1727
- optional: false;
1728
- customType: string;
1729
- };
1730
- readonly type: {
1731
- type: "string";
1732
- optional: false;
1733
- customType: "bcc" | "cc" | "to";
1734
- };
1735
- };
1736
- primaryKey: readonly [string, ...string[]];
1737
- } & {
1738
- primaryKey: ["id"];
1739
- };
1740
1662
  readonly draftAttachment: {
1741
1663
  name: "draftAttachment";
1742
1664
  columns: {
@@ -2161,12 +2083,6 @@ export declare const marcoZero: {
2161
2083
  readonly destSchema: "draftAttachment";
2162
2084
  readonly cardinality: "many";
2163
2085
  }];
2164
- recipients: [{
2165
- readonly sourceField: string[];
2166
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
2167
- readonly destSchema: "draftRecipient";
2168
- readonly cardinality: "many";
2169
- }];
2170
2086
  user: [{
2171
2087
  readonly sourceField: string[];
2172
2088
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -2174,14 +2090,6 @@ export declare const marcoZero: {
2174
2090
  readonly cardinality: "one";
2175
2091
  }];
2176
2092
  };
2177
- readonly draftRecipient: {
2178
- draft: [{
2179
- readonly sourceField: string[];
2180
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2181
- readonly destSchema: "draft";
2182
- readonly cardinality: "one";
2183
- }];
2184
- };
2185
2093
  readonly draftAttachment: {
2186
2094
  draft: [{
2187
2095
  readonly sourceField: string[];
@@ -2669,38 +2577,6 @@ export declare const marcoZero: {
2669
2577
  } & {
2670
2578
  primaryKey: ["id"];
2671
2579
  };
2672
- readonly draftRecipient: {
2673
- name: "draftRecipient";
2674
- columns: {
2675
- readonly draftId: {
2676
- type: "string";
2677
- optional: false;
2678
- customType: string;
2679
- } & {
2680
- serverName: string;
2681
- };
2682
- readonly emailAddress: {
2683
- type: "string";
2684
- optional: false;
2685
- customType: string;
2686
- } & {
2687
- serverName: string;
2688
- };
2689
- readonly id: {
2690
- type: "string";
2691
- optional: false;
2692
- customType: string;
2693
- };
2694
- readonly type: {
2695
- type: "string";
2696
- optional: false;
2697
- customType: "bcc" | "cc" | "to";
2698
- };
2699
- };
2700
- primaryKey: readonly [string, ...string[]];
2701
- } & {
2702
- primaryKey: ["id"];
2703
- };
2704
2580
  readonly draftAttachment: {
2705
2581
  name: "draftAttachment";
2706
2582
  columns: {
@@ -3125,12 +3001,6 @@ export declare const marcoZero: {
3125
3001
  readonly destSchema: "draftAttachment";
3126
3002
  readonly cardinality: "many";
3127
3003
  }];
3128
- recipients: [{
3129
- readonly sourceField: string[];
3130
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
3131
- readonly destSchema: "draftRecipient";
3132
- readonly cardinality: "many";
3133
- }];
3134
3004
  user: [{
3135
3005
  readonly sourceField: string[];
3136
3006
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -3138,14 +3008,6 @@ export declare const marcoZero: {
3138
3008
  readonly cardinality: "one";
3139
3009
  }];
3140
3010
  };
3141
- readonly draftRecipient: {
3142
- draft: [{
3143
- readonly sourceField: string[];
3144
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3145
- readonly destSchema: "draft";
3146
- readonly cardinality: "one";
3147
- }];
3148
- };
3149
3011
  readonly draftAttachment: {
3150
3012
  draft: [{
3151
3013
  readonly sourceField: string[];
@@ -3275,13 +3137,6 @@ export declare const marcoZero: {
3275
3137
  readonly type: "NEW" | "REPLY" | "FORWARD";
3276
3138
  readonly updatedAt: number;
3277
3139
  readonly userId: string;
3278
- } & {
3279
- readonly recipients: readonly {
3280
- readonly draftId: string;
3281
- readonly emailAddress: string;
3282
- readonly id: string;
3283
- readonly type: "bcc" | "cc" | "to";
3284
- }[];
3285
3140
  } & {
3286
3141
  readonly attachments: readonly {
3287
3142
  readonly draftId: string;
@@ -3671,38 +3526,6 @@ export declare const marcoZero: {
3671
3526
  } & {
3672
3527
  primaryKey: ["id"];
3673
3528
  };
3674
- readonly draftRecipient: {
3675
- name: "draftRecipient";
3676
- columns: {
3677
- readonly draftId: {
3678
- type: "string";
3679
- optional: false;
3680
- customType: string;
3681
- } & {
3682
- serverName: string;
3683
- };
3684
- readonly emailAddress: {
3685
- type: "string";
3686
- optional: false;
3687
- customType: string;
3688
- } & {
3689
- serverName: string;
3690
- };
3691
- readonly id: {
3692
- type: "string";
3693
- optional: false;
3694
- customType: string;
3695
- };
3696
- readonly type: {
3697
- type: "string";
3698
- optional: false;
3699
- customType: "bcc" | "cc" | "to";
3700
- };
3701
- };
3702
- primaryKey: readonly [string, ...string[]];
3703
- } & {
3704
- primaryKey: ["id"];
3705
- };
3706
3529
  readonly draftAttachment: {
3707
3530
  name: "draftAttachment";
3708
3531
  columns: {
@@ -4127,12 +3950,6 @@ export declare const marcoZero: {
4127
3950
  readonly destSchema: "draftAttachment";
4128
3951
  readonly cardinality: "many";
4129
3952
  }];
4130
- recipients: [{
4131
- readonly sourceField: string[];
4132
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
4133
- readonly destSchema: "draftRecipient";
4134
- readonly cardinality: "many";
4135
- }];
4136
3953
  user: [{
4137
3954
  readonly sourceField: string[];
4138
3955
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -4140,14 +3957,6 @@ export declare const marcoZero: {
4140
3957
  readonly cardinality: "one";
4141
3958
  }];
4142
3959
  };
4143
- readonly draftRecipient: {
4144
- draft: [{
4145
- readonly sourceField: string[];
4146
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
4147
- readonly destSchema: "draft";
4148
- readonly cardinality: "one";
4149
- }];
4150
- };
4151
3960
  readonly draftAttachment: {
4152
3961
  draft: [{
4153
3962
  readonly sourceField: string[];
@@ -4670,38 +4479,6 @@ export declare const marcoZero: {
4670
4479
  } & {
4671
4480
  primaryKey: ["id"];
4672
4481
  };
4673
- readonly draftRecipient: {
4674
- name: "draftRecipient";
4675
- columns: {
4676
- readonly draftId: {
4677
- type: "string";
4678
- optional: false;
4679
- customType: string;
4680
- } & {
4681
- serverName: string;
4682
- };
4683
- readonly emailAddress: {
4684
- type: "string";
4685
- optional: false;
4686
- customType: string;
4687
- } & {
4688
- serverName: string;
4689
- };
4690
- readonly id: {
4691
- type: "string";
4692
- optional: false;
4693
- customType: string;
4694
- };
4695
- readonly type: {
4696
- type: "string";
4697
- optional: false;
4698
- customType: "bcc" | "cc" | "to";
4699
- };
4700
- };
4701
- primaryKey: readonly [string, ...string[]];
4702
- } & {
4703
- primaryKey: ["id"];
4704
- };
4705
4482
  readonly draftAttachment: {
4706
4483
  name: "draftAttachment";
4707
4484
  columns: {
@@ -5126,12 +4903,6 @@ export declare const marcoZero: {
5126
4903
  readonly destSchema: "draftAttachment";
5127
4904
  readonly cardinality: "many";
5128
4905
  }];
5129
- recipients: [{
5130
- readonly sourceField: string[];
5131
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
5132
- readonly destSchema: "draftRecipient";
5133
- readonly cardinality: "many";
5134
- }];
5135
4906
  user: [{
5136
4907
  readonly sourceField: string[];
5137
4908
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -5139,14 +4910,6 @@ export declare const marcoZero: {
5139
4910
  readonly cardinality: "one";
5140
4911
  }];
5141
4912
  };
5142
- readonly draftRecipient: {
5143
- draft: [{
5144
- readonly sourceField: string[];
5145
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
5146
- readonly destSchema: "draft";
5147
- readonly cardinality: "one";
5148
- }];
5149
- };
5150
4913
  readonly draftAttachment: {
5151
4914
  draft: [{
5152
4915
  readonly sourceField: string[];
@@ -5674,38 +5437,6 @@ export declare const marcoZero: {
5674
5437
  } & {
5675
5438
  primaryKey: ["id"];
5676
5439
  };
5677
- readonly draftRecipient: {
5678
- name: "draftRecipient";
5679
- columns: {
5680
- readonly draftId: {
5681
- type: "string";
5682
- optional: false;
5683
- customType: string;
5684
- } & {
5685
- serverName: string;
5686
- };
5687
- readonly emailAddress: {
5688
- type: "string";
5689
- optional: false;
5690
- customType: string;
5691
- } & {
5692
- serverName: string;
5693
- };
5694
- readonly id: {
5695
- type: "string";
5696
- optional: false;
5697
- customType: string;
5698
- };
5699
- readonly type: {
5700
- type: "string";
5701
- optional: false;
5702
- customType: "bcc" | "cc" | "to";
5703
- };
5704
- };
5705
- primaryKey: readonly [string, ...string[]];
5706
- } & {
5707
- primaryKey: ["id"];
5708
- };
5709
5440
  readonly draftAttachment: {
5710
5441
  name: "draftAttachment";
5711
5442
  columns: {
@@ -6130,12 +5861,6 @@ export declare const marcoZero: {
6130
5861
  readonly destSchema: "draftAttachment";
6131
5862
  readonly cardinality: "many";
6132
5863
  }];
6133
- recipients: [{
6134
- readonly sourceField: string[];
6135
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
6136
- readonly destSchema: "draftRecipient";
6137
- readonly cardinality: "many";
6138
- }];
6139
5864
  user: [{
6140
5865
  readonly sourceField: string[];
6141
5866
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -6143,14 +5868,6 @@ export declare const marcoZero: {
6143
5868
  readonly cardinality: "one";
6144
5869
  }];
6145
5870
  };
6146
- readonly draftRecipient: {
6147
- draft: [{
6148
- readonly sourceField: string[];
6149
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
6150
- readonly destSchema: "draft";
6151
- readonly cardinality: "one";
6152
- }];
6153
- };
6154
5871
  readonly draftAttachment: {
6155
5872
  draft: [{
6156
5873
  readonly sourceField: string[];
@@ -6608,38 +6325,6 @@ export declare const marcoZero: {
6608
6325
  } & {
6609
6326
  primaryKey: ["id"];
6610
6327
  }>;
6611
- readonly draftRecipient: import("@rocicorp/zero").TableBuilderWithColumns<{
6612
- name: "draftRecipient";
6613
- columns: {
6614
- readonly draftId: {
6615
- type: "string";
6616
- optional: false;
6617
- customType: string;
6618
- } & {
6619
- serverName: string;
6620
- };
6621
- readonly emailAddress: {
6622
- type: "string";
6623
- optional: false;
6624
- customType: string;
6625
- } & {
6626
- serverName: string;
6627
- };
6628
- readonly id: {
6629
- type: "string";
6630
- optional: false;
6631
- customType: string;
6632
- };
6633
- readonly type: {
6634
- type: "string";
6635
- optional: false;
6636
- customType: "bcc" | "cc" | "to";
6637
- };
6638
- };
6639
- primaryKey: readonly [string, ...string[]];
6640
- } & {
6641
- primaryKey: ["id"];
6642
- }>;
6643
6328
  readonly thread: import("@rocicorp/zero").TableBuilderWithColumns<{
6644
6329
  name: "thread";
6645
6330
  columns: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAM,CAAA;AAEV,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
@@ -367,38 +367,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
367
367
  } & {
368
368
  primaryKey: ["id"];
369
369
  };
370
- readonly draftRecipient: {
371
- name: "draftRecipient";
372
- columns: {
373
- readonly draftId: {
374
- type: "string";
375
- optional: false;
376
- customType: string;
377
- } & {
378
- serverName: string;
379
- };
380
- readonly emailAddress: {
381
- type: "string";
382
- optional: false;
383
- customType: string;
384
- } & {
385
- serverName: string;
386
- };
387
- readonly id: {
388
- type: "string";
389
- optional: false;
390
- customType: string;
391
- };
392
- readonly type: {
393
- type: "string";
394
- optional: false;
395
- customType: "bcc" | "cc" | "to";
396
- };
397
- };
398
- primaryKey: readonly [string, ...string[]];
399
- } & {
400
- primaryKey: ["id"];
401
- };
402
370
  readonly draftAttachment: {
403
371
  name: "draftAttachment";
404
372
  columns: {
@@ -823,12 +791,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
823
791
  readonly destSchema: "draftAttachment";
824
792
  readonly cardinality: "many";
825
793
  }];
826
- recipients: [{
827
- readonly sourceField: string[];
828
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
829
- readonly destSchema: "draftRecipient";
830
- readonly cardinality: "many";
831
- }];
832
794
  user: [{
833
795
  readonly sourceField: string[];
834
796
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -836,14 +798,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
836
798
  readonly cardinality: "one";
837
799
  }];
838
800
  };
839
- readonly draftRecipient: {
840
- draft: [{
841
- readonly sourceField: string[];
842
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
843
- readonly destSchema: "draft";
844
- readonly cardinality: "one";
845
- }];
846
- };
847
801
  readonly draftAttachment: {
848
802
  draft: [{
849
803
  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"}
@@ -376,38 +376,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
376
376
  } & {
377
377
  primaryKey: ["id"];
378
378
  };
379
- readonly draftRecipient: {
380
- name: "draftRecipient";
381
- columns: {
382
- readonly draftId: {
383
- type: "string";
384
- optional: false;
385
- customType: string;
386
- } & {
387
- serverName: string;
388
- };
389
- readonly emailAddress: {
390
- type: "string";
391
- optional: false;
392
- customType: string;
393
- } & {
394
- serverName: string;
395
- };
396
- readonly id: {
397
- type: "string";
398
- optional: false;
399
- customType: string;
400
- };
401
- readonly type: {
402
- type: "string";
403
- optional: false;
404
- customType: "bcc" | "cc" | "to";
405
- };
406
- };
407
- primaryKey: readonly [string, ...string[]];
408
- } & {
409
- primaryKey: ["id"];
410
- };
411
379
  readonly draftAttachment: {
412
380
  name: "draftAttachment";
413
381
  columns: {
@@ -832,12 +800,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
832
800
  readonly destSchema: "draftAttachment";
833
801
  readonly cardinality: "many";
834
802
  }];
835
- recipients: [{
836
- readonly sourceField: string[];
837
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
838
- readonly destSchema: "draftRecipient";
839
- readonly cardinality: "many";
840
- }];
841
803
  user: [{
842
804
  readonly sourceField: string[];
843
805
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -845,14 +807,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
845
807
  readonly cardinality: "one";
846
808
  }];
847
809
  };
848
- readonly draftRecipient: {
849
- draft: [{
850
- readonly sourceField: string[];
851
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
852
- readonly destSchema: "draft";
853
- readonly cardinality: "one";
854
- }];
855
- };
856
810
  readonly draftAttachment: {
857
811
  draft: [{
858
812
  readonly sourceField: string[];
@@ -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;KAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
@@ -373,38 +373,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
373
373
  } & {
374
374
  primaryKey: ["id"];
375
375
  };
376
- readonly draftRecipient: {
377
- name: "draftRecipient";
378
- columns: {
379
- readonly draftId: {
380
- type: "string";
381
- optional: false;
382
- customType: string;
383
- } & {
384
- serverName: string;
385
- };
386
- readonly emailAddress: {
387
- type: "string";
388
- optional: false;
389
- customType: string;
390
- } & {
391
- serverName: string;
392
- };
393
- readonly id: {
394
- type: "string";
395
- optional: false;
396
- customType: string;
397
- };
398
- readonly type: {
399
- type: "string";
400
- optional: false;
401
- customType: "bcc" | "cc" | "to";
402
- };
403
- };
404
- primaryKey: readonly [string, ...string[]];
405
- } & {
406
- primaryKey: ["id"];
407
- };
408
376
  readonly draftAttachment: {
409
377
  name: "draftAttachment";
410
378
  columns: {
@@ -829,12 +797,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
829
797
  readonly destSchema: "draftAttachment";
830
798
  readonly cardinality: "many";
831
799
  }];
832
- recipients: [{
833
- readonly sourceField: string[];
834
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
835
- readonly destSchema: "draftRecipient";
836
- readonly cardinality: "many";
837
- }];
838
800
  user: [{
839
801
  readonly sourceField: string[];
840
802
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -842,14 +804,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
842
804
  readonly cardinality: "one";
843
805
  }];
844
806
  };
845
- readonly draftRecipient: {
846
- draft: [{
847
- readonly sourceField: string[];
848
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
849
- readonly destSchema: "draft";
850
- readonly cardinality: "one";
851
- }];
852
- };
853
807
  readonly draftAttachment: {
854
808
  draft: [{
855
809
  readonly sourceField: string[];
@@ -979,13 +933,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
979
933
  readonly type: "NEW" | "REPLY" | "FORWARD";
980
934
  readonly updatedAt: number;
981
935
  readonly userId: string;
982
- } & {
983
- readonly recipients: readonly {
984
- readonly draftId: string;
985
- readonly emailAddress: string;
986
- readonly id: string;
987
- readonly type: "bcc" | "cc" | "to";
988
- }[];
989
936
  } & {
990
937
  readonly attachments: readonly {
991
938
  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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;;;;GAgBrB,CAAA"}
@@ -13,11 +13,7 @@ const parseArgs = (args) => {
13
13
  return [v.parse(schema, args[0])];
14
14
  };
15
15
  export const getDrafts = syncedQueryWithContext('getDrafts', parseArgs, ({ userId }, { status, accountId, limit }) => {
16
- let query = z.draft
17
- .where('userId', userId)
18
- .related('recipients')
19
- .related('attachments')
20
- .orderBy('updatedAt', 'desc');
16
+ let query = z.draft.where('userId', userId).related('attachments').orderBy('updatedAt', 'desc');
21
17
  if (status) {
22
18
  query = query.where('status', status);
23
19
  }
@@ -379,38 +379,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
379
379
  } & {
380
380
  primaryKey: ["id"];
381
381
  };
382
- readonly draftRecipient: {
383
- name: "draftRecipient";
384
- columns: {
385
- readonly draftId: {
386
- type: "string";
387
- optional: false;
388
- customType: string;
389
- } & {
390
- serverName: string;
391
- };
392
- readonly emailAddress: {
393
- type: "string";
394
- optional: false;
395
- customType: string;
396
- } & {
397
- serverName: string;
398
- };
399
- readonly id: {
400
- type: "string";
401
- optional: false;
402
- customType: string;
403
- };
404
- readonly type: {
405
- type: "string";
406
- optional: false;
407
- customType: "bcc" | "cc" | "to";
408
- };
409
- };
410
- primaryKey: readonly [string, ...string[]];
411
- } & {
412
- primaryKey: ["id"];
413
- };
414
382
  readonly draftAttachment: {
415
383
  name: "draftAttachment";
416
384
  columns: {
@@ -835,12 +803,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
835
803
  readonly destSchema: "draftAttachment";
836
804
  readonly cardinality: "many";
837
805
  }];
838
- recipients: [{
839
- readonly sourceField: string[];
840
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
841
- readonly destSchema: "draftRecipient";
842
- readonly cardinality: "many";
843
- }];
844
806
  user: [{
845
807
  readonly sourceField: string[];
846
808
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -848,14 +810,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
848
810
  readonly cardinality: "one";
849
811
  }];
850
812
  };
851
- readonly draftRecipient: {
852
- draft: [{
853
- readonly sourceField: string[];
854
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
855
- readonly destSchema: "draft";
856
- readonly cardinality: "one";
857
- }];
858
- };
859
813
  readonly draftAttachment: {
860
814
  draft: [{
861
815
  readonly sourceField: 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,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,EAAE,CAAC,EAAE,MAAM,CAAA;QACX,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;AAoBD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
@@ -367,38 +367,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
367
367
  } & {
368
368
  primaryKey: ["id"];
369
369
  };
370
- readonly draftRecipient: {
371
- name: "draftRecipient";
372
- columns: {
373
- readonly draftId: {
374
- type: "string";
375
- optional: false;
376
- customType: string;
377
- } & {
378
- serverName: string;
379
- };
380
- readonly emailAddress: {
381
- type: "string";
382
- optional: false;
383
- customType: string;
384
- } & {
385
- serverName: string;
386
- };
387
- readonly id: {
388
- type: "string";
389
- optional: false;
390
- customType: string;
391
- };
392
- readonly type: {
393
- type: "string";
394
- optional: false;
395
- customType: "bcc" | "cc" | "to";
396
- };
397
- };
398
- primaryKey: readonly [string, ...string[]];
399
- } & {
400
- primaryKey: ["id"];
401
- };
402
370
  readonly draftAttachment: {
403
371
  name: "draftAttachment";
404
372
  columns: {
@@ -823,12 +791,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
823
791
  readonly destSchema: "draftAttachment";
824
792
  readonly cardinality: "many";
825
793
  }];
826
- recipients: [{
827
- readonly sourceField: string[];
828
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
829
- readonly destSchema: "draftRecipient";
830
- readonly cardinality: "many";
831
- }];
832
794
  user: [{
833
795
  readonly sourceField: string[];
834
796
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -836,14 +798,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
836
798
  readonly cardinality: "one";
837
799
  }];
838
800
  };
839
- readonly draftRecipient: {
840
- draft: [{
841
- readonly sourceField: string[];
842
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
843
- readonly destSchema: "draft";
844
- readonly cardinality: "one";
845
- }];
846
- };
847
801
  readonly draftAttachment: {
848
802
  draft: [{
849
803
  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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,CAAA"}
@@ -366,38 +366,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
366
366
  } & {
367
367
  primaryKey: ["id"];
368
368
  };
369
- readonly draftRecipient: {
370
- name: "draftRecipient";
371
- columns: {
372
- readonly draftId: {
373
- type: "string";
374
- optional: false;
375
- customType: string;
376
- } & {
377
- serverName: string;
378
- };
379
- readonly emailAddress: {
380
- type: "string";
381
- optional: false;
382
- customType: string;
383
- } & {
384
- serverName: string;
385
- };
386
- readonly id: {
387
- type: "string";
388
- optional: false;
389
- customType: string;
390
- };
391
- readonly type: {
392
- type: "string";
393
- optional: false;
394
- customType: "bcc" | "cc" | "to";
395
- };
396
- };
397
- primaryKey: readonly [string, ...string[]];
398
- } & {
399
- primaryKey: ["id"];
400
- };
401
369
  readonly draftAttachment: {
402
370
  name: "draftAttachment";
403
371
  columns: {
@@ -822,12 +790,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
822
790
  readonly destSchema: "draftAttachment";
823
791
  readonly cardinality: "many";
824
792
  }];
825
- recipients: [{
826
- readonly sourceField: string[];
827
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
828
- readonly destSchema: "draftRecipient";
829
- readonly cardinality: "many";
830
- }];
831
793
  user: [{
832
794
  readonly sourceField: string[];
833
795
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -835,14 +797,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
835
797
  readonly cardinality: "one";
836
798
  }];
837
799
  };
838
- readonly draftRecipient: {
839
- draft: [{
840
- readonly sourceField: string[];
841
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
842
- readonly destSchema: "draft";
843
- readonly cardinality: "one";
844
- }];
845
- };
846
800
  readonly draftAttachment: {
847
801
  draft: [{
848
802
  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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
@@ -366,38 +366,6 @@ export declare const schema: {
366
366
  } & {
367
367
  primaryKey: ["id"];
368
368
  };
369
- readonly draftRecipient: {
370
- name: "draftRecipient";
371
- columns: {
372
- readonly draftId: {
373
- type: "string";
374
- optional: false;
375
- customType: string;
376
- } & {
377
- serverName: string;
378
- };
379
- readonly emailAddress: {
380
- type: "string";
381
- optional: false;
382
- customType: string;
383
- } & {
384
- serverName: string;
385
- };
386
- readonly id: {
387
- type: "string";
388
- optional: false;
389
- customType: string;
390
- };
391
- readonly type: {
392
- type: "string";
393
- optional: false;
394
- customType: "bcc" | "cc" | "to";
395
- };
396
- };
397
- primaryKey: readonly [string, ...string[]];
398
- } & {
399
- primaryKey: ["id"];
400
- };
401
369
  readonly draftAttachment: {
402
370
  name: "draftAttachment";
403
371
  columns: {
@@ -822,12 +790,6 @@ export declare const schema: {
822
790
  readonly destSchema: "draftAttachment";
823
791
  readonly cardinality: "many";
824
792
  }];
825
- recipients: [{
826
- readonly sourceField: string[];
827
- readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
828
- readonly destSchema: "draftRecipient";
829
- readonly cardinality: "many";
830
- }];
831
793
  user: [{
832
794
  readonly sourceField: string[];
833
795
  readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
@@ -835,14 +797,6 @@ export declare const schema: {
835
797
  readonly cardinality: "one";
836
798
  }];
837
799
  };
838
- readonly draftRecipient: {
839
- draft: [{
840
- readonly sourceField: string[];
841
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
842
- readonly destSchema: "draft";
843
- readonly cardinality: "one";
844
- }];
845
- };
846
800
  readonly draftAttachment: {
847
801
  draft: [{
848
802
  readonly sourceField: string[];
@@ -1301,38 +1255,6 @@ export declare const zeroTables: {
1301
1255
  } & {
1302
1256
  primaryKey: ["id"];
1303
1257
  }>;
1304
- readonly draftRecipient: import("@rocicorp/zero").TableBuilderWithColumns<{
1305
- name: "draftRecipient";
1306
- columns: {
1307
- readonly draftId: {
1308
- type: "string";
1309
- optional: false;
1310
- customType: string;
1311
- } & {
1312
- serverName: string;
1313
- };
1314
- readonly emailAddress: {
1315
- type: "string";
1316
- optional: false;
1317
- customType: string;
1318
- } & {
1319
- serverName: string;
1320
- };
1321
- readonly id: {
1322
- type: "string";
1323
- optional: false;
1324
- customType: string;
1325
- };
1326
- readonly type: {
1327
- type: "string";
1328
- optional: false;
1329
- customType: "bcc" | "cc" | "to";
1330
- };
1331
- };
1332
- primaryKey: readonly [string, ...string[]];
1333
- } & {
1334
- primaryKey: ["id"];
1335
- }>;
1336
1258
  readonly thread: import("@rocicorp/zero").TableBuilderWithColumns<{
1337
1259
  name: "thread";
1338
1260
  columns: {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA8aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCArVJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAE3C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAlWR,MAAM;wBACX,MAAM,EAAE;wBACR,MAAM,EAAE;yBACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6WT,CAAA"}
@@ -75,15 +75,6 @@ const draft = table('draft')
75
75
  userId: string().from('user_id'),
76
76
  })
77
77
  .primaryKey('id');
78
- const draftRecipient = table('draftRecipient')
79
- .from('draft_recipient')
80
- .columns({
81
- draftId: string().from('draft_id'),
82
- emailAddress: string().from('email_address'),
83
- id: string(),
84
- type: enumeration(),
85
- })
86
- .primaryKey('id');
87
78
  const draftAttachment = table('draftAttachment')
88
79
  .from('draft_attachment')
89
80
  .columns({
@@ -258,11 +249,6 @@ const draftRelationships = relationships(draft, ({ one, many }) => ({
258
249
  destSchema: draftAttachment,
259
250
  sourceField: ['id'],
260
251
  }),
261
- recipients: many({
262
- destField: ['draftId'],
263
- destSchema: draftRecipient,
264
- sourceField: ['id'],
265
- }),
266
252
  user: one({
267
253
  destField: ['id'],
268
254
  destSchema: user,
@@ -276,13 +262,6 @@ const draftAttachmentRelationships = relationships(draftAttachment, ({ one }) =>
276
262
  sourceField: ['draftId'],
277
263
  }),
278
264
  }));
279
- const draftRecipientRelationships = relationships(draftRecipient, ({ one }) => ({
280
- draft: one({
281
- destField: ['id'],
282
- destSchema: draft,
283
- sourceField: ['draftId'],
284
- }),
285
- }));
286
265
  const threadRelationships = relationships(thread, ({ one, many }) => ({
287
266
  account: one({
288
267
  destField: ['id'],
@@ -377,7 +356,6 @@ export const schema = createSchema({
377
356
  accountLabelRelationships,
378
357
  draftRelationships,
379
358
  draftAttachmentRelationships,
380
- draftRecipientRelationships,
381
359
  threadRelationships,
382
360
  threadLabelRelationships,
383
361
  threadMessageRelationships,
@@ -392,7 +370,6 @@ export const schema = createSchema({
392
370
  accountAlias,
393
371
  accountLabel,
394
372
  draft,
395
- draftRecipient,
396
373
  draftAttachment,
397
374
  thread,
398
375
  threadLabel,
@@ -408,7 +385,6 @@ export const zeroTables = {
408
385
  contact,
409
386
  draft,
410
387
  draftAttachment,
411
- draftRecipient,
412
388
  thread,
413
389
  threadLabel,
414
390
  threadMessage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.461",
3
+ "version": "2.0.463",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -1,3 +0,0 @@
1
- export declare const DRAFT_RECIPIENT_TYPES: readonly ["bcc", "cc", "to"];
2
- export type DraftRecipientType = (typeof DRAFT_RECIPIENT_TYPES)[number];
3
- //# sourceMappingURL=DraftRecipientType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DraftRecipientType.d.ts","sourceRoot":"","sources":["../../src/types/DraftRecipientType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,8BAA+B,CAAA;AAEjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- export const DRAFT_RECIPIENT_TYPES = ['bcc', 'cc', 'to'];