method
RiduClient.globalVersion
Read one stored global revision with a locale-dependent snapshot type.
Arguments
| Argument | Type | Description |
|---|---|---|
slug | Slug | The slug value. |
revision | number | The revision value. |
options | Options | | The options value. |
Returns
The declared result.
Promise<Version<LocaleResult<GlobalOutputFor<Config, Slug>, GlobalAllLocalesOutputFor<Config, Slug>, Options>>>Full signature
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,
>,
>
>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.