Defined request interface & updated expected request status response

This commit is contained in:
2022-11-03 21:56:46 +01:00
parent dec15194e4
commit 4a128044bf
3 changed files with 42 additions and 13 deletions

View File

@@ -0,0 +1,19 @@
export interface Result {
id: number;
title: string;
year: number;
type: string;
status: string;
requested_date: Date;
}
export interface IRequestStatusResponse {
success: boolean;
message?: string;
result?: Result;
}
export interface IRequestSubmitResponse {
success: boolean;
message: string;
}