joyent-portal/legacy/cloudapi-graphql/src/schema/types/datacenter.js

15 lines
290 B
JavaScript

const { GraphQLString, GraphQLObjectType } = require('graphql');
module.exports = new GraphQLObjectType({
name: 'DatacenterType',
fields: {
name: {
type: GraphQLString,
description: 'location of the datacenter'
},
url: {
type: GraphQLString
}
}
});