method

RiduClient.resolveFilteredSelection

Resolve a filter to authorized IDs and per-document capabilities.

Arguments

ArgumentTypeDescription
collectionSlugThe collection value.
optionsCollectionSelectionOptions<WhereFor<Config, Slug>, LocaleFor<Config>> | undefinedThe options value.

Returns

The declared result.

Promise<CollectionSelectionEnvelope>

How it works

The server applies the access predicate atomically and may reject oversized selections with selection_too_large.

Full signature

RiduClient.resolveFilteredSelection<Slug extends CollectionSlug<Config>>( collection: Slug, options?: CollectionSelectionOptions<WhereFor<Config, Slug>, LocaleFor<Config>>, ): Promise<CollectionSelectionEnvelope>

Source packages/sdk/src/types.ts:1003

Related types