UNPKG

@eddeee888/gcg-typescript-resolver-files

Version:

This [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen) plugin creates resolvers given GraphQL schema.

19 lines 553 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fmt = void 0; const preset_1 = require("../preset"); /** * Shared message formatter */ exports.fmt = { error: (input, type) => { return `[${preset_1.presetName}] \x1b[31mERROR:\x1b[0m ${type} - ${input}`; }, warn: (input) => { return `[${preset_1.presetName}] \x1b[33mWARN:\x1b[0m ${input}`; }, debug: (input) => { return `[${preset_1.presetName}] \x1b[35mDEBUG:\x1b[0m ${input}`; }, }; //# sourceMappingURL=fmt.js.map