method
RiduClient.version
RiduClient.version<
Slug extends VersionCollectionSlug<Config>,
const Options extends LocaleOptions<LocaleFor<Config>> | undefined = undefined,
>(
collection: Slug,
id: string,
revision: number,
options?: Options,
): Promise<
Version<LocaleResult<OutputFor<Config, Slug>, AllLocalesOutputFor<Config, Slug>, Options>>
>Read one stored revision with a locale-dependent snapshot type.
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.