23 lines
993 B
TypeScript
23 lines
993 B
TypeScript
// AUTO-GENERATED FILE - DO NOT MODIFY DIRECTLY
|
|
// Generated by proto/build-proto.js
|
|
|
|
import { createServiceRegistry, ServiceMethodHandler, StreamingMethodHandler } from "../grpc-service"
|
|
import { StreamingResponseHandler } from "../grpc-handler"
|
|
import { registerAllMethods } from "./methods"
|
|
|
|
// Create checkpoints service registry
|
|
const checkpointsService = createServiceRegistry("checkpoints")
|
|
|
|
// Export the method handler types and registration function
|
|
export type CheckpointsMethodHandler = ServiceMethodHandler
|
|
export type CheckpointsStreamingMethodHandler = StreamingMethodHandler
|
|
export const registerMethod = checkpointsService.registerMethod
|
|
|
|
// Export the request handlers
|
|
export const handleCheckpointsServiceRequest = checkpointsService.handleRequest
|
|
export const handleCheckpointsServiceStreamingRequest = checkpointsService.handleStreamingRequest
|
|
export const isStreamingMethod = checkpointsService.isStreamingMethod
|
|
|
|
// Register all checkpoints methods
|
|
registerAllMethods()
|