mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-06 18:47:20 +00:00
refactor: convert /backend to ESM
This commit is contained in:
parent
31d74c05aa
commit
5772e27cda
766 changed files with 3473 additions and 3500 deletions
|
@ -1,10 +1,10 @@
|
|||
import { In, Repository } from "typeorm";
|
||||
import { isAPI } from "../globals";
|
||||
import { MINUTES, SECONDS } from "../utils";
|
||||
import { BaseRepository } from "./BaseRepository";
|
||||
import { cleanupUsernames } from "./cleanup/usernames";
|
||||
import { dataSource } from "./dataSource";
|
||||
import { UsernameHistoryEntry } from "./entities/UsernameHistoryEntry";
|
||||
import { isAPI } from "../globals.js";
|
||||
import { MINUTES, SECONDS } from "../utils.js";
|
||||
import { BaseRepository } from "./BaseRepository.js";
|
||||
import { cleanupUsernames } from "./cleanup/usernames.js";
|
||||
import { dataSource } from "./dataSource.js";
|
||||
import { UsernameHistoryEntry } from "./entities/UsernameHistoryEntry.js";
|
||||
|
||||
const CLEANUP_INTERVAL = 5 * MINUTES;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue