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>
13 lines
297 B
C#
13 lines
297 B
C#
using Microsoft.Data.Sqlite;
|
|
|
|
namespace Journal.Core.Services.Database;
|
|
|
|
public interface IDatabaseSessionService
|
|
{
|
|
bool IsUnlocked { get; }
|
|
void SetPassword(string password);
|
|
bool TryGetSession(out string password);
|
|
SqliteConnection GetConnection();
|
|
void CloseConnection();
|
|
}
|