method

RiduClient.bulkRestoreDeleted

RiduClient.bulkRestoreDeleted<Slug extends TrashCollectionSlug<Config>>( collection: Slug, ids: readonly string[], options?: MutationLocaleOptions<LocaleFor<Config>>, ): Promise<OutputFor<Config, Slug>[]>

Restore an explicit set of trashed document IDs.

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

@param collection
The collection value.
@param ids
The ids value.
@param options
The options value.
@returns
The declared result.

TrashCollectionSlug is an internal capability-filtered union of generated collection slugs whose contract enables trash; it is not a separate SDK export.

Related types

  • MutationLocaleOptions

    Locale and transport options shared by mutations without an optimistic-concurrency contract.

  • OutputFor

    Resolve a collection document output type.