@marcoappio/marco-config 2.0.528 → 2.0.530

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,15 @@ export declare const marcoZero: {
788
878
  } & {
789
879
  serverName: string;
790
880
  };
881
+ readonly views: {
882
+ type: "json";
883
+ optional: false;
884
+ customType: {
885
+ id: string;
886
+ name: string;
887
+ aliasEmails: string[];
888
+ }[];
889
+ };
791
890
  };
792
891
  primaryKey: readonly [string, ...string[]];
793
892
  } & {
@@ -1526,31 +1625,31 @@ export declare const marcoZero: {
1526
1625
  relationships: {
1527
1626
  readonly user: {
1528
1627
  accounts: [{
1529
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1628
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1530
1629
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1531
1630
  readonly destSchema: "account";
1532
1631
  readonly cardinality: "many";
1533
1632
  }];
1534
1633
  contacts: [{
1535
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1634
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1536
1635
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1537
1636
  readonly destSchema: "contact";
1538
1637
  readonly cardinality: "many";
1539
1638
  }];
1540
1639
  drafts: [{
1541
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1640
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1542
1641
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
1543
1642
  readonly destSchema: "draft";
1544
1643
  readonly cardinality: "many";
1545
1644
  }];
1546
1645
  pushNotificationTokens: [{
1547
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1646
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1548
1647
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
1549
1648
  readonly destSchema: "userPushNotificationToken";
1550
1649
  readonly cardinality: "many";
1551
1650
  }];
1552
1651
  threads: [{
1553
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1652
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1554
1653
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1555
1654
  readonly destSchema: "thread";
1556
1655
  readonly cardinality: "many";
@@ -1559,7 +1658,7 @@ export declare const marcoZero: {
1559
1658
  readonly userPushNotificationToken: {
1560
1659
  user: [{
1561
1660
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
1562
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1661
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1563
1662
  readonly destSchema: "user";
1564
1663
  readonly cardinality: "one";
1565
1664
  }];
@@ -1567,7 +1666,7 @@ export declare const marcoZero: {
1567
1666
  readonly contact: {
1568
1667
  user: [{
1569
1668
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
1570
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1669
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1571
1670
  readonly destSchema: "user";
1572
1671
  readonly cardinality: "one";
1573
1672
  }];
@@ -1605,7 +1704,7 @@ export declare const marcoZero: {
1605
1704
  }];
1606
1705
  user: [{
1607
1706
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
1608
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
1707
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1609
1708
  readonly destSchema: "user";
1610
1709
  readonly cardinality: "one";
1611
1710
  }];
@@ -1652,7 +1751,7 @@ export declare const marcoZero: {
1652
1751
  }];
1653
1752
  user: [{
1654
1753
  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")[];
1754
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1656
1755
  readonly destSchema: "user";
1657
1756
  readonly cardinality: "one";
1658
1757
  }];
@@ -1697,7 +1796,7 @@ export declare const marcoZero: {
1697
1796
  }];
1698
1797
  user: [{
1699
1798
  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")[];
1799
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
1701
1800
  readonly destSchema: "user";
1702
1801
  readonly cardinality: "one";
1703
1802
  }];
@@ -2065,6 +2164,11 @@ export declare const marcoZero: {
2065
2164
  readonly name: string | null;
2066
2165
  readonly profilePicture: string | null;
2067
2166
  readonly undoSendEnabled: boolean;
2167
+ readonly views: {
2168
+ id: string;
2169
+ name: string;
2170
+ aliasEmails: string[];
2171
+ }[];
2068
2172
  } & {
2069
2173
  readonly accounts: readonly ({
2070
2174
  readonly color: string;
@@ -2145,6 +2249,15 @@ export declare const marcoZero: {
2145
2249
  } & {
2146
2250
  serverName: string;
2147
2251
  };
2252
+ readonly views: {
2253
+ type: "json";
2254
+ optional: false;
2255
+ customType: {
2256
+ id: string;
2257
+ name: string;
2258
+ aliasEmails: string[];
2259
+ }[];
2260
+ };
2148
2261
  };
2149
2262
  primaryKey: readonly [string, ...string[]];
2150
2263
  } & {
@@ -2883,31 +2996,31 @@ export declare const marcoZero: {
2883
2996
  relationships: {
2884
2997
  readonly user: {
2885
2998
  accounts: [{
2886
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
2999
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2887
3000
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2888
3001
  readonly destSchema: "account";
2889
3002
  readonly cardinality: "many";
2890
3003
  }];
2891
3004
  contacts: [{
2892
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3005
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2893
3006
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
2894
3007
  readonly destSchema: "contact";
2895
3008
  readonly cardinality: "many";
2896
3009
  }];
2897
3010
  drafts: [{
2898
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3011
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2899
3012
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
2900
3013
  readonly destSchema: "draft";
2901
3014
  readonly cardinality: "many";
2902
3015
  }];
2903
3016
  pushNotificationTokens: [{
2904
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3017
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2905
3018
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
2906
3019
  readonly destSchema: "userPushNotificationToken";
2907
3020
  readonly cardinality: "many";
2908
3021
  }];
2909
3022
  threads: [{
2910
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3023
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2911
3024
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
2912
3025
  readonly destSchema: "thread";
2913
3026
  readonly cardinality: "many";
@@ -2916,7 +3029,7 @@ export declare const marcoZero: {
2916
3029
  readonly userPushNotificationToken: {
2917
3030
  user: [{
2918
3031
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
2919
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3032
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2920
3033
  readonly destSchema: "user";
2921
3034
  readonly cardinality: "one";
2922
3035
  }];
@@ -2924,7 +3037,7 @@ export declare const marcoZero: {
2924
3037
  readonly contact: {
2925
3038
  user: [{
2926
3039
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
2927
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3040
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2928
3041
  readonly destSchema: "user";
2929
3042
  readonly cardinality: "one";
2930
3043
  }];
@@ -2962,7 +3075,7 @@ export declare const marcoZero: {
2962
3075
  }];
2963
3076
  user: [{
2964
3077
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
2965
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
3078
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
2966
3079
  readonly destSchema: "user";
2967
3080
  readonly cardinality: "one";
2968
3081
  }];
@@ -3009,7 +3122,7 @@ export declare const marcoZero: {
3009
3122
  }];
3010
3123
  user: [{
3011
3124
  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")[];
3125
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3013
3126
  readonly destSchema: "user";
3014
3127
  readonly cardinality: "one";
3015
3128
  }];
@@ -3054,7 +3167,7 @@ export declare const marcoZero: {
3054
3167
  }];
3055
3168
  user: [{
3056
3169
  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")[];
3170
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3058
3171
  readonly destSchema: "user";
3059
3172
  readonly cardinality: "one";
3060
3173
  }];
@@ -3177,6 +3290,15 @@ export declare const marcoZero: {
3177
3290
  } & {
3178
3291
  serverName: string;
3179
3292
  };
3293
+ readonly views: {
3294
+ type: "json";
3295
+ optional: false;
3296
+ customType: {
3297
+ id: string;
3298
+ name: string;
3299
+ aliasEmails: string[];
3300
+ }[];
3301
+ };
3180
3302
  };
3181
3303
  primaryKey: readonly [string, ...string[]];
3182
3304
  } & {
@@ -3915,31 +4037,31 @@ export declare const marcoZero: {
3915
4037
  relationships: {
3916
4038
  readonly user: {
3917
4039
  accounts: [{
3918
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4040
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3919
4041
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3920
4042
  readonly destSchema: "account";
3921
4043
  readonly cardinality: "many";
3922
4044
  }];
3923
4045
  contacts: [{
3924
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4046
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3925
4047
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
3926
4048
  readonly destSchema: "contact";
3927
4049
  readonly cardinality: "many";
3928
4050
  }];
3929
4051
  drafts: [{
3930
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4052
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3931
4053
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
3932
4054
  readonly destSchema: "draft";
3933
4055
  readonly cardinality: "many";
3934
4056
  }];
3935
4057
  pushNotificationTokens: [{
3936
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4058
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3937
4059
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
3938
4060
  readonly destSchema: "userPushNotificationToken";
3939
4061
  readonly cardinality: "many";
3940
4062
  }];
3941
4063
  threads: [{
3942
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4064
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3943
4065
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
3944
4066
  readonly destSchema: "thread";
3945
4067
  readonly cardinality: "many";
@@ -3948,7 +4070,7 @@ export declare const marcoZero: {
3948
4070
  readonly userPushNotificationToken: {
3949
4071
  user: [{
3950
4072
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
3951
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4073
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3952
4074
  readonly destSchema: "user";
3953
4075
  readonly cardinality: "one";
3954
4076
  }];
@@ -3956,7 +4078,7 @@ export declare const marcoZero: {
3956
4078
  readonly contact: {
3957
4079
  user: [{
3958
4080
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
3959
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4081
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3960
4082
  readonly destSchema: "user";
3961
4083
  readonly cardinality: "one";
3962
4084
  }];
@@ -3994,7 +4116,7 @@ export declare const marcoZero: {
3994
4116
  }];
3995
4117
  user: [{
3996
4118
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
3997
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
4119
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
3998
4120
  readonly destSchema: "user";
3999
4121
  readonly cardinality: "one";
4000
4122
  }];
@@ -4041,7 +4163,7 @@ export declare const marcoZero: {
4041
4163
  }];
4042
4164
  user: [{
4043
4165
  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")[];
4166
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
4045
4167
  readonly destSchema: "user";
4046
4168
  readonly cardinality: "one";
4047
4169
  }];
@@ -4086,7 +4208,7 @@ export declare const marcoZero: {
4086
4208
  }];
4087
4209
  user: [{
4088
4210
  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")[];
4211
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
4090
4212
  readonly destSchema: "user";
4091
4213
  readonly cardinality: "one";
4092
4214
  }];
@@ -4905,6 +5027,15 @@ export declare const marcoZero: {
4905
5027
  } & {
4906
5028
  serverName: string;
4907
5029
  };
5030
+ readonly views: {
5031
+ type: "json";
5032
+ optional: false;
5033
+ customType: {
5034
+ id: string;
5035
+ name: string;
5036
+ aliasEmails: string[];
5037
+ }[];
5038
+ };
4908
5039
  };
4909
5040
  primaryKey: readonly [string, ...string[]];
4910
5041
  } & {
@@ -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"}