feat: add trash page

This commit is contained in:
2025-10-03 23:23:05 +00:00
parent 0e686a1f85
commit c2d9010508
13 changed files with 410 additions and 268 deletions

View File

@@ -50,15 +50,6 @@ export const fetchDirectory = authenticatedQuery({
},
})
export const fetchDirectoryContent = authenticatedQuery({
args: {
directoryId: v.optional(v.id("directories")),
},
handler: async (ctx, { directoryId }): Promise<FileSystemItem[]> => {
return await Directories.fetchContent(ctx, { directoryId })
},
})
export const createDirectory = authenticatedMutation({
args: {
name: v.string(),