mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
refactor(core): Forbid raw enums (no-changelog)
This commit is contained in:
@@ -29,16 +29,16 @@ type Aggregation = {
|
||||
|
||||
type Aggregations = Aggregation[];
|
||||
|
||||
enum AggregationDisplayNames {
|
||||
append = 'appended_',
|
||||
average = 'average_',
|
||||
concatenate = 'concatenated_',
|
||||
count = 'count_',
|
||||
countUnique = 'unique_count_',
|
||||
max = 'max_',
|
||||
min = 'min_',
|
||||
sum = 'sum_',
|
||||
}
|
||||
const AggregationDisplayNames = {
|
||||
append: 'appended_',
|
||||
average: 'average_',
|
||||
concatenate: 'concatenated_',
|
||||
count: 'count_',
|
||||
countUnique: 'unique_count_',
|
||||
max: 'max_',
|
||||
min: 'min_',
|
||||
sum: 'sum_',
|
||||
};
|
||||
|
||||
const NUMERICAL_AGGREGATIONS = ['average', 'max', 'min', 'sum'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user