1 | import { ActionResult } from "../../action/ActionResult";
|
2 | import { HandlerContext } from "../../HandlerContext";
|
3 | import { Project } from "../../project/Project";
|
4 | import { DirectoryManager } from "../../spi/clone/DirectoryManager";
|
5 | import { ProjectAction } from "../common/projectAction";
|
6 | import { ProjectOperationCredentials } from "../common/ProjectOperationCredentials";
|
7 | import { RepoId } from "../common/RepoId";
|
8 | import { AnyProjectEditor } from "../edit/projectEditor";
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | export declare type ProjectPersister<P extends Project = Project, R extends ActionResult<P> = ActionResult<P>> = (p: Project, credentials: ProjectOperationCredentials, targetId: RepoId, params?: object) => Promise<R>;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare function generate<P extends Project = Project, PARAMS = object>(startingPoint: Promise<Project> | Project, ctx: HandlerContext, credentials: ProjectOperationCredentials, editor: AnyProjectEditor, persist: ProjectPersister<P>, targetId: RepoId, params?: PARAMS, afterAction?: ProjectAction<PARAMS, P>, directoryManager?: DirectoryManager): Promise<ActionResult<P>>;
|
30 |
|
\ | No newline at end of file |