Skip to content

Commit

Permalink
feat: added cost field to job model
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed Jan 10, 2024
1 parent 7956c59 commit f507323
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/jobs/models/job.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ export class PatchJob {
required: false,
})
results_metadata?: any;

@IsOptional()
@ApiProperty({
description: 'Total cost of the job',
required: false,
})
costs?: number;
}

export class ExtendedPatchJob extends PatchJob {
Expand Down

0 comments on commit f507323

Please sign in to comment.