mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
refactor(core): reorganize superset-core packages into feature-based structure (#38448)
This commit is contained in:
committed by
GitHub
parent
5f0efd2be9
commit
357e35dc62
@@ -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';
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
ThemeProvider,
|
||||
EmotionCacheProvider,
|
||||
createEmotionCache,
|
||||
} from '@apache-superset/core/ui';
|
||||
} from '@apache-superset/core/theme';
|
||||
|
||||
const emotionCache = createEmotionCache({
|
||||
key: 'test',
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user