mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
422 B
TypeScript
21 lines
422 B
TypeScript
import { GraphQLObjectType, GraphQLInputObjectType } from "graphql";
|
|
import * as GraphQLJSON from "graphql-type-uuid";
|
|
|
|
const TestType = new GraphQLObjectType({
|
|
name: "TestType",
|
|
fields: {
|
|
test: {
|
|
type: GraphQLJSON
|
|
}
|
|
}
|
|
});
|
|
|
|
const TestInputType = new GraphQLInputObjectType({
|
|
name: "TestInputType",
|
|
fields: {
|
|
test: {
|
|
type: GraphQLJSON
|
|
}
|
|
}
|
|
});
|