MCPcopy Index your code
hub / github.com/coder/agentapi / DraftMessage

Interface DraftMessage

chat/src/components/message-list.tsx:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11// Draft messages are used to optmistically update the UI
12// before the server responds.
13interface DraftMessage extends Omit<Message, "id"> {
14 id?: number;
15}
16
17interface MessageListProps {
18 messages: (Message | DraftMessage)[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected