@area37/vendure-plugin-customer-approve
Version:
Vendure plugin for approving customers
16 lines (15 loc) • 570 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.adminApiExtensions = void 0;
const graphql_tag_1 = __importDefault(require("graphql-tag"));
const CustomerApproveAdminShopMutation = (0, graphql_tag_1.default) `
extend type Mutation {
switchApproveCustomer(customerId: ID!): Boolean!
}
`;
exports.adminApiExtensions = (0, graphql_tag_1.default) `
${CustomerApproveAdminShopMutation}
`;