Output drizzle schema to json or similar

So I have a postgres database that is basically my primary source of truth for nutrition and excercise data

I want to sync this to my typesense instance (I can do this through postgres trigger) and to a sql lite file I store on my clients mobile devices for offline support.

But my question is there anyway to get my postgres drizzle schema as json string or something like that so I can manage syncing the typesense collections schema when i update my drizzle schema with a custom script.
Was this page helpful?