omniarena-types 1.62.0 → 1.64.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 +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -270,6 +270,18 @@ export type ResetPasswordData = {
|
|
|
270
270
|
export type UpdateProfileData = {
|
|
271
271
|
avatarUrl: string | null;
|
|
272
272
|
};
|
|
273
|
+
export type MessageDto = {
|
|
274
|
+
id: string;
|
|
275
|
+
sender: {
|
|
276
|
+
id: string;
|
|
277
|
+
username: string;
|
|
278
|
+
displayName: string;
|
|
279
|
+
};
|
|
280
|
+
title: string;
|
|
281
|
+
content: string;
|
|
282
|
+
createdAt: Date;
|
|
283
|
+
read: boolean;
|
|
284
|
+
};
|
|
273
285
|
export type PostDto = {
|
|
274
286
|
id: string;
|
|
275
287
|
type: string;
|
|
@@ -284,6 +296,7 @@ export type PostDto = {
|
|
|
284
296
|
};
|
|
285
297
|
likes: number;
|
|
286
298
|
dislikes: number;
|
|
299
|
+
reaction: -1 | 1 | null;
|
|
287
300
|
};
|
|
288
301
|
export type BattleHistoryDto = {
|
|
289
302
|
id: string;
|