omniarena-types 1.34.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +17 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,8 +16,7 @@ export type PlayerDto = {
|
|
|
16
16
|
username: string;
|
|
17
17
|
title: string;
|
|
18
18
|
avatar: string;
|
|
19
|
-
|
|
20
|
-
ladderRank: number;
|
|
19
|
+
elo: number;
|
|
21
20
|
wins: number;
|
|
22
21
|
losses: number;
|
|
23
22
|
streak: number;
|
|
@@ -51,9 +50,7 @@ export type CharacterDto = {
|
|
|
51
50
|
export type SkillDto = {
|
|
52
51
|
id: string;
|
|
53
52
|
skillId: number;
|
|
54
|
-
name: string;
|
|
55
53
|
description: string;
|
|
56
|
-
image: string;
|
|
57
54
|
userId: string;
|
|
58
55
|
playerId: string;
|
|
59
56
|
baseCooldown: number;
|
|
@@ -118,18 +115,27 @@ export type SkillUseDto = {
|
|
|
118
115
|
skillId: string;
|
|
119
116
|
order: number;
|
|
120
117
|
};
|
|
121
|
-
export type
|
|
118
|
+
export type SkinDto = {
|
|
122
119
|
id: string;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
default: boolean;
|
|
121
|
+
name: string;
|
|
122
|
+
createdAt: Date;
|
|
123
|
+
content: {
|
|
124
|
+
characters: Record<string, CharacterSkin>;
|
|
125
|
+
skills: Record<string, SkillSkin>;
|
|
126
|
+
pronouns: Record<string, PronounSkin>;
|
|
127
|
+
};
|
|
128
|
+
verified: boolean;
|
|
129
|
+
public: boolean;
|
|
130
|
+
creatorId: string;
|
|
131
|
+
updatedAt: Date;
|
|
126
132
|
};
|
|
127
133
|
export type CharacterAvatar = 'main' | 'old' | 'masked';
|
|
128
134
|
export type CharacterSkin = {
|
|
129
135
|
id: number;
|
|
130
136
|
name: string;
|
|
131
137
|
short: string;
|
|
132
|
-
avatars: Record<CharacterAvatar, string
|
|
138
|
+
avatars: Partial<Record<CharacterAvatar, string>>;
|
|
133
139
|
pronouns: number;
|
|
134
140
|
bio: string;
|
|
135
141
|
};
|
|
@@ -147,8 +153,6 @@ export type PronounSkin = {
|
|
|
147
153
|
};
|
|
148
154
|
export type GameSkill = {
|
|
149
155
|
id: number;
|
|
150
|
-
name: string;
|
|
151
|
-
image: string;
|
|
152
156
|
valence: ValenceType;
|
|
153
157
|
nature: NatureType;
|
|
154
158
|
persistence: PersistenceType;
|
|
@@ -159,8 +163,8 @@ export type GameSkill = {
|
|
|
159
163
|
baseDuration: number;
|
|
160
164
|
baseTags: Tag[];
|
|
161
165
|
};
|
|
162
|
-
export type GameCharacter =
|
|
163
|
-
|
|
166
|
+
export type GameCharacter = {
|
|
167
|
+
id: number;
|
|
164
168
|
skills: GameSkill[];
|
|
165
169
|
};
|
|
166
170
|
export type UserDto = {
|