refactor: convert /backend to ESM
This commit is contained in:
parent
31d74c05aa
commit
5772e27cda
766 changed files with 3473 additions and 3500 deletions
|
@ -1,5 +1,5 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
import { TableForeignKey } from "typeorm/index";
|
||||
import { TableForeignKey } from "typeorm";
|
||||
|
||||
export class AddCaseNotesForeignKey1596994103885 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<any> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
import { TableColumn } from "typeorm/index";
|
||||
import { TableColumn } from "typeorm";
|
||||
|
||||
export class AddLogMessageIdToCases1597015567215 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<any> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
import { Table } from "typeorm/index";
|
||||
import { Table } from "typeorm";
|
||||
|
||||
export class CreateMemberTimezonesTable1597109357201 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<any> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
import { decrypt, encrypt } from "../utils/crypt";
|
||||
import { decrypt, encrypt } from "../utils/crypt.js";
|
||||
|
||||
export class EncryptExistingMessages1600283341726 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<any> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
import { decrypt, encrypt } from "../utils/crypt";
|
||||
import { decrypt, encrypt } from "../utils/crypt.js";
|
||||
|
||||
export class EncryptArchives1600285077890 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<any> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { MigrationInterface, QueryRunner, TableColumn, TableIndex } from "typeorm";
|
||||
import { TableForeignKey } from "typeorm/index";
|
||||
import { TableForeignKey } from "typeorm";
|
||||
|
||||
export class UpdateCounterTriggers1617363975046 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue