Skip to content

Commit a61df5f

Browse files
committed
feat: renamed method for chat updates
1 parent a522bc8 commit a61df5f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

runtimes/runtimes/base-runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const baseRuntime = (connections: { reader: MessageReader; writer: Messag
138138
onSourceLinkClick: handler => lspConnection.onNotification(sourceLinkClickNotificationType.method, handler),
139139
onFollowUpClicked: handler => lspConnection.onNotification(followUpClickNotificationType.method, handler),
140140
openTab: params => lspConnection.sendRequest(openTabRequestType.method, params),
141-
chatUpdate: params => lspConnection.sendNotification(chatUpdateNotificationType.method, params),
141+
sendChatUpdate: params => lspConnection.sendNotification(chatUpdateNotificationType.method, params),
142142
onFileClicked: handler => lspConnection.onNotification(fileClickNotificationType.method, handler),
143143
}
144144

runtimes/runtimes/chat/baseChat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class BaseChat implements Chat {
9898
return this.connection.sendRequest(openTabRequestType.method, params)
9999
}
100100

101-
public chatUpdate(params: ChatUpdateParams) {
101+
public sendChatUpdate(params: ChatUpdateParams) {
102102
this.connection.sendNotification(chatUpdateNotificationType.method, params)
103103
}
104104

runtimes/server-interface/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ export type Chat = {
4242
onInfoLinkClick: (handler: NotificationHandler<InfoLinkClickParams>) => void
4343
onSourceLinkClick: (handler: NotificationHandler<SourceLinkClickParams>) => void
4444
onFollowUpClicked: (handler: NotificationHandler<FollowUpClickParams>) => void
45-
chatUpdate: (params: ChatUpdateParams) => void
45+
sendChatUpdate: (params: ChatUpdateParams) => void
4646
onFileClicked: (handler: NotificationHandler<FileClickParams>) => void
4747
}

0 commit comments

Comments
 (0)