@marcoappio/marco-config 2.0.508 → 2.0.509

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.
Files changed (100) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/types/Zero.d.ts +0 -17
  4. package/dist/types/Zero.d.ts.map +1 -1
  5. package/dist/zero/index.d.ts +2903 -8808
  6. package/dist/zero/index.d.ts.map +1 -1
  7. package/dist/zero/index.js +6 -17
  8. package/dist/zero/{queries/getThreadList.d.ts → mutators.d.ts} +572 -169
  9. package/dist/zero/{queries/getThreads.d.ts.map → mutators.d.ts.map} +1 -1
  10. package/dist/zero/mutators.js +659 -0
  11. package/dist/zero/mutators.test.d.ts +2 -0
  12. package/dist/zero/mutators.test.d.ts.map +1 -0
  13. package/dist/zero/mutators.test.js +603 -0
  14. package/dist/zero/{queries/getThreads.d.ts → queries.d.ts} +481 -196
  15. package/dist/zero/{queries/getThread.d.ts.map → queries.d.ts.map} +1 -1
  16. package/dist/zero/queries.js +168 -0
  17. package/dist/zero/schema.d.ts +138 -133
  18. package/dist/zero/schema.d.ts.map +1 -1
  19. package/dist/zero/schema.js +1 -1
  20. package/package.json +3 -3
  21. package/dist/zero/mutatorSchemas/account.d.ts +0 -80
  22. package/dist/zero/mutatorSchemas/account.d.ts.map +0 -1
  23. package/dist/zero/mutatorSchemas/account.js +0 -66
  24. package/dist/zero/mutatorSchemas/draft.d.ts +0 -150
  25. package/dist/zero/mutatorSchemas/draft.d.ts.map +0 -1
  26. package/dist/zero/mutatorSchemas/draft.js +0 -104
  27. package/dist/zero/mutatorSchemas/index.d.ts +0 -323
  28. package/dist/zero/mutatorSchemas/index.d.ts.map +0 -1
  29. package/dist/zero/mutatorSchemas/index.js +0 -10
  30. package/dist/zero/mutatorSchemas/thread.d.ts +0 -71
  31. package/dist/zero/mutatorSchemas/thread.d.ts.map +0 -1
  32. package/dist/zero/mutatorSchemas/thread.js +0 -47
  33. package/dist/zero/mutatorSchemas/user.d.ts +0 -26
  34. package/dist/zero/mutatorSchemas/user.d.ts.map +0 -1
  35. package/dist/zero/mutatorSchemas/user.js +0 -27
  36. package/dist/zero/mutators/accountMutators/accountMutators.d.ts +0 -4
  37. package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +0 -1
  38. package/dist/zero/mutators/accountMutators/accountMutators.js +0 -103
  39. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +0 -2
  40. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +0 -1
  41. package/dist/zero/mutators/accountMutators/accountMutators.test.js +0 -372
  42. package/dist/zero/mutators/accountMutators/index.d.ts +0 -2
  43. package/dist/zero/mutators/accountMutators/index.d.ts.map +0 -1
  44. package/dist/zero/mutators/accountMutators/index.js +0 -1
  45. package/dist/zero/mutators/draftMutators/draftMutators.d.ts +0 -4
  46. package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +0 -1
  47. package/dist/zero/mutators/draftMutators/draftMutators.js +0 -142
  48. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +0 -2
  49. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +0 -1
  50. package/dist/zero/mutators/draftMutators/draftMutators.test.js +0 -416
  51. package/dist/zero/mutators/draftMutators/index.d.ts +0 -2
  52. package/dist/zero/mutators/draftMutators/index.d.ts.map +0 -1
  53. package/dist/zero/mutators/draftMutators/index.js +0 -1
  54. package/dist/zero/mutators/index.d.ts +0 -3
  55. package/dist/zero/mutators/index.d.ts.map +0 -1
  56. package/dist/zero/mutators/index.js +0 -1
  57. package/dist/zero/mutators/mutators.d.ts +0 -18
  58. package/dist/zero/mutators/mutators.d.ts.map +0 -1
  59. package/dist/zero/mutators/mutators.js +0 -39
  60. package/dist/zero/mutators/threadMutators/index.d.ts +0 -2
  61. package/dist/zero/mutators/threadMutators/index.d.ts.map +0 -1
  62. package/dist/zero/mutators/threadMutators/index.js +0 -1
  63. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +0 -8
  64. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +0 -1
  65. package/dist/zero/mutators/threadMutators/threadMutators.js +0 -257
  66. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts +0 -2
  67. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts.map +0 -1
  68. package/dist/zero/mutators/threadMutators/threadMutators.test.js +0 -755
  69. package/dist/zero/mutators/userMutators/index.d.ts +0 -2
  70. package/dist/zero/mutators/userMutators/index.d.ts.map +0 -1
  71. package/dist/zero/mutators/userMutators/index.js +0 -1
  72. package/dist/zero/mutators/userMutators/userMutators.d.ts +0 -4
  73. package/dist/zero/mutators/userMutators/userMutators.d.ts.map +0 -1
  74. package/dist/zero/mutators/userMutators/userMutators.js +0 -28
  75. package/dist/zero/mutators/userMutators/userMutators.test.d.ts +0 -2
  76. package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +0 -1
  77. package/dist/zero/mutators/userMutators/userMutators.test.js +0 -84
  78. package/dist/zero/queries/getAccounts.d.ts +0 -1060
  79. package/dist/zero/queries/getAccounts.d.ts.map +0 -1
  80. package/dist/zero/queries/getAccounts.js +0 -3
  81. package/dist/zero/queries/getContacts.d.ts +0 -1040
  82. package/dist/zero/queries/getContacts.d.ts.map +0 -1
  83. package/dist/zero/queries/getContacts.js +0 -37
  84. package/dist/zero/queries/getDrafts.d.ts +0 -1061
  85. package/dist/zero/queries/getDrafts.d.ts.map +0 -1
  86. package/dist/zero/queries/getDrafts.js +0 -24
  87. package/dist/zero/queries/getThread.d.ts +0 -1072
  88. package/dist/zero/queries/getThread.js +0 -14
  89. package/dist/zero/queries/getThreadByMessageId.d.ts +0 -1056
  90. package/dist/zero/queries/getThreadByMessageId.d.ts.map +0 -1
  91. package/dist/zero/queries/getThreadByMessageId.js +0 -13
  92. package/dist/zero/queries/getThreadList.d.ts.map +0 -1
  93. package/dist/zero/queries/getThreadList.js +0 -57
  94. package/dist/zero/queries/getThreads.js +0 -59
  95. package/dist/zero/queries/getUser.d.ts +0 -1074
  96. package/dist/zero/queries/getUser.d.ts.map +0 -1
  97. package/dist/zero/queries/getUser.js +0 -7
  98. package/dist/zero/queries/index.d.ts +0 -1032
  99. package/dist/zero/queries/index.d.ts.map +0 -1
  100. package/dist/zero/queries/index.js +0 -11
@@ -36,6 +36,54 @@ export declare const schema: {
36
36
  } & {
37
37
  primaryKey: ["id"];
38
38
  };
39
+ readonly draftAttachment: {
40
+ name: "draftAttachment";
41
+ columns: {
42
+ readonly draftId: {
43
+ type: "string";
44
+ optional: false;
45
+ customType: string;
46
+ } & {
47
+ serverName: string;
48
+ };
49
+ readonly fileName: {
50
+ type: "string";
51
+ optional: false;
52
+ customType: string;
53
+ } & {
54
+ serverName: string;
55
+ };
56
+ readonly id: {
57
+ type: "string";
58
+ optional: false;
59
+ customType: string;
60
+ };
61
+ readonly mimeType: {
62
+ type: "string";
63
+ optional: false;
64
+ customType: string;
65
+ } & {
66
+ serverName: string;
67
+ };
68
+ readonly status: {
69
+ type: "string";
70
+ optional: false;
71
+ customType: "PENDING" | "COMPLETE" | "FAILED";
72
+ } & {
73
+ serverName: string;
74
+ };
75
+ readonly totalSize: {
76
+ type: "number";
77
+ optional: false;
78
+ customType: number;
79
+ } & {
80
+ serverName: string;
81
+ };
82
+ };
83
+ primaryKey: readonly [string, ...string[]];
84
+ } & {
85
+ primaryKey: ["id"];
86
+ };
39
87
  readonly userPushNotificationToken: {
40
88
  name: "userPushNotificationToken";
41
89
  columns: {
@@ -373,54 +421,6 @@ export declare const schema: {
373
421
  } & {
374
422
  primaryKey: ["id"];
375
423
  };
376
- readonly draftAttachment: {
377
- name: "draftAttachment";
378
- columns: {
379
- readonly draftId: {
380
- type: "string";
381
- optional: false;
382
- customType: string;
383
- } & {
384
- serverName: string;
385
- };
386
- readonly fileName: {
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 mimeType: {
399
- type: "string";
400
- optional: false;
401
- customType: string;
402
- } & {
403
- serverName: string;
404
- };
405
- readonly status: {
406
- type: "string";
407
- optional: false;
408
- customType: "PENDING" | "COMPLETE" | "FAILED";
409
- } & {
410
- serverName: string;
411
- };
412
- readonly totalSize: {
413
- type: "number";
414
- optional: false;
415
- customType: number;
416
- } & {
417
- serverName: string;
418
- };
419
- };
420
- primaryKey: readonly [string, ...string[]];
421
- } & {
422
- primaryKey: ["id"];
423
- };
424
424
  readonly thread: {
425
425
  name: "thread";
426
426
  columns: {
@@ -760,259 +760,259 @@ export declare const schema: {
760
760
  relationships: {
761
761
  readonly user: {
762
762
  accounts: [{
763
- readonly sourceField: string[];
764
- readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
763
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
764
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
765
765
  readonly destSchema: "account";
766
766
  readonly cardinality: "many";
767
767
  }];
768
768
  contacts: [{
769
- readonly sourceField: string[];
770
- readonly destField: ("id" | "name" | "userId" | "emailAddress")[];
769
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
770
+ readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
771
771
  readonly destSchema: "contact";
772
772
  readonly cardinality: "many";
773
773
  }];
774
774
  drafts: [{
775
- readonly sourceField: string[];
776
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
775
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
776
+ readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
777
777
  readonly destSchema: "draft";
778
778
  readonly cardinality: "many";
779
779
  }];
780
780
  pushNotificationTokens: [{
781
- readonly sourceField: string[];
782
- readonly destField: ("id" | "createdAt" | "token" | "userId")[];
781
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
782
+ readonly destField: readonly ("createdAt" | "id" | "token" | "userId")[];
783
783
  readonly destSchema: "userPushNotificationToken";
784
784
  readonly cardinality: "many";
785
785
  }];
786
786
  threads: [{
787
- readonly sourceField: string[];
788
- readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
787
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
788
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
789
789
  readonly destSchema: "thread";
790
790
  readonly cardinality: "many";
791
791
  }];
792
792
  };
793
+ readonly draftAttachment: {
794
+ draft: [{
795
+ readonly sourceField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
796
+ readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
797
+ readonly destSchema: "draft";
798
+ readonly cardinality: "one";
799
+ }];
800
+ };
793
801
  readonly userPushNotificationToken: {
794
802
  user: [{
795
- readonly sourceField: string[];
796
- readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
803
+ readonly sourceField: readonly ("createdAt" | "id" | "token" | "userId")[];
804
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
797
805
  readonly destSchema: "user";
798
806
  readonly cardinality: "one";
799
807
  }];
800
808
  };
801
809
  readonly contact: {
802
810
  user: [{
803
- readonly sourceField: string[];
804
- readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
811
+ readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
812
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
805
813
  readonly destSchema: "user";
806
814
  readonly cardinality: "one";
807
815
  }];
808
816
  };
809
817
  readonly account: {
810
818
  aliases: [{
811
- readonly sourceField: string[];
812
- readonly destField: ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
819
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
820
+ readonly destField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
813
821
  readonly destSchema: "accountAlias";
814
822
  readonly cardinality: "many";
815
823
  }];
816
824
  drafts: [{
817
- readonly sourceField: string[];
818
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
825
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
826
+ readonly destField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
819
827
  readonly destSchema: "draft";
820
828
  readonly cardinality: "many";
821
829
  }];
822
830
  labels: [{
823
- readonly sourceField: string[];
824
- readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
831
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
832
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
825
833
  readonly destSchema: "accountLabel";
826
834
  readonly cardinality: "many";
827
835
  }];
828
836
  primaryAlias: [{
829
- readonly sourceField: string[];
830
- readonly destField: ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
837
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
838
+ readonly destField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
831
839
  readonly destSchema: "accountAlias";
832
840
  readonly cardinality: "one";
833
841
  }];
834
842
  threads: [{
835
- readonly sourceField: string[];
836
- readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
843
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
844
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
837
845
  readonly destSchema: "thread";
838
846
  readonly cardinality: "many";
839
847
  }];
840
848
  user: [{
841
- readonly sourceField: string[];
842
- readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
849
+ readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
850
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
843
851
  readonly destSchema: "user";
844
852
  readonly cardinality: "one";
845
853
  }];
846
854
  };
847
855
  readonly accountAlias: {
848
856
  account: [{
849
- readonly sourceField: string[];
850
- readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
857
+ readonly sourceField: readonly ("id" | "name" | "emailAddress" | "accountId" | "isPrimary")[];
858
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
851
859
  readonly destSchema: "account";
852
860
  readonly cardinality: "one";
853
861
  }];
854
862
  };
855
863
  readonly accountLabel: {
856
864
  account: [{
857
- readonly sourceField: string[];
858
- readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
865
+ readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
866
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
859
867
  readonly destSchema: "account";
860
868
  readonly cardinality: "one";
861
869
  }];
862
870
  threads: [{
863
- readonly sourceField: string[];
864
- readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
871
+ readonly sourceField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
872
+ readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
865
873
  readonly destSchema: "threadLabel";
866
874
  readonly cardinality: "many";
867
875
  }, {
868
- readonly sourceField: string[];
869
- readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
876
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
877
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
870
878
  readonly destSchema: "thread";
871
879
  readonly cardinality: "many";
872
880
  }];
873
881
  };
874
882
  readonly draft: {
875
883
  account: [{
876
- readonly sourceField: string[];
877
- readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
884
+ readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
885
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
878
886
  readonly destSchema: "account";
879
887
  readonly cardinality: "one";
880
888
  }];
881
889
  attachments: [{
882
- readonly sourceField: string[];
883
- readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
890
+ readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
891
+ readonly destField: readonly ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
884
892
  readonly destSchema: "draftAttachment";
885
893
  readonly cardinality: "many";
886
894
  }];
887
895
  user: [{
888
- readonly sourceField: string[];
889
- readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
896
+ readonly sourceField: readonly ("type" | "status" | "id" | "updatedAt" | "body" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "error" | "subject")[];
897
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
890
898
  readonly destSchema: "user";
891
899
  readonly cardinality: "one";
892
900
  }];
893
901
  };
894
- readonly draftAttachment: {
895
- draft: [{
896
- readonly sourceField: string[];
897
- readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
898
- readonly destSchema: "draft";
899
- readonly cardinality: "one";
900
- }];
901
- };
902
902
  readonly thread: {
903
903
  account: [{
904
- readonly sourceField: string[];
905
- readonly destField: ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
904
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
905
+ readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
906
906
  readonly destSchema: "account";
907
907
  readonly cardinality: "one";
908
908
  }];
909
909
  labels: [{
910
- readonly sourceField: string[];
911
- readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
910
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
911
+ readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
912
912
  readonly destSchema: "threadLabel";
913
913
  readonly cardinality: "many";
914
914
  }, {
915
- readonly sourceField: string[];
916
- readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
915
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
916
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
917
917
  readonly destSchema: "accountLabel";
918
918
  readonly cardinality: "many";
919
919
  }];
920
920
  messages: [{
921
- readonly sourceField: string[];
922
- readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
921
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
922
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
923
923
  readonly destSchema: "threadMessage";
924
924
  readonly cardinality: "many";
925
925
  }];
926
926
  threadByLabel: [{
927
- readonly sourceField: string[];
928
- readonly destField: ("latestMessageDate" | "labelId" | "threadId")[];
927
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
928
+ readonly destField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
929
929
  readonly destSchema: "threadByLabel";
930
930
  readonly cardinality: "many";
931
931
  }];
932
932
  user: [{
933
- readonly sourceField: string[];
934
- readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
933
+ readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
934
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
935
935
  readonly destSchema: "user";
936
936
  readonly cardinality: "one";
937
937
  }];
938
938
  };
939
939
  readonly threadLabel: {
940
940
  label: [{
941
- readonly sourceField: string[];
942
- readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
941
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
942
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
943
943
  readonly destSchema: "accountLabel";
944
944
  readonly cardinality: "one";
945
945
  }];
946
946
  message: [{
947
- readonly sourceField: string[];
948
- readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
947
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
948
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
949
949
  readonly destSchema: "threadMessage";
950
950
  readonly cardinality: "one";
951
951
  }];
952
952
  thread: [{
953
- readonly sourceField: string[];
954
- readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
953
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
954
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
955
955
  readonly destSchema: "thread";
956
956
  readonly cardinality: "one";
957
957
  }];
958
958
  };
959
959
  readonly threadByLabel: {
960
960
  label: [{
961
- readonly sourceField: string[];
962
- readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
961
+ readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
962
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
963
963
  readonly destSchema: "accountLabel";
964
964
  readonly cardinality: "one";
965
965
  }];
966
966
  thread: [{
967
- readonly sourceField: string[];
968
- readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
967
+ readonly sourceField: readonly ("threadId" | "latestMessageDate" | "labelId")[];
968
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
969
969
  readonly destSchema: "thread";
970
970
  readonly cardinality: "one";
971
971
  }];
972
972
  };
973
973
  readonly threadMessage: {
974
974
  attachments: [{
975
- readonly sourceField: string[];
976
- readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
975
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
976
+ readonly destField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
977
977
  readonly destSchema: "threadMessageAttachment";
978
978
  readonly cardinality: "many";
979
979
  }];
980
980
  labels: [{
981
- readonly sourceField: string[];
982
- readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
981
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
982
+ readonly destField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
983
983
  readonly destSchema: "threadLabel";
984
984
  readonly cardinality: "many";
985
985
  }, {
986
- readonly sourceField: string[];
987
- readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
986
+ readonly sourceField: readonly ("threadId" | "accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadMessageId" | "uid")[];
987
+ readonly destField: readonly ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
988
988
  readonly destSchema: "accountLabel";
989
989
  readonly cardinality: "many";
990
990
  }];
991
991
  recipients: [{
992
- readonly sourceField: string[];
993
- readonly destField: ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
992
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
993
+ readonly destField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
994
994
  readonly destSchema: "threadMessageRecipient";
995
995
  readonly cardinality: "many";
996
996
  }];
997
997
  thread: [{
998
- readonly sourceField: string[];
999
- readonly destField: ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
998
+ readonly sourceField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
999
+ readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
1000
1000
  readonly destSchema: "thread";
1001
1001
  readonly cardinality: "one";
1002
1002
  }];
1003
1003
  };
1004
1004
  readonly threadMessageRecipient: {
1005
1005
  message: [{
1006
- readonly sourceField: string[];
1007
- readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1006
+ readonly sourceField: readonly ("type" | "id" | "name" | "emailAddress" | "threadMessageId")[];
1007
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1008
1008
  readonly destSchema: "threadMessage";
1009
1009
  readonly cardinality: "one";
1010
1010
  }];
1011
1011
  };
1012
1012
  readonly threadMessageAttachment: {
1013
1013
  message: [{
1014
- readonly sourceField: string[];
1015
- readonly destField: ("id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "threadId" | "envelopeDate" | "envelopeSubject")[];
1014
+ readonly sourceField: readonly ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
1015
+ readonly destField: readonly ("threadId" | "id" | "accountId" | "previewText" | "senderEmail" | "senderName" | "envelopeDate" | "envelopeSubject")[];
1016
1016
  readonly destSchema: "threadMessage";
1017
1017
  readonly cardinality: "one";
1018
1018
  }];
@@ -1022,7 +1022,7 @@ export declare const schema: {
1022
1022
  enableLegacyMutators: false;
1023
1023
  };
1024
1024
  export type MarcoZeroSchema = typeof schema;
1025
- export declare const zeroTables: {
1025
+ export declare const tables: {
1026
1026
  readonly account: import("@rocicorp/zero").TableBuilderWithColumns<{
1027
1027
  name: "account";
1028
1028
  columns: {
@@ -1780,4 +1780,9 @@ export declare const zeroTables: {
1780
1780
  primaryKey: ["id"];
1781
1781
  }>;
1782
1782
  };
1783
+ declare module '@rocicorp/zero' {
1784
+ interface DefaultTypes {
1785
+ schema: typeof schema;
1786
+ }
1787
+ }
1783
1788
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA0bA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAjWJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;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AvYJ,MAAM;wBACX,MAAM,EAAE;wBACR,MAAM,EAAE;yBACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmZT,CAAA;AAEV,OAAO,QAAQ,gBAAgB,CAAC;IAC9B,UAAU,YAAY;QACpB,MAAM,EAAE,OAAO,MAAM,CAAA;KACtB;CACF"}
@@ -414,7 +414,7 @@ export const schema = createSchema({
414
414
  threadMessageAttachment,
415
415
  ],
416
416
  });
417
- export const zeroTables = {
417
+ export const tables = {
418
418
  account,
419
419
  accountAlias,
420
420
  accountLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.508",
3
+ "version": "2.0.509",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -21,13 +21,13 @@
21
21
  "build": "tsc && tsc-alias",
22
22
  "lint": "biome check . --error-on-warnings",
23
23
  "release": "bun run build && auto shipit",
24
- "test": "bun test",
24
+ "test": "bun test src",
25
25
  "typecheck": "tsc -noEmit --incremental"
26
26
  },
27
27
  "dependencies": {
28
28
  "@orama/stemmers": "3.1.16",
29
29
  "@orama/stopwords": "3.1.16",
30
- "@rocicorp/zero": "0.24.3000000000",
30
+ "@rocicorp/zero": "0.25.4",
31
31
  "diff": "8.0.2",
32
32
  "valibot": "1.1.0"
33
33
  },
@@ -1,80 +0,0 @@
1
- import * as v from 'valibot';
2
- export declare const accountMutatorSchemas: {
3
- readonly createAccount: {
4
- readonly delta: v.ObjectSchema<{
5
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
6
- readonly color: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
- readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
8
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
9
- }, undefined>;
10
- };
11
- readonly createAlias: {
12
- readonly delta: v.ObjectSchema<{
13
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
14
- readonly alias: v.ObjectSchema<{
15
- readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
16
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
17
- readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
18
- }, undefined>;
19
- }, undefined>;
20
- };
21
- readonly deleteAccount: {
22
- readonly delta: v.ObjectSchema<{
23
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
24
- }, undefined>;
25
- };
26
- readonly deleteAlias: {
27
- readonly delta: v.ObjectSchema<{
28
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
29
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
30
- }, undefined>;
31
- };
32
- readonly setAliasName: {
33
- readonly delta: v.ObjectSchema<{
34
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
35
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
36
- readonly displayName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
37
- }, undefined>;
38
- };
39
- readonly setAliasPrimary: {
40
- readonly delta: v.ObjectSchema<{
41
- readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
42
- readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
43
- }, undefined>;
44
- };
45
- readonly setConnectionConfigImapRaw: {
46
- readonly delta: v.ObjectSchema<{
47
- readonly connectionConfig: v.ObjectSchema<{
48
- readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
49
- readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
50
- readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
51
- readonly imapSocketType: v.UnionSchema<[v.LiteralSchema<"STARTTLS", undefined>, v.LiteralSchema<"SSL", undefined>], undefined>;
52
- readonly imapUser: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
53
- readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
54
- readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
55
- readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
56
- readonly smtpSocketType: v.UnionSchema<[v.LiteralSchema<"STARTTLS", undefined>, v.LiteralSchema<"SSL", undefined>], undefined>;
57
- readonly smtpUser: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
58
- }, undefined>;
59
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
60
- }, undefined>;
61
- };
62
- readonly setConnectionConfigOauth: {
63
- readonly delta: v.ObjectSchema<{
64
- readonly connectionConfig: v.ObjectSchema<{
65
- readonly code: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
66
- readonly provider: v.PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
67
- readonly user: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
68
- }, undefined>;
69
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
70
- }, undefined>;
71
- };
72
- readonly setSettings: {
73
- readonly delta: v.ObjectSchema<{
74
- readonly color: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
75
- readonly displayName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
76
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
77
- }, undefined>;
78
- };
79
- };
80
- //# sourceMappingURL=account.d.ts.map