@marcoappio/marco-config 11.0.5 → 11.0.6
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/index.d.ts
CHANGED
|
@@ -260,12 +260,12 @@ export declare const marcoSchemas: {
|
|
|
260
260
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "TaskId">]>, undefined>;
|
|
261
261
|
readonly source: import("valibot").VariantSchema<"kind", [import("valibot").ObjectSchema<{
|
|
262
262
|
readonly kind: import("valibot").LiteralSchema<"thread", undefined>;
|
|
263
|
-
readonly threadId: import("valibot").
|
|
263
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
264
264
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
265
265
|
readonly kind: import("valibot").LiteralSchema<"excerpt", undefined>;
|
|
266
|
-
readonly messageId: import("valibot").
|
|
266
|
+
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
267
267
|
readonly text: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
268
|
-
readonly threadId: import("valibot").
|
|
268
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
269
269
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
270
270
|
readonly kind: import("valibot").LiteralSchema<"none", undefined>;
|
|
271
271
|
}, undefined>], undefined>;
|
|
@@ -275,12 +275,12 @@ export declare const marcoSchemas: {
|
|
|
275
275
|
}, undefined>;
|
|
276
276
|
taskSourceSchema: import("valibot").VariantSchema<"kind", [import("valibot").ObjectSchema<{
|
|
277
277
|
readonly kind: import("valibot").LiteralSchema<"thread", undefined>;
|
|
278
|
-
readonly threadId: import("valibot").
|
|
278
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
279
279
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
280
280
|
readonly kind: import("valibot").LiteralSchema<"excerpt", undefined>;
|
|
281
|
-
readonly messageId: import("valibot").
|
|
281
|
+
readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
282
282
|
readonly text: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
283
|
-
readonly threadId: import("valibot").
|
|
283
|
+
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
284
284
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
285
285
|
readonly kind: import("valibot").LiteralSchema<"none", undefined>;
|
|
286
286
|
}, undefined>], undefined>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const taskSourceSchema: v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
3
3
|
readonly kind: v.LiteralSchema<"thread", undefined>;
|
|
4
|
-
readonly threadId: v.
|
|
4
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
5
5
|
}, undefined>, v.ObjectSchema<{
|
|
6
6
|
readonly kind: v.LiteralSchema<"excerpt", undefined>;
|
|
7
|
-
readonly messageId: v.
|
|
7
|
+
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
8
8
|
readonly text: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
readonly threadId: v.
|
|
9
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
10
10
|
}, undefined>, v.ObjectSchema<{
|
|
11
11
|
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
12
12
|
}, undefined>], undefined>;
|
|
@@ -17,12 +17,12 @@ export declare const taskSchema: v.ObjectSchema<{
|
|
|
17
17
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskId">]>, undefined>;
|
|
18
18
|
readonly source: v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
19
19
|
readonly kind: v.LiteralSchema<"thread", undefined>;
|
|
20
|
-
readonly threadId: v.
|
|
20
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
21
21
|
}, undefined>, v.ObjectSchema<{
|
|
22
22
|
readonly kind: v.LiteralSchema<"excerpt", undefined>;
|
|
23
|
-
readonly messageId: v.
|
|
23
|
+
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
24
24
|
readonly text: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
|
-
readonly threadId: v.
|
|
25
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
26
26
|
}, undefined>, v.ObjectSchema<{
|
|
27
27
|
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
28
28
|
}, undefined>], undefined>;
|
|
@@ -6,13 +6,13 @@ import { string } from '../../schemas/string';
|
|
|
6
6
|
export const taskSourceSchema = v.variant('kind', [
|
|
7
7
|
v.object({
|
|
8
8
|
kind: v.literal('thread'),
|
|
9
|
-
threadId: id.threadId.
|
|
9
|
+
threadId: id.threadId.required(),
|
|
10
10
|
}),
|
|
11
11
|
v.object({
|
|
12
12
|
kind: v.literal('excerpt'),
|
|
13
|
-
messageId: id.messageId.
|
|
13
|
+
messageId: id.messageId.required(),
|
|
14
14
|
text: string.required(tasks.excerptTextMaxLength),
|
|
15
|
-
threadId: id.threadId.
|
|
15
|
+
threadId: id.threadId.required(),
|
|
16
16
|
}),
|
|
17
17
|
v.object({
|
|
18
18
|
kind: v.literal('none'),
|
|
@@ -32,12 +32,12 @@ export declare const getTasks: import("../../../../..").EndpointConfig<"/v1/pv/m
|
|
|
32
32
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskId">]>, undefined>;
|
|
33
33
|
readonly source: v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
34
34
|
readonly kind: v.LiteralSchema<"thread", undefined>;
|
|
35
|
-
readonly threadId: v.
|
|
35
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
36
36
|
}, undefined>, v.ObjectSchema<{
|
|
37
37
|
readonly kind: v.LiteralSchema<"excerpt", undefined>;
|
|
38
|
-
readonly messageId: v.
|
|
38
|
+
readonly messageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
39
39
|
readonly text: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
-
readonly threadId: v.
|
|
40
|
+
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
41
41
|
}, undefined>, v.ObjectSchema<{
|
|
42
42
|
readonly kind: v.LiteralSchema<"none", undefined>;
|
|
43
43
|
}, undefined>], undefined>;
|