import BaseCommand from './BaseCommand'; import { TGetTableTypesReq, TGetTableTypesResp } from '../../../thrift/TCLIService_types'; import IThriftClient from '../../contracts/IThriftClient'; type Client = Pick; export default class GetTableTypesCommand extends BaseCommand { execute(data: TGetTableTypesReq): Promise { const request = new TGetTableTypesReq(data); return this.executeCommand(request, this.client.GetTableTypes); } }