File tree Expand file tree Collapse file tree 6 files changed +7
-226
lines changed
apps/playground-web/src/app/ai Expand file tree Collapse file tree 6 files changed +7
-226
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export type NebulaContext = {
99 sessionId : string | null ;
1010} ;
1111
12- export type NebulaSwapData = {
12+ type NebulaSwapData = {
1313 action : string ;
1414 transaction : {
1515 chainId : number ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type NebulaUserMessageContentItem =
1919 chain_id : number ;
2020 } ;
2121
22- export type NebulaUserMessageContent = NebulaUserMessageContentItem [ ] ;
22+ type NebulaUserMessageContent = NebulaUserMessageContentItem [ ] ;
2323
2424export type NebulaUserMessage = {
2525 role : "user" ;
@@ -53,25 +53,6 @@ export type SessionInfo = {
5353 context : SessionContextFilter | null ;
5454} ;
5555
56- export type UpdatedSessionInfo = {
57- title : string ;
58- modal_name : string ;
59- account_id : string ;
60- context : SessionContextFilter | null ;
61- } ;
62-
63- export type DeletedSessionInfo = {
64- id : string ;
65- deleted_at : string ;
66- } ;
67-
68- export type TruncatedSessionInfo = {
69- created_at : string ;
70- id : string ;
71- updated_at : string ;
72- title : string | null ;
73- } ;
74-
7556export type NebulaTxData = {
7657 chainId : number ;
7758 data : `0x${string } `;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import { examplePrompts } from "../data/examplePrompts";
4141import { resolveSchemeWithErrorHandler } from "./resolveSchemeWithErrorHandler" ;
4242
4343// Simplified types for the playground version
44- export type WalletMeta = {
44+ type WalletMeta = {
4545 walletId : string ;
4646 address : string ;
4747} ;
@@ -62,9 +62,9 @@ type NebulaUserMessageContentItem =
6262 chain_id : number ;
6363 } ;
6464
65- export type NebulaUserMessageContent = NebulaUserMessageContentItem [ ] ;
65+ type NebulaUserMessageContent = NebulaUserMessageContentItem [ ] ;
6666
67- export type ChatMessage =
67+ type ChatMessage =
6868 | {
6969 type : "user" ;
7070 content : NebulaUserMessageContent ;
@@ -105,14 +105,14 @@ export type ChatMessage =
105105 } ;
106106 } ;
107107
108- export type NebulaTxData = {
108+ type NebulaTxData = {
109109 chainId : number ;
110110 data : `0x${string } `;
111111 to : string ;
112112 value ?: string ;
113113} ;
114114
115- export type NebulaSwapData = {
115+ type NebulaSwapData = {
116116 action : string ;
117117 transaction : {
118118 chainId : number ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments