@marcoappio/marco-config 2.0.528 → 2.0.529

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.
@@ -48,6 +48,10 @@ export declare const marcoConstants: {
48
48
  maxDimension: number;
49
49
  maxFileSize: number;
50
50
  };
51
+ views: {
52
+ maxAliasEmailsPerView: number;
53
+ maxViews: number;
54
+ };
51
55
  };
52
56
  zero: {
53
57
  mutateURL: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ1B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ1B,CAAA"}
@@ -4,5 +4,9 @@ export declare const user: {
4
4
  maxDimension: number;
5
5
  maxFileSize: number;
6
6
  };
7
+ views: {
8
+ maxAliasEmailsPerView: number;
9
+ maxViews: number;
10
+ };
7
11
  };
8
12
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/constants/user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;CAMhB,CAAA"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/constants/user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;CAUhB,CAAA"}
@@ -4,4 +4,8 @@ export const user = {
4
4
  maxDimension: 10_000,
5
5
  maxFileSize: 5 * 1024 * 1024,
6
6
  },
7
+ views: {
8
+ maxAliasEmailsPerView: 100,
9
+ maxViews: 25,
10
+ },
7
11
  };
@@ -242,10 +242,22 @@ export declare const marcoZero: {
242
242
  }, undefined>;
243
243
  };
244
244
  user: {
245
+ createView: import("valibot").ObjectSchema<{
246
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
247
+ readonly view: import("valibot").ObjectSchema<{
248
+ readonly aliasEmails: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>;
249
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
250
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
251
+ }, undefined>;
252
+ }, undefined>;
245
253
  deleteSettingsPushNotificationToken: import("valibot").ObjectSchema<{
246
254
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
247
255
  readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
248
256
  }, undefined>;
257
+ deleteView: import("valibot").ObjectSchema<{
258
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
+ readonly viewId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
260
+ }, undefined>;
249
261
  setSettingsName: import("valibot").ObjectSchema<{
250
262
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
251
263
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -258,6 +270,41 @@ export declare const marcoZero: {
258
270
  readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
271
  }, undefined>;
260
272
  }, undefined>;
273
+ updateView: import("valibot").ObjectSchema<{
274
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
275
+ readonly updates: Omit<import("valibot").ObjectSchema<{
276
+ readonly aliasEmails: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>;
277
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
278
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
279
+ readonly entries: {
280
+ readonly aliasEmails: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>, undefined>;
281
+ readonly name: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
282
+ };
283
+ readonly '~standard': import("valibot").StandardProps<{
284
+ aliasEmails?: string[] | undefined;
285
+ name?: string | undefined;
286
+ }, {
287
+ aliasEmails?: string[] | undefined;
288
+ name?: string | undefined;
289
+ }>;
290
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
291
+ aliasEmails?: string[] | undefined;
292
+ name?: string | undefined;
293
+ }, import("valibot").StringIssue | import("valibot").RfcEmailIssue<string> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue | import("valibot").MinLengthIssue<string[], 1> | import("valibot").MaxLengthIssue<string[], number>>;
294
+ readonly '~types'?: {
295
+ readonly input: {
296
+ aliasEmails?: string[] | undefined;
297
+ name?: string | undefined;
298
+ };
299
+ readonly output: {
300
+ aliasEmails?: string[] | undefined;
301
+ name?: string | undefined;
302
+ };
303
+ readonly issue: import("valibot").StringIssue | import("valibot").RfcEmailIssue<string> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue | import("valibot").MinLengthIssue<string[], 1> | import("valibot").MaxLengthIssue<string[], number>;
304
+ } | undefined;
305
+ };
306
+ readonly viewId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
307
+ }, undefined>;
261
308
  };
262
309
  };
263
310
  readonly mutators: import("@rocicorp/zero").MutatorRegistry<{
@@ -719,6 +766,23 @@ export declare const marcoZero: {
719
766
  }, unknown>;
720
767
  };
721
768
  readonly user: {
769
+ readonly createView: import("@rocicorp/zero").MutatorDefinition<{
770
+ id: string;
771
+ view: {
772
+ aliasEmails: string[];
773
+ id: string;
774
+ name: string;
775
+ };
776
+ }, {
777
+ id: string;
778
+ view: {
779
+ aliasEmails: string[];
780
+ id: string;
781
+ name: string;
782
+ };
783
+ }, {
784
+ userId: string;
785
+ }, unknown>;
722
786
  readonly deleteSettingsPushNotificationToken: import("@rocicorp/zero").MutatorDefinition<{
723
787
  id: string;
724
788
  token: string;
@@ -728,6 +792,15 @@ export declare const marcoZero: {
728
792
  }, {
729
793
  userId: string;
730
794
  }, unknown>;
795
+ readonly deleteView: import("@rocicorp/zero").MutatorDefinition<{
796
+ id: string;
797
+ viewId: string;
798
+ }, {
799
+ id: string;
800
+ viewId: string;
801
+ }, {
802
+ userId: string;
803
+ }, unknown>;
731
804
  readonly setSettingsName: import("@rocicorp/zero").MutatorDefinition<{
732
805
  id: string;
733
806
  name: string | null;
@@ -754,6 +827,23 @@ export declare const marcoZero: {
754
827
  }, {
755
828
  userId: string;
756
829
  }, unknown>;
830
+ readonly updateView: import("@rocicorp/zero").MutatorDefinition<{
831
+ id: string;
832
+ updates: {
833
+ aliasEmails?: string[] | undefined;
834
+ name?: string | undefined;
835
+ };
836
+ viewId: string;
837
+ }, {
838
+ id: string;
839
+ updates: {
840
+ aliasEmails?: string[] | undefined;
841
+ name?: string | undefined;
842
+ };
843
+ viewId: string;
844
+ }, {
845
+ userId: string;
846
+ }, unknown>;
757
847
  };
758
848
  }, {
759
849
  tables: {
@@ -788,6 +878,17 @@ export declare const marcoZero: {
788
878
  } & {
789
879
  serverName: string;
790
880
  };
881
+ readonly views: Omit<{
882
+ type: "json";
883
+ optional: false;
884
+ customType: {
885
+ id: string;
886
+ name: string;
887
+ aliasEmails: string[];
888
+ }[];
889
+ }, "optional"> & {
890
+ optional: true;
891
+ };
791
892
  };
792
893
  primaryKey: readonly [string, ...string[]];
793
894
  } & {
@@ -1526,31 +1627,31 @@ export declare const marcoZero: {
1526
1627
  relationships: {
1527
1628
  readonly user: {
1528
1629
  accounts: [{
1529
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1630
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1530
1631
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1531
1632
  readonly destSchema: "account";
1532
1633
  readonly cardinality: "many";
1533
1634
  }];
1534
1635
  contacts: [{
1535
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1636
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1536
1637
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1537
1638
  readonly destSchema: "contact";
1538
1639
  readonly cardinality: "many";
1539
1640
  }];
1540
1641
  drafts: [{
1541
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1642
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1542
1643
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1543
1644
  readonly destSchema: "draft";
1544
1645
  readonly cardinality: "many";
1545
1646
  }];
1546
1647
  pushNotificationTokens: [{
1547
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1648
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1548
1649
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
1549
1650
  readonly destSchema: "userPushNotificationToken";
1550
1651
  readonly cardinality: "many";
1551
1652
  }];
1552
1653
  threads: [{
1553
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1654
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1554
1655
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1555
1656
  readonly destSchema: "thread";
1556
1657
  readonly cardinality: "many";
@@ -1559,7 +1660,7 @@ export declare const marcoZero: {
1559
1660
  readonly userPushNotificationToken: {
1560
1661
  user: [{
1561
1662
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
1562
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1663
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1563
1664
  readonly destSchema: "user";
1564
1665
  readonly cardinality: "one";
1565
1666
  }];
@@ -1567,7 +1668,7 @@ export declare const marcoZero: {
1567
1668
  readonly contact: {
1568
1669
  user: [{
1569
1670
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1570
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1671
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1571
1672
  readonly destSchema: "user";
1572
1673
  readonly cardinality: "one";
1573
1674
  }];
@@ -1605,7 +1706,7 @@ export declare const marcoZero: {
1605
1706
  }];
1606
1707
  user: [{
1607
1708
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1608
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1709
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1609
1710
  readonly destSchema: "user";
1610
1711
  readonly cardinality: "one";
1611
1712
  }];
@@ -1652,7 +1753,7 @@ export declare const marcoZero: {
1652
1753
  }];
1653
1754
  user: [{
1654
1755
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1655
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1756
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1656
1757
  readonly destSchema: "user";
1657
1758
  readonly cardinality: "one";
1658
1759
  }];
@@ -1697,7 +1798,7 @@ export declare const marcoZero: {
1697
1798
  }];
1698
1799
  user: [{
1699
1800
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1700
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1801
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1701
1802
  readonly destSchema: "user";
1702
1803
  readonly cardinality: "one";
1703
1804
  }];
@@ -2065,6 +2166,11 @@ export declare const marcoZero: {
2065
2166
  readonly name: string | null;
2066
2167
  readonly profilePicture: string | null;
2067
2168
  readonly undoSendEnabled: boolean;
2169
+ readonly views: {
2170
+ id: string;
2171
+ name: string;
2172
+ aliasEmails: string[];
2173
+ }[] | null;
2068
2174
  } & {
2069
2175
  readonly accounts: readonly ({
2070
2176
  readonly color: string;
@@ -2145,6 +2251,17 @@ export declare const marcoZero: {
2145
2251
  } & {
2146
2252
  serverName: string;
2147
2253
  };
2254
+ readonly views: Omit<{
2255
+ type: "json";
2256
+ optional: false;
2257
+ customType: {
2258
+ id: string;
2259
+ name: string;
2260
+ aliasEmails: string[];
2261
+ }[];
2262
+ }, "optional"> & {
2263
+ optional: true;
2264
+ };
2148
2265
  };
2149
2266
  primaryKey: readonly [string, ...string[]];
2150
2267
  } & {
@@ -2883,31 +3000,31 @@ export declare const marcoZero: {
2883
3000
  relationships: {
2884
3001
  readonly user: {
2885
3002
  accounts: [{
2886
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3003
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2887
3004
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2888
3005
  readonly destSchema: "account";
2889
3006
  readonly cardinality: "many";
2890
3007
  }];
2891
3008
  contacts: [{
2892
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3009
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2893
3010
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
2894
3011
  readonly destSchema: "contact";
2895
3012
  readonly cardinality: "many";
2896
3013
  }];
2897
3014
  drafts: [{
2898
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3015
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2899
3016
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2900
3017
  readonly destSchema: "draft";
2901
3018
  readonly cardinality: "many";
2902
3019
  }];
2903
3020
  pushNotificationTokens: [{
2904
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3021
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2905
3022
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
2906
3023
  readonly destSchema: "userPushNotificationToken";
2907
3024
  readonly cardinality: "many";
2908
3025
  }];
2909
3026
  threads: [{
2910
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3027
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2911
3028
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2912
3029
  readonly destSchema: "thread";
2913
3030
  readonly cardinality: "many";
@@ -2916,7 +3033,7 @@ export declare const marcoZero: {
2916
3033
  readonly userPushNotificationToken: {
2917
3034
  user: [{
2918
3035
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
2919
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3036
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2920
3037
  readonly destSchema: "user";
2921
3038
  readonly cardinality: "one";
2922
3039
  }];
@@ -2924,7 +3041,7 @@ export declare const marcoZero: {
2924
3041
  readonly contact: {
2925
3042
  user: [{
2926
3043
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
2927
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3044
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2928
3045
  readonly destSchema: "user";
2929
3046
  readonly cardinality: "one";
2930
3047
  }];
@@ -2962,7 +3079,7 @@ export declare const marcoZero: {
2962
3079
  }];
2963
3080
  user: [{
2964
3081
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2965
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3082
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2966
3083
  readonly destSchema: "user";
2967
3084
  readonly cardinality: "one";
2968
3085
  }];
@@ -3009,7 +3126,7 @@ export declare const marcoZero: {
3009
3126
  }];
3010
3127
  user: [{
3011
3128
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3012
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3129
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3013
3130
  readonly destSchema: "user";
3014
3131
  readonly cardinality: "one";
3015
3132
  }];
@@ -3054,7 +3171,7 @@ export declare const marcoZero: {
3054
3171
  }];
3055
3172
  user: [{
3056
3173
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3057
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3174
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3058
3175
  readonly destSchema: "user";
3059
3176
  readonly cardinality: "one";
3060
3177
  }];
@@ -3177,6 +3294,17 @@ export declare const marcoZero: {
3177
3294
  } & {
3178
3295
  serverName: string;
3179
3296
  };
3297
+ readonly views: Omit<{
3298
+ type: "json";
3299
+ optional: false;
3300
+ customType: {
3301
+ id: string;
3302
+ name: string;
3303
+ aliasEmails: string[];
3304
+ }[];
3305
+ }, "optional"> & {
3306
+ optional: true;
3307
+ };
3180
3308
  };
3181
3309
  primaryKey: readonly [string, ...string[]];
3182
3310
  } & {
@@ -3915,31 +4043,31 @@ export declare const marcoZero: {
3915
4043
  relationships: {
3916
4044
  readonly user: {
3917
4045
  accounts: [{
3918
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4046
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3919
4047
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3920
4048
  readonly destSchema: "account";
3921
4049
  readonly cardinality: "many";
3922
4050
  }];
3923
4051
  contacts: [{
3924
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4052
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3925
4053
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
3926
4054
  readonly destSchema: "contact";
3927
4055
  readonly cardinality: "many";
3928
4056
  }];
3929
4057
  drafts: [{
3930
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4058
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3931
4059
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3932
4060
  readonly destSchema: "draft";
3933
4061
  readonly cardinality: "many";
3934
4062
  }];
3935
4063
  pushNotificationTokens: [{
3936
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4064
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3937
4065
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
3938
4066
  readonly destSchema: "userPushNotificationToken";
3939
4067
  readonly cardinality: "many";
3940
4068
  }];
3941
4069
  threads: [{
3942
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4070
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3943
4071
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3944
4072
  readonly destSchema: "thread";
3945
4073
  readonly cardinality: "many";
@@ -3948,7 +4076,7 @@ export declare const marcoZero: {
3948
4076
  readonly userPushNotificationToken: {
3949
4077
  user: [{
3950
4078
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
3951
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4079
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3952
4080
  readonly destSchema: "user";
3953
4081
  readonly cardinality: "one";
3954
4082
  }];
@@ -3956,7 +4084,7 @@ export declare const marcoZero: {
3956
4084
  readonly contact: {
3957
4085
  user: [{
3958
4086
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
3959
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4087
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3960
4088
  readonly destSchema: "user";
3961
4089
  readonly cardinality: "one";
3962
4090
  }];
@@ -3994,7 +4122,7 @@ export declare const marcoZero: {
3994
4122
  }];
3995
4123
  user: [{
3996
4124
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3997
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4125
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3998
4126
  readonly destSchema: "user";
3999
4127
  readonly cardinality: "one";
4000
4128
  }];
@@ -4041,7 +4169,7 @@ export declare const marcoZero: {
4041
4169
  }];
4042
4170
  user: [{
4043
4171
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
4044
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4172
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
4045
4173
  readonly destSchema: "user";
4046
4174
  readonly cardinality: "one";
4047
4175
  }];
@@ -4086,7 +4214,7 @@ export declare const marcoZero: {
4086
4214
  }];
4087
4215
  user: [{
4088
4216
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
4089
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4217
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
4090
4218
  readonly destSchema: "user";
4091
4219
  readonly cardinality: "one";
4092
4220
  }];
@@ -4905,6 +5033,17 @@ export declare const marcoZero: {
4905
5033
  } & {
4906
5034
  serverName: string;
4907
5035
  };
5036
+ readonly views: Omit<{
5037
+ type: "json";
5038
+ optional: false;
5039
+ customType: {
5040
+ id: string;
5041
+ name: string;
5042
+ aliasEmails: string[];
5043
+ }[];
5044
+ }, "optional"> & {
5045
+ optional: true;
5046
+ };
4908
5047
  };
4909
5048
  primaryKey: readonly [string, ...string[]];
4910
5049
  } & {
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMZ,CAAA"}
@@ -242,10 +242,22 @@ export declare const mutatorSchemas: {
242
242
  }, undefined>;
243
243
  };
244
244
  user: {
245
+ createView: v.ObjectSchema<{
246
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
247
+ readonly view: v.ObjectSchema<{
248
+ readonly aliasEmails: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
249
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
250
+ readonly name: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
251
+ }, undefined>;
252
+ }, undefined>;
245
253
  deleteSettingsPushNotificationToken: v.ObjectSchema<{
246
254
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
247
255
  readonly token: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
248
256
  }, undefined>;
257
+ deleteView: v.ObjectSchema<{
258
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
259
+ readonly viewId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
260
+ }, undefined>;
249
261
  setSettingsName: v.ObjectSchema<{
250
262
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
251
263
  readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -258,6 +270,41 @@ export declare const mutatorSchemas: {
258
270
  readonly token: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
259
271
  }, undefined>;
260
272
  }, undefined>;
273
+ updateView: v.ObjectSchema<{
274
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
275
+ readonly updates: Omit<v.ObjectSchema<{
276
+ readonly aliasEmails: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
277
+ readonly name: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
278
+ }, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
279
+ readonly entries: {
280
+ readonly aliasEmails: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], number, undefined>]>, undefined>;
281
+ readonly name: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
282
+ };
283
+ readonly '~standard': v.StandardProps<{
284
+ aliasEmails?: string[] | undefined;
285
+ name?: string | undefined;
286
+ }, {
287
+ aliasEmails?: string[] | undefined;
288
+ name?: string | undefined;
289
+ }>;
290
+ readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
291
+ aliasEmails?: string[] | undefined;
292
+ name?: string | undefined;
293
+ }, v.StringIssue | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue | v.MinLengthIssue<string[], 1> | v.MaxLengthIssue<string[], number>>;
294
+ readonly '~types'?: {
295
+ readonly input: {
296
+ aliasEmails?: string[] | undefined;
297
+ name?: string | undefined;
298
+ };
299
+ readonly output: {
300
+ aliasEmails?: string[] | undefined;
301
+ name?: string | undefined;
302
+ };
303
+ readonly issue: v.StringIssue | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue | v.MinLengthIssue<string[], 1> | v.MaxLengthIssue<string[], number>;
304
+ } | undefined;
305
+ };
306
+ readonly viewId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
307
+ }, undefined>;
261
308
  };
262
309
  };
263
310
  //# sourceMappingURL=mutatorSchemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../src/zero/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqE5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0I1B,CAAA"}
1
+ {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../src/zero/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgF5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgK1B,CAAA"}