Progress on dynamic imports & operators in fe
This commit is contained in:
@@ -8,7 +8,6 @@ import Joi from "joi";
|
||||
import { JoiPDFFileSchema } from "../wrappers/PdfFileJoi";
|
||||
|
||||
import i18next from "i18next";
|
||||
i18next.loadNamespaces("impose", (err, t) => { if (err) throw err; });
|
||||
|
||||
export class Impose extends Operator {
|
||||
static type = "impose";
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
import { Operator } from "../functions";
|
||||
import i18next from "i18next";
|
||||
|
||||
// TODO: Import other Operators (could make this dynamic)
|
||||
// TODO: Import other Operators (should make this dynamic imports)
|
||||
i18next.loadNamespaces("impose", (err, t) => { if (err) throw err; });
|
||||
import { Impose } from "../functions/impose";
|
||||
|
||||
export const Operators = {
|
||||
Impose: Impose
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user