API reference: @salmonui/mcp
IndexFamilyinterface
import type { IndexFamily } from '@salmonui/mcp';interface IndexFamily {
readonly name: string;
readonly specifier: string;
readonly subpaths: readonly string[];
readonly stylesheet: string | null;
readonly summary: string;
readonly components: readonly string[];
readonly hooks: readonly string[];
readonly docs: readonly string[];
readonly alsoImport?: readonly {
readonly stylesheet: string;
readonly when: string | null;
}[];
}
| Name | Signature | Description |
|---|---|---|
name | readonly name: string; | Family slug ( |
specifier | readonly specifier: string; | Public import specifier ( |
subpaths | readonly subpaths: readonly string[]; | Further public entries of the family ( |
stylesheet | readonly stylesheet: string | null; | The family stylesheet specifier, or null when the family has no own CSS. |
summary | readonly summary: string; | One sentence. |
components | readonly components: readonly string[]; | Component names exported by the family entry. |
hooks | readonly hooks: readonly string[]; | Hook names ( |
docs | readonly docs: readonly string[]; | Docs page paths that import the family. |
alsoImportoptional | readonly alsoImport?: readonly {
readonly stylesheet: string;
readonly when: string | null;
}[]; | Stylesheets of other families to import with this one because its
stylesheet does not carry them; |