Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 1 | #include <memory> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 2 | #include <set> |
James Kuszmaul | 8e62b02 | 2022-03-22 09:33:25 -0700 | [diff] [blame^] | 3 | #include <vector> |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 4 | |
Austin Schuh | 272c613 | 2020-11-14 16:37:52 -0800 | [diff] [blame] | 5 | #include "src/compiler/schema_interface.h" |
| 6 | |
| 7 | #ifndef GRPC_CUSTOM_STRING |
| 8 | # include <string> |
| 9 | # define GRPC_CUSTOM_STRING std::string |
| 10 | #endif |
| 11 | |
| 12 | namespace grpc { |
| 13 | |
| 14 | typedef GRPC_CUSTOM_STRING string; |
| 15 | |
| 16 | } // namespace grpc |
| 17 | |
| 18 | namespace grpc_ts_generator { |
| 19 | grpc::string Generate(grpc_generator::File *file, |
| 20 | const grpc_generator::Service *service, |
| 21 | const grpc::string &filename); |
| 22 | |
| 23 | grpc::string GenerateInterface(grpc_generator::File *file, |
| 24 | const grpc_generator::Service *service, |
| 25 | const grpc::string &filename); |
| 26 | } // namespace grpc_ts_generator |