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

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

<Story name="Default" />
<!-- no runs at all: the setup steps -->
<Story name="Empty" args={{ pipelines: [] }} />
<!-- runs exist, none match the trigger filter -->
<Story name="Filtered out" args={{ pipelines: [], filtered: true }} />
