Use aggregate operations in the widget configuration instead of extended aggregate operations (#15248)
- Use aggregate operations in the widget configuration instead of extended aggregate operations - Use aggregate operation from generated graphql in the frontend
This commit is contained in:
-24
@@ -1,24 +0,0 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
import { AggregateOperations } from './aggregate-operations.constant';
|
||||
|
||||
export enum ExtendedAggregateOperations {
|
||||
MIN = AggregateOperations.MIN,
|
||||
MAX = AggregateOperations.MAX,
|
||||
AVG = AggregateOperations.AVG,
|
||||
SUM = AggregateOperations.SUM,
|
||||
COUNT = AggregateOperations.COUNT,
|
||||
COUNT_UNIQUE_VALUES = AggregateOperations.COUNT_UNIQUE_VALUES,
|
||||
COUNT_EMPTY = AggregateOperations.COUNT_EMPTY,
|
||||
COUNT_NOT_EMPTY = AggregateOperations.COUNT_NOT_EMPTY,
|
||||
COUNT_TRUE = AggregateOperations.COUNT_TRUE,
|
||||
COUNT_FALSE = AggregateOperations.COUNT_FALSE,
|
||||
PERCENTAGE_EMPTY = AggregateOperations.PERCENTAGE_EMPTY,
|
||||
PERCENTAGE_NOT_EMPTY = AggregateOperations.PERCENTAGE_NOT_EMPTY,
|
||||
EARLIEST = 'EARLIEST',
|
||||
LATEST = 'LATEST',
|
||||
}
|
||||
|
||||
registerEnumType(ExtendedAggregateOperations, {
|
||||
name: 'ExtendedAggregateOperations',
|
||||
});
|
||||
Reference in New Issue
Block a user