How to assign types created with convex/values to function parameters?
How can I reuse the type from a
convex/values into a normal function?Example
schema.tsHere I have my utility function. I can use some hacks around it but the compiler won't know when the
cut definition changed.utils.ts