generated from idrinth-api-bench/project-defaults
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.ts
82 lines (81 loc) · 2.09 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import {
Reporter as R,
} from './src/reporter/reporter.js';
import {
CliReporter as CliR,
} from './src/reporter/console-reporter.js';
import {
CsvReporter as CsvR,
} from './src/reporter/csv-reporter.js';
import {
HtmlReporter as HR,
} from './src/reporter/html-reporter.js';
import {
JsonReporter as JR,
} from './src/reporter/json-reporter.js';
import {
MultiReporter as MR,
} from './src/reporter/multi-reporter.js';
import {
Wrapper as LW,
} from './src/logger/wrapper.js';
import {
WinstonWrapper as WLW,
} from './src/logger/winston-wrapper.js';
import {
PinoWrapper as PLW,
} from './src/logger/pino-wrapper.js';
import {
Logger as L,
} from './src/logger/logger.js';
import {
DurationFloatsToInts as DFTIRM,
} from './src/report-modifier/duration-floats-to-ints.js';
import {
DurationsTimeScaleReduction as DTSRRM,
} from './src/report-modifier/durations-time-scale-reduction.js';
import {
ReportModifier as RM,
} from './src/report-modifier/report-modifier.js';
import {
Storage as S,
} from './src/storage/storage.js';
import {
MysqlStorage as MYSQLS,
} from './src/storage/mysql-storage.js';
import {
MssqlStorage as MSSQLS,
} from './src/storage/mssql-storage.js';
import {
PostgresStorage as PGSQL,
} from './src/storage/postgres-storage.js';
import {
Job as J,
} from './src/routes/job.js';
import {
Task as T,
} from './src/routes/task.js';
import {
run as r,
} from './src/main.js';
export type Reporter = R;
export const CliReporter = CliR;
export const CsvReporter = CsvR;
export const HtmlReporter = HR;
export const JsonReporter = JR;
export const MultiReporter = MR;
export type Logger = L;
export const WinstonLoggerWrapper = WLW;
export const PinoLoggerWrapper = PLW;
export const LoggerWrapper = LW;
export type ReportModifier = RM;
export type DurationFloatsToIntsReportModifier = DFTIRM;
export type DurationsTimeScaleReductionReportModifier = DTSRRM;
export type Storage = S;
export const MysqlStorage = MYSQLS;
export const MssqlStorage = MSSQLS;
export const PostgresStorage = PGSQL;
export type Job = J;
export type Task = T;
export const run = r;
export default r;