Type Alias ResolvedEntryResourceLink<Modifiers, Locales, LinkedEntry>Internal

ResolvedEntryResourceLink<Modifiers, Locales, LinkedEntry>: ChainModifiers extends Modifiers
    ? Entry<LinkedEntry, Modifiers, Locales> | {
        sys: ResourceLink;
    } | undefined
    : "WITHOUT_LINK_RESOLUTION" extends Modifiers
        ? {
            sys: ResourceLink;
        }
        : "WITHOUT_UNRESOLVABLE_LINKS" extends Modifiers
            ? Entry<LinkedEntry, Modifiers, Locales> | undefined
            : Entry<LinkedEntry, Modifiers, Locales> | {
                sys: ResourceLink;
            }

A single resolved reference link to another entry in a different 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