Sort of working beta
This commit is contained in:
34
resources/js/types/Jobs/job.d.ts
vendored
34
resources/js/types/Jobs/job.d.ts
vendored
@ -3,5 +3,39 @@ export type Job = {
|
||||
name: string;
|
||||
description: string;
|
||||
is_active: boolean;
|
||||
|
||||
job_infos: JobInfo[];
|
||||
|
||||
created_at: Date;
|
||||
}
|
||||
|
||||
export type JobInfo = {
|
||||
id: number;
|
||||
|
||||
name: string;
|
||||
description: string;
|
||||
placeholder: string;
|
||||
|
||||
value: string | boolean;
|
||||
is_required: boolean;
|
||||
job_info_type: JobInfoType;
|
||||
|
||||
job_id: number;
|
||||
}
|
||||
|
||||
export type JobInfoType = {
|
||||
id: number;
|
||||
name: string;
|
||||
created_at: Date;
|
||||
}
|
||||
|
||||
export type JobRunArtifact = {
|
||||
jobId: number;
|
||||
artifacts: JobArtifact[];
|
||||
success: boolean;
|
||||
}
|
||||
|
||||
export type JobArtifact = {
|
||||
name: string;
|
||||
content: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user