Type Alias ResolvedAssetLink<Modifiers, Locales>Internal

ResolvedAssetLink<Modifiers, Locales>: ChainModifiers extends Modifiers
    ? Asset<Modifiers, Locales> | UnresolvedLink<"Asset"> | undefined
    : "WITHOUT_LINK_RESOLUTION" extends Modifiers
        ? UnresolvedLink<"Asset">
        : "WITHOUT_UNRESOLVABLE_LINKS" extends Modifiers
            ? Asset<Modifiers, Locales> | undefined
            : Asset<Modifiers, Locales> | UnresolvedLink<"Asset">

A single resolved link to another asset If the current client configuration includes withoutLinkResolution chain option, the returned type will not resolve linked entities, but keep them as objects If the current client configuration includes withoutUnresolvableLinks chain option, the returned type will not include non-resolvable linked entities

Type Parameters

  • Modifiers extends ChainModifiers

    The chain modifiers used to configure the client. They’re set automatically when using the client chain modifiers.

  • Locales extends LocaleCode