mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
rename table_model.ts => TableModel.ts (#51659)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
parent
1592ea45b0
commit
fb00a11b5f
@ -2813,6 +2813,19 @@ exports[`better eslint`] = {
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "8"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "9"]
|
||||
],
|
||||
"public/app/core/TableModel.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "3"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "5"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "6"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "7"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "8"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "9"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "10"]
|
||||
],
|
||||
"public/app/core/components/ColorScale/ColorScale.tsx:5381": [
|
||||
[0, 0, 0, "Do not use any type assertions.", "0"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "1"],
|
||||
@ -3274,6 +3287,9 @@ exports[`better eslint`] = {
|
||||
[0, 0, 0, "Do not use any type assertions.", "0"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "1"]
|
||||
],
|
||||
"public/app/core/specs/TableModel.test.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
|
||||
],
|
||||
"public/app/core/specs/backend_srv.test.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
|
||||
@ -3300,9 +3316,6 @@ exports[`better eslint`] = {
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "5"]
|
||||
],
|
||||
"public/app/core/specs/table_model.test.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
|
||||
],
|
||||
"public/app/core/specs/ticks.test.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
|
||||
],
|
||||
@ -3318,19 +3331,6 @@ exports[`better eslint`] = {
|
||||
"public/app/core/store.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
|
||||
],
|
||||
"public/app/core/table_model.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "3"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "5"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "6"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "7"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "8"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "9"],
|
||||
[0, 0, 0, "Do not use any type assertions.", "10"]
|
||||
],
|
||||
"public/app/core/time_series2.ts:5381": [
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
|
||||
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
|
||||
|
@ -1,4 +1,4 @@
|
||||
import TableModel, { mergeTablesIntoModel } from 'app/core/table_model';
|
||||
import TableModel, { mergeTablesIntoModel } from 'app/core/TableModel';
|
||||
|
||||
describe('when sorting table desc', () => {
|
||||
let table: TableModel;
|
@ -12,7 +12,7 @@ import {
|
||||
toDataFrame,
|
||||
} from '@grafana/data';
|
||||
import { GraphDrawStyle, StackingMode } from '@grafana/schema';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
import { ExplorePanelData } from 'app/types';
|
||||
|
||||
import {
|
||||
|
@ -18,11 +18,11 @@ import * as grafanaData from '@grafana/data';
|
||||
import * as grafanaRuntime from '@grafana/runtime';
|
||||
import slateReact from '@grafana/slate-react';
|
||||
import * as grafanaUIraw from '@grafana/ui';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
import config from 'app/core/config';
|
||||
import { appEvents, contextSrv } from 'app/core/core';
|
||||
import { BackendSrv, getBackendSrv } from 'app/core/services/backend_srv';
|
||||
import impressionSrv from 'app/core/services/impression_srv';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TimeSeries from 'app/core/time_series2';
|
||||
import * as flatten from 'app/core/utils/flatten';
|
||||
import kbn from 'app/core/utils/kbn';
|
||||
|
@ -8,7 +8,7 @@ import {
|
||||
MutableDataFrame,
|
||||
PreferredVisualisationType,
|
||||
} from '@grafana/data';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
import flatten from 'app/core/utils/flatten';
|
||||
|
||||
import {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { each, map, includes, flatten, keys } from 'lodash';
|
||||
|
||||
import { FieldType, QueryResultMeta, TimeSeries, TableData } from '@grafana/data';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
|
||||
export default class InfluxSeries {
|
||||
refId?: string;
|
||||
|
@ -2,7 +2,7 @@ import { each, flatten, groupBy, isArray } from 'lodash';
|
||||
|
||||
import { AnnotationEvent, DataFrame, DataQuery, FieldType, QueryResultMeta } from '@grafana/data';
|
||||
import { toDataQueryResponse } from '@grafana/runtime';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
|
||||
import { InfluxQuery } from './types';
|
||||
|
||||
|
@ -2,7 +2,7 @@ import { each } from 'lodash';
|
||||
|
||||
import { ScopedVars, TimeZone } from '@grafana/data';
|
||||
import { getTheme } from '@grafana/ui';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
|
||||
import { TableRenderer } from '../renderer';
|
||||
import { ColumnRender } from '../types';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { findIndex, isObject, map } from 'lodash';
|
||||
|
||||
import { Column, TableData } from '@grafana/data';
|
||||
import TableModel, { mergeTablesIntoModel } from 'app/core/table_model';
|
||||
import TableModel, { mergeTablesIntoModel } from 'app/core/TableModel';
|
||||
import TimeSeries from 'app/core/time_series2';
|
||||
import flatten from 'app/core/utils/flatten';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Column } from '@grafana/data';
|
||||
import TableModel from 'app/core/table_model';
|
||||
import TableModel from 'app/core/TableModel';
|
||||
|
||||
export interface TableTransform {
|
||||
description: string;
|
||||
|
Loading…
Reference in New Issue
Block a user