mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
3c6e0e8ef8
* Add and configure eslint-plugin-import * Fix the lint:ts npm command * Autofix + prettier all the files * Manually fix remaining files * Move jquery code in jest-setup to external file to safely reorder imports * Resolve issue caused by circular dependencies within Prometheus * Update .betterer.results * Fix missing // @ts-ignore * ignore iconBundle.ts * Fix missing // @ts-ignore
56 lines
3.3 KiB
TypeScript
56 lines
3.3 KiB
TypeScript
import { TransformerRegistryItem } from '@grafana/data';
|
|
|
|
import { filterByValueTransformRegistryItem } from './FilterByValueTransformer/FilterByValueTransformerEditor';
|
|
import { heatmapTransformRegistryItem } from './calculateHeatmap/HeatmapTransformerEditor';
|
|
import { configFromQueryTransformRegistryItem } from './configFromQuery/ConfigFromQueryTransformerEditor';
|
|
import { calculateFieldTransformRegistryItem } from './editors/CalculateFieldTransformerEditor';
|
|
import { concatenateTransformRegistryItem } from './editors/ConcatenateTransformerEditor';
|
|
import { convertFieldTypeTransformRegistryItem } from './editors/ConvertFieldTypeTransformerEditor';
|
|
import { filterFieldsByNameTransformRegistryItem } from './editors/FilterByNameTransformerEditor';
|
|
import { filterFramesByRefIdTransformRegistryItem } from './editors/FilterByRefIdTransformerEditor';
|
|
import { groupByTransformRegistryItem } from './editors/GroupByTransformerEditor';
|
|
import { groupingToMatrixTransformRegistryItem } from './editors/GroupingToMatrixTransformerEditor';
|
|
import { histogramTransformRegistryItem } from './editors/HistogramTransformerEditor';
|
|
import { labelsToFieldsTransformerRegistryItem } from './editors/LabelsToFieldsTransformerEditor';
|
|
import { mergeTransformerRegistryItem } from './editors/MergeTransformerEditor';
|
|
import { organizeFieldsTransformRegistryItem } from './editors/OrganizeFieldsTransformerEditor';
|
|
import { reduceTransformRegistryItem } from './editors/ReduceTransformerEditor';
|
|
import { renameByRegexTransformRegistryItem } from './editors/RenameByRegexTransformer';
|
|
import { seriesToFieldsTransformerRegistryItem } from './editors/SeriesToFieldsTransformerEditor';
|
|
import { seriesToRowsTransformerRegistryItem } from './editors/SeriesToRowsTransformerEditor';
|
|
import { sortByTransformRegistryItem } from './editors/SortByTransformerEditor';
|
|
import { extractFieldsTransformRegistryItem } from './extractFields/ExtractFieldsTransformerEditor';
|
|
import { fieldLookupTransformRegistryItem } from './lookupGazetteer/FieldLookupTransformerEditor';
|
|
import { prepareTimeseriesTransformerRegistryItem } from './prepareTimeSeries/PrepareTimeSeriesEditor';
|
|
import { rowsToFieldsTransformRegistryItem } from './rowsToFields/RowsToFieldsTransformerEditor';
|
|
import { spatialTransformRegistryItem } from './spatial/SpatialTransformerEditor';
|
|
|
|
export const getStandardTransformers = (): Array<TransformerRegistryItem<any>> => {
|
|
return [
|
|
reduceTransformRegistryItem,
|
|
filterFieldsByNameTransformRegistryItem,
|
|
renameByRegexTransformRegistryItem,
|
|
filterFramesByRefIdTransformRegistryItem,
|
|
filterByValueTransformRegistryItem,
|
|
organizeFieldsTransformRegistryItem,
|
|
seriesToFieldsTransformerRegistryItem,
|
|
seriesToRowsTransformerRegistryItem,
|
|
concatenateTransformRegistryItem,
|
|
calculateFieldTransformRegistryItem,
|
|
labelsToFieldsTransformerRegistryItem,
|
|
groupByTransformRegistryItem,
|
|
sortByTransformRegistryItem,
|
|
mergeTransformerRegistryItem,
|
|
histogramTransformRegistryItem,
|
|
rowsToFieldsTransformRegistryItem,
|
|
configFromQueryTransformRegistryItem,
|
|
prepareTimeseriesTransformerRegistryItem,
|
|
convertFieldTypeTransformRegistryItem,
|
|
spatialTransformRegistryItem,
|
|
fieldLookupTransformRegistryItem,
|
|
extractFieldsTransformRegistryItem,
|
|
heatmapTransformRegistryItem,
|
|
groupingToMatrixTransformRegistryItem,
|
|
];
|
|
};
|