@milobedini/shared-types 1.0.51 → 1.0.53

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/types.d.ts +9 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -343,8 +343,15 @@ export type ModulePreviewForAssignment = Pick<Module, '_id' | 'title' | 'type' |
343
343
  export type ProgramPreviewForAssignment = Pick<Program, '_id' | 'title'>;
344
344
  export type MyAssignmentView = {
345
345
  _id: string;
346
- user: string;
347
- therapist: string;
346
+ user: {
347
+ _id: string;
348
+ name: string;
349
+ username: string;
350
+ };
351
+ therapist: {
352
+ _id: string;
353
+ name: string;
354
+ };
348
355
  status: AssignmentStatus;
349
356
  dueAt?: string;
350
357
  recurrence?: AssignmentRecurrence;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milobedini/shared-types",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [