typedserver/ts/plugins.ts

68 lines
1.9 KiB
TypeScript
Raw Normal View History

2023-03-29 12:54:07 +00:00
// node native
2023-03-30 13:15:48 +00:00
import * as http from 'http';
import * as https from 'https';
import * as net from 'net';
2023-03-29 12:54:07 +00:00
import * as path from 'path';
2024-01-09 09:14:06 +00:00
import * as stream from 'stream';
2024-01-07 13:50:14 +00:00
import * as zlib from 'zlib';
2023-03-29 12:54:07 +00:00
2024-01-07 13:50:14 +00:00
export { http, https, net, path, zlib };
2023-03-30 13:15:48 +00:00
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
2023-07-01 10:29:35 +00:00
export { tsclass };
2023-03-29 12:54:07 +00:00
// @apiglobal scope
2023-08-06 15:45:30 +00:00
import * as typedrequest from '@api.global/typedrequest';
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
import * as typedsocket from '@api.global/typedsocket';
2023-03-29 12:54:07 +00:00
2023-07-01 10:29:35 +00:00
export { typedrequest, typedrequestInterfaces, typedsocket };
2023-03-29 12:54:07 +00:00
// @pushrocks scope
2023-08-03 18:45:09 +00:00
import * as lik from '@push.rocks/lik';
import * as smartchok from '@push.rocks/smartchok';
import * as smartdelay from '@push.rocks/smartdelay';
import * as smartfeed from '@push.rocks/smartfeed';
import * as smartfile from '@push.rocks/smartfile';
2024-02-20 16:30:46 +00:00
import * as smartjson from '@push.rocks/smartjson';
2023-08-03 18:45:09 +00:00
import * as smartmanifest from '@push.rocks/smartmanifest';
import * as smartmime from '@push.rocks/smartmime';
import * as smartopen from '@push.rocks/smartopen';
import * as smartpath from '@push.rocks/smartpath';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartrequest from '@push.rocks/smartrequest';
import * as smartrx from '@push.rocks/smartrx';
import * as smartsitemap from '@push.rocks/smartsitemap';
2024-01-08 13:35:34 +00:00
import * as smartstream from '@push.rocks/smartstream';
2023-08-03 18:45:09 +00:00
import * as smarttime from '@push.rocks/smarttime';
2023-03-29 12:54:07 +00:00
export {
2023-03-30 13:15:48 +00:00
lik,
2023-03-29 12:54:07 +00:00
smartchok,
smartdelay,
2023-03-30 13:15:48 +00:00
smartfeed,
2023-03-29 12:54:07 +00:00
smartfile,
2024-02-20 16:30:46 +00:00
smartjson,
2023-03-30 13:15:48 +00:00
smartmanifest,
smartmime,
2023-03-29 12:54:07 +00:00
smartopen,
smartpath,
smartpromise,
2023-03-30 13:15:48 +00:00
smartrequest,
smartsitemap,
2024-01-08 13:35:34 +00:00
smartstream,
2023-03-30 13:15:48 +00:00
smarttime,
2023-03-29 12:54:07 +00:00
smartrx,
};
2023-03-30 13:15:48 +00:00
// express
import bodyParser from 'body-parser';
import cors from 'cors';
import express from 'express';
// @ts-ignore
import expressForceSsl from 'express-force-ssl';
export { bodyParser, cors, express, expressForceSsl };