platformservice/ts/plugins.ts

78 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-02-16 12:28:40 +00:00
// node native
2024-02-16 12:41:04 +00:00
import * as dns from 'dns';
import * as fs from 'fs';
import * as crypto from 'crypto';
import * as net from 'net';
2024-02-16 12:28:40 +00:00
import * as path from 'path';
2024-02-16 12:41:04 +00:00
import * as tls from 'tls';
import * as util from 'util';
2024-02-16 12:28:40 +00:00
export {
2024-02-16 12:41:04 +00:00
dns,
fs,
crypto,
net,
path,
tls,
util,
2024-02-16 12:28:40 +00:00
}
// @serve.zone scope
import * as servezoneInterfaces from '@serve.zone/interfaces';
export {
servezoneInterfaces
}
// @api.global scope
import * as typedrequest from '@api.global/typedrequest';
import * as typedserver from '@api.global/typedserver';
2024-02-16 12:41:04 +00:00
import * as typedsocket from '@api.global/typedsocket';
2024-02-16 12:28:40 +00:00
export {
typedrequest,
typedserver,
2024-02-16 12:41:04 +00:00
typedsocket,
2024-02-16 12:28:40 +00:00
}
// @push.rocks scope
import * as projectinfo from '@push.rocks/projectinfo';
import * as qenv from '@push.rocks/qenv';
import * as smartdata from '@push.rocks/smartdata';
import * as smartfile from '@push.rocks/smartfile';
import * as smartlog from '@push.rocks/smartlog';
import * as smartmail from '@push.rocks/smartmail';
import * as smartpath from '@push.rocks/smartpath';
2024-02-16 12:41:04 +00:00
import * as smartpromise from '@push.rocks/smartpromise';
2024-02-16 12:28:40 +00:00
import * as smartrequest from '@push.rocks/smartrequest';
2024-02-16 12:41:04 +00:00
import * as smartrx from '@push.rocks/smartrx';
2024-02-16 12:28:40 +00:00
2024-02-16 12:41:04 +00:00
export { projectinfo, qenv, smartdata, smartfile, smartlog, smartmail, smartpath, smartpromise, smartrequest, smartrx };
2024-02-16 19:42:26 +00:00
// apiclient.xyz scope
import * as letterxpress from '@apiclient.xyz/letterxpress';
export {
letterxpress,
}
2024-02-16 12:41:04 +00:00
// tsclass scope
import * as tsclass from '@tsclass/tsclass';
export {
tsclass,
}
// third party
import * as mailauth from 'mailauth';
import { dkimSign } from 'mailauth/lib/dkim/sign.js';
import mailparser from 'mailparser';
import * as uuid from 'uuid';
export {
mailauth,
dkimSign,
mailparser,
uuid,
}