Forest Admin - API reference
Preparing search index...
@forestadmin/agent
HooksContext
Type Alias HooksContext<S, N>
type
HooksContext
<
S
extends
TSchema
=
TSchema
,
N
extends
TCollectionName
<
S
>
=
TCollectionName
<
S
>
,
>
=
{
After
:
{
Aggregate
:
HookAfterAggregateContext
<
S
,
N
>
;
Create
:
HookAfterCreateContext
<
S
,
N
>
;
Delete
:
HookAfterDeleteContext
<
S
,
N
>
;
List
:
HookAfterListContext
<
S
,
N
>
;
Update
:
HookAfterUpdateContext
<
S
,
N
>
;
}
;
Before
:
{
Aggregate
:
HookBeforeAggregateContext
<
S
,
N
>
;
Create
:
HookBeforeCreateContext
<
S
,
N
>
;
Delete
:
HookBeforeDeleteContext
<
S
,
N
>
;
List
:
HookBeforeListContext
<
S
,
N
>
;
Update
:
HookBeforeUpdateContext
<
S
,
N
>
;
}
;
}
Type Parameters
S
extends
TSchema
=
TSchema
N
extends
TCollectionName
<
S
>
=
TCollectionName
<
S
>
Index
Properties
After
Before
Properties
After
After
:
{
Aggregate
:
HookAfterAggregateContext
<
S
,
N
>
;
Create
:
HookAfterCreateContext
<
S
,
N
>
;
Delete
:
HookAfterDeleteContext
<
S
,
N
>
;
List
:
HookAfterListContext
<
S
,
N
>
;
Update
:
HookAfterUpdateContext
<
S
,
N
>
;
}
Before
Before
:
{
Aggregate
:
HookBeforeAggregateContext
<
S
,
N
>
;
Create
:
HookBeforeCreateContext
<
S
,
N
>
;
Delete
:
HookBeforeDeleteContext
<
S
,
N
>
;
List
:
HookBeforeListContext
<
S
,
N
>
;
Update
:
HookBeforeUpdateContext
<
S
,
N
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
After
Before
Forest Admin - API reference
Loading...