wechaty-puppet-service
Version:
Puppet Service for Wechaty
30 lines (28 loc) • 695 B
text/typescript
import {
credentials,
StatusBuilder,
UntypedHandleCall,
Metadata,
UntypedServiceImplementation,
} from '@grpc/grpc-js'
import type {
sendUnaryData,
ServerUnaryCall,
} from '@grpc/grpc-js/build/src/server-call.js'
import type {
CallMetadataGenerator,
} from '@grpc/grpc-js/build/src/call-credentials.js'
import { Status as GrpcStatus } from '@grpc/grpc-js/build/src/constants.js'
export type {
UntypedServiceImplementation,
UntypedHandleCall,
sendUnaryData,
ServerUnaryCall,
CallMetadataGenerator,
}
export {
credentials,
GrpcStatus,
Metadata,
StatusBuilder,
}