# You would generally infer the type using Convex's Infer: type MyType = Doc<'table_name'>['fieldName']