method

RiduClient.publishGlobalChanges

Atomically apply edited singleton values and publish through global publish access and hooks.

Arguments

ArgumentTypeDescription
slugSlugThe slug value.
dataGlobalUpdateFor<Config, Slug>The data value.
optionsMutationOptions<LocaleFor<Config>> | undefinedThe 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>>

Source packages/sdk/src/types.ts:1512

Related types