UNPKG

@fntio/infra-client

Version:

Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.

13 lines (12 loc) • 958 B
/** `dashboard` — how every user's dashboard is laid out (wiki: Admin Guide, "Dashboard layout"). Deployment-wide, * set here like every other deployment-wide choice; there is no admin-page switch. */ export interface DashboardConfig { /** `auto` (the default): a user gets Main / Favorites / Recent and the search once they hold an account an * admin took off the Main section, and the plain list until then. `sections`: everyone gets the sections. * `plain`: nobody does. The per-account "Show in the Main section" flag still decides what sits in Main. */ readonly layout?: DashboardLayoutMode; } export declare const DASHBOARD_LAYOUT_MODES: readonly ["auto", "sections", "plain"]; export type DashboardLayoutMode = (typeof DASHBOARD_LAYOUT_MODES)[number]; /** A bad value must fail synth — the API would silently fall back to `auto`. */ export declare function resolveDashboardLayout(cfg?: DashboardConfig): DashboardLayoutMode;