Skip to content

Commit

Permalink
fix: shadcn api route (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Oct 26, 2024
1 parent 1b72f57 commit 006ff20
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions apps/registry/registry/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export const registry: RegistryItem[] = [
files: [
{
type: "registry:page",
path: "routes/api/chat/route.ts",
target: "app/routes/api/chat/route.ts",
path: "app/api/chat/route.ts",
target: "app/api/chat/route.ts",
},
],
registryDependencies: ["https://r.assistant-ui.com/assistant-ui"],
Expand All @@ -57,7 +57,23 @@ export const registry: RegistryItem[] = [
{
type: "registry:component",
path: "components/assistant-ui/thread.tsx",
target: "components/assistant-ui/thread.tsx",
target: "components/assistant-ui/my-assistant.tsx",
},
],
registryDependencies: [
"https://r.assistant-ui.com/assistant-ui",
"https://r.assistant-ui.com/markdown",
"https://r.assistant-ui.com/edge-backend",
],
},
{
name: "b/chat/quick-start",
type: "registry:block",
files: [
{
type: "registry:component",
path: "components/assistant-ui/thread.tsx",
target: "components/assistant-ui/my-assistant.tsx",
},
],
registryDependencies: [
Expand Down

0 comments on commit 006ff20

Please sign in to comment.