EntryReference

The Entry reference type used inside Field types for Statamic.

Type Definition

Entry reference structure returned by Statamic for entry relationship fields.

type 
EntryReference
<
T
extends string = string> = {
id
: string;
title
: string;
slug
: string;
uri
: string;
api_url
: string;
collection
:
TitledHandle
<
T
>;
slugs
?:
Record
<string, string> | null;
};