File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ export const AUTH_FOLLOW_UP_CLICKED = 'authFollowUpClicked'
2424export const GENERIC_COMMAND = 'genericCommand'
2525export const CHAT_OPTIONS = 'chatOptions'
2626export const DISCLAIMER_ACKNOWLEDGED = 'disclaimerAcknowledged'
27- export const WELCOME_COUNTER_UPDATE_MESSAGE = 'welcomeCounterUpdateMessage'
2827
2928export type UiMessageCommand =
3029 | typeof SEND_TO_PROMPT
@@ -35,7 +34,6 @@ export type UiMessageCommand =
3534 | typeof CHAT_OPTIONS
3635 | typeof COPY_TO_CLIPBOARD
3736 | typeof DISCLAIMER_ACKNOWLEDGED
38- | typeof WELCOME_COUNTER_UPDATE_MESSAGE
3937
4038export interface UiMessage {
4139 command : UiMessageCommand
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ export interface ChatItemAction {
3030 disabled ?: boolean
3131 description ?: string
3232 type ?: string
33- status ?: string
34- id ?: string
3533}
3634
3735export interface SourceLink {
@@ -109,8 +107,6 @@ export interface FileList {
109107export interface ChatMessage {
110108 type ?: 'answer' | 'prompt' | 'system-prompt' // will default to 'answer'
111109 body ?: string
112- buttons : ChatItemAction [ ]
113- icon ?: IconType
114110 messageId ?: string
115111 canBeVoted ?: boolean // requires messageId to be filled to show vote thumbs
116112 relatedContent ?: {
@@ -167,22 +163,8 @@ export interface QuickActions {
167163}
168164
169165export interface TabData {
170- title ?: string
171- tabHeader ?: TabHeader
172- promptInput ?: PromptInput
173- compactMode ?: boolean
174- messages : ChatMessage [ ]
175- }
176-
177- export interface TabHeader {
178- icon ?: IconType
179- title ?: string
180- description ?: string
181- }
182-
183- export interface PromptInput {
184166 placeholderText ?: string
185- label ?: string
167+ messages : ChatMessage [ ]
186168}
187169
188170/**
You can’t perform that action at this time.
0 commit comments