license import { ModuleRpcCommon } from '../../common' ; export type NumberService = typeof numberServiceDefinition ; /** Defines the banking service, giving all the methods and the request and response types. */ export const numberServiceDefinition = { increment : { request : { } as { value : number ; } , response : { } as { value : number ; } , } , /**
     * An example of a server stream that returns a message at regular intervals.
     */ streamNumbers : { type : ModuleRpcCommon . ServiceMethodType . serverStream , request : { } as { max : number ; sleepMs : number ; } , response : { } as { counter : number ; } , } , } ;