typedserver/ts/plugins.ts

68 lines
1.9 KiB
TypeScript
Raw Normal View History

2023-03-29 14:54:07 +02:00
// node native
2023-03-30 15:15:48 +02:00
import * as http from 'http';
import * as https from 'https';
import * as net from 'net';
2023-03-29 14:54:07 +02:00
import * as path from 'path';
2024-01-09 10:14:06 +01:00
import * as stream from 'stream';
2024-01-07 14:50:14 +01:00
import * as zlib from 'zlib';
2023-03-29 14:54:07 +02:00
2024-01-07 14:50:14 +01:00
export { http, https, net, path, zlib };
2023-03-30 15:15:48 +02:00
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
2023-07-01 12:29:35 +02:00
export { tsclass };
2023-03-29 14:54:07 +02:00
// @apiglobal scope
2023-08-06 17:45:30 +02: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 14:54:07 +02:00
2023-07-01 12:29:35 +02:00
export { typedrequest, typedrequestInterfaces, typedsocket };
2023-03-29 14:54:07 +02:00
// @pushrocks scope
2023-08-03 20:45:09 +02: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 17:30:46 +01:00
import * as smartjson from '@push.rocks/smartjson';
2023-08-03 20:45:09 +02: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 14:35:34 +01:00
import * as smartstream from '@push.rocks/smartstream';
2023-08-03 20:45:09 +02:00
import * as smarttime from '@push.rocks/smarttime';
2023-03-29 14:54:07 +02:00
export {
2023-03-30 15:15:48 +02:00
lik,
2023-03-29 14:54:07 +02:00
smartchok,
smartdelay,
2023-03-30 15:15:48 +02:00
smartfeed,
2023-03-29 14:54:07 +02:00
smartfile,
2024-02-20 17:30:46 +01:00
smartjson,
2023-03-30 15:15:48 +02:00
smartmanifest,
smartmime,
2023-03-29 14:54:07 +02:00
smartopen,
smartpath,
smartpromise,
2023-03-30 15:15:48 +02:00
smartrequest,
smartsitemap,
2024-01-08 14:35:34 +01:00
smartstream,
2023-03-30 15:15:48 +02:00
smarttime,
2023-03-29 14:54:07 +02:00
smartrx,
};
2023-03-30 15:15:48 +02: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 };