zenno: update types for new api fields

This commit is contained in:
2026-09-21 10:31:14 -04:00
parent 1cf3af5f79
commit fde5b4fd20
2 changed files with 20 additions and 0 deletions
+4
View File
@@ -4,6 +4,10 @@ import type { RegionalName } from '$lib/regional-name';
* Lobby conversation data.
*/
export interface Conversation {
/**
* Gallery ID.
*/
id: number;
/**
* Character who owns the conversation as a gallery entry.
*/
+16
View File
@@ -14,6 +14,10 @@ export interface Skill {
* Regional skil description.
*/
description: string;
/**
* Other skills in the skill group.
*/
group_skills: GroupSkill[];
/**
* Skill group ID.
*/
@@ -58,6 +62,18 @@ export interface Skill {
icon_id: number;
}
/**
* Skill reference in a skill group.
*/
export interface GroupSkill {
/** Skill ID. */
skill_id: number;
/** Group rate, as in `Skill`. */
group_rate: Skill['group_rate'];
/** Rarity, as in `Skill`. */
rarity: Skill['rarity'];
}
export enum DurationScale {
Direct = 1,
FrontDistance = 2,