using Journal.Core.Dtos; namespace Journal.Core.Services.Entries; public interface IEntryFileService { IReadOnlyList ListEntries(string dataDirectory); IReadOnlyList ListTemplates(string dataDirectory); EntryLoadResult LoadEntry(string filePath); EntryTemplateLoadResult LoadTemplate(string filePath); EntrySaveResult SaveEntry(EntrySavePayload payload, string defaultDataDirectory); EntrySaveResult SaveTemplate(EntryTemplateSavePayload payload, string defaultDataDirectory); bool DeleteEntry(string filePath); bool DeleteTemplate(string filePath); }