-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use remotes for typescript generation
- Loading branch information
1 parent
40158eb
commit 6a1f9b0
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#!/usr/bin/env -S buf generate buf.build/authzed/api:v1.38.0 --template | ||
# To regenerate: | ||
# npm install -g grpc-tools | ||
# ./buf.gen.yaml | ||
version: "v1beta1" | ||
--- | ||
version: "v2" | ||
plugins: | ||
- name: "ts" | ||
- remote: buf.build/community/timostamm-protobuf-ts:v2.9.4 | ||
out: "src/authzedapi" | ||
opt: generate_dependencies,long_type_string,client_grpc1 | ||
path: ./node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts | ||
inputs: | ||
- module: "buf.build/authzed/api:v1.38.0" |