method
RiduClient.globalVersion
RiduClient.globalVersion<
Slug extends VersionGlobalSlug<Config>,
const Options extends LocaleOptions<LocaleFor<Config>> | undefined = undefined,
>(
slug: Slug,
revision: number,
options?: Options,
): Promise<
Version<
LocaleResult<
GlobalOutputFor<Config, Slug>,
GlobalAllLocalesOutputFor<Config, Slug>,
Options,
>,
>
>Read one stored global revision with a locale-dependent snapshot type.
Related types
VersionGlobalSlugGlobal slugs with the generated versions capability.
LocaleOptionsLocalized read and write options.
VersionA stored version snapshot; its wire keys intentionally use capital initials.
GlobalOutputForResolve a global output type.
GlobalAllLocalesOutputForResolve locale-keyed global output when generated, otherwise ordinary output.