import type refactor

This commit is contained in:
Jan Prochazka
2022-11-05 09:23:16 +01:00
parent 435d06ffb9
commit d41b254058
25 changed files with 53 additions and 86 deletions

View File

@@ -1,17 +1,9 @@
import _ from 'lodash';
import {
dumpSqlSelect,
Select,
JoinType,
Condition,
Relation,
mergeConditions,
Source,
ResultField,
Expression,
} from 'dbgate-sqltree';
import { DesignerInfo, DesignerTableInfo, DesignerReferenceInfo, DesignerJoinType } from './types';
import { DesignerComponent } from './DesignerComponentCreator';
import type { Select, JoinType, Condition, ResultField, Expression } from 'dbgate-sqltree';
import { mergeConditions } from 'dbgate-sqltree';
import type { DesignerInfo, DesignerTableInfo } from './types';
import type { DesignerComponent } from './DesignerComponentCreator';
import {
getReferenceConditions,
referenceIsCrossJoin,

View File

@@ -1,4 +1,4 @@
import { DesignerTableInfo } from './types';
import type { DesignerTableInfo } from './types';
export default class DomTableRef {
domTable: Element;

View File

@@ -1,12 +1,6 @@
import _ from 'lodash';
import {
IBoxBounds,
IPoint,
rectangleDistance,
rectangleIntersectArea,
solveOverlapsInIntervalArray,
Vector2D,
} from './designerMath';
import type { IBoxBounds, IPoint } from './designerMath';
import { rectangleDistance, rectangleIntersectArea, solveOverlapsInIntervalArray, Vector2D } from './designerMath';
import { union, intersection } from 'interval-operations';
const MIN_NODE_DISTANCE = 50;