tempus-api-graphql
Version:
A GraphQL wrapper for the tempus api (tempus2.xyz)
33 lines (29 loc) • 679 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _graphql = require("graphql");
var _default = new _graphql.GraphQLObjectType({
name: "Split",
fields: function fields() {
return {
type: {
type: new _graphql.GraphQLNonNull(_graphql.GraphQLString)
},
zoneindex: {
type: new _graphql.GraphQLNonNull(_graphql.GraphQLInt)
},
customName: {
type: _graphql.GraphQLString
},
duration: {
type: _graphql.GraphQLFloat
},
comparedDuration: {
type: _graphql.GraphQLFloat
}
};
}
});
exports["default"] = _default;