UNPKG

812 BTypeScriptView Raw
1import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
2import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
3import { RepoLoader } from "@atomist/automation-client/lib/operations/common/repoLoader";
4import { ProjectLoader } from "../../spi/project/ProjectLoader";
5/**
6 * Adapter from newer ProjectLoader to older RepoLoader for use in editors
7 * @param pl ProjectLoader
8 * @param credentials credentials to use to load projects
9 * @param readOnly is the use read only?
10 * @return {RepoLoader}
11 */
12export declare function projectLoaderRepoLoader(pl: ProjectLoader, credentials: ProjectOperationCredentials, readOnly: boolean, context?: HandlerContext): RepoLoader;
13//# sourceMappingURL=projectLoaderRepoLoader.d.ts.map
\No newline at end of file