UNPKG
@userlab/dx
Version:
latest (1.1.1)
1.1.1
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Build efficient GraphQL backend
userlab/dx
userlab/dx
@userlab/dx
/
lib
/
src
/
gql
/
getObjectType.d.ts
4 lines
(3 loc)
•
208 B
TypeScript
View Raw
1
2
3
4
import
{
GraphQLObjectType
}
from
'graphql'
;
import
{
DxArgs
}
from
'../types'
;
export
declare
const
getObjectType
:
(
{ name, description, table, uniqueKey, fields, relations, }:
DxArgs
) =>
GraphQLObjectType
;