mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
[enhancement]: support clearing query and http cache (#475)
* [enhancement]: support clearing query and http cache - Adds the ability to invalidate all queries (useful for forcing refresh, and clearing lyrics which are cached forever) - [Desktop only] adds the ability to clear the Electron HTTP cache (e.g. cached images) * use clearer language * move cache settings to general
This commit is contained in:
parent
04a468f8c9
commit
9995b2e774
6 changed files with 119 additions and 2 deletions
3
src/renderer/preload.d.ts
vendored
3
src/renderer/preload.d.ts
vendored
|
|
@ -9,11 +9,12 @@ import { Utils } from '/@/main/preload/utils';
|
|||
import { LocalSettings } from '/@/main/preload/local-settings';
|
||||
import { Ipc } from '/@/main/preload/ipc';
|
||||
import { DiscordRpc } from '/@/main/preload/discord-rpc';
|
||||
import { Browser } from '/@/main/preload/browser';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electron: {
|
||||
browser: any;
|
||||
browser: Browser;
|
||||
discordRpc: DiscordRpc;
|
||||
ipc?: Ipc;
|
||||
ipcRenderer: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue