Type Alias ResolvedLink<Field, Modifiers, Locales>Internal

ResolvedLink<Field, Modifiers, Locales>: Field extends EntryFieldTypes.EntryLink<infer LinkedEntry>
    ? ResolvedEntryLink<Modifiers, Locales, LinkedEntry>
    : Field extends EntryResourceLink<infer LinkedEntry>
        ? ResolvedEntryResourceLink<Modifiers, Locales, LinkedEntry>
        : Field extends ExternalResourceLink
            ? {
                sys: ResourceLink<string>;
            }
            : Field extends EntryFieldTypes.AssetLink
                ? ResolvedAssetLink<Modifiers, Locales>
                : BaseFieldMap<Field>

A single resolved link to another resource

Type Parameters

  • Field extends EntryFieldType<EntrySkeletonType>

    Shape of an entry used to calculate dynamic keys

  • Modifiers extends ChainModifiers = ChainModifiers

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

  • Locales extends LocaleCode = LocaleCode

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