Skip to content

Commit

Permalink
Generate workflow typescript definitions.
Browse files Browse the repository at this point in the history
Fixes #27
  • Loading branch information
WouterSpaak committed Oct 16, 2024
1 parent 0cd6489 commit 38e9e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion typescript/proto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(' ')}`;
Expand Down

0 comments on commit 38e9e54

Please sign in to comment.