method
RiduClient.copyLocale
RiduClient.copyLocale<Slug extends CollectionSlug<Config>>(
collection: Slug,
id: string,
input: CopyLocaleInput<LocaleFor<Config>>,
options?: RevisionOptions,
): Promise<OutputFor<Config, Slug>>Copy localized values between locales on one document; from and to define the locale scope.
Related types
CollectionSlugThe generated union of collection slugs.
CopyLocaleInputSource and destination locale codes for a copy operation.
RevisionOptionsRevision and transport options for operations without locale query semantics.
OutputForResolve a collection document output type.