Files
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

30 lines
686 B
TypeScript

import type { LayoutNode } from "officerdev";
// The starting arrangement. The shell persists whatever the user makes of it, per plugin.
//
// Every `appType` must be a key from `panels.ts` — a mismatch falls back silently instead of rendering
// what was meant.
export const defaultLayout: LayoutNode = {
type: "group",
id: "finances-root",
direction: "horizontal",
children: [
{
node: {
type: "panel",
id: "finances-overview",
appType: "finances-overview",
},
size: 40,
},
{
node: {
type: "panel",
id: "finances-detail",
appType: "finances-detail",
},
size: 60,
},
],
};