method
RiduClient.versions
RiduClient.versions<
Slug extends VersionCollectionSlug<Config>,
const Options extends LocaleOptions<LocaleFor<Config>> | undefined = undefined,
>(
collection: Slug,
id: string,
options?: Options,
): Promise<
Version<LocaleResult<OutputFor<Config, Slug>, AllLocalesOutputFor<Config, Slug>, Options>>[]
>List stored versions with locale-dependent snapshot types.
Related types
VersionCollectionSlugCollection slugs with the generated versions capability.
LocaleOptionsLocalized read and write options.
VersionA stored version snapshot; its wire keys intentionally use capital initials.
OutputForResolve a collection document output type.
AllLocalesOutputForResolve locale-keyed collection output when generated, otherwise ordinary output.