import type { Meta, StoryObj } from "@storybook/react-vite";
import { LibraryPage } from "./library";

const meta = {
	title: "Pages/Library",
	component: LibraryPage,
	args: { navigate: () => {} },
} satisfies Meta<typeof LibraryPage>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Default: Story = {};
export const FirstRun: Story = { parameters: { scenario: "firstRun" } };
/** The preview endpoint fails (ScanFailed 500) — exercises the error gate. */
export const Errors: Story = { parameters: { scenario: "errors" } };
