@manta-eu/client/shared/index
Reference for @manta-eu/client/shared/index as it is on main.
Type Aliases
AssistantResponseState
AssistantResponseState =
"in-progress"|"finished"|"failed"|"aborted"
ChatUIMessage
ChatUIMessage =
UIMessage<{createdAt:string;datastoreId?:string;finishReason?:string;isTask?:boolean;model?:OperatorAllowedModel;pageContext?:PageContext;responseState?:AssistantResponseState;totalTokens?:number;traceId?:string;userId?:string; }>
Variables
APPROVAL
constAPPROVAL:object
Type Declaration
NO
readonlyNO:"No, denied."="No, denied."
YES
readonlyYES:"Yes, confirmed."="Yes, confirmed."
newChatPath
constnewChatPath:"/chat"="/chat"
A blank chat, which / stops being once an app gives its datastores a home page.
Functions
chatIdToPath()
chatIdToPath(
id):string
Parameters
id
string
Returns
string