david-plugge / typed-pocketbase

Add types to the PocketBase JavaScript SDK
MIT License
85 stars 10 forks source link

Override JSON values in schema #42

Open FarazPatankar opened 2 months ago

FarazPatankar commented 2 months ago

Is it possible to provide the types for JSON fields when instantiating the Pocketbase client? I have a few JSON fields that I am typing manually at the moment and would love to have type-safety across the board on them.