Skip to content

Commit

Permalink
build: updated generated folder and new dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Nov 7, 2023
1 parent 23cbc24 commit 54e7bc6
Show file tree
Hide file tree
Showing 67 changed files with 22,843 additions and 342 deletions.
18,949 changes: 18,949 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"axios": "^1.5.0",
"axios": "^1.6.0",
"openapi-fetch": "^0.7.2",
"openapi-typescript-codegen": "^0.25.0",
"react": "^18.2.0",
Expand All @@ -30,6 +30,7 @@
"react-scripts": "5.0.1",
"styled-components": "^5.3.9",
"typescript": "^4.9.4",
"uuid": "^9.0.1",
"web-vitals": "^2.1.0",
"zod": "^3.22.4"
},
Expand Down Expand Up @@ -63,6 +64,7 @@
"devDependencies": {
"@tanstack/eslint-plugin-query": "^4.32.5",
"@types/styled-components": "^5.1.26",
"@types/uuid": "^9.0.6",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
Expand Down
5 changes: 5 additions & 0 deletions src/api/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export type { JobList } from './models/JobList';
export type { JobListUploadsDto } from './models/JobListUploadsDto';
export { JobStatus } from './models/JobStatus';
export { JobType } from './models/JobType';
export type { MergeModelCommandResponse } from './models/MergeModelCommandResponse';
export type { MergeModelDto } from './models/MergeModelDto';
export type { Operation } from './models/Operation';
export { OperationType } from './models/OperationType';
export type { ParameterDetail } from './models/ParameterDetail';
Expand All @@ -52,6 +54,8 @@ export type { PatchAnalogueModelCommandResponse } from './models/PatchAnalogueMo
export type { PatchAnalogueModelDto } from './models/PatchAnalogueModelDto';
export type { PatchParameterCommandResponse } from './models/PatchParameterCommandResponse';
export type { PatchParameterDto } from './models/PatchParameterDto';
export type { PrepareChunkedUploadCommandResponse } from './models/PrepareChunkedUploadCommandResponse';
export type { PrepareChunkedUploadDto } from './models/PrepareChunkedUploadDto';
export type { UpdateAnalogueModelCommandBody } from './models/UpdateAnalogueModelCommandBody';
export type { UpdateAnalogueModelCommandResponse } from './models/UpdateAnalogueModelCommandResponse';
export type { UpdateAnalogueModelDto } from './models/UpdateAnalogueModelDto';
Expand All @@ -61,6 +65,7 @@ export type { UpdateParameterCommandResponse } from './models/UpdateParameterCom
export type { UpdateParameterDto } from './models/UpdateParameterDto';
export type { UploadAnalogueModelCommandResponse } from './models/UploadAnalogueModelCommandResponse';
export type { UploadAnalogueModelDto } from './models/UploadAnalogueModelDto';
export type { UploadChunkCommandResponse } from './models/UploadChunkCommandResponse';
export type { UploadDetail } from './models/UploadDetail';
export { UploadFileCategory } from './models/UploadFileCategory';
export { UploadFileType } from './models/UploadFileType';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ import type { AddParameterDto } from './AddParameterDto';
export type AddAnalogueModelParameterCommandForm = {
parameters?: Array<AddParameterDto> | null;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type AddAnalogueModelParameterCommandResponse = {
validationErrors?: Array<string> | null;
data: AddAnalogueModelParameterDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/AddAnalogueModelParameterDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type AddAnalogueModelParameterDto = {
sourceType?: string | null;
parameters?: Array<AddParameterDto> | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/AddParameterDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export type AddParameterDto = {
parameterId: string;
parameterValue: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/AnalogueList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type AnalogueList = {
name: string;
description: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/AnalogueModelDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ export type AnalogueModelDetail = {
analogues: Array<AnalogueList>;
fileUploads: Array<UploadList>;
};

1 change: 1 addition & 0 deletions src/api/generated/models/AnalogueModelList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type AnalogueModelList = {
isProcessed: boolean;
sourceType: AnalogueModelSourceType;
};

1 change: 1 addition & 0 deletions src/api/generated/models/ConvertAnalogueModelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
export type ConvertAnalogueModelCommand = {
modelId: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type ConvertAnalogueModelCommandResponse = {
validationErrors?: Array<string> | null;
data: ConvertAnalogueModelDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/ConvertAnalogueModelDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type ConvertAnalogueModelDto = {
jobStatus: JobStatus;
jobType: JobType;
};

1 change: 1 addition & 0 deletions src/api/generated/models/CreateAnalogueCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export type CreateAnalogueCommand = {
name: string;
description?: string | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/CreateAnalogueCommandResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type CreateAnalogueCommandResponse = {
validationErrors?: Array<string> | null;
data: CreateAnalogueDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/CreateAnalogueDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type CreateAnalogueDto = {
name?: string | null;
description?: string | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/CreateAnalogueModelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type CreateAnalogueModelCommand = {
description?: string | null;
sourceType: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type CreateAnalogueModelCommandResponse = {
validationErrors?: Array<string> | null;
data: CreateAnalogueModelDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/CreateAnalogueModelDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type CreateAnalogueModelDto = {
name: string;
description?: string | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/CreateParameterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type CreateParameterCommand = {
name: string;
description?: string | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/ErrorResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export type ErrorResponse = {
validationErrors?: Array<string> | null;
data: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/EstimateChannelCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
export type EstimateChannelCommand = {
modelId: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetAnalogueListQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetAnalogueListQueryResponse = {
validationErrors?: Array<string> | null;
data: Array<AnalogueList>;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetAnalogueModelListQueryResponse = {
validationErrors?: Array<string> | null;
data: Array<AnalogueModelList>;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetAnalogueModelQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetAnalogueModelQueryResponse = {
validationErrors?: Array<string> | null;
data: AnalogueModelDetail;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetCurrentJobStatusCommandResponse = {
validationErrors?: Array<string> | null;
data: GetCurrentJobStatusDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetCurrentJobStatusDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetCurrentJobStatusDto = {
jobStatus: JobStatus;
jobType: JobType;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetJobDetailQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetJobDetailQueryResponse = {
validationErrors?: Array<string> | null;
data: JobDetail;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetJobListQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetJobListQueryResponse = {
validationErrors?: Array<string> | null;
data: Array<JobList>;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetParameterDetailQueryResponse = {
validationErrors?: Array<string> | null;
data: ParameterDetail;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetParameterListQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetParameterListQueryResponse = {
validationErrors?: Array<string> | null;
data: Array<ParameterList>;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetUploadDetailQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetUploadDetailQueryResponse = {
validationErrors?: Array<string> | null;
data: UploadDetail;
};

1 change: 1 addition & 0 deletions src/api/generated/models/GetUploadListQueryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type GetUploadListQueryResponse = {
validationErrors?: Array<string> | null;
data: Array<UploadList>;
};

1 change: 1 addition & 0 deletions src/api/generated/models/JobDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type JobDetail = {
jobStatus?: JobStatus;
jobType?: JobType;
};

1 change: 1 addition & 0 deletions src/api/generated/models/JobList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ export type JobList = {
updated: string;
uploads?: Array<JobListUploadsDto> | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/JobListUploadsDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export type JobListUploadsDto = {
uploadStatus: UploadStatus;
uploadFileType: UploadFileType;
};

15 changes: 15 additions & 0 deletions src/api/generated/models/MergeModelCommandResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { MergeModelDto } from './MergeModelDto';

export type MergeModelCommandResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: MergeModelDto;
};

17 changes: 17 additions & 0 deletions src/api/generated/models/MergeModelDto.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 { UploadFileCategory } from './UploadFileCategory';
import type { UploadFileType } from './UploadFileType';
import type { UploadStatus } from './UploadStatus';

export type MergeModelDto = {
uploadId: string;
originalFileName: string;
uploadStatus: UploadStatus;
uploadFileType: UploadFileType;
uploadFileCategory: UploadFileCategory;
};

1 change: 1 addition & 0 deletions src/api/generated/models/Operation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type Operation = {
from?: string | null;
value?: any;
};

1 change: 1 addition & 0 deletions src/api/generated/models/ParameterDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export type ParameterDetail = {
name: string;
description: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/ParameterList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export type ParameterList = {
name: string;
description: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type PatchAnalogueModelCommandResponse = {
validationErrors?: Array<string> | null;
data: PatchAnalogueModelDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/PatchAnalogueModelDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type PatchAnalogueModelDto = {
name: string;
description?: string | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/PatchParameterCommandResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type PatchParameterCommandResponse = {
validationErrors?: Array<string> | null;
data: PatchParameterDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/PatchParameterDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export type PatchParameterDto = {
name: string;
description?: string | null;
};

15 changes: 15 additions & 0 deletions src/api/generated/models/PrepareChunkedUploadCommandResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { PrepareChunkedUploadDto } from './PrepareChunkedUploadDto';

export type PrepareChunkedUploadCommandResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
data: PrepareChunkedUploadDto;
};

11 changes: 11 additions & 0 deletions src/api/generated/models/PrepareChunkedUploadDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type PrepareChunkedUploadDto = {
uploadId: string;
numChunks: number;
fileSize: number;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UpdateAnalogueModelCommandBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type UpdateAnalogueModelCommandBody = {
description?: string | null;
sourceType: string;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type UpdateAnalogueModelCommandResponse = {
validationErrors?: Array<string> | null;
data: UpdateAnalogueModelDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UpdateAnalogueModelDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export type UpdateAnalogueModelDto = {
description?: string | null;
sourceType: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UpdateJobStatusCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export type UpdateJobStatusCommand = {
ended?: string | null;
status: string;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UpdateParameterCommandBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ export type UpdateParameterCommandBody = {
name: string;
description?: string | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UpdateParameterCommandResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type UpdateParameterCommandResponse = {
validationErrors?: Array<string> | null;
data: UpdateParameterDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UpdateParameterDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export type UpdateParameterDto = {
name: string;
description?: string | null;
};

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export type UploadAnalogueModelCommandResponse = {
validationErrors?: Array<string> | null;
data: UploadAnalogueModelDto;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UploadAnalogueModelDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export type UploadAnalogueModelDto = {
uploadFileType: UploadFileType;
uploadFileCategory: UploadFileCategory;
};

12 changes: 12 additions & 0 deletions src/api/generated/models/UploadChunkCommandResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type UploadChunkCommandResponse = {
success?: boolean;
count?: number | null;
message?: string | null;
validationErrors?: Array<string> | null;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UploadDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export type UploadDetail = {
uploadFileType: UploadFileType;
uploadFileCategory: UploadFileCategory;
};

1 change: 1 addition & 0 deletions src/api/generated/models/UploadList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ export type UploadList = {
uploadFileType: UploadFileType;
uploadFileCategory: UploadFileCategory;
};

Loading

0 comments on commit 54e7bc6

Please sign in to comment.