@leitwerk-dev/github-repo-change 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +39 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +67 -840
- package/dist/index.js.map +1 -1
- package/dist/launcher.d.ts +15 -3
- package/dist/launcher.d.ts.map +1 -1
- package/dist/params.d.ts +3 -23
- package/dist/params.d.ts.map +1 -1
- package/dist/process.d.ts +1 -1
- package/dist/process.d.ts.map +1 -1
- package/dist/profile-bindings.d.ts.map +1 -1
- package/package.json +6 -7
- package/src/launcher.ts +25 -181
- package/src/params.ts +11 -71
- package/src/process.ts +27 -241
- package/src/profile-bindings.ts +4 -34
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,19 @@ export declare function createGitHubRepoChange(options: {
|
|
|
30
30
|
/** @public */
|
|
31
31
|
resolveGitIdentity: (profile: string) => Promise<import("@leitwerk-dev/github").GitHubGitIdentity>;
|
|
32
32
|
/** @public */
|
|
33
|
-
launcher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").GitHubRepoChangeParams
|
|
33
|
+
launcher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").GitHubRepoChangeParams> & {
|
|
34
|
+
/** @internal */
|
|
35
|
+
resolveIssueLaunchConfig(event: {
|
|
36
|
+
/** @internal */
|
|
37
|
+
profile: string;
|
|
38
|
+
/** @internal */
|
|
39
|
+
repository: import("@leitwerk-dev/github").GitHubRepository;
|
|
40
|
+
/** @internal */
|
|
41
|
+
issue: Pick<import("@leitwerk-dev/github").GitHubIssue, "number" | "title" | "body" | "html_url">;
|
|
42
|
+
/** @internal */
|
|
43
|
+
labels: import("@leitwerk-dev/process-sdk").RepositoryIssueWatcherConfig["labels"];
|
|
44
|
+
}): Promise<import("@leitwerk-dev/process-sdk").ProcessLaunchConfig<import("./params.js").GitHubRepoChangeParams>>;
|
|
45
|
+
};
|
|
34
46
|
};
|
|
35
47
|
};
|
|
36
48
|
export * from "./launcher.js";
|
|
@@ -48,9 +60,33 @@ export declare const defaultExtension: LeitwerkExtensionModule, githubRepoChange
|
|
|
48
60
|
/** @public */
|
|
49
61
|
resolveGitIdentity: (profile: string) => Promise<import("@leitwerk-dev/github").GitHubGitIdentity>;
|
|
50
62
|
/** @public */
|
|
51
|
-
launcher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").GitHubRepoChangeParams
|
|
63
|
+
launcher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").GitHubRepoChangeParams> & {
|
|
64
|
+
/** @internal */
|
|
65
|
+
resolveIssueLaunchConfig(event: {
|
|
66
|
+
/** @internal */
|
|
67
|
+
profile: string;
|
|
68
|
+
/** @internal */
|
|
69
|
+
repository: import("@leitwerk-dev/github").GitHubRepository;
|
|
70
|
+
/** @internal */
|
|
71
|
+
issue: Pick<import("@leitwerk-dev/github").GitHubIssue, "number" | "title" | "body" | "html_url">;
|
|
72
|
+
/** @internal */
|
|
73
|
+
labels: import("@leitwerk-dev/process-sdk").RepositoryIssueWatcherConfig["labels"];
|
|
74
|
+
}): Promise<import("@leitwerk-dev/process-sdk").ProcessLaunchConfig<import("./params.js").GitHubRepoChangeParams>>;
|
|
75
|
+
};
|
|
52
76
|
};
|
|
53
77
|
/** @public */
|
|
54
|
-
export declare const configureGitHubRepoChangeLauncher: (value: import("./launcher.js").LauncherDependencies | null) => void, githubRepositoryPreparationChecks: (_input: unknown, { params }: import("@leitwerk-dev/process-sdk").ProcessLaunchConfig<import("./params.js").GitHubRepoChangeParams>) => readonly import("@leitwerk-dev/process-sdk").LaunchPreparationCheck<import("./params.js").GitHubRepoChangeParams>[], resolveGitHubGitIdentity: (profile: string) => Promise<import("@leitwerk-dev/github").GitHubGitIdentity>, githubRepoChangeUiLauncher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").GitHubRepoChangeParams
|
|
78
|
+
export declare const configureGitHubRepoChangeLauncher: (value: import("./launcher.js").LauncherDependencies | null) => void, githubRepositoryPreparationChecks: (_input: unknown, { params }: import("@leitwerk-dev/process-sdk").ProcessLaunchConfig<import("./params.js").GitHubRepoChangeParams>) => readonly import("@leitwerk-dev/process-sdk").LaunchPreparationCheck<import("./params.js").GitHubRepoChangeParams>[], resolveGitHubGitIdentity: (profile: string) => Promise<import("@leitwerk-dev/github").GitHubGitIdentity>, githubRepoChangeUiLauncher: import("@leitwerk-dev/process-sdk").ProcessLauncherDefinition<import("./params.js").GitHubRepoChangeParams> & {
|
|
79
|
+
/** @internal */
|
|
80
|
+
resolveIssueLaunchConfig(event: {
|
|
81
|
+
/** @internal */
|
|
82
|
+
profile: string;
|
|
83
|
+
/** @internal */
|
|
84
|
+
repository: import("@leitwerk-dev/github").GitHubRepository;
|
|
85
|
+
/** @internal */
|
|
86
|
+
issue: Pick<import("@leitwerk-dev/github").GitHubIssue, "number" | "title" | "body" | "html_url">;
|
|
87
|
+
/** @internal */
|
|
88
|
+
labels: import("@leitwerk-dev/process-sdk").RepositoryIssueWatcherConfig["labels"];
|
|
89
|
+
}): Promise<import("@leitwerk-dev/process-sdk").ProcessLaunchConfig<import("./params.js").GitHubRepoChangeParams>>;
|
|
90
|
+
};
|
|
55
91
|
export default defaultExtension;
|
|
56
92
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAKzE,cAAc;AACd,eAAO,MAAM,QAAQ;IACpB,cAAc;;IAEd,cAAc;;IAEd,cAAc;;CAEL,CAAC;AAEX,0FAA0F;AAC1F,cAAc;AACd,cAAc;AACd,wBAAgB,sBAAsB,CAAC,OAAO,EAAE;IAC/C,cAAc;IACd,MAAM,EAAE,OAAO,CAAC;CAChB;IAyBC,cAAc;;IAEd,cAAc;;IAEd,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAKzE,cAAc;AACd,eAAO,MAAM,QAAQ;IACpB,cAAc;;IAEd,cAAc;;IAEd,cAAc;;CAEL,CAAC;AAEX,0FAA0F;AAC1F,cAAc;AACd,cAAc;AACd,wBAAgB,sBAAsB,CAAC,OAAO,EAAE;IAC/C,cAAc;IACd,MAAM,EAAE,OAAO,CAAC;CAChB;IAyBC,cAAc;;IAEd,cAAc;;IAEd,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;EAGf;AAED,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc;AACd,eAAO,MACK,gBAAgB,2BAClB,uBAAuB,8LACtB,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;CACE,CAAC;AAC7C,cAAc;AACd,eAAO,MACK,iCAAiC,wEACzB,iCAAiC,+PAChC,wBAAwB,kFAClC,0BAA0B;;;;;;;;;;;;CACF,CAAC;AACpC,eAAe,gBAAgB,CAAC"}
|