UNPKG

rpc_ts

Version:

Remote Procedure Calls in TypeScript made simple

19 lines 577 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** Defines the banking service, giving all the methods and the request and response types. */ exports.bankingServiceDefinition = { /** Get the balance for the authenticated user. */ getBalance: { request: {}, response: {}, }, /** * Transfer funds from the authenticated user to another user. The authenticated * user must have sufficient funds. */ transfer: { request: {}, response: {}, }, }; //# sourceMappingURL=service.js.map