You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declare additional methods and properties (that are not part of the abstract API)
Examples:
approximateSize() (use case: defer/proxy/expose)
sublevels (use case: exposing them to clients)
Declare name, return type, sync/callback/promise
Nice to have: use manifests the other way around, to declare features that a plugin wants
Open questions:
Should manifests extend manifests from underlying downs? Note that underlying downs can be swapped at runtime.
In some cases, feature support depends on the runtime environment too. E.g. not all browsers support binary keys in level-js. Is that something we want to expose?
I felt the need to defragment various threads:
approximateSize: implement manifest functionality deferred-leveldown#35 and detecting approximateSize presence abstract-leveldown#8dbwith a certaintype: Current functionality and the future (hoping on support for all use cases) subleveldown#34Prior art:
level-manifest(used bymultilevelbut notmultileveldown)Requirements:
approximateSize()(use case: defer/proxy/expose)Open questions:
level-js. Is that something we want to expose?