1 | import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
|
2 | import { RemoteRepoRef } from "@atomist/automation-client/lib/operations/common/RepoId";
|
3 | import { Project } from "@atomist/automation-client/lib/project/Project";
|
4 | import { CodeTransform } from "../../api/registration/CodeTransform";
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare function copyFileFromUrl(url: string, path: string): CodeTransform;
|
11 | export interface FileMapping {
|
12 | donorPath: string;
|
13 | recipientPath: string;
|
14 | }
|
15 | export interface FileGlobMapping {
|
16 | |
17 |
|
18 |
|
19 | globPatterns: string[];
|
20 | |
21 |
|
22 |
|
23 | recipientPath?: string;
|
24 | }
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare function copyFilesFrom(donorProjectId: RemoteRepoRef, fileMappings: Array<FileMapping | string>, credentials: ProjectOperationCredentials): CodeTransform;
|
33 | export declare function copyFiles(donorProject: Project, fileMappings: Array<FileMapping | string>): CodeTransform;
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 | export declare function streamFilesFrom(donorProjectId: RemoteRepoRef, fileGlobMapping: FileGlobMapping): CodeTransform;
|
41 | export declare function streamFiles(donorProject: Project, fileGlobMapping: FileGlobMapping): CodeTransform;
|
42 |
|
\ | No newline at end of file |