mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: updates
This commit is contained in:
parent
a1b0bcf4d3
commit
884f3df41a
198 changed files with 4572 additions and 5336 deletions
20
packages/shared/db/replay.ts
Normal file
20
packages/shared/db/replay.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
export const enum ReplayTables {
|
||||
CoverColor = 'CoverColor',
|
||||
AppData = 'AppData',
|
||||
}
|
||||
|
||||
export interface ReplayTableKeys {
|
||||
[ReplayTables.CoverColor]: number
|
||||
[ReplayTables.AppData]: 'appVersion' | 'skippedVersion'
|
||||
}
|
||||
|
||||
export interface ReplayTableStructures {
|
||||
[ReplayTables.CoverColor]: {
|
||||
id: number
|
||||
color: string
|
||||
queriedAt: number
|
||||
}
|
||||
[ReplayTables.AppData]: {
|
||||
value: string
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue