@wepublish/api
Version:
API core for we.publish.
14 lines • 655 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GraphQLPublicPhrase = void 0;
const graphql_1 = require("graphql");
const article_1 = require("../article");
const page_1 = require("../page");
exports.GraphQLPublicPhrase = new graphql_1.GraphQLObjectType({
name: 'Phrase',
fields: {
articles: { type: new graphql_1.GraphQLNonNull(new graphql_1.GraphQLList(new graphql_1.GraphQLNonNull(article_1.GraphQLPublicArticle))) },
pages: { type: new graphql_1.GraphQLNonNull(new graphql_1.GraphQLList(new graphql_1.GraphQLNonNull(page_1.GraphQLPublicPage))) }
}
});
//# sourceMappingURL=phrase.js.map