chore: refresh collected sites — adopt vet, sync react-openapi bundle
collect.py run: adds the vet reference app (TypeDoc lib site + doc-weaver MCP bundle), picks up the refreshed react-openapi specExtensions module from Phase 1, and re-renders the docs homepage.
This commit is contained in:
16
vet/mcp/modules/Footer.json
Normal file
16
vet/mcp/modules/Footer.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "Footer",
|
||||
"content": {
|
||||
"path": "Footer",
|
||||
"docstring": "Site footer for the Veterinary Clinic demo app.\r\n\r\nA fixed bottom `AppBar` (pinned above the drawer via\r\n`zIndex.drawer + 1`) with a blurred translucent background and a top\r\ndivider, rendering the `Copyright` line. Rendered once by `main.jsx` below\r\nthe routed content.",
|
||||
"objects": {
|
||||
"Footer": {
|
||||
"name": "Footer",
|
||||
"kind": "component",
|
||||
"path": "Footer.Footer",
|
||||
"signature": "default(): React.JSX.Element",
|
||||
"docstring": "Fixed bottom app bar showing the site copyright.\n\n**Returns:**\n\nThe footer `AppBar` element."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/Header.json
Normal file
16
vet/mcp/modules/Header.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "Header",
|
||||
"content": {
|
||||
"path": "Header",
|
||||
"docstring": "Top navigation bar for the Veterinary Clinic demo app.\r\n\r\nA fixed `AppBar` with blurred translucent background and bottom divider,\r\nshowing the app title/logo and an Admin button. Rendered once by `main.jsx`\r\nabove the routed content; the title navigates to `/` and the Admin button to\r\n`/admin`.",
|
||||
"objects": {
|
||||
"Header": {
|
||||
"name": "Header",
|
||||
"kind": "component",
|
||||
"path": "Header.Header",
|
||||
"signature": "default(): React.JSX.Element",
|
||||
"docstring": "Fixed top app bar with the title/logo and an Admin button.\r\n\r\nUses `useNavigate`, so it must be rendered inside a router. Clicking the\r\ntitle navigates to `/`; the Admin button navigates to `/admin`.\n\n**Returns:**\n\nThe header `AppBar` element."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/Home.json
Normal file
16
vet/mcp/modules/Home.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "Home",
|
||||
"content": {
|
||||
"path": "Home",
|
||||
"docstring": "Landing page for the Veterinary Clinic demo app.\r\n\r\nExercises the `react-openapi` building blocks end-to-end:\r\n- `ResourceCard` - a grid of every top-level resource with a live record\r\n count (or SSE connection status for streaming resources).\r\n- `LiveTable` - preview of the first 5 records of the first non-streaming\r\n resource.\r\n- `ApptForm` - a hand-crafted appointment form using `FormFieldRenderer`,\r\n `useResource().create()` and auto-loaded FK options.\r\n- An optional live `SseStreamView` with a pet selector for a streaming\r\n resource.",
|
||||
"objects": {
|
||||
"Home": {
|
||||
"name": "Home",
|
||||
"kind": "component",
|
||||
"path": "Home.Home",
|
||||
"signature": "default(): React.JSX.Element",
|
||||
"docstring": "Render the demo landing page: resource grid, live preview, appointment form\r\nand (when present) a live SSE stream.\n\n**Returns:**\n\nThe page container, or a \"no resources\" notice when the spec\r\nexposes none."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
8
vet/mcp/modules/main.json
Normal file
8
vet/mcp/modules/main.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"module": "main",
|
||||
"content": {
|
||||
"path": "main",
|
||||
"docstring": "Application entry point.\r\n\r\nCreates the React root from `#root` and mounts the app: `AppProvider`\r\n(fed by `specConfiguration`) wraps a `BrowserRouter` → `AppTheme` →\r\n`Header` → routed content (`Home` at `/`, `Admin` at `/admin/*`) →\r\n`Footer`.",
|
||||
"objects": {}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/openapi-config.json
Normal file
16
vet/mcp/modules/openapi-config.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "openapi-config",
|
||||
"content": {
|
||||
"path": "openapi-config",
|
||||
"docstring": "Runtime OpenAPI configuration for the Veterinary Clinic demo.\r\n\r\nReads the API base URL from `import.meta.env.VITE_API_BASE_URL` and points\r\n`react-openapi` at `${base}/openapi.json`, sets the app title, and enables\r\nclient-side filtering for the `appointments` resource.",
|
||||
"objects": {
|
||||
"specConfiguration": {
|
||||
"name": "specConfiguration",
|
||||
"kind": "variable",
|
||||
"path": "openapi-config.specConfiguration",
|
||||
"signature": "specConfiguration: SpecConfiguration",
|
||||
"docstring": "The `SpecConfiguration` passed to `AppProvider`.\r\n\r\n- `specUrl` / `baseApiUrl` - derived from `VITE_API_BASE_URL`.\r\n- `title` - \"Veterinary Clinic\".\r\n- `resourceConfig.appointments.filterOptions.mode` - `\"client\"`.\r\n\r\n`getToken` is intentionally left commented out; this demo has no auth."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
30
vet/mcp/modules/shared-theme.AppTheme.json
Normal file
30
vet/mcp/modules/shared-theme.AppTheme.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"module": "shared-theme.AppTheme",
|
||||
"content": {
|
||||
"path": "shared-theme.AppTheme",
|
||||
"docstring": "App theme provider and color-mode context.\r\n\r\nWraps the MUI `ThemeProvider` with the design tokens (`getDesignTokens`),\r\nsemantic colors (`getSemanticColors`) and component customizations\r\n(`inputsCustomizations`, `dataDisplayCustomizations`,\r\n`feedbackCustomizations`, `navigationCustomizations`,\r\n`surfacesCustomizations`). Exposes a light/dark `ColorModeContext` and\r\npublishes the semantic colors as CSS custom properties (`--bg-page`,\r\n`--bg-card`, `--text-primary`, ...) for the app subtree.",
|
||||
"objects": {
|
||||
"ColorMode": {
|
||||
"name": "ColorMode",
|
||||
"kind": "type-alias",
|
||||
"path": "shared-theme.AppTheme.ColorMode",
|
||||
"signature": "ColorMode: \"light\" | \"dark\"",
|
||||
"docstring": "Color mode of the app theme."
|
||||
},
|
||||
"ColorModeContext": {
|
||||
"name": "ColorModeContext",
|
||||
"kind": "component",
|
||||
"path": "shared-theme.AppTheme.ColorModeContext",
|
||||
"signature": "ColorModeContext: React.Context<ColorModeContextValue>",
|
||||
"docstring": "Context giving the current color mode and its setters."
|
||||
},
|
||||
"AppTheme": {
|
||||
"name": "AppTheme",
|
||||
"kind": "component",
|
||||
"path": "shared-theme.AppTheme.AppTheme",
|
||||
"signature": "default(__namedParameters: AppThemeProps): React.JSX.Element",
|
||||
"docstring": "Provide the MUI theme, color-mode context and CSS variables to `children`.\r\n\r\nBuilds the theme from `getDesignTokens(mode)` + `getSemanticColors(mode)` +\r\nthe component customizations, and re-creates it whenever the mode changes.\r\nAlso sets `--bg-page`, `--bg-card`, `--bg-elevated`, `--border-default`,\r\n`--border-subtle`, `--text-primary`, `--text-secondary` and `--text-muted`\r\non a wrapper `Box`.\r\n\r\nProps: `children` and `defaultMode` (see `AppThemeProps`).\n\n**Example:**\n\n```tsx\r\n<AppTheme defaultMode=\"dark\">\r\n <CssBaseline />\r\n <App />\r\n</AppTheme>\r\n```"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/shared-theme.customizations.dataDisplay.json
Normal file
16
vet/mcp/modules/shared-theme.customizations.dataDisplay.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "shared-theme.customizations.dataDisplay",
|
||||
"content": {
|
||||
"path": "shared-theme.customizations.dataDisplay",
|
||||
"docstring": "MUI style overrides for data-display components.\n\nExports `dataDisplayCustomizations`, a `Components<Theme>` map applied by\n`AppTheme`, covering lists, chips, table pagination and icons.",
|
||||
"objects": {
|
||||
"dataDisplayCustomizations": {
|
||||
"name": "dataDisplayCustomizations",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.customizations.dataDisplay.dataDisplayCustomizations",
|
||||
"signature": "dataDisplayCustomizations: Components<Theme>",
|
||||
"docstring": "Component overrides for lists, chips, table pagination and icons."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/shared-theme.customizations.feedback.json
Normal file
16
vet/mcp/modules/shared-theme.customizations.feedback.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "shared-theme.customizations.feedback",
|
||||
"content": {
|
||||
"path": "shared-theme.customizations.feedback",
|
||||
"docstring": "MUI style overrides for feedback components.\r\n\r\nExports `feedbackCustomizations`, a `Components<Theme>` map applied by\r\n`AppTheme`, covering alerts, dialogs and linear progress.",
|
||||
"objects": {
|
||||
"feedbackCustomizations": {
|
||||
"name": "feedbackCustomizations",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.customizations.feedback.feedbackCustomizations",
|
||||
"signature": "feedbackCustomizations: Components<Theme>",
|
||||
"docstring": "Component overrides for alerts, dialogs and linear progress."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/shared-theme.customizations.inputs.json
Normal file
16
vet/mcp/modules/shared-theme.customizations.inputs.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "shared-theme.customizations.inputs",
|
||||
"content": {
|
||||
"path": "shared-theme.customizations.inputs",
|
||||
"docstring": "MUI style overrides for form inputs and buttons.\r\n\r\nExports `inputsCustomizations`, a `Components<Theme>` map applied by\r\n`AppTheme`, covering buttons, icon buttons, toggles, checkbox, outlined\r\ninputs and form labels with light/dark variants.",
|
||||
"objects": {
|
||||
"inputsCustomizations": {
|
||||
"name": "inputsCustomizations",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.customizations.inputs.inputsCustomizations",
|
||||
"signature": "inputsCustomizations: Components<Theme>",
|
||||
"docstring": "Component overrides for buttons, toggles, inputs and labels."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/shared-theme.customizations.navigation.json
Normal file
16
vet/mcp/modules/shared-theme.customizations.navigation.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "shared-theme.customizations.navigation",
|
||||
"content": {
|
||||
"path": "shared-theme.customizations.navigation",
|
||||
"docstring": "MUI style overrides for navigation components.\r\n\r\nExports `navigationCustomizations`, a `Components<Theme>` map applied by\r\n`AppTheme`, covering menus, selects, links, drawers, pagination, tabs and\r\nsteppers.",
|
||||
"objects": {
|
||||
"navigationCustomizations": {
|
||||
"name": "navigationCustomizations",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.customizations.navigation.navigationCustomizations",
|
||||
"signature": "navigationCustomizations: Components<Theme>",
|
||||
"docstring": "Component overrides for menus, selects, links, drawers, pagination and tabs."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
vet/mcp/modules/shared-theme.customizations.surfaces.json
Normal file
16
vet/mcp/modules/shared-theme.customizations.surfaces.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"module": "shared-theme.customizations.surfaces",
|
||||
"content": {
|
||||
"path": "shared-theme.customizations.surfaces",
|
||||
"docstring": "MUI style overrides for surface components.\r\n\r\nExports `surfacesCustomizations`, a `Components<Theme>` map applied by\r\n`AppTheme`, covering accordions, paper, cards and card sections.",
|
||||
"objects": {
|
||||
"surfacesCustomizations": {
|
||||
"name": "surfacesCustomizations",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.customizations.surfaces.surfacesCustomizations",
|
||||
"signature": "surfacesCustomizations: Components<Theme>",
|
||||
"docstring": "Component overrides for accordions, paper and cards."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
vet/mcp/modules/shared-theme.themeConfig.json
Normal file
53
vet/mcp/modules/shared-theme.themeConfig.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"module": "shared-theme.themeConfig",
|
||||
"content": {
|
||||
"path": "shared-theme.themeConfig",
|
||||
"docstring": "Semantic (mode-aware) color tokens.\r\n\r\nAdds a `semantic` slice to the MUI theme (augmenting `@mui/material/styles`)\r\nwith surface/border/text colors, resolved per light/dark mode by\r\n`getSemanticColors`. `AppTheme` publishes these as CSS custom properties.",
|
||||
"objects": {
|
||||
"SemanticColors": {
|
||||
"name": "SemanticColors",
|
||||
"kind": "interface",
|
||||
"path": "shared-theme.themeConfig.SemanticColors",
|
||||
"signature": "SemanticColors",
|
||||
"docstring": "Mode-aware semantic color groups attached to the MUI theme as\r\n`theme.semantic` and exposed as CSS custom properties by `AppTheme`.",
|
||||
"members": {
|
||||
"border": {
|
||||
"name": "border",
|
||||
"kind": "property",
|
||||
"path": "shared-theme.themeConfig.SemanticColors.border",
|
||||
"signature": "border: { default: string; subtle: string }",
|
||||
"docstring": "Border colors."
|
||||
},
|
||||
"surface": {
|
||||
"name": "surface",
|
||||
"kind": "property",
|
||||
"path": "shared-theme.themeConfig.SemanticColors.surface",
|
||||
"signature": "surface: { card: string; elevated: string; page: string }",
|
||||
"docstring": "Background surface colors."
|
||||
},
|
||||
"text": {
|
||||
"name": "text",
|
||||
"kind": "property",
|
||||
"path": "shared-theme.themeConfig.SemanticColors.text",
|
||||
"signature": "text: { muted: string; primary: string; secondary: string }",
|
||||
"docstring": "Text colors."
|
||||
}
|
||||
}
|
||||
},
|
||||
"SemanticColorMode": {
|
||||
"name": "SemanticColorMode",
|
||||
"kind": "type-alias",
|
||||
"path": "shared-theme.themeConfig.SemanticColorMode",
|
||||
"signature": "SemanticColorMode: \"light\" | \"dark\"",
|
||||
"docstring": "Color mode supported by the semantic tokens."
|
||||
},
|
||||
"getSemanticColors": {
|
||||
"name": "getSemanticColors",
|
||||
"kind": "function",
|
||||
"path": "shared-theme.themeConfig.getSemanticColors",
|
||||
"signature": "getSemanticColors(mode: SemanticColorMode): SemanticColors",
|
||||
"docstring": "Resolve the semantic color groups for a color mode.\r\n\r\nDark mode uses fixed HSL values; light mode derives borders/text from the\r\n`gray` ramp (with `alpha`).\n\n**Parameters:**\n\n- `mode` — `\"light\"` or `\"dark\"`.\n\n**Returns:**\n\nThe `SemanticColors` for that mode.\n\n**Example:**\n\n```ts\r\nconst colors = getSemanticColors(\"dark\");\r\ncolors.surface.page; // \"hsl(0, 0%, 9%)\"\r\n```"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
vet/mcp/modules/shared-theme.themePrimitives.json
Normal file
79
vet/mcp/modules/shared-theme.themePrimitives.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"module": "shared-theme.themePrimitives",
|
||||
"content": {
|
||||
"path": "shared-theme.themePrimitives",
|
||||
"docstring": "Base design tokens and palettes for the Veterinary Clinic theme.\r\n\r\nDefines the raw color ramps (`brand`, `gray`, `green`, `orange`, `red`), the\r\nlight/dark design tokens (`getDesignTokens`), and the `colorSchemes`,\r\n`typography`, `shape` and `shadows` primitives. Also augments MUI's theme\r\ntypes with the `ColorRange`, `flows` and `baseShadow` extensions.",
|
||||
"objects": {
|
||||
"brand": {
|
||||
"name": "brand",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.brand",
|
||||
"signature": "brand: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 800: string; 900: string }",
|
||||
"docstring": "Brand blue color ramp (50-900)."
|
||||
},
|
||||
"colorSchemes": {
|
||||
"name": "colorSchemes",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.colorSchemes",
|
||||
"signature": "colorSchemes: { dark: { palette: { action: { hover: string; selected: string }; background: { default: string; paper: string }; baseShadow: string; divider: string; error: { dark: string; light: string; main: string }; flows: { inflows: { primary: string; surface: string; text: string }; outflows: { primary: string; surface: string; text: string } }; grey: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 750: string; 800: string; 850: string; 900: string }; info: { contrastText: string; dark: string; light: string; main: string }; primary: { contrastText: string; dark: string; light: string; main: string }; success: { dark: string; light: string; main: string }; text: { primary: string; secondary: string }; warning: { dark: string; light: string; main: string } } }; light: { palette: { action: { hover: string; selected: string }; background: { default: string; paper: string }; baseShadow: string; divider: string; error: { dark: string; light: string; main: string }; flows: { inflows: { primary: string; surface: string; text: string }; outflows: { primary: string; surface: string; text: string } }; grey: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 750: string; 800: string; 850: string; 900: string }; info: { contrastText: string; dark: string; light: string; main: string }; primary: { contrastText: string; dark: string; light: string; main: string }; success: { dark: string; light: string; main: string }; text: { primary: string; secondary: string; warning: string }; warning: { dark: string; light: string; main: string } } } }",
|
||||
"docstring": "Explicit light/dark `colorSchemes` palette definitions."
|
||||
},
|
||||
"gray": {
|
||||
"name": "gray",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.gray",
|
||||
"signature": "gray: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 750: string; 800: string; 850: string; 900: string }",
|
||||
"docstring": "Neutral gray color ramp (50-900, plus 750/850)."
|
||||
},
|
||||
"green": {
|
||||
"name": "green",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.green",
|
||||
"signature": "green: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 800: string; 900: string }",
|
||||
"docstring": "Green (success) color ramp (50-900)."
|
||||
},
|
||||
"orange": {
|
||||
"name": "orange",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.orange",
|
||||
"signature": "orange: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 800: string; 900: string }",
|
||||
"docstring": "Orange (warning) color ramp (50-900)."
|
||||
},
|
||||
"red": {
|
||||
"name": "red",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.red",
|
||||
"signature": "red: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 800: string; 900: string }",
|
||||
"docstring": "Red (error) color ramp (50-900)."
|
||||
},
|
||||
"shadows": {
|
||||
"name": "shadows",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.shadows",
|
||||
"signature": "shadows: Shadows",
|
||||
"docstring": "Shadow scale (index 0 `none`, index 1 the template `baseShadow`)."
|
||||
},
|
||||
"shape": {
|
||||
"name": "shape",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.shape",
|
||||
"signature": "shape: { borderRadius: number }",
|
||||
"docstring": "Shape tokens (global border radius)."
|
||||
},
|
||||
"typography": {
|
||||
"name": "typography",
|
||||
"kind": "variable",
|
||||
"path": "shared-theme.themePrimitives.typography",
|
||||
"signature": "typography: { body1: { fontSize: string }; body2: { fontSize: string; fontWeight: number }; caption: { fontSize: string; fontWeight: number }; fontFamily: string; h1: { fontSize: string; fontWeight: number; letterSpacing: number; lineHeight: number }; h2: { fontSize: string; fontWeight: number; lineHeight: number }; h3: { fontSize: string; lineHeight: number }; h4: { fontSize: string; fontWeight: number; lineHeight: number }; h5: { fontSize: string; fontWeight: number }; h6: { fontSize: string; fontWeight: number }; subtitle1: { fontSize: string }; subtitle2: { fontSize: string; fontWeight: number } }",
|
||||
"docstring": "Typography scale (Inter) used by the theme."
|
||||
},
|
||||
"getDesignTokens": {
|
||||
"name": "getDesignTokens",
|
||||
"kind": "function",
|
||||
"path": "shared-theme.themePrimitives.getDesignTokens",
|
||||
"signature": "getDesignTokens(mode: PaletteMode): { palette: { action: { hover: string; selected: string }; background: { default: string; paper: string }; divider: string; error: { dark: string; light: string; main: string }; flows: { inflows: { primary: string; surface: string; text: string }; outflows: { primary: string; surface: string; text: string } }; grey: { 100: string; 200: string; 300: string; 400: string; 50: string; 500: string; 600: string; 700: string; 750: string; 800: string; 850: string; 900: string }; info: { contrastText: string; dark: string; light: string; main: string }; mode: PaletteMode; primary: { contrastText: string; dark: string; light: string; main: string }; success: { dark: string; light: string; main: string }; text: { primary: string; secondary: string; warning: string }; warning: { dark: string; light: string; main: string } }; shadows: Shadows; shape: { borderRadius: number }; typography: { body1: { fontSize: string }; body2: { fontSize: string; fontWeight: number }; caption: { fontSize: string; fontWeight: number }; fontFamily: string; h1: { fontSize: string; fontWeight: number; letterSpacing: number; lineHeight: number }; h2: { fontSize: string; fontWeight: number; lineHeight: number }; h3: { fontSize: string; lineHeight: number }; h4: { fontSize: string; fontWeight: number; lineHeight: number }; h5: { fontSize: string; fontWeight: number }; h6: { fontSize: string; fontWeight: number }; subtitle1: { fontSize: string }; subtitle2: { fontSize: string; fontWeight: number } } }",
|
||||
"docstring": "Build the MUI design tokens (palette, typography, shape, shadows) for a mode.\r\n\r\nLight and dark palettes share the ramps but override specific slots in dark\r\nmode. Also sets `shadows[1]` (the \"baseShadow\") per mode. The returned object\r\nis spread into `createTheme` by `AppTheme`.\n\n**Parameters:**\n\n- `mode` — `\"light\"` or `\"dark\"`.\n\n**Returns:**\n\nA MUI `ThemeOptions`-shaped object (palette, typography, shape,\r\nshadows)."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
132
vet/mcp/modules/src_vite-env.json
Normal file
132
vet/mcp/modules/src_vite-env.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"module": "src_vite-env",
|
||||
"content": {
|
||||
"path": "src_vite-env",
|
||||
"docstring": "",
|
||||
"objects": {
|
||||
"ImportMeta": {
|
||||
"name": "ImportMeta",
|
||||
"kind": "interface",
|
||||
"path": "src_vite-env.ImportMeta",
|
||||
"signature": "ImportMeta",
|
||||
"docstring": "The type of `import.meta`.\n\nIf you need to declare that a given property exists on `import.meta`,\nthis type may be augmented via interface merging.",
|
||||
"members": {
|
||||
"dirname": {
|
||||
"name": "dirname",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.dirname",
|
||||
"signature": "dirname: string",
|
||||
"docstring": ""
|
||||
},
|
||||
"env": {
|
||||
"name": "env",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.env",
|
||||
"signature": "env: ImportMetaEnv",
|
||||
"docstring": ""
|
||||
},
|
||||
"filename": {
|
||||
"name": "filename",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.filename",
|
||||
"signature": "filename: string",
|
||||
"docstring": ""
|
||||
},
|
||||
"glob": {
|
||||
"name": "glob",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.glob",
|
||||
"signature": "glob: ImportGlobFunction",
|
||||
"docstring": ""
|
||||
},
|
||||
"hot": {
|
||||
"name": "hot",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.hot",
|
||||
"signature": "hot: ViteHotContext",
|
||||
"docstring": ""
|
||||
},
|
||||
"main": {
|
||||
"name": "main",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.main",
|
||||
"signature": "main: boolean",
|
||||
"docstring": ""
|
||||
},
|
||||
"url": {
|
||||
"name": "url",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMeta.url",
|
||||
"signature": "url: string",
|
||||
"docstring": ""
|
||||
},
|
||||
"resolve": {
|
||||
"name": "resolve",
|
||||
"kind": "method",
|
||||
"path": "src_vite-env.ImportMeta.resolve",
|
||||
"signature": "resolve(specifier: string): string | resolve(specifier: string, parent?: string | \"node:url\".URL): string",
|
||||
"docstring": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"ImportMetaEnv": {
|
||||
"name": "ImportMetaEnv",
|
||||
"kind": "interface",
|
||||
"path": "src_vite-env.ImportMetaEnv",
|
||||
"signature": "ImportMetaEnv",
|
||||
"docstring": "",
|
||||
"members": {
|
||||
"BASE_URL": {
|
||||
"name": "BASE_URL",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.BASE_URL",
|
||||
"signature": "BASE_URL: string",
|
||||
"docstring": ""
|
||||
},
|
||||
"DEV": {
|
||||
"name": "DEV",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.DEV",
|
||||
"signature": "DEV: boolean",
|
||||
"docstring": ""
|
||||
},
|
||||
"MODE": {
|
||||
"name": "MODE",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.MODE",
|
||||
"signature": "MODE: string",
|
||||
"docstring": ""
|
||||
},
|
||||
"PROD": {
|
||||
"name": "PROD",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.PROD",
|
||||
"signature": "PROD: boolean",
|
||||
"docstring": ""
|
||||
},
|
||||
"SSR": {
|
||||
"name": "SSR",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.SSR",
|
||||
"signature": "SSR: boolean",
|
||||
"docstring": ""
|
||||
},
|
||||
"VITE_API_BASE_URL": {
|
||||
"name": "VITE_API_BASE_URL",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.VITE_API_BASE_URL",
|
||||
"signature": "VITE_API_BASE_URL: string",
|
||||
"docstring": ""
|
||||
},
|
||||
"VITE_AUTH_BASE_URL": {
|
||||
"name": "VITE_AUTH_BASE_URL",
|
||||
"kind": "property",
|
||||
"path": "src_vite-env.ImportMetaEnv.VITE_AUTH_BASE_URL",
|
||||
"signature": "VITE_AUTH_BASE_URL: string",
|
||||
"docstring": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user