method
RiduClient.emptyTrash
RiduClient.emptyTrash<Slug extends TrashCollectionSlug<Config>>(
collection: Slug,
options?: MutationLocaleOptions<LocaleFor<Config>>,
): Promise<OutputFor<Config, Slug>[]>Permanently delete every authorized trashed document in a collection.
Source packages/sdk/src/types.ts:925
TrashCollectionSlug is an internal capability-filtered union of generated collection slugs whose contract enables trash; it is not a separate SDK export.
Related types
MutationLocaleOptionsLocale and transport options shared by mutations without an optimistic-concurrency contract.
OutputForResolve a collection document output type.