Timeline Studio API Documentation - v0.26.0
    Preparing search index...
    interface ChatStorageService {
        addMessage(
            sessionId: string,
            message: Omit<ChatMessage, "id" | "timestamp">,
        ): Promise<ChatMessage>;
        createSession(title?: string): Promise<ChatSession>;
        deleteMessage(sessionId: string, messageId: string): Promise<void>;
        deleteSession(id: string): Promise<void>;
        exportSession(id: string): Promise<string>;
        getAllSessions(): Promise<ChatListItem[]>;
        getSession(id: string): Promise<ChatSession>;
        importSession(data: string): Promise<ChatSession>;
        searchSessions(query: string): Promise<ChatListItem[]>;
        updateMessage(
            sessionId: string,
            messageId: string,
            updates: Partial<ChatMessage>,
        ): Promise<void>;
        updateSession(id: string, updates: Partial<ChatSession>): Promise<void>;
    }

    Implemented by

    Index

    Methods