refactor: move chart implementation, types, and export utilities into a dedicated directory

This commit is contained in:
Przemek Więch
2026-07-06 16:56:07 +02:00
parent b3e4a0aabd
commit 689f9f253f
8 changed files with 621 additions and 608 deletions

View File

@@ -1,6 +1,6 @@
import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals';
import * as H from 'history';
import {ChartType} from '../chart';
import {ChartType} from '../chart/chart_types';
import {DataSourceEnum} from '../datasource/data_source';
import {ChartColors, Ids, PlaceDisplay, Sex} from '../sidepanel/config/config';
import {

View File

@@ -1,7 +1,7 @@
import * as H from 'history';
import type {ParsedQuery} from 'query-string';
import {IndiInfo} from 'topola';
import {ChartType} from '../chart';
import {ChartType} from '../chart/chart_types';
import {DataSourceEnum} from '../datasource/data_source';
import {EmbeddedSourceSpec} from '../datasource/embedded';
import {GoogleDriveSourceSpec} from '../datasource/google_drive';