mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: updates
This commit is contained in:
parent
196a974a64
commit
8f4c3d8e5b
24 changed files with 572 additions and 93 deletions
|
|
@ -23,6 +23,8 @@ export const enum IpcChannels {
|
|||
SyncSettings = 'SyncSettings',
|
||||
GetAudioCacheSize = 'GetAudioCacheSize',
|
||||
ResetWindowSize = 'ResetWindowSize',
|
||||
GetVideoCover = 'GetVideoCover',
|
||||
SetVideoCover = 'SetVideoCover',
|
||||
}
|
||||
|
||||
// ipcMain.on params
|
||||
|
|
@ -58,6 +60,8 @@ export interface IpcChannelsParams {
|
|||
[IpcChannels.SyncSettings]: Store['settings']
|
||||
[IpcChannels.GetAudioCacheSize]: void
|
||||
[IpcChannels.ResetWindowSize]: void
|
||||
[IpcChannels.GetVideoCover]: { id: number }
|
||||
[IpcChannels.SetVideoCover]: { id: number; url: string }
|
||||
}
|
||||
|
||||
// ipcRenderer.on params
|
||||
|
|
@ -79,4 +83,6 @@ export interface IpcChannelsReturns {
|
|||
[IpcChannels.Like]: void
|
||||
[IpcChannels.Repeat]: RepeatMode
|
||||
[IpcChannels.GetAudioCacheSize]: void
|
||||
[IpcChannels.GetVideoCover]: string | undefined
|
||||
[IpcChannels.SetVideoCover]: void
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue