UNPKG

@graphql-inspector/action

Version:

GraphQL Inspector functionality for GitHub Actions

13 lines (12 loc) 394 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDiagnostics = exports.setDiagnostics = void 0; const key = Symbol.for('inspector-diagnostics'); function setDiagnostics(app, diagnostics) { app[key] = diagnostics; } exports.setDiagnostics = setDiagnostics; function getDiagnostics(app) { return app[key]; } exports.getDiagnostics = getDiagnostics;