omniarena-types 1.64.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 +27 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -270,12 +270,39 @@ 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
+ };
273
295
  export type MessageDto = {
274
296
  id: string;
275
297
  sender: {
276
298
  id: string;
277
299
  username: string;
278
300
  displayName: string;
301
+ } | null;
302
+ recipient: {
303
+ id: string;
304
+ username: string;
305
+ displayName: string;
279
306
  };
280
307
  title: string;
281
308
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.64.0",
3
+ "version": "1.66.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [