Type alias ResolvedEntryLink<Modifiers, Locales, LinkedEntry>Internal

ResolvedEntryLink<Modifiers, Locales, LinkedEntry>: ChainModifiers extends Modifiers
    ? Entry<LinkedEntry, Modifiers, Locales> | UnresolvedLink<"Entry"> | undefined
    : "WITHOUT_LINK_RESOLUTION" extends Modifiers
        ? UnresolvedLink<"Entry">
        : "WITHOUT_UNRESOLVABLE_LINKS" extends Modifiers
            ? Entry<LinkedEntry, Modifiers, Locales> | undefined
            : Entry<LinkedEntry, Modifiers, Locales> | UnresolvedLink<"Entry">

A single resolved link to another entry in the same space 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

    If provided for a client using allLocales modifier, response type defines locale keys for entry field values.

  • LinkedEntry extends EntrySkeletonType

    Shape of the linked entry used to calculate dynamic keys