method
RiduClient.publishGlobalChanges
Atomically apply edited singleton values and publish through global publish access and hooks.
Arguments
| Argument | Type | Description |
|---|---|---|
slug | Slug | The slug value. |
data | GlobalUpdateFor< | The data value. |
options | MutationOptions< | The options value. |
Returns
The declared result.
Promise<GlobalOutputFor<Config, Slug>>Full signature
RiduClient.publishGlobalChanges<Slug extends VersionGlobalSlug<Config>>(
slug: Slug,
data: GlobalUpdateFor<Config, Slug>,
options?: MutationOptions<LocaleFor<Config>>,
): Promise<GlobalOutputFor<Config, Slug>>Related types
VersionGlobalSlugGlobal slugs with the generated versions capability.
GlobalUpdateForResolve a global update input type.
MutationOptionsLocalized mutation options with optimistic concurrency.
GlobalOutputForResolve a global output type.