@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.
- package/dist/schemas/auth.d.ts +1 -1
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/string.d.ts +1 -1
- package/dist/schemas/string.d.ts.map +1 -1
- package/dist/schemas/string.js +4 -1
- package/dist/sdk/endpoints/index.d.ts +4 -4
- package/dist/sdk/endpoints/public/auth/index.d.ts +4 -4
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +2 -2
- package/dist/sdk/endpoints/public/index.d.ts +4 -4
- package/dist/sdk/index.d.ts +4 -4
- package/dist/types/AuthData.d.ts +4 -0
- package/dist/types/AuthData.d.ts.map +1 -0
- package/dist/types/AuthData.js +1 -0
- package/dist/types/IMAPSourceLocation.d.ts +7 -0
- package/dist/types/IMAPSourceLocation.d.ts.map +1 -0
- package/dist/types/IMAPSourceLocation.js +1 -0
- package/dist/types/Zero.d.ts +14 -8
- package/dist/types/Zero.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/zero/index.d.ts +7749 -3113
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/index.js +14 -5
- package/dist/zero/mutatorSchemas/account.d.ts +80 -0
- package/dist/zero/mutatorSchemas/account.d.ts.map +1 -0
- package/dist/zero/mutatorSchemas/account.js +66 -0
- package/dist/zero/mutatorSchemas/draft.d.ts +150 -0
- package/dist/zero/mutatorSchemas/draft.d.ts.map +1 -0
- package/dist/zero/mutatorSchemas/draft.js +104 -0
- package/dist/zero/mutatorSchemas/index.d.ts +323 -0
- package/dist/zero/mutatorSchemas/index.d.ts.map +1 -0
- package/dist/zero/mutatorSchemas/index.js +10 -0
- package/dist/zero/mutatorSchemas/thread.d.ts +71 -0
- package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -0
- package/dist/zero/mutatorSchemas/thread.js +47 -0
- package/dist/zero/mutatorSchemas/user.d.ts +26 -0
- package/dist/zero/mutatorSchemas/user.d.ts.map +1 -0
- package/dist/zero/mutatorSchemas/user.js +27 -0
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts +3 -188
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
- package/dist/zero/mutators/accountMutators/accountMutators.js +82 -118
- package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts +2 -0
- package/dist/zero/mutators/accountMutators/accountMutators.test.d.ts.map +1 -0
- package/dist/zero/mutators/accountMutators/accountMutators.test.js +372 -0
- package/dist/zero/mutators/accountMutators/index.d.ts +1 -1
- package/dist/zero/mutators/accountMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/accountMutators/index.js +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts +3 -305
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.js +83 -157
- package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts +2 -0
- package/dist/zero/mutators/draftMutators/draftMutators.test.d.ts.map +1 -0
- package/dist/zero/mutators/draftMutators/draftMutators.test.js +416 -0
- package/dist/zero/mutators/draftMutators/index.d.ts +1 -1
- package/dist/zero/mutators/draftMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/index.js +1 -1
- package/dist/zero/mutators/index.d.ts +1 -251
- package/dist/zero/mutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/index.js +1 -11
- package/dist/zero/mutators/mutators.d.ts +17 -1519
- package/dist/zero/mutators/mutators.d.ts.map +1 -1
- package/dist/zero/mutators/mutators.js +38 -11
- package/dist/zero/mutators/threadMutators/index.d.ts +1 -1
- package/dist/zero/mutators/threadMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/index.js +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts +6 -199
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +87 -119
- package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts +2 -0
- package/dist/zero/mutators/threadMutators/threadMutators.test.d.ts.map +1 -0
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +755 -0
- package/dist/zero/mutators/userMutators/index.d.ts +1 -1
- package/dist/zero/mutators/userMutators/index.d.ts.map +1 -1
- package/dist/zero/mutators/userMutators/index.js +1 -1
- package/dist/zero/mutators/userMutators/userMutators.d.ts +3 -56
- package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
- package/dist/zero/mutators/userMutators/userMutators.js +26 -40
- package/dist/zero/mutators/userMutators/userMutators.test.d.ts +2 -0
- package/dist/zero/mutators/userMutators/userMutators.test.d.ts.map +1 -0
- package/dist/zero/mutators/userMutators/userMutators.test.js +84 -0
- package/dist/zero/queries/getAccounts.d.ts +1025 -4
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getAccounts.js +3 -6
- package/dist/zero/queries/getContacts.d.ts +1033 -18
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.js +15 -11
- package/dist/zero/queries/getDrafts.d.ts +1031 -11
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.js +11 -7
- package/dist/zero/queries/getThread.d.ts +1028 -7
- package/dist/zero/queries/getThread.d.ts.map +1 -1
- package/dist/zero/queries/getThread.js +9 -5
- package/dist/zero/queries/getThreadList.d.ts +1035 -23
- package/dist/zero/queries/getThreadList.d.ts.map +1 -1
- package/dist/zero/queries/getThreadList.js +18 -14
- package/dist/zero/queries/getThreads.d.ts +1035 -23
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.js +18 -14
- package/dist/zero/queries/getUser.d.ts +1025 -4
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/getUser.js +7 -10
- package/dist/zero/queries/index.d.ts +141 -460
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/queries/index.js +10 -18
- package/dist/zero/schema.d.ts +133 -133
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +1 -0
- package/package.json +3 -2
- package/dist/zero/crud.d.ts +0 -1024
- package/dist/zero/crud.d.ts.map +0 -1
- package/dist/zero/crud.js +0 -3
- package/dist/zero/mutators/typedMutator.d.ts +0 -2056
- package/dist/zero/mutators/typedMutator.d.ts.map +0 -1
- package/dist/zero/mutators/typedMutator.js +0 -2
- package/dist/zero/queries/z.d.ts +0 -14439
- package/dist/zero/queries/z.d.ts.map +0 -1
- package/dist/zero/queries/z.js +0 -3
package/dist/schemas/auth.d.ts
CHANGED
|
@@ -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.
|
|
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
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -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").
|
|
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").
|
|
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>;
|
package/dist/schemas/string.d.ts
CHANGED
|
@@ -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.
|
|
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":"
|
|
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"}
|
package/dist/schemas/string.js
CHANGED
|
@@ -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(),
|
|
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").
|
|
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").
|
|
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").
|
|
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").
|
|
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").
|
|
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").
|
|
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").
|
|
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").
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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").
|
|
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").
|
|
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").
|
|
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").
|
|
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>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -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").
|
|
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").
|
|
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").
|
|
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").
|
|
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 @@
|
|
|
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 @@
|
|
|
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 {};
|
package/dist/types/Zero.d.ts
CHANGED
|
@@ -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
|
package/dist/types/Zero.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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"}
|
package/dist/types/index.js
CHANGED
|
@@ -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';
|