in src/coreApi/converters/toCoreFunctionMetadata.ts [47:62]
function toCoreBindingDataType(
data: rpc.BindingInfo.DataType | null | undefined
): coreTypes.RpcBindingDataType | null | undefined {
switch (data) {
case rpc.BindingInfo.DataType.binary:
return 'binary';
case rpc.BindingInfo.DataType.stream:
return 'stream';
case rpc.BindingInfo.DataType.string:
return 'string';
case rpc.BindingInfo.DataType.undefined:
return 'undefined';
default:
return handleDefaultEnumCase(data, 'RpcBindingDataType');
}
}