// node native import * as dns from 'dns'; import * as fs from 'fs'; import * as crypto from 'crypto'; import * as http from 'http'; import * as net from 'net'; import * as os from 'os'; import * as path from 'path'; import * as tls from 'tls'; import * as util from 'util'; export { dns, fs, crypto, http, net, os, path, tls, util, } // @push.rocks scope import * as smartfile from '@push.rocks/smartfile'; import { SmartFs, SmartFsProviderNode } from '@push.rocks/smartfs'; import * as smartlog from '@push.rocks/smartlog'; import * as smartmail from '@push.rocks/smartmail'; import * as smartpath from '@push.rocks/smartpath'; import * as smartrust from '@push.rocks/smartrust'; export const smartfs = new SmartFs(new SmartFsProviderNode()); export { smartfile, SmartFs, smartlog, smartmail, smartpath, smartrust }; // Define SmartLog types for use in error handling export type TLogLevel = 'error' | 'warn' | 'info' | 'success' | 'debug'; // tsclass scope import * as tsclass from '@tsclass/tsclass'; export { tsclass, } // third party import mailparser from 'mailparser'; import * as uuid from 'uuid'; export { mailparser, uuid, }