Home / File/ _registry.ts — ui Source File

_registry.ts — ui Source File

Architecture documentation for _registry.ts, a typescript file in the ui codebase. 1 imports, 1 dependents.

File typescript ComponentRegistry 1 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  cd8a48a8_ab55_8315_14be_fe2fb77aeaf5["_registry.ts"]
  ceec689a_1334_a657_3c35_094070222b09["schema"]
  cd8a48a8_ab55_8315_14be_fe2fb77aeaf5 --> ceec689a_1334_a657_3c35_094070222b09
  ba3b9605_5e73_3132_6a44_41f20f15f898["registry.ts"]
  ba3b9605_5e73_3132_6a44_41f20f15f898 --> cd8a48a8_ab55_8315_14be_fe2fb77aeaf5
  style cd8a48a8_ab55_8315_14be_fe2fb77aeaf5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { type Registry } from "shadcn/schema"

export const blocks: Registry["items"] = [
  {
    name: "dashboard-01",
    type: "registry:block",
    description: "A dashboard with sidebar, charts and data table.",
    dependencies: [
      "@dnd-kit/core",
      "@dnd-kit/modifiers",
      "@dnd-kit/sortable",
      "@dnd-kit/utilities",
      "@tabler/icons-react",
      "@tanstack/react-table",
      "zod",
    ],
    registryDependencies: [
      "sidebar",
      "breadcrumb",
      "separator",
      "label",
      "chart",
      "card",
      "select",
      "tabs",
      "table",
      "toggle-group",
      "badge",
      "button",
      "checkbox",
      "dropdown-menu",
      "drawer",
      "input",
      "avatar",
      "sheet",
      "sonner",
    ],
    files: [
      {
        path: "blocks/dashboard-01/page.tsx",
        type: "registry:page",
        target: "app/dashboard/page.tsx",
      },
      {
        path: "blocks/dashboard-01/data.json",
        type: "registry:file",
        target: "app/dashboard/data.json",
      },
      {
        path: "blocks/dashboard-01/components/app-sidebar.tsx",
        type: "registry:component",
      },
      {
        path: "blocks/dashboard-01/components/chart-area-interactive.tsx",
        type: "registry:component",
      },
      {
        path: "blocks/dashboard-01/components/data-table.tsx",
        type: "registry:component",
      },
// ... (740 more lines)

Dependencies

  • schema

Frequently Asked Questions

What does _registry.ts do?
_registry.ts is a source file in the ui codebase, written in typescript. It belongs to the ComponentRegistry domain.
What does _registry.ts depend on?
_registry.ts imports 1 module(s): schema.
What files import _registry.ts?
_registry.ts is imported by 1 file(s): registry.ts.
Where is _registry.ts in the architecture?
_registry.ts is located at apps/v4/registry/new-york-v4/blocks/_registry.ts (domain: ComponentRegistry, directory: apps/v4/registry/new-york-v4/blocks).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free