Added jobRuns on the job page
Some checks failed
Push image to registry / build-image (push) Failing after 3m47s
Some checks failed
Push image to registry / build-image (push) Failing after 3m47s
This commit is contained in:
14
resources/js/types/Jobs/job.d.ts
vendored
14
resources/js/types/Jobs/job.d.ts
vendored
@ -5,8 +5,9 @@ export type Job = {
|
||||
is_active: boolean;
|
||||
|
||||
job_infos: JobInfo[];
|
||||
job_runs: JobRunArtifact[];
|
||||
|
||||
created_at: Date;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export type JobInfo = {
|
||||
@ -26,16 +27,23 @@ export type JobInfo = {
|
||||
export type JobInfoType = {
|
||||
id: number;
|
||||
name: string;
|
||||
created_at: Date;
|
||||
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export type JobRunArtifact = {
|
||||
jobId: number;
|
||||
id: number;
|
||||
job_id: number;
|
||||
artifacts: JobArtifact[];
|
||||
success: boolean;
|
||||
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export type JobArtifact = {
|
||||
id: number;
|
||||
name: string;
|
||||
content: string;
|
||||
|
||||
created_at: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user