apps/nestjs-backend/test/aggregation.e2e-spec.ts
File aggregation.e2e-spec.ts
has 502 lines of code (exceeds 300 allowed). Consider refactoring. Open
Open
import type { INestApplication } from '@nestjs/common';
import type { IGroup } from '@teable/core';
import { is, SortFunc, StatisticsFunc } from '@teable/core';
import type { IGroupHeaderPoint, ITableFullVo } from '@teable/openapi';
import { getAggregation, getGroupPoints, getRowCount, GroupPointType } from '@teable/openapi';
Function getViewAggregations
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
tableId: string,
viewId: string,
funcs: StatisticsFunc,
fieldId: string[],
groupBy?: IGroup