UNPKG

@intuitionrobotics/bug-report

Version:
25 lines 985 B
import { Module } from "@intuitionrobotics/ts-common"; import { type BugReport, type ReportLogFile, type Request_BugReport } from "../../index.js"; export type TicketDetails = { platform: string; issueId: string; }; type Config = { projectId?: string; bucket?: string; }; type TicketCreatorApi = (bugReport: Request_BugReport, logs: ReportLogFile[], email?: string) => Promise<TicketDetails | undefined>; export declare class BugReportModule_Class extends Module<Config> { constructor(); private _bugReport?; private _storage?; private ticketCreatorApis; private get bugReport(); private get storage(); addTicketCreator(ticketCreator: TicketCreatorApi): void; saveLog: (report: BugReport, id: string) => Promise<ReportLogFile>; saveFile: (bugReport: Request_BugReport, email?: string) => Promise<TicketDetails[]>; } export declare const BugReportModule: BugReportModule_Class; export {}; //# sourceMappingURL=BugReportModule.d.ts.map