UNPKG
@grapi/server
Version:
latest (3.0.6)
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.2.10
2.2.4
2.2.3
Grapi Schema Generator For GraphQL Server
github.com/scalars/grapi
scalars/grapi
@grapi/server
/
lib
/
hooks
/
uniOneToMany.d.ts
4 lines
(3 loc)
•
169 B
TypeScript
View Raw
1
2
3
4
import
{
ModelRelation
}
from
'../dataModel'
;
import
{
Hook
}
from
'./interface'
;
export
declare
const
createHookMap
:
(
relation
:
ModelRelation
) =>
Record
<
string
,
Hook
>;