zenno: update types for new api fields
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user