export class CodemationBootstrapRequest { readonly consumerRoot: string; readonly repoRoot: string; readonly workflowSources: ReadonlyArray; readonly env?: Readonly; constructor( args: Readonly<{ consumerRoot: string; repoRoot: string; workflowSources?: ReadonlyArray; env?: Readonly; }>, ) { this.consumerRoot = args.consumerRoot; this.repoRoot = args.repoRoot; this.workflowSources = [...(args.workflowSources ?? [])]; this.env = args.env; } resolveEnvironment(): NodeJS.ProcessEnv { return { ...process.env, ...(this.env ?? {}), }; } }