UNPKG

@capgo/cli

Version:
19 lines (18 loc) • 857 B
import type { SupportBundleFiles } from '../onboarding-support.js'; export interface PrepareBuildSupportLogBundleInput { appId: string; jobId: string; internalLogPath?: string | null; outputDir?: string; } export interface PrepareBuildSupportLogBundleDependencies { readCapturedLog: (jobId: string) => Promise<string>; readInternalLog: (path: string) => Promise<string>; } /** * Drain the ordered Builder-log write queue before rendering a support bundle. * The Builder log is required diagnostic input: unlike the optional internal * log, a capture/read failure rejects instead of producing a misleading empty * `Recent logs` section. */ export declare function prepareBuildSupportLogBundle(input: PrepareBuildSupportLogBundleInput, dependencies?: PrepareBuildSupportLogBundleDependencies): Promise<SupportBundleFiles | null>;