import { apiGet } from "@/api/client"; export interface UiSystemResponse { design_system_id: number | null; title: string | null; } /** The design system this install says its own UI is built from. * * Both nulls means none designated — the normal state for a fresh install, not * an error; the caller shows an explanatory empty state. An id with a null * title means designated but deleted or unreadable, which is a * misconfiguration and must not be rendered as "none". */ export const fetchUiDesignSystem = () => apiGet("/api/design/ui-system");