UNPKG

@elsikora/git-branch-lint

Version:
16 lines (15 loc) 550 B
import type { IConfigRepository } from "../../domain/interface/config.repository.interface"; import type { IBranchLintConfig } from "../../domain/type/config.type"; /** * Use case for retrieving branch configuration */ export declare class GetBranchConfigUseCase { private readonly configRepository; constructor(configRepository: IConfigRepository); /** * Execute the use case * @param appName - The application name * @returns The branch configuration */ execute(appName: string): Promise<IBranchLintConfig>; }