(Replying to PARENT post)
RxDB with PouchDB has support for typescript, json schema, and binary attachments. Moving the attachments to the file system will be up to you.
๐คdharmaturtle๐3y๐ผ0๐จ๏ธ0
(Replying to PARENT post)
Yes, one imminent idea I have is to codegen a .d.ts from an explicit schema (or even implied, from populated data). One might even be able to produce typed functions like `setPetsPrice(petId, price: number)` instead of `setCell('pets', petId, 'price', value: any)`.
Sort of an ORM trope, but hey, why not!
๐คjamesgpearce๐3y๐ผ0๐จ๏ธ0
(Replying to PARENT post)
What I want is to be able to define my tables with something like JSON schema, and automatically have the typescript typings available when querying. The data would be serialised to Git friendly json, and there would also be support for different media types which get saved and organised in the local file system.
For me, a game developer who wants to be very hands on with bespoke tooling/editor functionality, I only want a simple foundational base, something along the lines of Airtable, with the workflow centred around Git.