Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

InterruptDefinitionOptions.md

50 lines714 Bytes

1---
2id: InterruptDefinitionOptions
3title: InterruptDefinitionOptions
4---
5​
6Defined in: packages/ai/src/interrupt-definition.ts:44
7​
8## Type Parameters
9​
10### TId
11​
12`TId` *extends* `string`
13​
14### TPayloadSchema
15​
16`TPayloadSchema` *extends* `PortableSchema` \| `undefined`
17​
18### TResponseSchema
19​
20`TResponseSchema` *extends* `PortableSchema` \| `undefined`
21​
22## Properties
23​
24### id
25​
26```ts
27id: TId;
28```
29​
30Defined in: packages/ai/src/interrupt-definition.ts:49
31​
32***
33​
34### payloadSchema?
35​
36```ts
37optional payloadSchema?: TPayloadSchema;
38```
39​
40Defined in: packages/ai/src/interrupt-definition.ts:50
41​
42***
43​
44### responseSchema?
45​
46```ts
47optional responseSchema?: TResponseSchema;
48```
49​
50Defined in: packages/ai/src/interrupt-definition.ts:51