Skip to main content

Interface: ResolveEntityRefsResponse

Defined in: packages/sdk/src/types/generated/entity_ref.ts:132

Every requested ref, answered, in the order the request named them.

One entry per distinct requested ref, always. A ref that could not be resolved is an entry with a marker status, never an omission and never a 404: the batch is a hydration convenience, and letting one invisible ref fail the request would make a page's rendering depend on whether it happened to name something the caller cannot see.

resolvedCount is redundant with the entries and present anyway — it is what the audit summary records as recordCount, and having the number on the wire lets a client assert the endpoint's own claim rather than recount.

Properties

generatedAt

generatedAt: string

Defined in: packages/sdk/src/types/generated/entity_ref.ts:136


refs

refs: ResolvedEntityRef[]

Defined in: packages/sdk/src/types/generated/entity_ref.ts:133


resolvedCount

resolvedCount: number

Defined in: packages/sdk/src/types/generated/entity_ref.ts:135

Minimum

0