mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-31 06:29:46 +08:00
♻️ 战绩世界探索数据结构调整
This commit is contained in:
15
src/types/Game/Record.d.ts
vendored
15
src/types/Game/Record.d.ts
vendored
@@ -175,7 +175,7 @@ declare namespace TGApp.Game.Record {
|
||||
/**
|
||||
* @description 世界探索信息类型
|
||||
* @interface WorldExplore
|
||||
* @since Beta 0.7.2
|
||||
* @since Beta 0.8.1
|
||||
* @property {number} level - 声望等级
|
||||
* @property {number} exploration_percentage - 探索千分比
|
||||
* @property {string} icon - 图标
|
||||
@@ -195,7 +195,7 @@ declare namespace TGApp.Game.Record {
|
||||
* @property {boolean} index_active - 索引激活
|
||||
* @property {boolean} detail_active - 详细激活
|
||||
* @property {number} seven_status_level - 七天神像等级
|
||||
* @property {NataReputation[] | null} nata_reputation - 纳塔声望
|
||||
* @property {NataReputation | null} nata_reputation - 纳塔声望
|
||||
* @property {number} world_type - 世界类型
|
||||
*/
|
||||
type WorldExplore = {
|
||||
@@ -212,7 +212,7 @@ declare namespace TGApp.Game.Record {
|
||||
background_image: string;
|
||||
inner_icon: string;
|
||||
cover: string;
|
||||
area_exploration_list: Array<unknown>;
|
||||
area_exploration_list: Array<AreaExploration>;
|
||||
boss_list: Array<unknown>;
|
||||
is_hot: boolean;
|
||||
index_active: boolean;
|
||||
@@ -232,6 +232,15 @@ declare namespace TGApp.Game.Record {
|
||||
*/
|
||||
type WorldOffering = { name: string; level: number; icon: string };
|
||||
|
||||
/**
|
||||
* @description 区域探索类型
|
||||
* @interface AreaExploration
|
||||
* @since Beta v0.8.1
|
||||
* @property {string} name - 名称
|
||||
* @property {number} exploration_percentage - 探索千分比
|
||||
*/
|
||||
type AreaExploration = { name: string; exploration_percentage: number };
|
||||
|
||||
/**
|
||||
* @description 纳塔声望类型
|
||||
* @interface NataReputation
|
||||
|
||||
17
src/types/Sqlite/Record.d.ts
vendored
17
src/types/Sqlite/Record.d.ts
vendored
@@ -137,7 +137,7 @@ declare namespace TGApp.Sqlite.Record {
|
||||
/**
|
||||
* @description 世界探索信息类型
|
||||
* @interface WorldExplore
|
||||
* @since Beta v0.7.2
|
||||
* @since Beta v0.8.1
|
||||
* @property {number} id - 地区 ID
|
||||
* @property {string} name - 地区名称
|
||||
* @property {string} iconLight - 地区图标(亮)
|
||||
@@ -145,6 +145,7 @@ declare namespace TGApp.Sqlite.Record {
|
||||
* @property {string} cover - 封面
|
||||
* @property {number} reputation - 地区声望等级
|
||||
* @property {WorldOffering} offering - 地区供奉信息
|
||||
* @property {Array<WorldOffering>} offerings - 地区供奉列表
|
||||
* @property {number} exploration - 地区探索进度
|
||||
* @property {Array<WorldChild>} children - 子地区
|
||||
*/
|
||||
@@ -156,8 +157,13 @@ declare namespace TGApp.Sqlite.Record {
|
||||
bg: string;
|
||||
cover: string;
|
||||
reputation?: number;
|
||||
/**
|
||||
* @deprecated 已弃用,建议使用 offerings
|
||||
*/
|
||||
offering?: WorldOffering;
|
||||
offerings?: Array<WorldOffering>;
|
||||
exploration: number;
|
||||
area_exploration_list?: Array<AreaExploration>;
|
||||
children: Array<WorldChild>;
|
||||
};
|
||||
|
||||
@@ -171,6 +177,15 @@ declare namespace TGApp.Sqlite.Record {
|
||||
*/
|
||||
type WorldOffering = { name: string; level: number; icon: string };
|
||||
|
||||
/**
|
||||
* @description 区域探索类型
|
||||
* @interface AreaExploration
|
||||
* @since Beta v0.8.1
|
||||
* @property {string} name - 名称
|
||||
* @property {number} exploration_percentage - 探索千分比
|
||||
*/
|
||||
type AreaExploration = { name: string; exploration_percentage: number };
|
||||
|
||||
/**
|
||||
* @description 子地区类型
|
||||
* @interface WorldChild
|
||||
|
||||
Reference in New Issue
Block a user