UPDATE: Support skills_by_anchor_type
Some checks failed
Gitea Auto Deploy / Deploy-Container (push) Failing after 1m4s

This commit is contained in:
2026-01-11 23:12:45 +07:00
parent 81023dc006
commit 6a9d99b30f
37 changed files with 7122 additions and 214 deletions

7
src/types/changelog.ts Normal file
View File

@@ -0,0 +1,7 @@
export interface ChangelogItemType {
version: string,
date: string,
type: string,
items: string[]
}

View File

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

View File

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

@@ -0,0 +1,7 @@
export type ModalConfig = {
id: string
title: string
isOpen: boolean
onClose: () => void
content: React.ReactNode
}

View File

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