Closed bbtgnn closed 1 month ago
⚠️ Note - Merge after #340
This module adds a uniform interface for querying records from the various @/collections-components with improved type-safety.
@/collections-components
A new class PocketbaseQuery has been added, with a set of options PocketbaseQueryOptions that are used as props on the various components.
class PocketbaseQuery
PocketbaseQueryOptions
CollectionManager props have been renamed:
CollectionManager
fetchOptions
queryOptions
subscribe
@puria all tests pass 👌
Changelog
This module adds a uniform interface for querying records from the various
@/collections-components
with improved type-safety.A new
class PocketbaseQuery
has been added, with a set of optionsPocketbaseQueryOptions
that are used as props on the various components.Breaking changes
CollectionManager
props have been renamed:fetchOptions
has been renamedqueryOptions
subscribe
prop has been moved out ofqueryOptions
and is now a standalone prop