omniarena-types 1.64.0 → 1.67.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 +16 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -270,13 +270,24 @@ export type ResetPasswordData = {
270
270
  export type UpdateProfileData = {
271
271
  avatarUrl: string | null;
272
272
  };
273
+ export type SentMessageDto = {
274
+ id: string;
275
+ recipient: UserHeaderDto;
276
+ title: string;
277
+ createdAt: Date;
278
+ read: boolean;
279
+ };
280
+ export type ReceivedMessageDto = {
281
+ id: string;
282
+ sender: UserHeaderDto | null;
283
+ title: string;
284
+ createdAt: Date;
285
+ read: boolean;
286
+ };
273
287
  export type MessageDto = {
274
288
  id: string;
275
- sender: {
276
- id: string;
277
- username: string;
278
- displayName: string;
279
- };
289
+ sender: UserHeaderDto | null;
290
+ recipient: UserHeaderDto;
280
291
  title: string;
281
292
  content: string;
282
293
  createdAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.64.0",
3
+ "version": "1.67.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [