feat(storage): profile + profile_terms CRUD with Default-profile guardrails

This commit is contained in:
2026-04-19 20:43:56 +01:00
parent 3f784313aa
commit d8a5b9bef1
3 changed files with 418 additions and 5 deletions

View File

@@ -7,12 +7,14 @@ pub mod migrations;
pub const DEFAULT_PROFILE_ID: &str = "00000000-0000-0000-0000-000000000001";
pub use database::{
add_dictionary_entry, complete_subtask_and_check_parent, complete_task, count_transcripts,
delete_dictionary_entry, delete_task, delete_transcript, get_setting, get_task_by_id, uncomplete_task,
add_dictionary_entry, add_profile_term, complete_subtask_and_check_parent, complete_task,
count_transcripts, create_profile, delete_dictionary_entry, delete_profile,
delete_profile_term, delete_task, delete_transcript, get_profile, get_setting, get_task_by_id,
get_transcript, init, insert_subtask, insert_task, insert_transcript, list_dictionary,
list_recent_errors, list_subtasks, list_tasks, list_transcripts, list_transcripts_paged,
log_error, search_transcripts, set_setting, update_task, update_transcript,
update_transcript_meta, DictionaryEntry, ErrorLogRow, InsertTranscriptParams, TaskRow,
list_profile_terms, list_profiles, list_recent_errors, list_subtasks, list_tasks,
list_transcripts, list_transcripts_paged, log_error, search_transcripts, set_setting,
uncomplete_task, update_profile, update_task, update_transcript, update_transcript_meta,
DictionaryEntry, ErrorLogRow, InsertTranscriptParams, ProfileRow, ProfileTermRow, TaskRow,
TranscriptRow,
};
pub use file_storage::{app_data_dir, crashes_dir, database_path, logs_dir, recordings_dir};