mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-17 15:15:02 +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,9 +1,11 @@
|
|||
import { YAMLException } from "js-yaml";
|
||||
import { validateGuildConfig } from "./configValidator";
|
||||
import { Configs } from "./data/Configs";
|
||||
import { connect, disconnect } from "./data/db";
|
||||
import { loadYamlSafely } from "./utils/loadYamlSafely";
|
||||
import { ObjectAliasError } from "./utils/validateNoObjectAliases";
|
||||
import jsYaml from "js-yaml";
|
||||
import { validateGuildConfig } from "./configValidator.js";
|
||||
import { Configs } from "./data/Configs.js";
|
||||
import { connect, disconnect } from "./data/db.js";
|
||||
import { loadYamlSafely } from "./utils/loadYamlSafely.js";
|
||||
import { ObjectAliasError } from "./utils/validateNoObjectAliases.js";
|
||||
|
||||
const YAMLException = jsYaml.YAMLException;
|
||||
|
||||
function writeError(key: string, error: string) {
|
||||
const indented = error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue