Skip to content

Interface: RelationCacheEventContext

Structured context for a relation-cache event. Fields are populated per event (e.g. tag/ttl only on store, tag only on evict).

Properties

PropertyTypeDescription
key?string | nullThe cache lookup key, when applicable.
modelstringCanonical identity name of the model the event concerns.
relation?stringThe relation name, when the event is tied to a specific relation load.
tag?string | nullThe store / eviction tag, when applicable.
ttl?unknownThe entry TTL forwarded on a store, when configured.