hardlounge/server/command-line/users/index.ts
Max Leiter dd05ee3a65
TypeScript and Vue 3 (#4559)
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
2022-06-18 17:25:21 -07:00

16 lines
422 B
TypeScript

import Config from "../../config";
let add, reset;
if (!Config.values.ldap.enable) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
add = require("./add").default;
// eslint-disable-next-line @typescript-eslint/no-var-requires
reset = require("./reset").default;
}
import list from "./list";
import remove from "./remove";
import edit from "./edit";
export default [list, remove, edit, add, reset];