mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 03:38:04 +00:00
* Enabled recommended-requiring-type-checking * from .cjs to .js * check * check * check * check * A lot of types aligned and refactored * More strict types * Improvement * Improvements * Improvements * Fixed routs * Fixed import types
55 lines
1.4 KiB
TypeScript
55 lines
1.4 KiB
TypeScript
import type { Meta } from "@storybook/react-vite";
|
|
import InstalledPackagesList from "./InstalledPackagesList";
|
|
|
|
const meta = {
|
|
/* 👇 The title prop is optional.
|
|
* See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
|
|
* to learn how to generate automatic titles
|
|
*/
|
|
title: "InstalledPackagesList",
|
|
component: InstalledPackagesList,
|
|
} satisfies Meta<typeof InstalledPackagesList>;
|
|
|
|
export default meta;
|
|
|
|
export const Default = {
|
|
args: {
|
|
installedReleases: [
|
|
{
|
|
id: "",
|
|
name: "",
|
|
namespace: "",
|
|
revision: 1,
|
|
updated: "",
|
|
status: "",
|
|
chart: "",
|
|
chart_name: "",
|
|
chart_ver: "",
|
|
app_version: "",
|
|
icon: "",
|
|
description: "",
|
|
has_tests: false,
|
|
chartName: "", // duplicated in some cases in the backend, we need to resolve this
|
|
chartVersion: "", // duplicated in some cases in the
|
|
},
|
|
{
|
|
id: "",
|
|
name: "",
|
|
namespace: "",
|
|
revision: 1,
|
|
updated: "",
|
|
status: "",
|
|
chart: "",
|
|
chart_name: "",
|
|
chart_ver: "",
|
|
app_version: "",
|
|
icon: "",
|
|
description: "",
|
|
has_tests: false,
|
|
chartName: "", // duplicated in some cases in the backend, we need to resolve this
|
|
chartVersion: "", // duplicated in some cases in the
|
|
},
|
|
],
|
|
},
|
|
};
|