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.
25 lines
755 B
TypeScript
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,
|
|
},
|
|
];
|