1import { TransformerRegistryItem } from '@grafana/data';
2import { reduceTransformRegistryItem } from '../components/TransformersUI/ReduceTransformerEditor';
3import { filterFieldsByNameTransformRegistryItem } from '../components/TransformersUI/FilterByNameTransformerEditor';
4import { filterFramesByRefIdTransformRegistryItem } from '../components/TransformersUI/FilterByRefIdTransformerEditor';
5import { filterByValueTransformRegistryItem } from '../components/TransformersUI/FilterByValueTransformer/FilterByValueTransformerEditor';
6import { organizeFieldsTransformRegistryItem } from '../components/TransformersUI/OrganizeFieldsTransformerEditor';
7import { seriesToFieldsTransformerRegistryItem } from '../components/TransformersUI/SeriesToFieldsTransformerEditor';
8import { calculateFieldTransformRegistryItem } from '../components/TransformersUI/CalculateFieldTransformerEditor';
9import { labelsToFieldsTransformerRegistryItem } from '../components/TransformersUI/LabelsToFieldsTransformerEditor';
10import { groupByTransformRegistryItem } from '../components/TransformersUI/GroupByTransformerEditor';
11import { sortByTransformRegistryItem } from '../components/TransformersUI/SortByTransformerEditor';
12import { mergeTransformerRegistryItem } from '../components/TransformersUI/MergeTransformerEditor';
13import { seriesToRowsTransformerRegistryItem } from '../components/TransformersUI/SeriesToRowsTransformerEditor';
14import { concatenateTransformRegistryItem } from '../components/TransformersUI/ConcatenateTransformerEditor';
15import { renameByRegexTransformRegistryItem } from '../components/TransformersUI/RenameByRegexTransformer';
16import { histogramTransformRegistryItem } from '../components/TransformersUI/HistogramTransformerEditor';
17import { rowsToFieldsTransformRegistryItem } from '../components/TransformersUI/rowsToFields/RowsToFieldsTransformerEditor';
18import { configFromQueryTransformRegistryItem } from '../components/TransformersUI/configFromQuery/ConfigFromQueryTransformerEditor';
19import { prepareTimeseriesTransformerRegistryItem } from '../components/TransformersUI/prepareTimeSeries/PrepareTimeSeriesEditor';
20import { convertFieldTypeTransformRegistryItem } from '../components/TransformersUI/ConvertFieldTypeTransformerEditor';
21import { fieldLookupTransformRegistryItem } from '../components/TransformersUI/lookupGazetteer/FieldLookupTransformerEditor';
22import { extractFieldsTransformRegistryItem } from '../components/TransformersUI/extractFields/ExtractFieldsTransformerEditor';
23
24export const getStandardTransformers = (): Array<TransformerRegistryItem<any>> => {
25  return [
26    reduceTransformRegistryItem,
27    filterFieldsByNameTransformRegistryItem,
28    renameByRegexTransformRegistryItem,
29    filterFramesByRefIdTransformRegistryItem,
30    filterByValueTransformRegistryItem,
31    organizeFieldsTransformRegistryItem,
32    seriesToFieldsTransformerRegistryItem,
33    seriesToRowsTransformerRegistryItem,
34    concatenateTransformRegistryItem,
35    calculateFieldTransformRegistryItem,
36    labelsToFieldsTransformerRegistryItem,
37    groupByTransformRegistryItem,
38    sortByTransformRegistryItem,
39    mergeTransformerRegistryItem,
40    histogramTransformRegistryItem,
41    rowsToFieldsTransformRegistryItem,
42    configFromQueryTransformRegistryItem,
43    prepareTimeseriesTransformerRegistryItem,
44    convertFieldTypeTransformRegistryItem,
45    fieldLookupTransformRegistryItem,
46    extractFieldsTransformRegistryItem,
47  ];
48};
49