Translation caching. New ai actions panel.
This commit is contained in:
@@ -59,6 +59,16 @@ public interface IMimeFileService
|
||||
/// </summary>
|
||||
Task<bool> DeleteMimeMessageAsync(Guid accountId, Guid fileId);
|
||||
|
||||
/// <summary>
|
||||
/// Returns cached translated html for the given mime resource if it exists.
|
||||
/// </summary>
|
||||
Task<string> GetTranslatedHtmlAsync(Guid accountId, Guid fileId, string targetLanguage, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Saves translated html for the given mime resource.
|
||||
/// </summary>
|
||||
Task SaveTranslatedHtmlAsync(Guid accountId, Guid fileId, string targetLanguage, string html, CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Prepares the final model containing rendering details.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user