Co-authored-by: Elephant Lumps <celestial_vault@Elephants-MacBook-Pro.local>
23 lines
931 B
TypeScript
23 lines
931 B
TypeScript
// AUTO-GENERATED FILE - DO NOT MODIFY DIRECTLY
|
|
// Generated by proto/build-proto.js
|
|
|
|
import { createServiceRegistry, ServiceMethodHandler, StreamingMethodHandler } from "../host-grpc-service"
|
|
import { StreamingResponseHandler } from "../host-grpc-handler"
|
|
import { registerAllMethods } from "./methods"
|
|
|
|
// Create watch service registry
|
|
const watchService = createServiceRegistry("watch")
|
|
|
|
// Export the method handler types and registration function
|
|
export type WatchMethodHandler = ServiceMethodHandler
|
|
export type WatchStreamingMethodHandler = StreamingMethodHandler
|
|
export const registerMethod = watchService.registerMethod
|
|
|
|
// Export the request handlers
|
|
export const handleWatchServiceRequest = watchService.handleRequest
|
|
export const handleWatchServiceStreamingRequest = watchService.handleStreamingRequest
|
|
export const isStreamingMethod = watchService.isStreamingMethod
|
|
|
|
// Register all watch methods
|
|
registerAllMethods()
|