feat(redis): persist command history across sessions (#933)
This commit is contained in:
1 parent
d08385e75f
commit
d0bf6c3b53
15 files changed
+179
-48
No files matched your search
@@ -14,8 +14,9 @@ pub async fn load_history(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
limit: usize,
|
||||
offset: usize,
|
||||
activity_kind: Option<String>,
|
||||
) -> Result<Vec<HistoryEntry>, String> {
|
||||
state.storage.load_history_entries(limit, offset).await
|
||||
state.storage.load_history_entries(limit, offset, activity_kind).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in new issue
Block a user