-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
28 lines (23 loc) · 997 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const Many = require('extends-classes');
const StringUDF = require("./string_udf/stringUDF");
const Table = require('./string_udf/table');
const InputValidation = require("./algo/validation/validation");
const ConvertToSymbol = require("./algo/validation/convertsymbol");
const SqlUDF = require('./dbfn/sqlUDF');
const BroadCastMessage = require('./telegram/broadcast');
const Pushlog = require('./telegram/logs');
const QuickTelegramFn = require('./telegram/quickfn');
const BhavCopy = require('./public_api/bhavcopy');
const Cache = require("./misc/cache");
class UDF extends Many(StringUDF, Table, InputValidation, ConvertToSymbol, SqlUDF,
BroadCastMessage, Pushlog, QuickTelegramFn, BhavCopy, Cache) {
constructor(params) {
super(params)
this.params = params;
}
delay = (ms) => new Promise((res) => setTimeout(res, ms))
__call(method, args) {
console.log(`'${method}()'doesn\'t exists!`);
}
}
module.exports = UDF