method
RiduClient.discardGlobalDraft
Discard staged global changes while retaining the published snapshot.
Arguments
| Argument | Type | Description |
|---|---|---|
slug | Slug | The slug value. |
options | MutationOptions< | The options value. |
Returns
The declared result.
Promise<GlobalOutputFor<Config, Slug>>Full signature
RiduClient.discardGlobalDraft<Slug extends DraftGlobalSlug<Config>>(
slug: Slug,
options: MutationOptions<LocaleFor<Config>> & { revision: number; },
): Promise<GlobalOutputFor<Config, Slug>>Related types
DraftGlobalSlugGlobal slugs with the generated drafts capability.
MutationOptionsLocalized mutation options with optimistic concurrency.
GlobalOutputForResolve a global output type.