blob: a356659daac8a960fc2099db984bc906bf089f6f [file] [log] [blame]
Austin Schuh272c6132020-11-14 16:37:52 -08001#include <memory>
Austin Schuh272c6132020-11-14 16:37:52 -08002#include <set>
James Kuszmaul8e62b022022-03-22 09:33:25 -07003#include <vector>
Austin Schuh272c6132020-11-14 16:37:52 -08004
Austin Schuh272c6132020-11-14 16:37:52 -08005#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
12namespace grpc {
13
14typedef GRPC_CUSTOM_STRING string;
15
16} // namespace grpc
17
18namespace grpc_ts_generator {
19grpc::string Generate(grpc_generator::File *file,
20 const grpc_generator::Service *service,
21 const grpc::string &filename);
22
23grpc::string GenerateInterface(grpc_generator::File *file,
24 const grpc_generator::Service *service,
25 const grpc::string &filename);
26} // namespace grpc_ts_generator