UNPKG

878 BTypeScriptView Raw
1import { ProjectOperationCredentials } from "../common/ProjectOperationCredentials";
2import { RemoteRepoRef } from "../common/RepoId";
3import { RepoCreationParameters } from "./RepoCreationParameters";
4/**
5 * Parameters common to all generators that create new repositories
6 */
7export declare abstract class NewRepoCreationParameters implements RepoCreationParameters {
8 owner: string;
9 repo: string;
10 description: string;
11 visibility: "public" | "private";
12 webhookUrl: string;
13 abstract credentials: ProjectOperationCredentials;
14 /**
15 * Return a single RepoRef or undefined if we're not identifying a single repo
16 * This implementation returns a GitHub.com repo but it can be overriden
17 * to return any kind of repo
18 * @return {RepoRef}
19 */
20 abstract repoRef: RemoteRepoRef;
21}
22//# sourceMappingURL=NewRepoCreationParameters.d.ts.map
\No newline at end of file