UPDATE: Support skills_by_anchor_type
Some checks failed
Gitea Auto Deploy / Deploy-Container (push) Failing after 1m4s
Some checks failed
Gitea Auto Deploy / Deploy-Container (push) Failing after 1m4s
This commit is contained in:
7
src/types/changelog.ts
Normal file
7
src/types/changelog.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
export interface ChangelogItemType {
|
||||
version: string,
|
||||
date: string,
|
||||
type: string,
|
||||
items: string[]
|
||||
}
|
||||
@@ -17,6 +17,7 @@ export type MOCConfigMaze = {
|
||||
export type AvatarConfigMaze = {
|
||||
maze_buff: number[];
|
||||
}
|
||||
|
||||
export type StageConfigMaze = {
|
||||
stage_id: number;
|
||||
stage_type: string;
|
||||
@@ -24,11 +25,18 @@ export type StageConfigMaze = {
|
||||
monster_list: Array<Record<string, number>>;
|
||||
};
|
||||
|
||||
export type SkillConfigMaze = {
|
||||
max_level: number;
|
||||
index_slot: number;
|
||||
}
|
||||
|
||||
export type ConfigMaze = {
|
||||
Avatar: Record<string, AvatarConfigMaze>;
|
||||
MOC: Record<string, MOCConfigMaze>;
|
||||
AS: Record<string, ASConfigMaze>;
|
||||
PF: Record<string, PFConfigMaze>;
|
||||
Stage: Record<string, StageConfigMaze>;
|
||||
Skill: Record<string, SkillConfigMaze>;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -22,3 +22,5 @@ export * from "./monsterDetail"
|
||||
export * from "./extraData"
|
||||
export * from "./showcase"
|
||||
export * from "./srtools"
|
||||
export * from "./changelog"
|
||||
export * from "./modelConfig"
|
||||
7
src/types/modelConfig.ts
Normal file
7
src/types/modelConfig.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type ModalConfig = {
|
||||
id: string
|
||||
title: string
|
||||
isOpen: boolean
|
||||
onClose: () => void
|
||||
content: React.ReactNode
|
||||
}
|
||||
@@ -27,6 +27,7 @@ export interface LightconeJson {
|
||||
export interface AvatarData {
|
||||
rank: number,
|
||||
skills: Record<string, number>
|
||||
skills_by_anchor_type?: Record<string,number>
|
||||
}
|
||||
|
||||
export interface AvatarJson {
|
||||
|
||||
Reference in New Issue
Block a user