UNPKG

bananareporter

Version:

Easily generate a report from multiple sources

19 lines (18 loc) 758 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IntegrationBase = exports.SourceType = void 0; const zod_1 = require("zod"); exports.SourceType = zod_1.z.enum(['gitlab', 'github', 'todo.txt', 'git-cli']); // TODO improve base integration class IntegrationBase { // eslint-disable-next-line no-useless-constructor, @typescript-eslint/no-empty-function constructor(_rawConfig, _bananaConfig) { } // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types toBananaReporterObj(_rawData) { throw new Error('implement toBananaReporterObj method'); } async fetchData() { throw new Error('implement fetchData method'); } } exports.IntegrationBase = IntegrationBase;