Skip to content

Commit 97b21b2

Browse files
committed
Refactor import statements across query builder files to improve readability by consolidating imports from "../types".
1 parent 3b5f293 commit 97b21b2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/query-builder/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SqlExecutor } from "../types/common";
1+
import { SqlExecutor } from "../types";
22

33
export abstract class BaseQueryBuilder<T> {
44
protected constructor(

src/query-builder/insert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SqlExecutor } from "../types/common";
1+
import { SqlExecutor } from "../types";
22
import { toSnakeCase } from "../utils";
33
import { BaseQueryBuilder } from "./base";
44

src/query-builder/update.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { SqlExecutor } from "../types/common";
2-
import { UpdatePayload, WhereCondition } from "../types/query";
1+
import { SqlExecutor } from "../types";
2+
import { UpdatePayload, WhereCondition } from "../types";
33
import { buildSetClause, buildWhereClause } from "../utils";
44
import { BaseQueryBuilder } from "./base";
55

src/utils/clauses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Join, OrderBy, SimpleWhere, WhereCondition } from "../types/query";
1+
import { Join, OrderBy, SimpleWhere, WhereCondition } from "../types";
22
import { toSnakeCase } from "./formatting";
33

44
/**

0 commit comments

Comments
 (0)