Skip to content

Commit

Permalink
feat: make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
sakul-budhathoki committed Jan 22, 2024
1 parent ab88fa0 commit 059c259
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1,331 deletions.
9 changes: 4 additions & 5 deletions packages/api/google/protobuf/any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const protobufPackage = "google.protobuf";
* foo = any.unpack(Foo.getDefaultInstance());
* }
*
* Example 3: Pack and unpack a message in Python.
* Example 3: Pack and unpack a message in Python.
*
* foo = Foo(...)
* any = Any()
Expand All @@ -43,7 +43,7 @@ export const protobufPackage = "google.protobuf";
* any.Unpack(foo)
* ...
*
* Example 4: Pack and unpack a message in Go
* Example 4: Pack and unpack a message in Go
*
* foo := &pb.Foo{...}
* any, err := anypb.New(foo)
Expand All @@ -63,7 +63,7 @@ export const protobufPackage = "google.protobuf";
* name "y.z".
*
* JSON
* ====
*
* The JSON representation of an `Any` value uses the regular
* representation of the deserialized, embedded message, with an
* additional field `@type` which contains the type URL. Example:
Expand Down Expand Up @@ -115,8 +115,7 @@ export interface Any {
*
* Note: this functionality is not currently available in the official
* protobuf release, and it is not used for type URLs beginning with
* type.googleapis.com. As of May 2023, there are no widely used type server
* implementations and no plans to implement one.
* type.googleapis.com.
*
* Schemes other than `http`, `https` (or the empty scheme) might be
* used with implementation specific semantics.
Expand Down
4 changes: 1 addition & 3 deletions packages/api/marketplace/v1/marketplace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4485,9 +4485,7 @@ export class GrpcWebImpl {
}
},
});
observer.add(() => {
return client.close();
});
observer.add(() => client.close());
};
upStream();
}).pipe(share());
Expand Down
4 changes: 1 addition & 3 deletions packages/api/p2e/v1/p2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1131,9 +1131,7 @@ export class GrpcWebImpl {
}
},
});
observer.add(() => {
return client.close();
});
observer.add(() => client.close());
};
upStream();
}).pipe(share());
Expand Down
Loading

0 comments on commit 059c259

Please sign in to comment.