Fix settings toggles layout and add processing-log retention controls
This commit is contained in:
@@ -176,6 +176,14 @@ export interface DisplaySettings {
|
||||
log_typing_animation_enabled: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents retention targets used when trimming persisted processing logs.
|
||||
*/
|
||||
export interface ProcessingLogRetentionSettings {
|
||||
keep_document_sessions: number;
|
||||
keep_unbound_entries: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents one predefined logical path and discoverability scope.
|
||||
*/
|
||||
@@ -220,6 +228,7 @@ export interface TaskSettings {
|
||||
export interface AppSettings {
|
||||
upload_defaults: UploadDefaultsSettings;
|
||||
display: DisplaySettings;
|
||||
processing_log_retention: ProcessingLogRetentionSettings;
|
||||
handwriting_style_clustering: HandwritingStyleClusteringSettings;
|
||||
predefined_paths: PredefinedPathEntry[];
|
||||
predefined_tags: PredefinedTagEntry[];
|
||||
@@ -265,6 +274,14 @@ export interface DisplaySettingsUpdate {
|
||||
log_typing_animation_enabled?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents processing-log retention update payload.
|
||||
*/
|
||||
export interface ProcessingLogRetentionSettingsUpdate {
|
||||
keep_document_sessions?: number;
|
||||
keep_unbound_entries?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents handwriting-style clustering settings update payload.
|
||||
*/
|
||||
@@ -284,6 +301,7 @@ export interface HandwritingStyleClusteringSettingsUpdate {
|
||||
export interface AppSettingsUpdate {
|
||||
upload_defaults?: UploadDefaultsSettingsUpdate;
|
||||
display?: DisplaySettingsUpdate;
|
||||
processing_log_retention?: ProcessingLogRetentionSettingsUpdate;
|
||||
handwriting_style_clustering?: HandwritingStyleClusteringSettingsUpdate;
|
||||
predefined_paths?: PredefinedPathEntry[];
|
||||
predefined_tags?: PredefinedTagEntry[];
|
||||
|
||||
Reference in New Issue
Block a user