Skip to content

Commit 13599e1

Browse files
refactor: move schema reducer, rename types (#419)
1 parent f2a8a5b commit 13599e1

File tree

14 files changed

+54
-51
lines changed

14 files changed

+54
-51
lines changed

src/containers/Tenant/Diagnostics/Describe/Describe.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
setCurrentDescribePath,
1616
getDescribeBatched,
1717
} from '../../../../store/reducers/describe';
18-
import {selectSchemaMergedChildrenPaths} from '../../../../store/reducers/schema';
18+
import {selectSchemaMergedChildrenPaths} from '../../../../store/reducers/schema/schema';
1919
import type {EPathType} from '../../../../types/api/schema';
2020

2121
import {isEntityWithMergedImplementation} from '../../utils/schema';

src/containers/Tenant/Diagnostics/Diagnostics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type {EPathType} from '../../../types/api/schema';
1212
import {useTypedSelector} from '../../../utils/hooks';
1313
import routes, {createHref} from '../../../routes';
1414
import type {TenantDiagnosticsTab, TenantGeneralTab} from '../../../store/reducers/tenant/types';
15-
import {enableAutorefresh, disableAutorefresh} from '../../../store/reducers/schema';
15+
import {enableAutorefresh, disableAutorefresh} from '../../../store/reducers/schema/schema';
1616
import {setTopLevelTab, setDiagnosticsTab} from '../../../store/reducers/tenant/tenant';
1717
import {TENANT_DIAGNOSTICS_TABS_IDS} from '../../../store/reducers/tenant/constants';
1818

src/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from '../../../../../components/InfoViewer/formatters';
88

99
import {useTypedSelector} from '../../../../../utils/hooks';
10-
import {selectSchemaData} from '../../../../../store/reducers/schema';
10+
import {selectSchemaData} from '../../../../../store/reducers/schema/schema';
1111

1212
import {getEntityName} from '../../../utils';
1313

src/containers/Tenant/Diagnostics/Overview/Overview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {
2424
getSchemaBatched,
2525
resetLoadingState,
2626
selectSchemaMergedChildrenPaths,
27-
} from '../../../../store/reducers/schema';
27+
} from '../../../../store/reducers/schema/schema';
2828
import {getTopic} from '../../../../store/reducers/topic';
2929
//@ts-ignore
3030
import {

src/containers/Tenant/Diagnostics/TopShards/TopShards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
setShardsState,
1717
setShardsQueryFilters,
1818
} from '../../../../store/reducers/shardsWorkload';
19-
import {setCurrentSchemaPath, getSchema} from '../../../../store/reducers/schema';
19+
import {setCurrentSchemaPath, getSchema} from '../../../../store/reducers/schema/schema';
2020
import {EShardsWorkloadMode, IShardsWorkloadFilters} from '../../../../types/store/shardsWorkload';
2121

2222
import type {EPathType} from '../../../../types/api/schema';

src/containers/Tenant/ObjectSummary/ObjectSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import {
4646
paneVisibilityToggleReducerCreator,
4747
PaneVisibilityToggleButtons,
4848
} from '../utils/paneVisibilityToggleHelpers';
49-
import {setShowPreview} from '../../../store/reducers/schema';
49+
import {setShowPreview} from '../../../store/reducers/schema/schema';
5050
import {setTopLevelTab} from '../../../store/reducers/tenant/tenant';
5151
import {TENANT_GENERAL_TABS_IDS} from '../../../store/reducers/tenant/constants';
5252

src/containers/Tenant/Preview/Preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {prepareQueryError} from '../../../utils/query';
1515
import {isTableType} from '../utils/schema';
1616
import {AutoFetcher} from '../../../utils/autofetcher';
1717
import EnableFullscreenButton from '../../../components/EnableFullscreenButton/EnableFullscreenButton';
18-
import {setShowPreview} from '../../../store/reducers/schema';
18+
import {setShowPreview} from '../../../store/reducers/schema/schema';
1919

2020
import './Preview.scss';
2121

src/containers/Tenant/QueryEditor/QueryEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
paneVisibilityToggleReducerCreator,
4141
} from '../utils/paneVisibilityToggleHelpers';
4242
import Preview from '../Preview/Preview';
43-
import {setShowPreview} from '../../../store/reducers/schema';
43+
import {setShowPreview} from '../../../store/reducers/schema/schema';
4444

4545
const TABLE_SETTINGS = {
4646
sortable: false,

src/containers/Tenant/Schema/SchemaTree/SchemaTree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {useDispatch} from 'react-redux';
33

44
import {NavigationTree} from 'ydb-ui-components';
55

6-
import {setCurrentSchemaPath, preloadSchemas} from '../../../../store/reducers/schema';
6+
import {setCurrentSchemaPath, preloadSchemas} from '../../../../store/reducers/schema/schema';
77
import type {EPathType, TEvDescribeSchemeResult} from '../../../../types/api/schema';
88

99
import {isChildlessPathType, mapPathTypeToNavigationTreeType} from '../../utils/schema';

src/containers/Tenant/Tenant.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {DEFAULT_IS_TENANT_SUMMARY_COLLAPSED, DEFAULT_SIZE_TENANT_KEY} from '../.
1010
import {useTypedSelector} from '../../utils/hooks';
1111
import routes, {CLUSTER_PAGES, createHref} from '../../routes';
1212
import {setHeader} from '../../store/reducers/header';
13-
import {disableAutorefresh, getSchema, resetLoadingState} from '../../store/reducers/schema';
13+
import {disableAutorefresh, getSchema, resetLoadingState} from '../../store/reducers/schema/schema';
1414
import {getSchemaAcl} from '../../store/reducers/schemaAcl/schemaAcl';
1515
import {getTenantInfo, clearTenant} from '../../store/reducers/tenant/tenant';
1616

0 commit comments

Comments
 (0)