chore: upgrade moduleResolution to Node16 (#9269)

This commit is contained in:
Harminder Virk
2024-09-24 17:19:20 +05:30
committed by GitHub
parent d721282600
commit 9e711720dd
216 changed files with 981 additions and 2439 deletions
@@ -28,6 +28,11 @@ const taxRateIdIndexStatement = createPsqlIndexStatementHelper({
columns: "tax_rate_id",
where: "deleted_at IS NULL",
})
const deletedAtIndexStatement = createPsqlIndexStatementHelper({
tableName: TABLE_NAME,
columns: "deleted_at",
where: "deleted_at IS NOT NULL",
})
const referenceIdIndexName = "IDX_tax_rate_rule_reference_id"
const referenceIdIndexStatement = createPsqlIndexStatementHelper({
@@ -96,11 +101,7 @@ export default class TaxRateRule {
@Property({ columnType: "text", nullable: true })
created_by: string | null = null
@createPsqlIndexStatementHelper({
tableName: TABLE_NAME,
columns: "deleted_at",
where: "deleted_at IS NOT NULL",
}).MikroORMIndex()
@deletedAtIndexStatement.MikroORMIndex()
@Property({ columnType: "timestamptz", nullable: true })
deleted_at: Date | null = null
+6 -5
View File
@@ -42,6 +42,11 @@ const taxRegionIdIndexStatement = createPsqlIndexStatementHelper({
columns: "tax_region_id",
where: "deleted_at IS NULL",
})
const deletedAtIndexStatement = createPsqlIndexStatementHelper({
tableName: TABLE_NAME,
columns: "deleted_at",
where: "deleted_at IS NOT NULL",
})
@singleDefaultRegionIndexStatement.MikroORMIndex()
@Entity({ tableName: TABLE_NAME })
@@ -107,11 +112,7 @@ export default class TaxRate {
@Property({ columnType: "text", nullable: true })
created_by: string | null = null
@createPsqlIndexStatementHelper({
tableName: TABLE_NAME,
columns: "deleted_at",
where: "deleted_at IS NOT NULL",
}).MikroORMIndex()
@deletedAtIndexStatement.MikroORMIndex()
@Property({ columnType: "timestamptz", nullable: true })
deleted_at: Date | null = null
@@ -38,6 +38,11 @@ const countryCodeProvinceIndexStatement = createPsqlIndexStatementHelper({
unique: true,
where: "deleted_at IS NULL",
})
const deletedAtIndexStatement = createPsqlIndexStatementHelper({
tableName: TABLE_NAME,
columns: "deleted_at",
where: "deleted_at IS NOT NULL",
})
const countryCodeNullableProvinceIndexStatement =
createPsqlIndexStatementHelper({
@@ -132,11 +137,7 @@ export default class TaxRegion {
@Property({ columnType: "text", nullable: true })
created_by: string | null = null
@createPsqlIndexStatementHelper({
tableName: TABLE_NAME,
columns: "deleted_at",
where: "deleted_at IS NOT NULL",
}).MikroORMIndex()
@deletedAtIndexStatement.MikroORMIndex()
@Property({ columnType: "timestamptz", nullable: true })
deleted_at: Date | null = null