EntityOnFetchProps
@firecms/core / EntityOnFetchProps
Interface: EntityOnFetchProps<M, USER>
Section titled “Interface: EntityOnFetchProps<M, USER>”Defined in: types/entity_callbacks.ts:76
Parameters passed to hooks when an entity is fetched
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Properties
Section titled “Properties”collection
Section titled “collection”collection:
EntityCollection<M,USER>
Defined in: types/entity_callbacks.ts:81
Collection of the entity
context
Section titled “context”context:
FireCMSContext<USER>
Defined in: types/entity_callbacks.ts:97
Context of the app status
entity
Section titled “entity”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.