Skip to content

Commit 9321df1

Browse files
committed
refactor(masonry): move @types to /src and update imports
Signed-off-by: karan-palan <[email protected]>
1 parent 723bea0 commit 9321df1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

modules/masonry/src/brick/model/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type {
1111
TBrickRenderPropsExpression,
1212
IBrickCompound,
1313
TBrickRenderPropsCompound,
14-
} from '../@types/brick';
14+
} from '../../@types/brick';
1515
import type { TConnectionPoints as TCP } from '../../tree/model/model';
1616
import { generateBrickData } from '../utils/path';
1717
import type { TInputUnion } from '../utils/path';

modules/masonry/src/brick/utils/brickFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// brickFactory.ts
22
import { SimpleBrick, ExpressionBrick } from '../model/model';
33
import CompoundBrick from '../model/model';
4-
import type { TBrickType, TColor, TExtent } from '../@types/brick';
4+
import type { TBrickType, TColor, TExtent } from '../../@types/brick';
55

66
let idCounter = 0;
77
function generateUUID(prefix: string): string {

modules/masonry/src/tree/model/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { IBrick } from '../../brick/@types/brick';
1+
import type { IBrick } from '../../@types/brick';
22

33
// Point type
44
export type TPoint = {

0 commit comments

Comments
 (0)