Commit Graph

35 Commits

Author SHA1 Message Date
Michael Lumish bf2e5cb1dd
Merge pull request #1745 from murgatroid99/proto-loader_generate_service_definition
proto-loader: generator: add specific service definition interfaces
2021-04-14 13:58:19 -07:00
Michael Lumish c3a49262cc proto-loader: generator: add specific service definition interfaces 2021-04-08 12:56:50 -07:00
Michael Lumish 799bd16fe6 proto-loader: generator: allow for null message values 2021-04-08 11:22:04 -07:00
Michael Lumish 65f1eb4a29 Add default values to generator usage info 2021-04-01 11:53:30 -07:00
Michael Lumish 0aa99dd4fb Merge branch 'proto-loader_type_generator' of github.com:murgatroid99/grpc-node into proto-loader_type_generator 2021-03-31 13:22:26 -07:00
Michael Lumish 3ac1e6ddb8 Address review comments 2021-03-31 13:22:08 -07:00
Michael Lumish 4742f9d57e Combine output for input files with the same basename 2021-03-31 13:04:05 -07:00
Michael Lumish 5cf93cf5fd
Fix a typo in a comment
Co-authored-by: Ian Edington <IanEdington@gmail.com>
2021-03-24 09:35:27 -07:00
Richard Willis cf9d0fd4cc proto-loader: Fix yargs types 2021-01-08 08:11:35 +00:00
Richard Willis d3ef8f3233 proto-loader: Replace Windows CRLF pair with Unix LF 2020-12-20 08:12:25 +00:00
Michael Lumish 94391ca64d import type * as grpc, fix ConstructorParameters usage 2020-10-22 11:09:23 -07:00
Michael Lumish 542f619124 Merge branch 'proto-loader_type_generator' of https://github.com/murgatroid99/grpc-node into proto-loader_type_generator 2020-10-21 14:35:11 -07:00
Michael Lumish 96cba74b9b Use 'import type' where possible 2020-10-21 14:33:21 -07:00
Richard Willis 330d1835fe proto-loader: fix typescript generation callType for client streaming 2020-10-11 12:01:32 +01:00
Richard Willis acf403b704 proto-loader: use method descriptor types to define server handlers 2020-09-24 09:42:10 +01:00
Michael Lumish 677741d442 ConstructorParameters is already a TypeScript builtin 2020-09-02 13:35:43 -07:00
Michael Lumish 2d1cb15dec Fix imports for messages without packages 2020-08-31 09:40:17 -07:00
Michael Lumish 471c59fa27 Fix missing type argument in client streaming server handler 2020-08-10 15:18:58 -07:00
Michael Lumish bbff8cb449 A few more service type fixes 2020-08-10 11:35:26 -07:00
Michael Lumish d8e035445c Fix imports of messages defined in other messages, add missing comma 2020-08-03 10:59:10 -07:00
Michael Lumish 437f534930 Generate comments in golden files 2020-07-21 13:43:30 -07:00
Michael Lumish b96cb3b8cc Make messages always optional, fix map type generation 2020-07-20 14:26:38 -07:00
Michael Lumish cca10597d5 Add files for service definitions, remove redundant exports from root files 2020-07-13 13:13:39 -07:00
Michael Lumish 8e6dae7bb7 Add option to generate comments 2020-07-10 14:14:24 -07:00
Michael Lumish e80d89479e Refactor shared code, remove mkdirp, sort some things for stable output, add verbose option 2020-07-10 12:48:53 -07:00
Michael Lumish e03118d8cb Generate .ts files instead of .d.ts for better handling by tsc 2020-07-10 08:46:03 -07:00
Michael Lumish 06f63a22ca Merge branch 'proto-loader_type_generator' of https://github.com/murgatroid99/grpc-node into proto-loader_type_generator 2020-07-06 09:01:59 -07:00
Richard Willis c6d4ea5a02 Fix some type issues in the server interface 2020-07-03 09:22:02 +01:00
Michael Lumish 110cb2f1b8 Export service client interfaces 2020-06-25 12:45:46 -07:00
Michael Lumish f37e7d43bf A few more fixes to make the generated code compile 2020-06-24 16:36:26 -07:00
Michael Lumish c7bbf045b6 Add json option and google.protobuf.Any wrapper type 2020-06-18 15:52:37 -07:00
Michael Lumish c6e17f2758 Fix constructor argument declaration 2020-06-18 10:14:55 -07:00
Michael Lumish 8bfa472df0 Fix a couple of type name errors 2020-06-12 11:22:07 -07:00
Michael Lumish 3d369e9f56 Update to prerelease version, fix copyright date 2020-06-12 10:58:42 -07:00
Michael Lumish da3fefb58e proto-loader: Add TypeScript generator 2020-06-12 10:21:10 -07:00