summaryrefslogtreecommitdiff
path: root/model/job/jobs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'model/job/jobs.ts')
-rw-r--r--model/job/jobs.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/model/job/jobs.ts b/model/job/jobs.ts
index dc23070..8c6bdab 100644
--- a/model/job/jobs.ts
+++ b/model/job/jobs.ts
@@ -11,6 +11,16 @@ export interface FetchCodeJob {
readonly arguments: FetchCodeJobProps;
}
+export interface NpmPublishJobProps extends JobArgT {
+ readonly source: string;
+ readonly registry: string;
+}
+
+export interface NpmPublishJob {
+ readonly type: 'npm_publish.js';
+ readonly arguments: NpmPublishJobProps;
+}
+
export interface BuildDockerImageJobProps extends JobArgT {
readonly registry: string;
readonly namespace: string;