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