Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

890 B
Raw Blame
export type DashboardFrameShellTargets = {
  banner: HTMLDivElement | null;
  body: HTMLDivElement | null;
};

export type DashboardShellTargets = {
  desktopSidebar: HTMLDivElement | null;
  mobileSidebar: HTMLDivElement | null;
  content: HTMLDivElement | null;
  quickstart: HTMLDivElement | null;
  mainContainer: HTMLDivElement | null;
};

export type ReactRouteShellTargets = {
  content: HTMLDivElement | null;
  quickstart?: HTMLDivElement | null;
  mainContainer?: HTMLDivElement | null;
  routeProps?: Record<string, unknown>;
};

export type DashboardBodyShellVariant = "workspace" | "issues";

export type DashboardFrameShellProps = {
  onReady?: (targets: DashboardFrameShellTargets) => void;
};

export type DashboardBodyShellProps = {
  variant: DashboardBodyShellVariant;
  isRootPath?: boolean;
  routeKey?: string;
  onReady?: (targets: DashboardShellTargets) => void;
};