burnstony#1975
burnstony#197513mo ago

api schema types

how do I refer to the types defined in the schema from pages
2 Replies
burnstony#1975
burnstony#1975OP13mo ago
found it Doc<"typename">
erquhart
erquhart13mo 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?