migrate overview store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-09 00:19:25 +08:00
parent 1555052e1d
commit 25c8b9baf8
16 changed files with 441 additions and 395 deletions
+5
View File
@@ -1,3 +1,8 @@
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type PartialRecord<K extends keyof any, T> = {
[P in K]?: T;
}
export interface TypeAndName {
readonly type: number;
readonly name: string;
+5
View File
@@ -25,6 +25,11 @@ export interface StartEndTime {
readonly endTime: number;
}
export interface WritableStartEndTime extends StartEndTime {
startTime: number;
endTime: number;
}
export interface UnixTimeRange {
readonly minUnixTime: number;
readonly maxUnixTime: number;