rename table_model.ts => TableModel.ts (#51659)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
user10x 2022-08-03 03:33:13 -07:00 committed by GitHub
parent 1592ea45b0
commit fb00a11b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 25 additions and 25 deletions

View File

@ -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"],

View File

@ -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;

View File

@ -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 {

View File

@ -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';

View File

@ -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 {

View File

@ -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;

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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;