UNPKG
@terabits/grapi
Version:
latest (2.2.11)
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
Grapi Schema Generator For GraphQL Server
github.com/hareeshbabu82ns/grapi
hareeshbabu82ns/grapi
@terabits/grapi
/
lib
/
hooks
/
relationHook.d.ts
4 lines
(3 loc)
•
185 B
TypeScript
View Raw
1
2
3
4
import
{
ModelRelation
}
from
'../dataModel'
;
import
{
Hook
}
from
'./interface'
;
export
declare
const
createRelationHooks
:
(
relations
:
ModelRelation
[]
) =>
Array
<
Record
<
string
,
Hook
>>;