omniarena-types 1.66.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 +4 -20
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -272,38 +272,22 @@ export type UpdateProfileData = {
272
272
  };
273
273
  export type SentMessageDto = {
274
274
  id: string;
275
- recipient: {
276
- id: string;
277
- username: string;
278
- displayName: string;
279
- };
275
+ recipient: UserHeaderDto;
280
276
  title: string;
281
277
  createdAt: Date;
282
278
  read: boolean;
283
279
  };
284
280
  export type ReceivedMessageDto = {
285
281
  id: string;
286
- sender: {
287
- id: string;
288
- username: string;
289
- displayName: string;
290
- } | null;
282
+ sender: UserHeaderDto | null;
291
283
  title: string;
292
284
  createdAt: Date;
293
285
  read: boolean;
294
286
  };
295
287
  export type MessageDto = {
296
288
  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
- };
289
+ sender: UserHeaderDto | null;
290
+ recipient: UserHeaderDto;
307
291
  title: string;
308
292
  content: string;
309
293
  createdAt: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.66.0",
3
+ "version": "1.67.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [