♻️ 叠层单独提出来作为组件使用

This commit is contained in:
BTMuli
2023-05-19 18:49:06 +08:00
parent a65763bab9
commit 779bc3a0d3
7 changed files with 303 additions and 224 deletions

View File

@@ -26,7 +26,7 @@ declare namespace BTMuli.Genshin.Calendar {
*/
export interface Data {
id: number
content_id: number
content_id: number | null
drop_day: number[]
name: string
item_type: string

View File

@@ -2,13 +2,13 @@
* @file types Character.d.ts
* @author BTMuli<bt-muli@outlook.com>
* @description 角色相关类型定义
* @since Alpha v0.1.3
* @since Alpha v0.1.5
*/
declare namespace BTMuli.Genshin.Wiki.Character {
/**
* @description 简略信息,用于整体展示
* @since Alpha v0.1.3
* @since Alpha v0.1.5
* @interface BriefInfo
* @property {number} id - 角色 ID
* @property {number} content_id - 观测枢 id
@@ -22,7 +22,7 @@ declare namespace BTMuli.Genshin.Wiki.Character {
*/
export interface BriefInfo {
id: number
content_id?: number
content_id?: number | null
name: string
star: number
bg: string

View File

@@ -22,7 +22,7 @@ declare namespace BTMuli.Genshin.Wiki.Weapon {
*/
export interface BriefInfo {
id: number
content_id?: number
content_id?: number | null
name: string
star: number
bg: string