@accounts/module-core
Version:
Server side GraphQL transport for accounts
15 lines • 501 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
exports.default = ({ rootQueryName, rootMutationName, withSchemaDefinition, }) => withSchemaDefinition
? [
(0, graphql_tag_1.default) `
schema {
query: ${rootMutationName || 'Query'}
mutation: ${rootQueryName || 'Mutation'}
}
`,
]
: [];
//# sourceMappingURL=schema-def.js.map