mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
removed unnecessary .js extension in imports
This commit is contained in:
parent
54ca9dd801
commit
9bd3a641cc
@ -24,7 +24,7 @@ import { Table } from "../../schema-builder/table/Table"
|
||||
import { View } from "../../schema-builder/view/View"
|
||||
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
|
||||
import { InstanceChecker } from "../../util/InstanceChecker"
|
||||
import { UpsertType } from "../types/UpsertType.js"
|
||||
import { UpsertType } from "../types/UpsertType"
|
||||
|
||||
/**
|
||||
* Organizes communication with MongoDB.
|
||||
|
||||
@ -25,7 +25,7 @@ import { View } from "../../schema-builder/view/View"
|
||||
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
|
||||
import { TypeORMError } from "../../error"
|
||||
import { InstanceChecker } from "../../util/InstanceChecker"
|
||||
import { UpsertType } from "../types/UpsertType.js"
|
||||
import { UpsertType } from "../types/UpsertType"
|
||||
|
||||
/**
|
||||
* Organizes communication with Oracle RDBMS.
|
||||
|
||||
@ -25,7 +25,7 @@ import { ReplicationMode } from "../types/ReplicationMode"
|
||||
import { DriverUtils } from "../DriverUtils"
|
||||
import { View } from "../../schema-builder/view/View"
|
||||
import { InstanceChecker } from "../../util/InstanceChecker"
|
||||
import { UpsertType } from "../types/UpsertType.js"
|
||||
import { UpsertType } from "../types/UpsertType"
|
||||
|
||||
/**
|
||||
* Organizes communication with SAP Hana DBMS.
|
||||
|
||||
@ -20,7 +20,7 @@ import { Table } from "../../schema-builder/table/Table"
|
||||
import { View } from "../../schema-builder/view/View"
|
||||
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
|
||||
import { CteCapabilities } from "../types/CteCapabilities"
|
||||
import { UpsertType } from "../types/UpsertType.js"
|
||||
import { UpsertType } from "../types/UpsertType"
|
||||
|
||||
/**
|
||||
* Organizes communication with Spanner DBMS.
|
||||
|
||||
@ -26,7 +26,7 @@ import { View } from "../../schema-builder/view/View"
|
||||
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
|
||||
import { TypeORMError } from "../../error"
|
||||
import { InstanceChecker } from "../../util/InstanceChecker"
|
||||
import { UpsertType } from "../types/UpsertType.js"
|
||||
import { UpsertType } from "../types/UpsertType"
|
||||
|
||||
/**
|
||||
* Organizes communication with SQL Server DBMS.
|
||||
|
||||
@ -3,8 +3,8 @@ import {
|
||||
Entity,
|
||||
ManyToOne,
|
||||
PrimaryGeneratedColumn,
|
||||
} from "../../../../src/index.js"
|
||||
import { ChangeLog } from "./ChangeLog.js"
|
||||
} from "../../../../src/index"
|
||||
import { ChangeLog } from "./ChangeLog"
|
||||
|
||||
@Entity()
|
||||
export class Change<T> {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { OneToMany, ChildEntity } from "../../../../src/index.js"
|
||||
import { Change } from "./Change.js"
|
||||
import { Log } from "./Log.js"
|
||||
import { OneToMany, ChildEntity } from "../../../../src/index"
|
||||
import { Change } from "./Change"
|
||||
import { Log } from "./Log"
|
||||
|
||||
@ChildEntity()
|
||||
export abstract class ChangeLog<T> extends Log {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { ChildEntity } from "../../../../src/index.js"
|
||||
import { ChangeLog } from "./ChangeLog.js"
|
||||
import { ChildEntity } from "../../../../src/index"
|
||||
import { ChangeLog } from "./ChangeLog"
|
||||
|
||||
export class Email {}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ import {
|
||||
Entity,
|
||||
PrimaryGeneratedColumn,
|
||||
TableInheritance,
|
||||
} from "../../../../src/index.js"
|
||||
} from "../../../../src/index"
|
||||
|
||||
@Entity()
|
||||
@TableInheritance({ column: { type: "varchar", name: "type" } })
|
||||
|
||||
@ -4,10 +4,10 @@ import {
|
||||
createTestingConnections,
|
||||
reloadTestingDatabases,
|
||||
} from "../../utils/test-utils"
|
||||
import { DataSource } from "../../../src/index.js"
|
||||
import { Email, EmailChanged } from "./entity/EmailChanged.js"
|
||||
import { Change } from "./entity/Change.js"
|
||||
import { Log } from "./entity/Log.js"
|
||||
import { DataSource } from "../../../src/index"
|
||||
import { Email, EmailChanged } from "./entity/EmailChanged"
|
||||
import { Change } from "./entity/Change"
|
||||
import { Log } from "./entity/Log"
|
||||
|
||||
describe("github issues > #9405 Incorrect subject sorting with multi-inheritance entities", () => {
|
||||
let dataSources: DataSource[]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user