omniarena-types 1.63.0 → 1.66.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +39 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -270,6 +270,45 @@ export type ResetPasswordData = {
270
270
  export type UpdateProfileData = {
271
271
  avatarUrl: string | null;
272
272
  };
273
+ export type SentMessageDto = {
274
+ id: string;
275
+ recipient: {
276
+ id: string;
277
+ username: string;
278
+ displayName: string;
279
+ };
280
+ title: string;
281
+ createdAt: Date;
282
+ read: boolean;
283
+ };
284
+ export type ReceivedMessageDto = {
285
+ id: string;
286
+ sender: {
287
+ id: string;
288
+ username: string;
289
+ displayName: string;
290
+ } | null;
291
+ title: string;
292
+ createdAt: Date;
293
+ read: boolean;
294
+ };
295
+ export type MessageDto = {
296
+ id: string;
297
+ sender: {
298
+ id: string;
299
+ username: string;
300
+ displayName: string;
301
+ } | null;
302
+ recipient: {
303
+ id: string;
304
+ username: string;
305
+ displayName: string;
306
+ };
307
+ title: string;
308
+ content: string;
309
+ createdAt: Date;
310
+ read: boolean;
311
+ };
273
312
  export type PostDto = {
274
313
  id: string;
275
314
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.63.0",
3
+ "version": "1.66.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [