Defines split TypeScript interfaces for session CRUD, streaming, artifacts, and admin operations in the BiChat UI, enabling modular implementation of chat data layers.
// Source: https://github.com/iota-uz/iota-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Split data source interfaces for BiChat.
*
* ChatDataSource was a single interface mixing CRUD, streaming, artifacts,
* and admin. These focused interfaces let consumers implement only what
* they need. ChatDataSource keeps the same shape (with optional artifact
* and admin methods) for backwards compatibility — it is NOT a strict
* intersection of these interfaces.
*/
import type { Session, SessionMember, SessionListResult, SessionUser, ConversationTurn, PendingQuestion, Attachment, StreamChunk, QuestionAnswers, SendMessageOptions, SessionArtifact, AsyncRunAccepted, } from
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key