mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-07 11:07:19 +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 moment from "moment-timezone";
|
||||
import { Repository } from "typeorm";
|
||||
import { DAYS, DBDateFormat } from "../utils";
|
||||
import { BaseRepository } from "./BaseRepository";
|
||||
import { MuteTypes } from "./MuteTypes";
|
||||
import { dataSource } from "./dataSource";
|
||||
import { Mute } from "./entities/Mute";
|
||||
import { DAYS, DBDateFormat } from "../utils.js";
|
||||
import { BaseRepository } from "./BaseRepository.js";
|
||||
import { MuteTypes } from "./MuteTypes.js";
|
||||
import { dataSource } from "./dataSource.js";
|
||||
import { Mute } from "./entities/Mute.js";
|
||||
|
||||
const OLD_EXPIRED_MUTE_THRESHOLD = 7 * DAYS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue