@milobedini/shared-types 1.0.56 → 1.0.57

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 +7 -6
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -399,12 +399,13 @@ export type AttemptDetail = {
399
399
  totalQuestions: number;
400
400
  percentComplete: number;
401
401
  };
402
+ export type AttemptDetailResponseItem = ModuleAttempt & {
403
+ band?: ScoreBandSummary;
404
+ detail: AttemptDetail;
405
+ patient?: Pick<AuthUser, '_id' | 'name' | 'username' | 'email'>;
406
+ module?: Pick<Module, '_id' | 'title' | 'type'>;
407
+ };
402
408
  export type AttemptDetailResponse = {
403
409
  success: boolean;
404
- attempt: ModuleAttempt & {
405
- band?: ScoreBandSummary;
406
- detail: AttemptDetail;
407
- patient?: Pick<AuthUser, '_id' | 'name' | 'username' | 'email'>;
408
- module?: Pick<Module, '_id' | 'title' | 'type'>;
409
- };
410
+ attempt: AttemptDetailResponseItem;
410
411
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milobedini/shared-types",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [