Interface: EntityOnFetchProps<M, UserType>
Parameters passed to hooks when an entity is fetched
Type parameters​
Name | Type |
---|---|
M | extends Record <string , any > = any |
UserType | extends User = User |
Properties​
collection​
• collection: EntityCollection
<M
, string
, User
>
Collection of the entity
Defined in​
lib/src/types/entity_callbacks.ts:80
context​
• context: FireCMSContext
<UserType
>
Context of the app status
Defined in​
lib/src/types/entity_callbacks.ts:96
entity​
• entity: Entity
<M
>
Fetched entity
Defined in​
lib/src/types/entity_callbacks.ts:91
path​
• path: string
Full path of the CMS where this collection is being fetched. Might contain unresolved aliases.