Removed unnecessary types and fixed some bugs
This commit is contained in:
parent
441d8a42a3
commit
62e3869ce9
8 changed files with 16 additions and 46 deletions
src/types
|
@ -1,5 +1,3 @@
|
|||
import type { FileData } from "./ta"
|
||||
|
||||
export interface IconsLookup {
|
||||
[key: string]: ImageMetadata
|
||||
}
|
||||
|
@ -7,7 +5,6 @@ export interface IconsLookup {
|
|||
interface GlobGeneric<T> {
|
||||
default: T
|
||||
}
|
||||
|
||||
export type GlobAny = GlobGeneric<any>
|
||||
export type GlobFiledata = GlobGeneric<FileData>
|
||||
export type GlobImage = GlobGeneric<ImageMetadata>
|
||||
|
||||
export type ImportRecord<T> = Record<string, () => Promise<T>>
|
|
@ -1,21 +0,0 @@
|
|||
interface TAData {
|
||||
title: string
|
||||
link: string
|
||||
servant: string
|
||||
turns: string
|
||||
runner: string
|
||||
date: string
|
||||
}
|
||||
|
||||
interface Info {
|
||||
title: string
|
||||
questReleaseDate: string
|
||||
description: string
|
||||
shortdescription: string
|
||||
fightNumber: number
|
||||
}
|
||||
|
||||
export interface FileData {
|
||||
info: Info
|
||||
data: TAData[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue