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:
2026-08-27 17:28:00 +01:00
commit 6e88d849e7
10 changed files with 222 additions and 0 deletions
+24
View File
@@ -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,
},
];