journal/Journal.Core/Repositories/IConversationRepository.cs
Jacob Schmidt 0d77300c22 feat: Project Journal backend monorepo
Monorepo with centralized build props, npm workspaces, LlamaSharp AI,
SQLite/SQLCipher storage, Svelte frontend, and unified smoke tests.

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-02 20:56:26 -06:00

15 lines
409 B
C#

using Journal.Core.Models;
namespace Journal.Core.Repositories;
public interface IConversationRepository
{
List<Conversation> GetAll();
Conversation? GetById(Guid id);
void Add(Conversation conversation);
bool Update(Guid id, string? title = null);
bool Remove(Guid id);
void AddMessage(ConversationMessage message);
List<ConversationMessage> GetMessages(Guid conversationId);
}