debian-mirror-gitlab/app/assets/javascripts/pipelines/routes.js
2023-01-12 18:35:48 +00:00

20 lines
813 B
JavaScript

import PipelineGraphWrapper from './components/graph/graph_component_wrapper.vue';
import Dag from './components/dag/dag.vue';
import FailedJobsApp from './components/jobs/failed_jobs_app.vue';
import JobsApp from './components/jobs/jobs_app.vue';
import TestReports from './components/test_reports/test_reports.vue';
import {
pipelineTabName,
needsTabName,
jobsTabName,
failedJobsTabName,
testReportTabName,
} from './constants';
export const routes = [
{ name: pipelineTabName, path: '/', component: PipelineGraphWrapper },
{ name: needsTabName, path: '/dag', component: Dag },
{ name: jobsTabName, path: '/builds', component: JobsApp },
{ name: failedJobsTabName, path: '/failures', component: FailedJobsApp },
{ name: testReportTabName, path: '/test_report', component: TestReports },
];