UNPKG

@pallad/graphql-command-bus

Version:
20 lines (19 loc) 759 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.QueryResultMetaPaginationByOffset = exports.QueryResultMetaPaginationByNode = void 0; const graphql_1 = require("graphql"); exports.QueryResultMetaPaginationByNode = new graphql_1.GraphQLObjectType({ name: 'Query_Result_Meta_PaginationByNode', fields: { nextPage: { type: graphql_1.GraphQLString }, previousPage: { type: graphql_1.GraphQLString }, limit: { type: graphql_1.GraphQLInt } } }); exports.QueryResultMetaPaginationByOffset = new graphql_1.GraphQLObjectType({ name: 'Query_Result_Meta_PaginationByOffset', fields: { limit: { type: graphql_1.GraphQLInt }, offset: { type: graphql_1.GraphQLInt } } });