fix@sdk: types export
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@txtdot/sdk",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "SDK for creating plugins for TxtDot",
|
||||
"main": "dist/lib.js",
|
||||
"types": "dist/lib.d.ts",
|
||||
|
@ -1,3 +1,35 @@
|
||||
import { Engine } from './engine';
|
||||
|
||||
export { Engine };
|
||||
import {
|
||||
EngineParseError,
|
||||
NoHandlerFoundError,
|
||||
TxtDotError,
|
||||
} from './types/errors';
|
||||
|
||||
import {
|
||||
EngineFunction,
|
||||
EngineMatch,
|
||||
Engines,
|
||||
RouteValues,
|
||||
EnginesMatch,
|
||||
HandlerInput,
|
||||
IHandlerOutput,
|
||||
Route,
|
||||
handlerSchema,
|
||||
} from './types/handler';
|
||||
|
||||
export {
|
||||
Engine,
|
||||
EngineParseError,
|
||||
NoHandlerFoundError,
|
||||
TxtDotError,
|
||||
EngineFunction,
|
||||
EngineMatch,
|
||||
Engines,
|
||||
RouteValues,
|
||||
EnginesMatch,
|
||||
HandlerInput,
|
||||
IHandlerOutput,
|
||||
Route,
|
||||
handlerSchema,
|
||||
};
|
||||
|
Reference in New Issue
Block a user