Skip to content

EntityOnFetchProps

@firecms/core


@firecms/core / EntityOnFetchProps

Defined in: types/entity_callbacks.ts:76

Parameters passed to hooks when an entity is fetched

M extends Record<string, any> = any

USER extends User = User

collection: EntityCollection<M, USER>

Defined in: types/entity_callbacks.ts:81

Collection of the entity


context: FireCMSContext<USER>

Defined in: types/entity_callbacks.ts:97

Context of the app status


entity: Entity<M>

Defined in: types/entity_callbacks.ts:92

Fetched entity


path: string

Defined in: types/entity_callbacks.ts:87

Full path of the CMS where this collection is being fetched. Might contain unresolved aliases.