@marcoappio/marco-config 2.0.492 → 2.0.494

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 (71) hide show
  1. package/dist/types/Zero.d.ts +8 -14
  2. package/dist/types/Zero.d.ts.map +1 -1
  3. package/dist/types/index.d.ts +0 -1
  4. package/dist/types/index.d.ts.map +1 -1
  5. package/dist/types/index.js +0 -1
  6. package/dist/zero/crud.d.ts +1024 -0
  7. package/dist/zero/crud.d.ts.map +1 -0
  8. package/dist/zero/crud.js +3 -0
  9. package/dist/zero/index.d.ts +1621 -1447
  10. package/dist/zero/index.d.ts.map +1 -1
  11. package/dist/zero/index.js +2 -4
  12. package/dist/zero/mutators/accountMutators/accountMutators.d.ts +127 -3
  13. package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
  14. package/dist/zero/mutators/accountMutators/accountMutators.js +88 -53
  15. package/dist/zero/mutators/draftMutators/draftMutators.d.ts +185 -3
  16. package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
  17. package/dist/zero/mutators/draftMutators/draftMutators.js +124 -51
  18. package/dist/zero/mutators/index.d.ts +1 -1
  19. package/dist/zero/mutators/index.d.ts.map +1 -1
  20. package/dist/zero/mutators/index.js +1 -1
  21. package/dist/zero/mutators/mutators.d.ts +497 -17
  22. package/dist/zero/mutators/mutators.d.ts.map +1 -1
  23. package/dist/zero/mutators/mutators.js +10 -38
  24. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +147 -6
  25. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  26. package/dist/zero/mutators/threadMutators/threadMutators.js +79 -59
  27. package/dist/zero/mutators/userMutators/userMutators.d.ts +37 -3
  28. package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
  29. package/dist/zero/mutators/userMutators/userMutators.js +32 -14
  30. package/dist/zero/queries/getAccounts.d.ts +135 -135
  31. package/dist/zero/queries/getContacts.d.ts +135 -135
  32. package/dist/zero/queries/getDrafts.d.ts +135 -135
  33. package/dist/zero/queries/getThread.d.ts +135 -135
  34. package/dist/zero/queries/getThreadList.d.ts +135 -135
  35. package/dist/zero/queries/getThreads.d.ts +135 -135
  36. package/dist/zero/queries/getUser.d.ts +135 -135
  37. package/dist/zero/queries/index.d.ts +133 -133
  38. package/dist/zero/schema.d.ts +133 -133
  39. package/dist/zero/schema.d.ts.map +1 -1
  40. package/dist/zero/schema.js +0 -1
  41. package/package.json +2 -2
  42. package/dist/types/AuthData.d.ts +0 -4
  43. package/dist/types/AuthData.d.ts.map +0 -1
  44. package/dist/types/AuthData.js +0 -1
  45. package/dist/zero/mutatorSchemas/account.d.ts +0 -80
  46. package/dist/zero/mutatorSchemas/account.d.ts.map +0 -1
  47. package/dist/zero/mutatorSchemas/account.js +0 -66
  48. package/dist/zero/mutatorSchemas/draft.d.ts +0 -150
  49. package/dist/zero/mutatorSchemas/draft.d.ts.map +0 -1
  50. package/dist/zero/mutatorSchemas/draft.js +0 -104
  51. package/dist/zero/mutatorSchemas/index.d.ts +0 -323
  52. package/dist/zero/mutatorSchemas/index.d.ts.map +0 -1
  53. package/dist/zero/mutatorSchemas/index.js +0 -10
  54. package/dist/zero/mutatorSchemas/thread.d.ts +0 -71
  55. package/dist/zero/mutatorSchemas/thread.d.ts.map +0 -1
  56. package/dist/zero/mutatorSchemas/thread.js +0 -47
  57. package/dist/zero/mutatorSchemas/user.d.ts +0 -26
  58. package/dist/zero/mutatorSchemas/user.d.ts.map +0 -1
  59. package/dist/zero/mutatorSchemas/user.js +0 -27
  60. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +0 -2
  61. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +0 -1
  62. package/dist/zero/mutators/accountMutators/accountMutators.test.js +0 -372
  63. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +0 -2
  64. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +0 -1
  65. package/dist/zero/mutators/draftMutators/draftMutators.test.js +0 -416
  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/userMutators.test.d.ts +0 -2
  70. package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +0 -1
  71. package/dist/zero/mutators/userMutators/userMutators.test.js +0 -84
@@ -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,266 +760,266 @@ 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
  }];
1019
1019
  };
1020
1020
  };
1021
1021
  enableLegacyQueries: boolean | undefined;
1022
- enableLegacyMutators: false;
1022
+ enableLegacyMutators: boolean | undefined;
1023
1023
  };
1024
1024
  export type MarcoZeroSchema = typeof schema;
1025
1025
  export declare const zeroTables: {
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkZT,CAAA"}
@@ -380,7 +380,6 @@ const threadMessageRecipientRelationships = relationships(threadMessageRecipient
380
380
  }),
381
381
  }));
382
382
  export const schema = createSchema({
383
- enableLegacyMutators: false,
384
383
  relationships: [
385
384
  userRelationships,
386
385
  userPushNotificationTokenRelationships,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.492",
3
+ "version": "2.0.494",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -27,7 +27,7 @@
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.0-canary.18",
31
31
  "diff": "8.0.2",
32
32
  "valibot": "1.1.0"
33
33
  },
@@ -1,4 +0,0 @@
1
- export type AuthData = {
2
- sub: string;
3
- };
4
- //# sourceMappingURL=AuthData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthData.d.ts","sourceRoot":"","sources":["../../src/types/AuthData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
@@ -1 +0,0 @@
1
- export {};
@@ -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.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, 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.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DxB,CAAA"}