@marcoappio/marco-config 2.0.505 → 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/zero/index.d.ts +15 -15
- package/dist/zero/mutatorSchemas/account.d.ts +2 -2
- package/dist/zero/mutatorSchemas/draft.d.ts +13 -13
- package/dist/zero/mutatorSchemas/index.d.ts +15 -15
- package/package.json +2 -1
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>;
|
package/dist/zero/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const marcoZero: {
|
|
|
6
6
|
readonly delta: import("valibot").ObjectSchema<{
|
|
7
7
|
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
8
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
9
|
+
readonly emailAddress: 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
|
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>;
|
|
11
11
|
}, undefined>;
|
|
12
12
|
};
|
|
@@ -14,7 +14,7 @@ export declare const marcoZero: {
|
|
|
14
14
|
readonly delta: import("valibot").ObjectSchema<{
|
|
15
15
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
16
|
readonly alias: import("valibot").ObjectSchema<{
|
|
17
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
17
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
18
18
|
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>;
|
|
19
19
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
20
|
}, undefined>;
|
|
@@ -110,14 +110,14 @@ export declare const marcoZero: {
|
|
|
110
110
|
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
111
111
|
}, undefined>, undefined>;
|
|
112
112
|
readonly body: import("valibot").ObjectSchema<{
|
|
113
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
114
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
113
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
114
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
115
115
|
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
116
116
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
117
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
117
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
118
118
|
}, undefined>;
|
|
119
119
|
readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
|
-
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
120
|
+
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
121
121
|
readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
122
122
|
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>;
|
|
123
123
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -166,18 +166,18 @@ export declare const marcoZero: {
|
|
|
166
166
|
readonly setEnvelope: {
|
|
167
167
|
readonly delta: import("valibot").ObjectSchema<{
|
|
168
168
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
169
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
170
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
169
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
170
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
171
171
|
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
172
172
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
173
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
173
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
174
174
|
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
175
175
|
readonly entries: Omit<{
|
|
176
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
177
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
176
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
177
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
178
178
|
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
179
179
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
180
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
180
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
181
181
|
}, "content">;
|
|
182
182
|
readonly '~standard': import("valibot").StandardProps<{
|
|
183
183
|
bcc: string[];
|
|
@@ -195,7 +195,7 @@ export declare const marcoZero: {
|
|
|
195
195
|
cc: string[];
|
|
196
196
|
to: string[];
|
|
197
197
|
subject: string | null;
|
|
198
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
198
|
+
}, import("valibot").StringIssue | import("valibot").CheckIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue>;
|
|
199
199
|
readonly '~types'?: {
|
|
200
200
|
readonly input: {
|
|
201
201
|
bcc: string[];
|
|
@@ -209,7 +209,7 @@ export declare const marcoZero: {
|
|
|
209
209
|
to: string[];
|
|
210
210
|
subject: string | null;
|
|
211
211
|
};
|
|
212
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
212
|
+
readonly issue: import("valibot").StringIssue | import("valibot").CheckIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue;
|
|
213
213
|
} | undefined;
|
|
214
214
|
};
|
|
215
215
|
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>;
|
|
@@ -220,7 +220,7 @@ export declare const marcoZero: {
|
|
|
220
220
|
readonly delta: import("valibot").ObjectSchema<{
|
|
221
221
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
222
222
|
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
223
|
-
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
223
|
+
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
224
224
|
readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
225
225
|
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>;
|
|
226
226
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -4,7 +4,7 @@ export declare const accountMutatorSchemas: {
|
|
|
4
4
|
readonly delta: v.ObjectSchema<{
|
|
5
5
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
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.
|
|
7
|
+
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
8
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
9
|
}, undefined>;
|
|
10
10
|
};
|
|
@@ -12,7 +12,7 @@ export declare const accountMutatorSchemas: {
|
|
|
12
12
|
readonly delta: v.ObjectSchema<{
|
|
13
13
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
14
|
readonly alias: v.ObjectSchema<{
|
|
15
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
15
|
+
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
16
16
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
17
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
18
|
}, undefined>;
|
|
@@ -30,14 +30,14 @@ export declare const draftMutatorSchemas: {
|
|
|
30
30
|
readonly totalSize: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
31
31
|
}, undefined>, undefined>;
|
|
32
32
|
readonly body: v.ObjectSchema<{
|
|
33
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
34
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
33
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
34
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
35
35
|
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
36
36
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
37
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
38
38
|
}, undefined>;
|
|
39
39
|
readonly error: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
-
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
40
|
+
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
41
41
|
readonly fromName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
42
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
43
43
|
readonly referencedMessageId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -86,18 +86,18 @@ export declare const draftMutatorSchemas: {
|
|
|
86
86
|
readonly setEnvelope: {
|
|
87
87
|
readonly delta: v.ObjectSchema<{
|
|
88
88
|
readonly envelope: Omit<v.ObjectSchema<{
|
|
89
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
90
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
89
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
90
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
91
91
|
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
92
92
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
93
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
93
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
94
94
|
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
95
95
|
readonly entries: Omit<{
|
|
96
|
-
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
97
|
-
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
96
|
+
readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
97
|
+
readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
98
98
|
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
|
|
99
99
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
100
|
-
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
100
|
+
readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
101
101
|
}, "content">;
|
|
102
102
|
readonly '~standard': v.StandardProps<{
|
|
103
103
|
bcc: string[];
|
|
@@ -115,7 +115,7 @@ export declare const draftMutatorSchemas: {
|
|
|
115
115
|
cc: string[];
|
|
116
116
|
to: string[];
|
|
117
117
|
subject: string | null;
|
|
118
|
-
}, v.StringIssue | v.
|
|
118
|
+
}, v.StringIssue | v.CheckIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue>;
|
|
119
119
|
readonly '~types'?: {
|
|
120
120
|
readonly input: {
|
|
121
121
|
bcc: string[];
|
|
@@ -129,7 +129,7 @@ export declare const draftMutatorSchemas: {
|
|
|
129
129
|
to: string[];
|
|
130
130
|
subject: string | null;
|
|
131
131
|
};
|
|
132
|
-
readonly issue: v.StringIssue | v.
|
|
132
|
+
readonly issue: v.StringIssue | v.CheckIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue;
|
|
133
133
|
} | undefined;
|
|
134
134
|
};
|
|
135
135
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -140,7 +140,7 @@ export declare const draftMutatorSchemas: {
|
|
|
140
140
|
readonly delta: v.ObjectSchema<{
|
|
141
141
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
142
142
|
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
143
|
-
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.
|
|
143
|
+
readonly from: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Invalid email">, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
144
144
|
readonly fromName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
145
145
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
146
146
|
readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
@@ -4,7 +4,7 @@ export declare const zeroMutatorSchemas: {
|
|
|
4
4
|
readonly delta: import("valibot").ObjectSchema<{
|
|
5
5
|
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
6
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
7
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
7
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
8
|
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>;
|
|
9
9
|
}, undefined>;
|
|
10
10
|
};
|
|
@@ -12,7 +12,7 @@ export declare const zeroMutatorSchemas: {
|
|
|
12
12
|
readonly delta: import("valibot").ObjectSchema<{
|
|
13
13
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
14
|
readonly alias: import("valibot").ObjectSchema<{
|
|
15
|
-
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
15
|
+
readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
16
16
|
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>;
|
|
17
17
|
readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
18
18
|
}, undefined>;
|
|
@@ -108,14 +108,14 @@ export declare const zeroMutatorSchemas: {
|
|
|
108
108
|
readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
109
109
|
}, undefined>, undefined>;
|
|
110
110
|
readonly body: import("valibot").ObjectSchema<{
|
|
111
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
112
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
111
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
112
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
113
113
|
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
114
114
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
115
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
115
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
116
116
|
}, undefined>;
|
|
117
117
|
readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
118
|
-
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
118
|
+
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
119
119
|
readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
120
120
|
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>;
|
|
121
121
|
readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -164,18 +164,18 @@ export declare const zeroMutatorSchemas: {
|
|
|
164
164
|
readonly setEnvelope: {
|
|
165
165
|
readonly delta: import("valibot").ObjectSchema<{
|
|
166
166
|
readonly envelope: Omit<import("valibot").ObjectSchema<{
|
|
167
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
168
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
167
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
168
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
169
169
|
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
170
170
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
171
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
171
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
172
172
|
}, undefined>, "~standard" | "~run" | "~types" | "entries"> & {
|
|
173
173
|
readonly entries: Omit<{
|
|
174
|
-
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
175
|
-
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
174
|
+
readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
175
|
+
readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
176
176
|
readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
|
|
177
177
|
readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
178
|
-
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
178
|
+
readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
179
179
|
}, "content">;
|
|
180
180
|
readonly '~standard': import("valibot").StandardProps<{
|
|
181
181
|
bcc: string[];
|
|
@@ -193,7 +193,7 @@ export declare const zeroMutatorSchemas: {
|
|
|
193
193
|
cc: string[];
|
|
194
194
|
to: string[];
|
|
195
195
|
subject: string | null;
|
|
196
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
196
|
+
}, import("valibot").StringIssue | import("valibot").CheckIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue>;
|
|
197
197
|
readonly '~types'?: {
|
|
198
198
|
readonly input: {
|
|
199
199
|
bcc: string[];
|
|
@@ -207,7 +207,7 @@ export declare const zeroMutatorSchemas: {
|
|
|
207
207
|
to: string[];
|
|
208
208
|
subject: string | null;
|
|
209
209
|
};
|
|
210
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
210
|
+
readonly issue: import("valibot").StringIssue | import("valibot").CheckIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").ObjectIssue | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue;
|
|
211
211
|
} | undefined;
|
|
212
212
|
};
|
|
213
213
|
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>;
|
|
@@ -218,7 +218,7 @@ export declare const zeroMutatorSchemas: {
|
|
|
218
218
|
readonly delta: import("valibot").ObjectSchema<{
|
|
219
219
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
220
220
|
readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
221
|
-
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").
|
|
221
|
+
readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").CheckAction<string, "Invalid email">, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
222
222
|
readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
223
223
|
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>;
|
|
224
224
|
readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marcoappio/marco-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.506",
|
|
4
4
|
"author": "team@marcoapp.io",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "git@github.com:marcoappio/marco-config.git",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"@orama/stopwords": "3.1.16",
|
|
30
30
|
"@rocicorp/zero": "0.24.3000000000",
|
|
31
31
|
"diff": "8.0.2",
|
|
32
|
+
"email-addresses": "5.0.0",
|
|
32
33
|
"valibot": "1.1.0"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|