refactor(core): reorganize superset-core packages into feature-based structure (#38448)

This commit is contained in:
Michael S. Molina
2026-03-05 17:41:15 -03:00
committed by GitHub
parent 5f0efd2be9
commit 357e35dc62
1182 changed files with 2468 additions and 2054 deletions

View File

@@ -33,7 +33,7 @@ import {
getTimeFormatterForGranularity,
} from '@superset-ui/core';
import TableChart, { sanitizeHeaderId } from '../src/TableChart';
import { GenericDataType } from '@apache-superset/core/api/core';
import { GenericDataType } from '@apache-superset/core/common';
import transformProps from '../src/transformProps';
import DateWithFormatter from '../src/utils/DateWithFormatter';
import testData from './testData';

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { GenericDataType } from '@apache-superset/core/api/core';
import { GenericDataType } from '@apache-superset/core/common';
import { QueryFormData } from '@superset-ui/core';
import {
Dataset,

View File

@@ -24,8 +24,8 @@ import {
ComparisonType,
VizType,
} from '@superset-ui/core';
import { supersetTheme } from '@apache-superset/core/ui';
import { GenericDataType } from '@apache-superset/core/api/core';
import { supersetTheme } from '@apache-superset/core/theme';
import { GenericDataType } from '@apache-superset/core/common';
import { TableChartProps, TableChartFormData } from '../src/types';
const basicFormData: TableChartFormData = {

View File

@@ -21,7 +21,7 @@ import {
ThemeProvider,
EmotionCacheProvider,
createEmotionCache,
} from '@apache-superset/core/ui';
} from '@apache-superset/core/theme';
const emotionCache = createEmotionCache({
key: 'test',

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import { CurrencyFormatter, getNumberFormatter } from '@superset-ui/core';
import { GenericDataType } from '@apache-superset/core/api/core';
import { GenericDataType } from '@apache-superset/core/common';
import { formatColumnValue } from '../../src/utils/formatValue';
import { DataColumnMeta } from '../../src/types';