burnstony#1975
burnstony#197511mo ago

api schema types

how do I refer to the types defined in the schema from pages
2 Replies
burnstony#1975
burnstony#1975OP11mo ago
found it Doc<"typename">
erquhart
erquhart11mo ago
There's also a helper if you want to use a schema table type without system fields _id and _creationTime for any reason: WithoutSystemFields<Doc<'typename'>>

Did you find this page helpful?