Skip to content

Commit b89b06b

Browse files
authored
feat: export FastestValidatorConverter (spailybot#28)
* feat: export FastestValidatorConverter * feat: export entire Converters module * style: correct code formatting
1 parent 1880031 commit b89b06b

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

src/Converters/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { FastestValidatorConverter } from './FastestValidatorConverter.js';
2+
import { NoopConverter } from './NoopConverter.js';
3+
4+
export default {
5+
FastestValidatorConverter,
6+
NoopConverter
7+
};

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { PathAction } from './objects/PathAction.js';
1212
import { HTTP_METHODS, rawHttpMethod, JOKER_METHOD } from './constants.js';
1313
import type * as MoleculerWebTypes from './types/moleculer-web.js';
1414
import { OA_GENERATE_DOCS_INPUT, OA_GENERATE_DOCS_OUTPUT } from './types/openapi.js';
15+
import Converters from './Converters/index.js';
1516

1617
export * from './types/index.js';
1718

@@ -32,5 +33,6 @@ export {
3233
HTTP_METHODS,
3334
PathAction,
3435
rawHttpMethod,
35-
JOKER_METHOD
36+
JOKER_METHOD,
37+
Converters
3638
};

0 commit comments

Comments
 (0)