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.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user