From 38e9e542b4fe39d7d0fa1d1f1d3b0062c55593cf Mon Sep 17 00:00:00 2001 From: Wouter Spaak Date: Wed, 16 Oct 2024 13:17:24 +0200 Subject: [PATCH] Generate workflow typescript definitions. Fixes #27 --- .gitignore | 2 ++ typescript/proto.ts | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fed3f59..bba8bb7 100644 --- a/.gitignore +++ b/.gitignore @@ -228,3 +228,5 @@ test-results.xml typescript/src/job_pb.d.ts typescript/src/job_pb.js +typescript/src/workflow_pb.d.ts +typescript/src/workflow_pb.js diff --git a/typescript/proto.ts b/typescript/proto.ts index 658399c..2286ff6 100644 --- a/typescript/proto.ts +++ b/typescript/proto.ts @@ -7,7 +7,8 @@ const options = [ `--js_out="import_style=commonjs,binary:./src"`, `--ts_out="./src"`, `--proto_path="../src"`, - `job.proto` + `job.proto`, + `workflow.proto` ]; const script = `protoc ${options.join(' ')}`;