Skip to content

Commit

Permalink
Merge pull request #1174 from ministryofjustice/update-api-types
Browse files Browse the repository at this point in the history
API model updates
  • Loading branch information
aliuk2012 authored Dec 18, 2024
2 parents b77c63b + 76a6e7b commit 4c7557c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/@types/shared/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ export type { Room } from './models/Room';
export type { RoshRisks } from './models/RoshRisks';
export type { RoshRisksEnvelope } from './models/RoshRisksEnvelope';
export type { SeedFileType } from './models/SeedFileType';
export type { SeedFromExcelFileType } from './models/SeedFromExcelFileType';
export type { SeedFromExcelRequest } from './models/SeedFromExcelRequest';
export type { SeedRequest } from './models/SeedRequest';
export type { SentenceTypeOption } from './models/SentenceTypeOption';
export type { ServiceName } from './models/ServiceName';
Expand Down
5 changes: 5 additions & 0 deletions server/@types/shared/models/SeedFromExcelFileType.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type SeedFromExcelFileType = 'approved_premises_room';
11 changes: 11 additions & 0 deletions server/@types/shared/models/SeedFromExcelRequest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { SeedFromExcelFileType } from './SeedFromExcelFileType';
export type SeedFromExcelRequest = {
seedType: SeedFromExcelFileType;
premisesId: string;
fileName: string;
};

0 comments on commit 4c7557c

Please sign in to comment.