feat: initial impl of file proxy

This commit is contained in:
2025-10-21 23:45:04 +00:00
parent 6eded27121
commit 6234c5efd3
24 changed files with 420 additions and 125 deletions

View File

@@ -0,0 +1,12 @@
import { v } from "convex/values"
import { apiKeyAuthenticatedQuery } from "./functions"
import * as FileShare from "./model/fileshare"
export const findFileShare = apiKeyAuthenticatedQuery({
args: {
shareToken: v.string(),
},
handler: async (ctx, { shareToken }) => {
return await FileShare.find(ctx, { shareToken })
},
})