Skip to content

Commit

Permalink
Merge pull request #763 from ministryofjustice/update-api-types-17007…
Browse files Browse the repository at this point in the history
…57175

API model updates
  • Loading branch information
andrewcharnley authored Nov 24, 2023
2 parents 2028692 + 03195d8 commit 1aa6484
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/@types/shared/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,6 @@ export type { User } from './models/User';
export type { UserQualification } from './models/UserQualification';
export type { UserRolesAndQualifications } from './models/UserRolesAndQualifications';
export type { UserSortField } from './models/UserSortField';
export type { UserWithWorkload } from './models/UserWithWorkload';
export type { ValidationError } from './models/ValidationError';
export type { WithdrawalReason } from './models/WithdrawalReason';
17 changes: 17 additions & 0 deletions server/@types/shared/models/UserWithWorkload.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { ApprovedPremisesUserRole } from './ApprovedPremisesUserRole';
import type { User } from './User';
import type { UserQualification } from './UserQualification';

export type UserWithWorkload = (User & {
numAssessmentsPending?: number;
numAssessmentsCompleted7Days?: number;
numAssessmentsCompleted30Days?: number;
qualifications?: Array<UserQualification>;
roles?: Array<ApprovedPremisesUserRole>;
});

0 comments on commit 1aa6484

Please sign in to comment.