1 #include <memory> 2 #include <set> 3 #include <vector> 4 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 27