<script module lang="ts">
	import { defineMeta } from "@storybook/addon-svelte-csf";
	import PipelineToolbar from "./PipelineToolbar.svelte";

	const { Story } = defineMeta({
		title: "Repo/Pipelines/PipelineToolbar",
		component: PipelineToolbar,
		tags: ["autodocs"],
		args: {
			ownerHandle: "tangled.org",
			repoName: "core",
			filter: "all",
			total: 6
		}
	});
</script>

<Story name="All" />
<Story name="Push" args={{ filter: "push", total: 3 }} />
<Story name="Pull request" args={{ filter: "pull_request", total: 2 }} />
<Story name="Single run" args={{ total: 1 }} />
