Open History to see the last commit
1---
2id: SandboxFileCustomEvent
3title: SandboxFileCustomEvent
4---
5
6# Interface: SandboxFileCustomEvent
7
8Defined in: [packages/ai/src/types.ts:1426](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1426)
9
10Custom event for extensibility.
11
12@ag-ui/core provides: `name`, `value`
13TanStack AI adds: `model?`
14
15## Extends
16
17- [`CustomEvent`](CustomEvent.md)
18
19## Indexable
20
21```ts
22[k: string]: unknown
23```
24
25## Properties
26
27### model?
28
29```ts
30optional model: string;
31```
32
33Defined in: [packages/ai/src/types.ts:1339](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1339)
34
35Model identifier for multi-model support
36
37#### Inherited from
38
39[`CustomEvent`](CustomEvent.md).[`model`](CustomEvent.md#model)
40
41***
42
43### name
44
45```ts
46name: "sandbox.file";
47```
48
49Defined in: [packages/ai/src/types.ts:1427](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1427)
50
51#### Overrides
52
53```ts
54CustomEvent.name
55```
56
57***
58
59### value
60
61```ts
62value: object;
63```
64
65Defined in: [packages/ai/src/types.ts:1428](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L1428)
66
67#### path
68
69```ts
70path: string;
71```
72
73#### timestamp
74
75```ts
76timestamp: number;
77```
78
79#### type
80
81```ts
82type: "create" | "change" | "delete";
83```
84
85#### Overrides
86
87```ts
88CustomEvent.value
89```