diff --git a/server/@types/shared/index.d.ts b/server/@types/shared/index.d.ts index 6ae252e56..a2090a0ba 100644 --- a/server/@types/shared/index.d.ts +++ b/server/@types/shared/index.d.ts @@ -8,6 +8,7 @@ export type { Adjudication } from './models/Adjudication'; export type { AnyValue } from './models/AnyValue'; export type { ApArea } from './models/ApArea'; export type { Application } from './models/Application'; +export type { ApplicationSortField } from './models/ApplicationSortField'; export type { ApplicationStatus } from './models/ApplicationStatus'; export type { ApplicationSummary } from './models/ApplicationSummary'; export type { ApplicationTimelineNote } from './models/ApplicationTimelineNote'; diff --git a/server/@types/shared/models/ApplicationSortField.ts b/server/@types/shared/models/ApplicationSortField.ts new file mode 100644 index 000000000..9b96c3441 --- /dev/null +++ b/server/@types/shared/models/ApplicationSortField.ts @@ -0,0 +1,6 @@ +/* generated using openapi-typescript-codegen -- do no edit */ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ + +export type ApplicationSortField = 'tier' | 'createdAt' | 'arrivalDate'; diff --git a/server/@types/shared/models/ApprovedPremisesApplicationSummary.ts b/server/@types/shared/models/ApprovedPremisesApplicationSummary.ts index d602e7993..2287c88cf 100644 --- a/server/@types/shared/models/ApprovedPremisesApplicationSummary.ts +++ b/server/@types/shared/models/ApprovedPremisesApplicationSummary.ts @@ -16,5 +16,6 @@ export type ApprovedPremisesApplicationSummary = (ApplicationSummary & { risks?: PersonRisks; createdByUserId: string; status: ApplicationStatus; + tier?: string; });