Create another predefined DataStoreEngine subclass around the IndexedDB API, to allow truly massive amounts of data to be stored using DataStores. This would even allow storing non-JSON-serializable data.
Since IndexedDB is already a key-value DB, this engine would require no modification of the DataStoreEngine API, besides investigating, whether implicitly defaulting to JSON.stringify() if structuredClone() is unavailable is a good idea.
Create another predefined
DataStoreEnginesubclass around the IndexedDB API, to allow truly massive amounts of data to be stored usingDataStores. This would even allow storing non-JSON-serializable data.Since IndexedDB is already a key-value DB, this engine would require no modification of the
DataStoreEngineAPI, besides investigating, whether implicitly defaulting toJSON.stringify()ifstructuredClone()is unavailable is a good idea.