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
/
relation
/
interface.d.ts
11 lines
(10 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Model
,
RelationType
}
from
'../dataModel'
;
export
interface
Relation
{
getType
():
RelationType
; }
export
interface
WithForeignKey
{
getForeignKeyConfig
():
Array
<{
model
:
Model
;
foreignKey
:
string
; }>; }