index.d.ts
664 Bytes
export class Utils {
/**
* @description Testasdfasdfasdf
* @param {String} str
* @returns {String}
*/
static printf(str) { }
}
export const ENV = {
DB_URL : "",
DB_NAME : "",
DB_PORT : "",
DB_USERNAME : "",
DB_PASSWORD : ""
}
export const ConnectMongoInstance ={};
class ServiceData{
body:JSON;
headers:JSON;
}
class Processor {
process(sv:ServiceData) :JSON {}
}
export const AppApi = {
initial : Function(),
addPostMethod : async function(uri:string,processor:Processor):void{} ,
addGetMethod : async function(uri:string,processor:Processor):void{} ,
startApp : function():void{}
};