@marcoappio/marco-config 2.0.504 → 2.0.506

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 (120) hide show
  1. package/dist/schemas/auth.d.ts +1 -1
  2. package/dist/schemas/index.d.ts +2 -2
  3. package/dist/schemas/string.d.ts +1 -1
  4. package/dist/schemas/string.d.ts.map +1 -1
  5. package/dist/schemas/string.js +4 -1
  6. package/dist/sdk/endpoints/index.d.ts +4 -4
  7. package/dist/sdk/endpoints/public/auth/index.d.ts +4 -4
  8. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
  9. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
  10. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +2 -2
  11. package/dist/sdk/endpoints/public/index.d.ts +4 -4
  12. package/dist/sdk/index.d.ts +4 -4
  13. package/dist/types/AuthData.d.ts +4 -0
  14. package/dist/types/AuthData.d.ts.map +1 -0
  15. package/dist/types/AuthData.js +1 -0
  16. package/dist/types/IMAPSourceLocation.d.ts +7 -0
  17. package/dist/types/IMAPSourceLocation.d.ts.map +1 -0
  18. package/dist/types/IMAPSourceLocation.js +1 -0
  19. package/dist/types/Zero.d.ts +14 -8
  20. package/dist/types/Zero.d.ts.map +1 -1
  21. package/dist/types/index.d.ts +2 -0
  22. package/dist/types/index.d.ts.map +1 -1
  23. package/dist/types/index.js +2 -0
  24. package/dist/zero/index.d.ts +7749 -3113
  25. package/dist/zero/index.d.ts.map +1 -1
  26. package/dist/zero/index.js +14 -5
  27. package/dist/zero/mutatorSchemas/account.d.ts +80 -0
  28. package/dist/zero/mutatorSchemas/account.d.ts.map +1 -0
  29. package/dist/zero/mutatorSchemas/account.js +66 -0
  30. package/dist/zero/mutatorSchemas/draft.d.ts +150 -0
  31. package/dist/zero/mutatorSchemas/draft.d.ts.map +1 -0
  32. package/dist/zero/mutatorSchemas/draft.js +104 -0
  33. package/dist/zero/mutatorSchemas/index.d.ts +323 -0
  34. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -0
  35. package/dist/zero/mutatorSchemas/index.js +10 -0
  36. package/dist/zero/mutatorSchemas/thread.d.ts +71 -0
  37. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -0
  38. package/dist/zero/mutatorSchemas/thread.js +47 -0
  39. package/dist/zero/mutatorSchemas/user.d.ts +26 -0
  40. package/dist/zero/mutatorSchemas/user.d.ts.map +1 -0
  41. package/dist/zero/mutatorSchemas/user.js +27 -0
  42. package/dist/zero/mutators/accountMutators/accountMutators.d.ts +3 -188
  43. package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
  44. package/dist/zero/mutators/accountMutators/accountMutators.js +82 -118
  45. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +2 -0
  46. package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +1 -0
  47. package/dist/zero/mutators/accountMutators/accountMutators.test.js +372 -0
  48. package/dist/zero/mutators/accountMutators/index.d.ts +1 -1
  49. package/dist/zero/mutators/accountMutators/index.d.ts.map +1 -1
  50. package/dist/zero/mutators/accountMutators/index.js +1 -1
  51. package/dist/zero/mutators/draftMutators/draftMutators.d.ts +3 -305
  52. package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
  53. package/dist/zero/mutators/draftMutators/draftMutators.js +83 -157
  54. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +2 -0
  55. package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +1 -0
  56. package/dist/zero/mutators/draftMutators/draftMutators.test.js +416 -0
  57. package/dist/zero/mutators/draftMutators/index.d.ts +1 -1
  58. package/dist/zero/mutators/draftMutators/index.d.ts.map +1 -1
  59. package/dist/zero/mutators/draftMutators/index.js +1 -1
  60. package/dist/zero/mutators/index.d.ts +1 -251
  61. package/dist/zero/mutators/index.d.ts.map +1 -1
  62. package/dist/zero/mutators/index.js +1 -11
  63. package/dist/zero/mutators/mutators.d.ts +17 -1519
  64. package/dist/zero/mutators/mutators.d.ts.map +1 -1
  65. package/dist/zero/mutators/mutators.js +38 -11
  66. package/dist/zero/mutators/threadMutators/index.d.ts +1 -1
  67. package/dist/zero/mutators/threadMutators/index.d.ts.map +1 -1
  68. package/dist/zero/mutators/threadMutators/index.js +1 -1
  69. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +6 -199
  70. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  71. package/dist/zero/mutators/threadMutators/threadMutators.js +87 -119
  72. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts +2 -0
  73. package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts.map +1 -0
  74. package/dist/zero/mutators/threadMutators/threadMutators.test.js +755 -0
  75. package/dist/zero/mutators/userMutators/index.d.ts +1 -1
  76. package/dist/zero/mutators/userMutators/index.d.ts.map +1 -1
  77. package/dist/zero/mutators/userMutators/index.js +1 -1
  78. package/dist/zero/mutators/userMutators/userMutators.d.ts +3 -56
  79. package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
  80. package/dist/zero/mutators/userMutators/userMutators.js +26 -40
  81. package/dist/zero/mutators/userMutators/userMutators.test.d.ts +2 -0
  82. package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +1 -0
  83. package/dist/zero/mutators/userMutators/userMutators.test.js +84 -0
  84. package/dist/zero/queries/getAccounts.d.ts +1025 -4
  85. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  86. package/dist/zero/queries/getAccounts.js +3 -6
  87. package/dist/zero/queries/getContacts.d.ts +1033 -18
  88. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  89. package/dist/zero/queries/getContacts.js +15 -11
  90. package/dist/zero/queries/getDrafts.d.ts +1031 -11
  91. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  92. package/dist/zero/queries/getDrafts.js +11 -7
  93. package/dist/zero/queries/getThread.d.ts +1028 -7
  94. package/dist/zero/queries/getThread.d.ts.map +1 -1
  95. package/dist/zero/queries/getThread.js +9 -5
  96. package/dist/zero/queries/getThreadList.d.ts +1035 -23
  97. package/dist/zero/queries/getThreadList.d.ts.map +1 -1
  98. package/dist/zero/queries/getThreadList.js +18 -14
  99. package/dist/zero/queries/getThreads.d.ts +1035 -23
  100. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  101. package/dist/zero/queries/getThreads.js +18 -14
  102. package/dist/zero/queries/getUser.d.ts +1025 -4
  103. package/dist/zero/queries/getUser.d.ts.map +1 -1
  104. package/dist/zero/queries/getUser.js +7 -10
  105. package/dist/zero/queries/index.d.ts +141 -460
  106. package/dist/zero/queries/index.d.ts.map +1 -1
  107. package/dist/zero/queries/index.js +10 -18
  108. package/dist/zero/schema.d.ts +133 -133
  109. package/dist/zero/schema.d.ts.map +1 -1
  110. package/dist/zero/schema.js +1 -0
  111. package/package.json +3 -2
  112. package/dist/zero/crud.d.ts +0 -1024
  113. package/dist/zero/crud.d.ts.map +0 -1
  114. package/dist/zero/crud.js +0 -3
  115. package/dist/zero/mutators/typedMutator.d.ts +0 -2056
  116. package/dist/zero/mutators/typedMutator.d.ts.map +0 -1
  117. package/dist/zero/mutators/typedMutator.js +0 -2
  118. package/dist/zero/queries/z.d.ts +0 -14439
  119. package/dist/zero/queries/z.d.ts.map +0 -1
  120. package/dist/zero/queries/z.js +0 -3
@@ -3,7 +3,7 @@ export declare const auth: {
3
3
  code: v.ObjectSchema<{
4
4
  readonly authType: v.LiteralSchema<"CODE", undefined>;
5
5
  readonly code: v.StringSchema<undefined>;
6
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
6
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
7
7
  }, undefined>;
8
8
  };
9
9
  //# sourceMappingURL=auth.d.ts.map
@@ -6,7 +6,7 @@ export declare const marcoSchemas: {
6
6
  code: import("valibot").ObjectSchema<{
7
7
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
8
8
  readonly code: import("valibot").StringSchema<undefined>;
9
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
9
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
10
10
  }, undefined>;
11
11
  };
12
12
  drafts: {
@@ -65,7 +65,7 @@ export declare const marcoSchemas: {
65
65
  }, undefined>], undefined>;
66
66
  };
67
67
  string: {
68
- email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
68
+ email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
69
69
  enum: (values: Record<string, string>) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EnumSchema<Record<string, string>, undefined>]>, undefined>;
70
70
  matches: (regex: RegExp) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
71
71
  nullable: (maxLength?: number) => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1,6 +1,6 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const string: {
3
- email: () => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
3
+ email: () => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
4
4
  enum: (values: Record<string, string>) => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EnumSchema<Record<string, string>, undefined>]>, undefined>;
5
5
  matches: (regex: RegExp) => v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
6
6
  nullable: (maxLength?: number) => v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/schemas/string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,MAAM;;mBAEF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;qBACpB,MAAM;;;;CAIxB,CAAA"}
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/schemas/string.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,MAAM;;mBAUF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;qBACpB,MAAM;;;;CAIxB,CAAA"}
@@ -1,6 +1,9 @@
1
+ import { parseOneAddress } from 'email-addresses';
1
2
  import * as v from 'valibot';
2
3
  export const string = {
3
- email: () => v.nonOptional(v.pipe(v.string(), v.email(), v.maxLength(255))),
4
+ email: () => v.nonOptional(v.pipe(v.string(),
5
+ // rfc5322
6
+ v.check(x => parseOneAddress(x) !== null, 'Invalid email'), v.maxLength(255))),
4
7
  enum: (values) => v.nonOptional(v.pipe(v.string(), v.enum(values))),
5
8
  matches: (regex) => v.nonOptional(v.pipe(v.string(), v.regex(regex))),
6
9
  nullable: (maxLength = 255) => v.nullable(v.pipe(v.string(), v.nonEmpty(), v.maxLength(maxLength))),
@@ -94,7 +94,7 @@ export declare const endpoints: {
94
94
  readonly refreshToken: import("valibot").StringSchema<undefined>;
95
95
  readonly user: import("valibot").ObjectSchema<{
96
96
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
97
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
97
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
98
98
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
99
99
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
100
100
  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>;
@@ -106,7 +106,7 @@ export declare const endpoints: {
106
106
  readonly status: import("valibot").LiteralSchema<200, undefined>;
107
107
  }, undefined>], undefined>>;
108
108
  sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
109
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
110
110
  }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
111
111
  readonly data: import("valibot").ObjectSchema<{
112
112
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -133,7 +133,7 @@ export declare const endpoints: {
133
133
  verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
134
134
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
135
135
  readonly code: import("valibot").StringSchema<undefined>;
136
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
136
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
137
137
  }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
138
138
  readonly data: import("valibot").ObjectSchema<{
139
139
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -185,7 +185,7 @@ export declare const endpoints: {
185
185
  readonly refreshToken: import("valibot").StringSchema<undefined>;
186
186
  readonly user: import("valibot").ObjectSchema<{
187
187
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
188
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
188
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
189
189
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
190
190
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
191
191
  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>;
@@ -27,7 +27,7 @@ export declare const auth: {
27
27
  readonly refreshToken: import("valibot").StringSchema<undefined>;
28
28
  readonly user: import("valibot").ObjectSchema<{
29
29
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
30
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
31
31
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
32
32
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
33
33
  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>;
@@ -39,7 +39,7 @@ export declare const auth: {
39
39
  readonly status: import("valibot").LiteralSchema<200, undefined>;
40
40
  }, undefined>], undefined>>;
41
41
  sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
42
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
42
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
43
43
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
44
44
  readonly data: import("valibot").ObjectSchema<{
45
45
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -66,7 +66,7 @@ export declare const auth: {
66
66
  verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
67
67
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
68
68
  readonly code: import("valibot").StringSchema<undefined>;
69
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
69
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
70
70
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
71
71
  readonly data: import("valibot").ObjectSchema<{
72
72
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -118,7 +118,7 @@ export declare const auth: {
118
118
  readonly refreshToken: import("valibot").StringSchema<undefined>;
119
119
  readonly user: import("valibot").ObjectSchema<{
120
120
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
121
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
121
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
122
122
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
123
123
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
124
124
  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>;
@@ -27,7 +27,7 @@ export declare const refreshAuth: import("../../../..").EndpointConfig<"/v1/pb/a
27
27
  readonly refreshToken: v.StringSchema<undefined>;
28
28
  readonly user: v.ObjectSchema<{
29
29
  readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
30
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
31
31
  readonly emailVerified: v.BooleanSchema<undefined>;
32
32
  readonly firstName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
33
33
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1,6 +1,6 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", v.ObjectSchema<{
3
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
3
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
4
4
  }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
5
5
  readonly data: v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/verify-code", v.ObjectSchema<{
3
3
  readonly authType: v.LiteralSchema<"CODE", undefined>;
4
4
  readonly code: v.StringSchema<undefined>;
5
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
5
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
6
6
  }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
7
7
  readonly data: v.ObjectSchema<{
8
8
  readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -54,7 +54,7 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
54
54
  readonly refreshToken: v.StringSchema<undefined>;
55
55
  readonly user: v.ObjectSchema<{
56
56
  readonly createdAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
57
- readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
57
+ readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
58
58
  readonly emailVerified: v.BooleanSchema<undefined>;
59
59
  readonly firstName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
60
60
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -28,7 +28,7 @@ export declare const publicGroup: {
28
28
  readonly refreshToken: import("valibot").StringSchema<undefined>;
29
29
  readonly user: import("valibot").ObjectSchema<{
30
30
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
31
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
32
32
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
33
33
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
34
34
  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>;
@@ -40,7 +40,7 @@ export declare const publicGroup: {
40
40
  readonly status: import("valibot").LiteralSchema<200, undefined>;
41
41
  }, undefined>], undefined>>;
42
42
  sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
43
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
43
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
44
44
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
45
45
  readonly data: import("valibot").ObjectSchema<{
46
46
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -67,7 +67,7 @@ export declare const publicGroup: {
67
67
  verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
68
68
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
69
69
  readonly code: import("valibot").StringSchema<undefined>;
70
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
70
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
71
71
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
72
72
  readonly data: import("valibot").ObjectSchema<{
73
73
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -119,7 +119,7 @@ export declare const publicGroup: {
119
119
  readonly refreshToken: import("valibot").StringSchema<undefined>;
120
120
  readonly user: import("valibot").ObjectSchema<{
121
121
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
122
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
122
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
123
123
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
124
124
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
125
125
  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>;
@@ -93,7 +93,7 @@ export declare const marcoSDK: {
93
93
  readonly refreshToken: import("valibot").StringSchema<undefined>;
94
94
  readonly user: import("valibot").ObjectSchema<{
95
95
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
96
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
96
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
97
97
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
98
98
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
99
99
  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>;
@@ -105,7 +105,7 @@ export declare const marcoSDK: {
105
105
  readonly status: import("valibot").LiteralSchema<200, undefined>;
106
106
  }, undefined>], undefined>>;
107
107
  sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
108
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
108
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
109
109
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
110
110
  readonly data: import("valibot").ObjectSchema<{
111
111
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -132,7 +132,7 @@ export declare const marcoSDK: {
132
132
  verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
133
133
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
134
134
  readonly code: import("valibot").StringSchema<undefined>;
135
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
135
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
136
136
  }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
137
137
  readonly data: import("valibot").ObjectSchema<{
138
138
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
@@ -184,7 +184,7 @@ export declare const marcoSDK: {
184
184
  readonly refreshToken: import("valibot").StringSchema<undefined>;
185
185
  readonly user: import("valibot").ObjectSchema<{
186
186
  readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
187
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
187
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
188
188
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
189
189
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
190
190
  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>;
@@ -0,0 +1,4 @@
1
+ export type AuthData = {
2
+ sub: string;
3
+ };
4
+ //# sourceMappingURL=AuthData.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export type IMAPSourceLocation = {
2
+ labelId: string;
3
+ threadMessageId: string;
4
+ uid: number;
5
+ uidValidity: number;
6
+ };
7
+ //# sourceMappingURL=IMAPSourceLocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMAPSourceLocation.d.ts","sourceRoot":"","sources":["../../src/types/IMAPSourceLocation.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,17 +1,23 @@
1
+ import type { Transaction } from '@rocicorp/zero';
2
+ import type * as v from 'valibot';
3
+ import type { MarcoZeroSchema } from '../zero/schema';
1
4
  export type MarcoSyncedQueryContext = {
2
5
  userId: string;
3
6
  };
7
+ export type MutatorDefinition = {
8
+ delta: v.GenericSchema;
9
+ };
10
+ export type MutatorDefinitions = Record<string, MutatorDefinition>;
11
+ export type MutatorHandler<Schema extends v.GenericSchema> = (tx: Transaction<MarcoZeroSchema>, args: v.InferOutput<Schema>) => Promise<void>;
12
+ export type HandlerMap<Defs extends MutatorDefinitions> = {
13
+ [Name in keyof Defs]: MutatorHandler<Defs[Name]['delta']>;
14
+ };
15
+ export type MutatorMap<Defs extends MutatorDefinitions> = {
16
+ [Name in keyof Defs]: (tx: Transaction<MarcoZeroSchema>, args: v.InferInput<Defs[Name]['delta']>) => Promise<void>;
17
+ };
4
18
  export declare enum MutationError {
5
19
  AUTHENTICATION_REQUIRED = "MutationError/AUTHENTICATION_REQUIRED",
6
20
  ALREADY_APPLIED = "MutationError/ALREADY_APPLIED",
7
21
  ENTITY_NOT_FOUND = "MutationError/ENTITY_NOT_FOUND"
8
22
  }
9
- export type ZeroContext = {
10
- userId: string;
11
- };
12
- declare module '@rocicorp/zero' {
13
- interface DefaultTypes {
14
- context: ZeroContext;
15
- }
16
- }
17
23
  //# sourceMappingURL=Zero.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Zero.d.ts","sourceRoot":"","sources":["../../src/types/Zero.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,oBAAY,aAAa;IACvB,uBAAuB,0CAA0C;IACjE,eAAe,kCAAkC;IACjD,gBAAgB,mCAAmC;CACpD;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,OAAO,QAAQ,gBAAgB,CAAC;IAC9B,UAAU,YAAY;QACpB,OAAO,EAAE,WAAW,CAAA;KACrB;CACF"}
1
+ {"version":3,"file":"Zero.d.ts","sourceRoot":"","sources":["../../src/types/Zero.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,CAAC,CAAC,aAAa,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;AAElE,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,CAAC,CAAC,aAAa,IAAI,CAC3D,EAAE,EAAE,WAAW,CAAC,eAAe,CAAC,EAChC,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,KACxB,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB,MAAM,MAAM,UAAU,CAAC,IAAI,SAAS,kBAAkB,IAAI;KACvD,IAAI,IAAI,MAAM,IAAI,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;CAC1D,CAAA;AAED,MAAM,MAAM,UAAU,CAAC,IAAI,SAAS,kBAAkB,IAAI;KACvD,IAAI,IAAI,MAAM,IAAI,GAAG,CAAC,EAAE,EAAE,WAAW,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC;CACnH,CAAA;AAED,oBAAY,aAAa;IACvB,uBAAuB,0CAA0C;IACjE,eAAe,kCAAkC;IACjD,gBAAgB,mCAAmC;CACpD"}
@@ -1,9 +1,11 @@
1
+ export * from './AuthData';
1
2
  export * from './DraftAttachmentUploadStatus';
2
3
  export * from './DraftStatus';
3
4
  export * from './DraftType';
4
5
  export * from './EmailProvider';
5
6
  export * from './Endpoint';
6
7
  export * from './IMAPConnectionStatus';
8
+ export * from './IMAPSourceLocation';
7
9
  export * from './LabelSpecialUse';
8
10
  export * from './MarcoPlatform';
9
11
  export * from './MessageRecipientType';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}
@@ -1,9 +1,11 @@
1
+ export * from './AuthData';
1
2
  export * from './DraftAttachmentUploadStatus';
2
3
  export * from './DraftStatus';
3
4
  export * from './DraftType';
4
5
  export * from './EmailProvider';
5
6
  export * from './Endpoint';
6
7
  export * from './IMAPConnectionStatus';
8
+ export * from './IMAPSourceLocation';
7
9
  export * from './LabelSpecialUse';
8
10
  export * from './MarcoPlatform';
9
11
  export * from './MessageRecipientType';