Removed unnecessary types and fixed some bugs

This commit is contained in:
Firq-ow 2024-01-09 17:01:31 +01:00
parent 441d8a42a3
commit 62e3869ce9
Signed by: Firq
GPG key ID: BC5CE35A72BDB4AB
8 changed files with 16 additions and 46 deletions

View file

@ -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>>

View file

@ -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[]
}