Files
finances/web/panels.ts
T
pastilhas 6e88d849e7 the finances skeleton — repo, prefix and permission key, before any feature
Published empty on purpose: identity is the expensive part to change later, the
feature is the cheap part to add. One route, two placeholder panels, no tables and
no sidecar.
2026-08-27 17:28:00 +01:00

25 lines
755 B
TypeScript

import { Wallet, ListTree } from "lucide-react";
import type { AppRegistryMeta } from "officerdev";
import { FinancesOverview } from "./FinancesOverview";
import { FinancesDetail } from "./FinancesDetail";
// The panels this plugin contributes. The shell renders the screen around them; this plugin never does.
//
// These keys are stored in a user's saved layout, so renaming one is a data change rather than a rename.
export const appRegistryMetas: AppRegistryMeta[] = [
{
key: "finances-overview",
name: "Overview",
icon: Wallet,
component: FinancesOverview,
availableOnPanel: false,
},
{
key: "finances-detail",
name: "Detail",
icon: ListTree,
component: FinancesDetail,
availableOnPanel: false,
},
];