<script setup lang="ts">
import JobForm from '../Components/Layout/Job/JobForm.vue'
import JobCard from '../Components/Layout/Job/JobCard.vue'
import JobRuns from '../Components/Layout/Job/JobRuns/JobRuns.vue';
import { Job } from "@/types/Jobs/job";
import { Head } from "@inertiajs/vue3";

defineProps<{
    job: Job;
    error?: string;
}>();
</script>

<template>
    <Head :title="job.name" />

    <JobCard :job="job" />

    <JobForm :job="job" :error="error" />

    <JobRuns :job="job" />
</template>
