-
-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
16 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,15 @@ | |
"dependencies": [ | ||
"[email protected]" | ||
], | ||
"description": "", | ||
"files": [ | ||
{ | ||
"content": "import type { FileRouter } from 'uploadthing/next';\n\nimport { createRouteHandler, createUploadthing } from 'uploadthing/next';\n\nconst f = createUploadthing();\n\nconst ourFileRouter = {\n editorUploader: f(['image', 'text', 'blob', 'pdf', 'video', 'audio'])\n .middleware(() => {\n return {};\n })\n .onUploadComplete(({ file }) => {\n return { file };\n }),\n} satisfies FileRouter;\n\nexport type OurFileRouter = typeof ourFileRouter;\n\nexport const { GET, POST } = createRouteHandler({\n router: ourFileRouter,\n});\n", | ||
"path": "app/api/uploadthing/route.ts", | ||
"target": "app/api/uploadthing/route.ts", | ||
"type": "registry:block" | ||
"type": "registry:lib" | ||
} | ||
], | ||
"name": "api-uploadthing", | ||
"registryDependencies": [], | ||
"type": "registry:block" | ||
"type": "registry:lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
apps/www/src/__registry__/default/app/api/ai/command/route.ts
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
apps/www/src/__registry__/default/app/api/uploadthing/route.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,29 +7,29 @@ export const registryApp: Registry = [ | |
{ | ||
path: 'app/api/ai/command/route.ts', | ||
target: 'app/api/ai/command/route.ts', | ||
type: 'registry:block', | ||
type: 'registry:lib', | ||
}, | ||
{ | ||
path: 'app/api/ai/copilot/route.ts', | ||
target: 'app/api/ai/copilot/route.ts', | ||
type: 'registry:block', | ||
type: 'registry:lib', | ||
}, | ||
], | ||
name: 'api-ai', | ||
registryDependencies: ['use-chat'], | ||
type: 'registry:block', | ||
type: 'registry:lib', | ||
}, | ||
{ | ||
dependencies: ['[email protected]'], | ||
files: [ | ||
{ | ||
path: 'app/api/uploadthing/route.ts', | ||
target: 'app/api/uploadthing/route.ts', | ||
type: 'registry:block', | ||
type: 'registry:lib', | ||
}, | ||
], | ||
name: 'api-uploadthing', | ||
registryDependencies: [], | ||
type: 'registry:block', | ||
type: 'registry:lib', | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters