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

ApprovalRequestedStreamChunk.md

120 lines2.0 KB

1---
2id: ApprovalRequestedStreamChunk
3title: ApprovalRequestedStreamChunk
4---
5​
6# Interface: ApprovalRequestedStreamChunk
7​
8Defined in: [types.ts:692](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L692)
9​
10## Extends
11​
12- [`BaseStreamChunk`](BaseStreamChunk.md)
13​
14## Properties
15​
16### approval
17​
18```ts
19approval: object;
20```
21​
22Defined in: [types.ts:697](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L697)
23​
24#### id
25​
26```ts
27id: string;
28```
29​
30#### needsApproval
31​
32```ts
33needsApproval: true;
34```
35​
36***
37​
38### id
39​
40```ts
41id: string;
42```
43​
44Defined in: [types.ts:643](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L643)
45​
46#### Inherited from
47​
48[`BaseStreamChunk`](BaseStreamChunk.md).[`id`](BaseStreamChunk.md#id)
49​
50***
51​
52### input
53​
54```ts
55input: any;
56```
57​
58Defined in: [types.ts:696](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L696)
59​
60***
61​
62### model
63​
64```ts
65model: string;
66```
67​
68Defined in: [types.ts:644](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L644)
69​
70#### Inherited from
71​
72[`BaseStreamChunk`](BaseStreamChunk.md).[`model`](BaseStreamChunk.md#model)
73​
74***
75​
76### timestamp
77​
78```ts
79timestamp: number;
80```
81​
82Defined in: [types.ts:645](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L645)
83​
84#### Inherited from
85​
86[`BaseStreamChunk`](BaseStreamChunk.md).[`timestamp`](BaseStreamChunk.md#timestamp)
87​
88***
89​
90### toolCallId
91​
92```ts
93toolCallId: string;
94```
95​
96Defined in: [types.ts:694](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L694)
97​
98***
99​
100### toolName
101​
102```ts
103toolName: string;
104```
105​
106Defined in: [types.ts:695](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L695)
107​
108***
109​
110### type
111​
112```ts
113type: "approval-requested";
114```
115​
116Defined in: [types.ts:693](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L693)
117​
118#### Overrides
119​
120[`BaseStreamChunk`](BaseStreamChunk.md).[`type`](BaseStreamChunk.md#type)