fix: always check for updates/clear cache 10 min cooldown (#7077)

This commit is contained in:
Calum H.
2026-08-10 14:00:42 +00:00
committed by GitHub
parent 92971a3e0d
commit 9fd45ef2ce
10 changed files with 71 additions and 4 deletions
@@ -77,6 +77,10 @@ export async function get_content_items(
return await invoke('plugin:instance|instance_get_content_items', { instanceId, cacheBehaviour })
}
export async function refresh_content_updates(instanceId: string): Promise<void> {
return await invoke('plugin:instance|instance_refresh_content_updates', { instanceId })
}
// Linked modpack info returned from backend
export interface LinkedModpackInfo {
project: Labrinth.Projects.v2.Project