Skip to content

Commit 1a0f3d7

Browse files
committed
fix: clean up framework client type exports
Keep the framework wrapper type definitions lint-clean after the sub-lifecycle rebase so the full repo test suite passes again. Made-with: Cursor
1 parent b32ca9f commit 1a0f3d7

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/typescript/ai-preact/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { AnyClientTool, ModelMessage } from '@tanstack/ai'
22
import type {
33
ChatClientOptions,
4-
ConnectionStatus,
54
ChatClientState,
65
ChatRequestBody,
6+
ConnectionStatus,
77
MultimodalContent,
88
UIMessage,
99
} from '@tanstack/ai-client'

packages/typescript/ai-solid/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { AnyClientTool, ModelMessage } from '@tanstack/ai'
22
import type {
33
ChatClientOptions,
4-
ConnectionStatus,
54
ChatClientState,
65
ChatRequestBody,
6+
ConnectionStatus,
77
MultimodalContent,
88
UIMessage,
99
} from '@tanstack/ai-client'

packages/typescript/ai-svelte/src/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { AnyClientTool, ModelMessage } from '@tanstack/ai'
22
import type {
33
ChatClientOptions,
4-
ConnectionStatus,
54
ChatClientState,
65
ChatRequestBody,
6+
ConnectionStatus,
77
MultimodalContent,
88
UIMessage,
99
} from '@tanstack/ai-client'
@@ -35,9 +35,9 @@ export type CreateChatOptions<
3535
| 'onLoadingChange'
3636
| 'onErrorChange'
3737
| 'onStatusChange'
38-
| 'onSubscriptionChange'
39-
| 'onConnectionStatusChange'
40-
| 'onSessionGeneratingChange'
38+
| 'onSubscriptionChange'
39+
| 'onConnectionStatusChange'
40+
| 'onSessionGeneratingChange'
4141
> & {
4242
live?: boolean
4343
}

packages/typescript/ai-vue/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { AnyClientTool, ModelMessage } from '@tanstack/ai'
22
import type {
33
ChatClientOptions,
4-
ConnectionStatus,
54
ChatClientState,
65
ChatRequestBody,
6+
ConnectionStatus,
77
MultimodalContent,
88
UIMessage,
99
} from '@tanstack/ai-client'

0 commit comments

Comments
 (0)