2.0.0-alpha.0 • Published 1 year ago
@codenotary/immudb-node-grpcjs v2.0.0-alpha.0
Generate grpcjs client for immudb .proto
file
Prepare schema.proto
after updates
It may be neccessery to repair synthax errors in actualized .proto
file.
Following lines should be commented:
import "google/api/annotations.proto";
import "protoc-gen-swagger/options/annotations.proto";
Also:
;
semicolon aftertitle: "immudb REST API";
should be removed;
semicolon afterinfo: { ... };
should be removed
Generate grpc client typescript code
npx proto-loader-gen-types `
--longs=Long `
--enums=String `
--bytes=Buffer `
--defaults `
--arrays `
--objects `
--oneofs `
--json `
--grpcLib=@grpc/grpc-js `
--outDir=src `
schema.proto
2.0.0-alpha.1
1 year ago
2.0.0-alpha.0
2 years ago