refactor(gui): linting

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
Pranav C
2021-07-19 16:30:37 +05:30
parent f9508c2d44
commit fa00be39b8
303 changed files with 34924 additions and 31761 deletions

View File

@@ -1,15 +1,15 @@
import RestApi from "@/components/project/spreadsheet/apis/restApi";
import GqlApi from "@/components/project/spreadsheet/apis/gqlApi";
import GrpcApi from "@/components/project/spreadsheet/apis/grpcApi";
import RestApi from '@/components/project/spreadsheet/apis/restApi'
import GqlApi from '@/components/project/spreadsheet/apis/gqlApi'
import GrpcApi from '@/components/project/spreadsheet/apis/grpcApi'
export default class ApiFactory {
static create(type, table, columns, ctx, meta) {
static create (type, table, columns, ctx, meta) {
if (type === 'graphql') {
return new GqlApi(table, columns, meta, ctx,);
return new GqlApi(table, columns, meta, ctx)
} else if (type === 'grpc') {
return new GrpcApi(table, ctx)
} else if (type === 'rest') {
return new RestApi(table, ctx);
return new RestApi(table, ctx)
}
}
}