quidproquo-dev-server 0.0.254 → 0.0.256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventAutoRespondActionProcessor.js +31 -31
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventGetRecordsActionProcessor.js +34 -34
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventGetStorySessionActionProcessor.js +46 -46
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventMatchStoryActionProcessor.js +53 -53
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/api/getEventTransformResponseResultActionProcessor.js +58 -58
- package/lib/commonjs/actionProcessor/core/event/express/api/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/api/index.js +21 -21
- package/lib/commonjs/actionProcessor/core/event/express/api/types.d.ts +8 -8
- package/lib/commonjs/actionProcessor/core/event/express/api/types.js +2 -2
- package/lib/commonjs/actionProcessor/core/event/express/index.d.ts +1 -1
- package/lib/commonjs/actionProcessor/core/event/express/index.js +17 -17
- package/lib/commonjs/actionProcessor/core/event/index.d.ts +4 -4
- package/lib/commonjs/actionProcessor/core/event/index.js +20 -20
- package/lib/commonjs/actionProcessor/core/event/node/index.d.ts +1 -1
- package/lib/commonjs/actionProcessor/core/event/node/index.js +17 -17
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventAutoRespondActionProcessor.js +24 -24
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventGetRecordsActionProcessor.js +28 -28
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventGetStorySessionActionProcessor.js +24 -24
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventMatchStoryActionProcessor.js +33 -33
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/getEventTransformResponseResultActionProcessor.js +30 -30
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/index.js +21 -21
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/types.d.ts +11 -11
- package/lib/commonjs/actionProcessor/core/event/node/serviceFunction/types.js +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/getEventAutoRespondActionProcessor.js +29 -29
- package/lib/commonjs/actionProcessor/core/event/queue/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/getEventGetRecordsActionProcessor.js +31 -31
- package/lib/commonjs/actionProcessor/core/event/queue/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/getEventGetStorySessionActionProcessor.js +25 -24
- package/lib/commonjs/actionProcessor/core/event/queue/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/getEventMatchStoryActionProcessor.js +42 -42
- package/lib/commonjs/actionProcessor/core/event/queue/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/getEventTransformResponseResultActionProcessor.js +26 -26
- package/lib/commonjs/actionProcessor/core/event/queue/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/queue/index.js +21 -21
- package/lib/commonjs/actionProcessor/core/event/queue/types.d.ts +15 -15
- package/lib/commonjs/actionProcessor/core/event/queue/types.js +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/index.d.ts +1 -1
- package/lib/commonjs/actionProcessor/core/event/ws/index.js +17 -17
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventAutoRespondActionProcessor.js +24 -24
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventGetRecordsActionProcessor.js +53 -53
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventGetStorySessionActionProcessor.js +24 -24
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventMatchStoryActionProcessor.js +41 -41
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/getEventTransformResponseResultActionProcessor.js +29 -29
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/index.js +21 -21
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/types.d.ts +8 -8
- package/lib/commonjs/actionProcessor/core/event/ws/websocket/types.js +2 -2
- package/lib/commonjs/actionProcessor/core/eventBus/getEventBusSendMessagesActionProcessor.d.ts +10 -10
- package/lib/commonjs/actionProcessor/core/eventBus/getEventBusSendMessagesActionProcessor.js +43 -43
- package/lib/commonjs/actionProcessor/core/eventBus/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/eventBus/index.js +17 -17
- package/lib/commonjs/actionProcessor/core/getCoreActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/getCoreActionProcessor.js +20 -20
- package/lib/commonjs/actionProcessor/core/graphDatabaseOverride/getGraphDatabaseExecuteOpenCypherQueryActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/graphDatabaseOverride/getGraphDatabaseExecuteOpenCypherQueryActionProcessor.js +38 -38
- package/lib/commonjs/actionProcessor/core/graphDatabaseOverride/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/graphDatabaseOverride/index.js +17 -17
- package/lib/commonjs/actionProcessor/core/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/index.js +18 -18
- package/lib/commonjs/actionProcessor/core/log/getLogCreateActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/log/getLogCreateActionProcessor.js +44 -44
- package/lib/commonjs/actionProcessor/core/log/getLogDisableEventHistoryActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/log/getLogDisableEventHistoryActionProcessor.js +25 -25
- package/lib/commonjs/actionProcessor/core/log/getLogTemplateLiteralActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/log/getLogTemplateLiteralActionProcessor.js +30 -30
- package/lib/commonjs/actionProcessor/core/log/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/log/index.js +19 -19
- package/lib/commonjs/actionProcessor/core/queue/getQueueSendMessageActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/queue/getQueueSendMessageActionProcessor.js +46 -46
- package/lib/commonjs/actionProcessor/core/queue/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/core/queue/index.js +17 -17
- package/lib/commonjs/actionProcessor/index.d.ts +4 -4
- package/lib/commonjs/actionProcessor/index.js +37 -37
- package/lib/commonjs/actionProcessor/webserver/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/webserver/index.js +18 -18
- package/lib/commonjs/actionProcessor/webserver/serviceFunctionOverride/getServiceFunctionExecuteActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/webserver/serviceFunctionOverride/getServiceFunctionExecuteActionProcessor.js +41 -41
- package/lib/commonjs/actionProcessor/webserver/serviceFunctionOverride/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/webserver/serviceFunctionOverride/index.js +17 -17
- package/lib/commonjs/actionProcessor/webserver/websocket/getWebsocketSendMessageActionProcessor.d.ts +2 -2
- package/lib/commonjs/actionProcessor/webserver/websocket/getWebsocketSendMessageActionProcessor.js +35 -35
- package/lib/commonjs/actionProcessor/webserver/websocket/index.d.ts +2 -2
- package/lib/commonjs/actionProcessor/webserver/websocket/index.js +17 -17
- package/lib/commonjs/allServiceConfig.d.ts +3 -3
- package/lib/commonjs/allServiceConfig.js +42 -43
- package/lib/commonjs/config/index.d.ts +1 -1
- package/lib/commonjs/config/index.js +17 -17
- package/lib/commonjs/config/settings/defineDevServerConfig.d.ts +6 -6
- package/lib/commonjs/config/settings/defineDevServerConfig.js +21 -21
- package/lib/commonjs/config/settings/index.d.ts +1 -1
- package/lib/commonjs/config/settings/index.js +17 -17
- package/lib/commonjs/entry/serviceFunction/runCypherQuery.d.ts +3 -3
- package/lib/commonjs/entry/serviceFunction/runCypherQuery.js +8 -9
- package/lib/commonjs/implementations/apiImplementation.d.ts +2 -2
- package/lib/commonjs/implementations/apiImplementation.js +145 -145
- package/lib/commonjs/implementations/eventBusImplementation.d.ts +2 -2
- package/lib/commonjs/implementations/eventBusImplementation.js +73 -73
- package/lib/commonjs/implementations/index.d.ts +5 -5
- package/lib/commonjs/implementations/index.js +21 -21
- package/lib/commonjs/implementations/queueImplementation.d.ts +2 -2
- package/lib/commonjs/implementations/queueImplementation.js +116 -95
- package/lib/commonjs/implementations/serviceFunctionImplementation.d.ts +2 -2
- package/lib/commonjs/implementations/serviceFunctionImplementation.js +34 -34
- package/lib/commonjs/implementations/webSocket/index.d.ts +2 -2
- package/lib/commonjs/implementations/webSocket/index.js +18 -18
- package/lib/commonjs/implementations/webSocket/types/WsEvent.d.ts +12 -13
- package/lib/commonjs/implementations/webSocket/types/WsEvent.js +2 -2
- package/lib/commonjs/implementations/webSocket/types/index.d.ts +1 -1
- package/lib/commonjs/implementations/webSocket/types/index.js +17 -17
- package/lib/commonjs/implementations/webSocket/webSocketImplementation.d.ts +3 -3
- package/lib/commonjs/implementations/webSocket/webSocketImplementation.js +136 -136
- package/lib/commonjs/index.d.ts +3 -3
- package/lib/commonjs/index.js +19 -19
- package/lib/commonjs/logic/eventBus.d.ts +10 -11
- package/lib/commonjs/logic/eventBus.js +49 -49
- package/lib/commonjs/logic/index.d.ts +2 -2
- package/lib/commonjs/logic/index.js +18 -18
- package/lib/commonjs/logic/processEvent.d.ts +2 -2
- package/lib/commonjs/logic/processEvent.js +30 -30
- package/lib/commonjs/main.d.ts +5 -5
- package/lib/commonjs/main.js +55 -55
- package/lib/commonjs/types/DevServerConfig.d.ts +14 -14
- package/lib/commonjs/types/DevServerConfig.js +2 -2
- package/lib/commonjs/types/ExpressEvent.d.ts +26 -26
- package/lib/commonjs/types/ExpressEvent.js +2 -2
- package/lib/commonjs/types/index.d.ts +2 -2
- package/lib/commonjs/types/index.js +18 -18
- package/lib/esm/actionProcessor/core/event/express/api/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/express/api/getEventAutoRespondActionProcessor.js +16 -16
- package/lib/esm/actionProcessor/core/event/express/api/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/express/api/getEventGetRecordsActionProcessor.js +19 -19
- package/lib/esm/actionProcessor/core/event/express/api/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/express/api/getEventGetStorySessionActionProcessor.js +36 -36
- package/lib/esm/actionProcessor/core/event/express/api/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/express/api/getEventMatchStoryActionProcessor.js +38 -38
- package/lib/esm/actionProcessor/core/event/express/api/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/express/api/getEventTransformResponseResultActionProcessor.js +46 -46
- package/lib/esm/actionProcessor/core/event/express/api/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/express/api/index.js +12 -12
- package/lib/esm/actionProcessor/core/event/express/api/types.d.ts +8 -8
- package/lib/esm/actionProcessor/core/event/express/api/types.js +1 -1
- package/lib/esm/actionProcessor/core/event/express/index.d.ts +1 -1
- package/lib/esm/actionProcessor/core/event/express/index.js +1 -1
- package/lib/esm/actionProcessor/core/event/index.d.ts +4 -4
- package/lib/esm/actionProcessor/core/event/index.js +4 -4
- package/lib/esm/actionProcessor/core/event/node/index.d.ts +1 -1
- package/lib/esm/actionProcessor/core/event/node/index.js +1 -1
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventAutoRespondActionProcessor.js +9 -9
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventGetRecordsActionProcessor.js +13 -13
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventGetStorySessionActionProcessor.js +9 -9
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventMatchStoryActionProcessor.js +18 -18
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/getEventTransformResponseResultActionProcessor.js +15 -15
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/index.js +12 -12
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/types.d.ts +11 -11
- package/lib/esm/actionProcessor/core/event/node/serviceFunction/types.js +1 -1
- package/lib/esm/actionProcessor/core/event/queue/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/queue/getEventAutoRespondActionProcessor.js +14 -14
- package/lib/esm/actionProcessor/core/event/queue/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/queue/getEventGetRecordsActionProcessor.js +16 -16
- package/lib/esm/actionProcessor/core/event/queue/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/queue/getEventGetStorySessionActionProcessor.js +13 -9
- package/lib/esm/actionProcessor/core/event/queue/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/queue/getEventMatchStoryActionProcessor.js +27 -27
- package/lib/esm/actionProcessor/core/event/queue/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/queue/getEventTransformResponseResultActionProcessor.js +11 -11
- package/lib/esm/actionProcessor/core/event/queue/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/queue/index.js +12 -12
- package/lib/esm/actionProcessor/core/event/queue/types.d.ts +15 -15
- package/lib/esm/actionProcessor/core/event/queue/types.js +1 -1
- package/lib/esm/actionProcessor/core/event/ws/index.d.ts +1 -1
- package/lib/esm/actionProcessor/core/event/ws/index.js +1 -1
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventAutoRespondActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventAutoRespondActionProcessor.js +9 -9
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventGetRecordsActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventGetRecordsActionProcessor.js +38 -38
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventGetStorySessionActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventGetStorySessionActionProcessor.js +9 -9
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventMatchStoryActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventMatchStoryActionProcessor.js +26 -26
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventTransformResponseResultActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/ws/websocket/getEventTransformResponseResultActionProcessor.js +14 -14
- package/lib/esm/actionProcessor/core/event/ws/websocket/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/event/ws/websocket/index.js +12 -12
- package/lib/esm/actionProcessor/core/event/ws/websocket/types.d.ts +8 -8
- package/lib/esm/actionProcessor/core/event/ws/websocket/types.js +1 -1
- package/lib/esm/actionProcessor/core/eventBus/getEventBusSendMessagesActionProcessor.d.ts +10 -10
- package/lib/esm/actionProcessor/core/eventBus/getEventBusSendMessagesActionProcessor.js +30 -30
- package/lib/esm/actionProcessor/core/eventBus/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/eventBus/index.js +4 -4
- package/lib/esm/actionProcessor/core/getCoreActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/getCoreActionProcessor.js +10 -10
- package/lib/esm/actionProcessor/core/graphDatabaseOverride/getGraphDatabaseExecuteOpenCypherQueryActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/graphDatabaseOverride/getGraphDatabaseExecuteOpenCypherQueryActionProcessor.js +25 -25
- package/lib/esm/actionProcessor/core/graphDatabaseOverride/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/graphDatabaseOverride/index.js +4 -4
- package/lib/esm/actionProcessor/core/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/index.js +2 -2
- package/lib/esm/actionProcessor/core/log/getLogCreateActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/log/getLogCreateActionProcessor.js +26 -26
- package/lib/esm/actionProcessor/core/log/getLogDisableEventHistoryActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/log/getLogDisableEventHistoryActionProcessor.js +10 -10
- package/lib/esm/actionProcessor/core/log/getLogTemplateLiteralActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/log/getLogTemplateLiteralActionProcessor.js +12 -12
- package/lib/esm/actionProcessor/core/log/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/log/index.js +8 -8
- package/lib/esm/actionProcessor/core/queue/getQueueSendMessageActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/core/queue/getQueueSendMessageActionProcessor.js +33 -33
- package/lib/esm/actionProcessor/core/queue/index.d.ts +2 -2
- package/lib/esm/actionProcessor/core/queue/index.js +4 -4
- package/lib/esm/actionProcessor/index.d.ts +4 -4
- package/lib/esm/actionProcessor/index.js +18 -18
- package/lib/esm/actionProcessor/webserver/index.d.ts +2 -2
- package/lib/esm/actionProcessor/webserver/index.js +6 -6
- package/lib/esm/actionProcessor/webserver/serviceFunctionOverride/getServiceFunctionExecuteActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/webserver/serviceFunctionOverride/getServiceFunctionExecuteActionProcessor.js +29 -29
- package/lib/esm/actionProcessor/webserver/serviceFunctionOverride/index.d.ts +2 -2
- package/lib/esm/actionProcessor/webserver/serviceFunctionOverride/index.js +4 -4
- package/lib/esm/actionProcessor/webserver/websocket/getWebsocketSendMessageActionProcessor.d.ts +2 -2
- package/lib/esm/actionProcessor/webserver/websocket/getWebsocketSendMessageActionProcessor.js +19 -19
- package/lib/esm/actionProcessor/webserver/websocket/index.d.ts +2 -2
- package/lib/esm/actionProcessor/webserver/websocket/index.js +4 -4
- package/lib/esm/allServiceConfig.d.ts +3 -3
- package/lib/esm/allServiceConfig.js +39 -39
- package/lib/esm/config/index.d.ts +1 -1
- package/lib/esm/config/index.js +1 -1
- package/lib/esm/config/settings/defineDevServerConfig.d.ts +6 -6
- package/lib/esm/config/settings/defineDevServerConfig.js +16 -16
- package/lib/esm/config/settings/index.d.ts +1 -1
- package/lib/esm/config/settings/index.js +1 -1
- package/lib/esm/entry/serviceFunction/runCypherQuery.d.ts +3 -3
- package/lib/esm/entry/serviceFunction/runCypherQuery.js +5 -5
- package/lib/esm/implementations/apiImplementation.d.ts +2 -2
- package/lib/esm/implementations/apiImplementation.js +129 -129
- package/lib/esm/implementations/eventBusImplementation.d.ts +2 -2
- package/lib/esm/implementations/eventBusImplementation.js +60 -60
- package/lib/esm/implementations/index.d.ts +5 -5
- package/lib/esm/implementations/index.js +5 -5
- package/lib/esm/implementations/queueImplementation.d.ts +2 -2
- package/lib/esm/implementations/queueImplementation.js +99 -78
- package/lib/esm/implementations/serviceFunctionImplementation.d.ts +2 -2
- package/lib/esm/implementations/serviceFunctionImplementation.js +21 -21
- package/lib/esm/implementations/webSocket/index.d.ts +2 -2
- package/lib/esm/implementations/webSocket/index.js +2 -2
- package/lib/esm/implementations/webSocket/types/WsEvent.d.ts +12 -13
- package/lib/esm/implementations/webSocket/types/WsEvent.js +1 -1
- package/lib/esm/implementations/webSocket/types/index.d.ts +1 -1
- package/lib/esm/implementations/webSocket/types/index.js +1 -1
- package/lib/esm/implementations/webSocket/webSocketImplementation.d.ts +3 -3
- package/lib/esm/implementations/webSocket/webSocketImplementation.js +125 -125
- package/lib/esm/index.d.ts +3 -3
- package/lib/esm/index.js +3 -3
- package/lib/esm/logic/eventBus.d.ts +10 -11
- package/lib/esm/logic/eventBus.js +34 -34
- package/lib/esm/logic/index.d.ts +2 -2
- package/lib/esm/logic/index.js +2 -2
- package/lib/esm/logic/processEvent.d.ts +2 -2
- package/lib/esm/logic/processEvent.js +20 -20
- package/lib/esm/main.d.ts +5 -5
- package/lib/esm/main.js +30 -30
- package/lib/esm/types/DevServerConfig.d.ts +14 -14
- package/lib/esm/types/DevServerConfig.js +1 -1
- package/lib/esm/types/ExpressEvent.d.ts +26 -26
- package/lib/esm/types/ExpressEvent.js +1 -1
- package/lib/esm/types/index.d.ts +2 -2
- package/lib/esm/types/index.js +2 -2
- package/package.json +7 -7
package/lib/commonjs/actionProcessor/core/event/express/api/getEventAutoRespondActionProcessor.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
-
export declare const getEventAutoRespondActionProcessor: ActionProcessorListResolver;
|
|
1
|
+
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
+
export declare const getEventAutoRespondActionProcessor: ActionProcessorListResolver;
|
package/lib/commonjs/actionProcessor/core/event/express/api/getEventAutoRespondActionProcessor.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getEventAutoRespondActionProcessor = void 0;
|
|
13
|
-
const quidproquo_core_1 = require("quidproquo-core");
|
|
14
|
-
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
15
|
-
const getProcessAutoRespond = (qpqConfig) => (
|
|
16
|
-
if (qpqEventRecord.method === 'OPTIONS') {
|
|
17
|
-
return (0, quidproquo_core_1.actionResult)({
|
|
18
|
-
status: 200,
|
|
19
|
-
isBase64Encoded: false,
|
|
20
|
-
body: '',
|
|
21
|
-
headers: quidproquo_webserver_1.qpqWebServerUtils.getCorsHeaders(qpqConfig, matchResult.config || {}, qpqEventRecord.headers),
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return (0, quidproquo_core_1.actionResult)(null);
|
|
25
|
-
});
|
|
26
|
-
const getEventAutoRespondActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
27
|
-
return ({
|
|
28
|
-
[quidproquo_core_1.EventActionType.AutoRespond]: getProcessAutoRespond(qpqConfig),
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
exports.getEventAutoRespondActionProcessor = getEventAutoRespondActionProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getEventAutoRespondActionProcessor = void 0;
|
|
13
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
14
|
+
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
15
|
+
const getProcessAutoRespond = (qpqConfig) => (_a) => __awaiter(void 0, [_a], void 0, function* ({ qpqEventRecord, matchResult }) {
|
|
16
|
+
if (qpqEventRecord.method === 'OPTIONS') {
|
|
17
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
18
|
+
status: 200,
|
|
19
|
+
isBase64Encoded: false,
|
|
20
|
+
body: '',
|
|
21
|
+
headers: quidproquo_webserver_1.qpqWebServerUtils.getCorsHeaders(qpqConfig, matchResult.config || {}, qpqEventRecord.headers),
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return (0, quidproquo_core_1.actionResult)(null);
|
|
25
|
+
});
|
|
26
|
+
const getEventAutoRespondActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
27
|
+
return ({
|
|
28
|
+
[quidproquo_core_1.EventActionType.AutoRespond]: getProcessAutoRespond(qpqConfig),
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
exports.getEventAutoRespondActionProcessor = getEventAutoRespondActionProcessor;
|
package/lib/commonjs/actionProcessor/core/event/express/api/getEventGetRecordsActionProcessor.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
-
export declare const getEventGetRecordsActionProcessor: ActionProcessorListResolver;
|
|
1
|
+
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
+
export declare const getEventGetRecordsActionProcessor: ActionProcessorListResolver;
|
package/lib/commonjs/actionProcessor/core/event/express/api/getEventGetRecordsActionProcessor.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getEventGetRecordsActionProcessor = void 0;
|
|
13
|
-
const quidproquo_core_1 = require("quidproquo-core");
|
|
14
|
-
const getProcessGetRecords = (_qpqConfig) => (
|
|
15
|
-
const path = expressEvent.path || '';
|
|
16
|
-
const internalEventRecord = {
|
|
17
|
-
path,
|
|
18
|
-
query: expressEvent.query,
|
|
19
|
-
body: expressEvent.body,
|
|
20
|
-
headers: expressEvent.headers,
|
|
21
|
-
method: expressEvent.method,
|
|
22
|
-
correlation: expressEvent.correlation,
|
|
23
|
-
sourceIp: expressEvent.ip,
|
|
24
|
-
isBase64Encoded: expressEvent.isBase64Encoded,
|
|
25
|
-
files: expressEvent.files,
|
|
26
|
-
};
|
|
27
|
-
return (0, quidproquo_core_1.actionResult)([internalEventRecord]);
|
|
28
|
-
});
|
|
29
|
-
const getEventGetRecordsActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
30
|
-
return ({
|
|
31
|
-
[quidproquo_core_1.EventActionType.GetRecords]: getProcessGetRecords(qpqConfig),
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
exports.getEventGetRecordsActionProcessor = getEventGetRecordsActionProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getEventGetRecordsActionProcessor = void 0;
|
|
13
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
14
|
+
const getProcessGetRecords = (_qpqConfig) => (_a) => __awaiter(void 0, [_a], void 0, function* ({ eventParams: [expressEvent] }) {
|
|
15
|
+
const path = expressEvent.path || '';
|
|
16
|
+
const internalEventRecord = {
|
|
17
|
+
path,
|
|
18
|
+
query: expressEvent.query,
|
|
19
|
+
body: expressEvent.body,
|
|
20
|
+
headers: expressEvent.headers,
|
|
21
|
+
method: expressEvent.method,
|
|
22
|
+
correlation: expressEvent.correlation,
|
|
23
|
+
sourceIp: expressEvent.ip,
|
|
24
|
+
isBase64Encoded: expressEvent.isBase64Encoded,
|
|
25
|
+
files: expressEvent.files,
|
|
26
|
+
};
|
|
27
|
+
return (0, quidproquo_core_1.actionResult)([internalEventRecord]);
|
|
28
|
+
});
|
|
29
|
+
const getEventGetRecordsActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
30
|
+
return ({
|
|
31
|
+
[quidproquo_core_1.EventActionType.GetRecords]: getProcessGetRecords(qpqConfig),
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
exports.getEventGetRecordsActionProcessor = getEventGetRecordsActionProcessor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
-
export declare const getEventGetStorySessionActionProcessor: ActionProcessorListResolver;
|
|
1
|
+
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
+
export declare const getEventGetStorySessionActionProcessor: ActionProcessorListResolver;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getEventGetStorySessionActionProcessor = void 0;
|
|
13
|
-
const quidproquo_actionprocessor_awslambda_1 = require("quidproquo-actionprocessor-awslambda");
|
|
14
|
-
const quidproquo_core_1 = require("quidproquo-core");
|
|
15
|
-
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
16
|
-
const getProcessGetStorySession = (qpqConfig) => {
|
|
17
|
-
return (
|
|
18
|
-
var
|
|
19
|
-
const accessToken = quidproquo_webserver_1.qpqWebServerUtils.getAccessTokenFromHeaders(qpqEventRecord.headers);
|
|
20
|
-
if (!accessToken) {
|
|
21
|
-
return (0, quidproquo_core_1.actionResult)(void 0);
|
|
22
|
-
}
|
|
23
|
-
// if this endpoint has no auth settings, BUT we do have an access token
|
|
24
|
-
// then we want to just attempt to extract info for logs, but we will say that its
|
|
25
|
-
// wasValid = false
|
|
26
|
-
if (!((
|
|
27
|
-
// If this endpoint is unauthenticated, then we will just decode it, and say it wasnt valid, for logs
|
|
28
|
-
const info = quidproquo_webserver_1.qpqWebServerUtils.decodeJWT(accessToken);
|
|
29
|
-
return (0, quidproquo_core_1.actionResult)(Object.assign(Object.assign({}, session), { decodedAccessToken: {
|
|
30
|
-
exp: (info === null || info === void 0 ? void 0 : info.exp) || 0,
|
|
31
|
-
userDirectory: '',
|
|
32
|
-
userId: (info === null || info === void 0 ? void 0 : info.sub) || (info === null || info === void 0 ? void 0 : info.id) || (info === null || info === void 0 ? void 0 : info.userId) || (info === null || info === void 0 ? void 0 : info.username) || '',
|
|
33
|
-
username: (info === null || info === void 0 ? void 0 : info.username) || (info === null || info === void 0 ? void 0 : info.userId) || (info === null || info === void 0 ? void 0 : info.sub) || (info === null || info === void 0 ? void 0 : info.id) || '',
|
|
34
|
-
wasValid: false,
|
|
35
|
-
} }));
|
|
36
|
-
}
|
|
37
|
-
const decodedAccessToken = yield (0, quidproquo_actionprocessor_awslambda_1.decodeAccessToken)(matchStoryResult.config.routeAuthSettings.userDirectoryName, qpqConfig, accessToken, true);
|
|
38
|
-
return (0, quidproquo_core_1.actionResult)(Object.assign(Object.assign({}, session), { decodedAccessToken }));
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
const getEventGetStorySessionActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
|
-
return ({
|
|
43
|
-
[quidproquo_core_1.EventActionType.GetStorySession]: getProcessGetStorySession(qpqConfig),
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
exports.getEventGetStorySessionActionProcessor = getEventGetStorySessionActionProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getEventGetStorySessionActionProcessor = void 0;
|
|
13
|
+
const quidproquo_actionprocessor_awslambda_1 = require("quidproquo-actionprocessor-awslambda");
|
|
14
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
15
|
+
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
16
|
+
const getProcessGetStorySession = (qpqConfig) => {
|
|
17
|
+
return (_a, session_1) => __awaiter(void 0, [_a, session_1], void 0, function* ({ matchStoryResult, qpqEventRecord }, session) {
|
|
18
|
+
var _b, _c;
|
|
19
|
+
const accessToken = quidproquo_webserver_1.qpqWebServerUtils.getAccessTokenFromHeaders(qpqEventRecord.headers);
|
|
20
|
+
if (!accessToken) {
|
|
21
|
+
return (0, quidproquo_core_1.actionResult)(void 0);
|
|
22
|
+
}
|
|
23
|
+
// if this endpoint has no auth settings, BUT we do have an access token
|
|
24
|
+
// then we want to just attempt to extract info for logs, but we will say that its
|
|
25
|
+
// wasValid = false
|
|
26
|
+
if (!((_c = (_b = matchStoryResult.config) === null || _b === void 0 ? void 0 : _b.routeAuthSettings) === null || _c === void 0 ? void 0 : _c.userDirectoryName)) {
|
|
27
|
+
// If this endpoint is unauthenticated, then we will just decode it, and say it wasnt valid, for logs
|
|
28
|
+
const info = quidproquo_webserver_1.qpqWebServerUtils.decodeJWT(accessToken);
|
|
29
|
+
return (0, quidproquo_core_1.actionResult)(Object.assign(Object.assign({}, session), { decodedAccessToken: {
|
|
30
|
+
exp: (info === null || info === void 0 ? void 0 : info.exp) || 0,
|
|
31
|
+
userDirectory: '',
|
|
32
|
+
userId: (info === null || info === void 0 ? void 0 : info.sub) || (info === null || info === void 0 ? void 0 : info.id) || (info === null || info === void 0 ? void 0 : info.userId) || (info === null || info === void 0 ? void 0 : info.username) || '',
|
|
33
|
+
username: (info === null || info === void 0 ? void 0 : info.username) || (info === null || info === void 0 ? void 0 : info.userId) || (info === null || info === void 0 ? void 0 : info.sub) || (info === null || info === void 0 ? void 0 : info.id) || '',
|
|
34
|
+
wasValid: false,
|
|
35
|
+
} }));
|
|
36
|
+
}
|
|
37
|
+
const decodedAccessToken = yield (0, quidproquo_actionprocessor_awslambda_1.decodeAccessToken)(matchStoryResult.config.routeAuthSettings.userDirectoryName, qpqConfig, accessToken, true);
|
|
38
|
+
return (0, quidproquo_core_1.actionResult)(Object.assign(Object.assign({}, session), { decodedAccessToken }));
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
const getEventGetStorySessionActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
|
+
return ({
|
|
43
|
+
[quidproquo_core_1.EventActionType.GetStorySession]: getProcessGetStorySession(qpqConfig),
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
exports.getEventGetStorySessionActionProcessor = getEventGetStorySessionActionProcessor;
|
package/lib/commonjs/actionProcessor/core/event/express/api/getEventMatchStoryActionProcessor.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
-
export declare const getEventMatchStoryActionProcessor: ActionProcessorListResolver;
|
|
1
|
+
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
+
export declare const getEventMatchStoryActionProcessor: ActionProcessorListResolver;
|
package/lib/commonjs/actionProcessor/core/event/express/api/getEventMatchStoryActionProcessor.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getEventMatchStoryActionProcessor = void 0;
|
|
13
|
-
const quidproquo_actionprocessor_awslambda_1 = require("quidproquo-actionprocessor-awslambda");
|
|
14
|
-
const quidproquo_core_1 = require("quidproquo-core");
|
|
15
|
-
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
16
|
-
const getProcessMatchStory = (qpqConfig) => {
|
|
17
|
-
const routes = quidproquo_webserver_1.qpqWebServerUtils.getAllRoutes(qpqConfig);
|
|
18
|
-
return (
|
|
19
|
-
// Sort the routes by string length
|
|
20
|
-
// Note: We may need to filter variable routes out {} as the variables are length independent
|
|
21
|
-
const sortedRoutes = routes
|
|
22
|
-
.filter((r) => r.method === qpqEventRecord.method || qpqEventRecord.method === 'OPTIONS')
|
|
23
|
-
.sort((a, b) => {
|
|
24
|
-
if (a.path.length < b.path.length)
|
|
25
|
-
return -1;
|
|
26
|
-
if (a.path.length > b.path.length)
|
|
27
|
-
return 1;
|
|
28
|
-
return 0;
|
|
29
|
-
});
|
|
30
|
-
// Find the most relevant match
|
|
31
|
-
const matchedRoute = sortedRoutes
|
|
32
|
-
.map((r) => ({
|
|
33
|
-
match: quidproquo_actionprocessor_awslambda_1.awsLambdaUtils.matchUrl(r.path, qpqEventRecord.path),
|
|
34
|
-
route: r,
|
|
35
|
-
}))
|
|
36
|
-
.find((m) => m.match.didMatch);
|
|
37
|
-
if (!matchedRoute) {
|
|
38
|
-
return (0, quidproquo_core_1.actionResultError)(quidproquo_core_1.ErrorTypeEnum.NotFound, `route not found [${qpqEventRecord.path}] - [${quidproquo_webserver_1.qpqWebServerUtils.getHeaderValue('user-agent', qpqEventRecord.headers)}]`);
|
|
39
|
-
}
|
|
40
|
-
return (0, quidproquo_core_1.actionResult)({
|
|
41
|
-
runtime: matchedRoute.route.runtime,
|
|
42
|
-
runtimeOptions: matchedRoute.match.params || {},
|
|
43
|
-
// TODO: Make this aware of the API that we are eventing
|
|
44
|
-
config: quidproquo_webserver_1.qpqWebServerUtils.mergeAllRouteOptions('api', matchedRoute.route, qpqConfig),
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
const getEventMatchStoryActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
49
|
-
return ({
|
|
50
|
-
[quidproquo_core_1.EventActionType.MatchStory]: getProcessMatchStory(qpqConfig),
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
exports.getEventMatchStoryActionProcessor = getEventMatchStoryActionProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getEventMatchStoryActionProcessor = void 0;
|
|
13
|
+
const quidproquo_actionprocessor_awslambda_1 = require("quidproquo-actionprocessor-awslambda");
|
|
14
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
15
|
+
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
16
|
+
const getProcessMatchStory = (qpqConfig) => {
|
|
17
|
+
const routes = quidproquo_webserver_1.qpqWebServerUtils.getAllRoutes(qpqConfig);
|
|
18
|
+
return (_a) => __awaiter(void 0, [_a], void 0, function* ({ qpqEventRecord }) {
|
|
19
|
+
// Sort the routes by string length
|
|
20
|
+
// Note: We may need to filter variable routes out {} as the variables are length independent
|
|
21
|
+
const sortedRoutes = routes
|
|
22
|
+
.filter((r) => r.method === qpqEventRecord.method || qpqEventRecord.method === 'OPTIONS')
|
|
23
|
+
.sort((a, b) => {
|
|
24
|
+
if (a.path.length < b.path.length)
|
|
25
|
+
return -1;
|
|
26
|
+
if (a.path.length > b.path.length)
|
|
27
|
+
return 1;
|
|
28
|
+
return 0;
|
|
29
|
+
});
|
|
30
|
+
// Find the most relevant match
|
|
31
|
+
const matchedRoute = sortedRoutes
|
|
32
|
+
.map((r) => ({
|
|
33
|
+
match: quidproquo_actionprocessor_awslambda_1.awsLambdaUtils.matchUrl(r.path, qpqEventRecord.path),
|
|
34
|
+
route: r,
|
|
35
|
+
}))
|
|
36
|
+
.find((m) => m.match.didMatch);
|
|
37
|
+
if (!matchedRoute) {
|
|
38
|
+
return (0, quidproquo_core_1.actionResultError)(quidproquo_core_1.ErrorTypeEnum.NotFound, `route not found [${qpqEventRecord.path}] - [${quidproquo_webserver_1.qpqWebServerUtils.getHeaderValue('user-agent', qpqEventRecord.headers)}]`);
|
|
39
|
+
}
|
|
40
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
41
|
+
runtime: matchedRoute.route.runtime,
|
|
42
|
+
runtimeOptions: matchedRoute.match.params || {},
|
|
43
|
+
// TODO: Make this aware of the API that we are eventing
|
|
44
|
+
config: quidproquo_webserver_1.qpqWebServerUtils.mergeAllRouteOptions('api', matchedRoute.route, qpqConfig),
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
const getEventMatchStoryActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
49
|
+
return ({
|
|
50
|
+
[quidproquo_core_1.EventActionType.MatchStory]: getProcessMatchStory(qpqConfig),
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
exports.getEventMatchStoryActionProcessor = getEventMatchStoryActionProcessor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
-
export declare const getEventTransformResponseResultActionProcessor: ActionProcessorListResolver;
|
|
1
|
+
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
+
export declare const getEventTransformResponseResultActionProcessor: ActionProcessorListResolver;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getEventTransformResponseResultActionProcessor = void 0;
|
|
13
|
-
const quidproquo_core_1 = require("quidproquo-core");
|
|
14
|
-
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
15
|
-
const ErrorTypeHttpResponseMap = {
|
|
16
|
-
[quidproquo_core_1.ErrorTypeEnum.BadRequest]: 400,
|
|
17
|
-
[quidproquo_core_1.ErrorTypeEnum.Unauthorized]: 401,
|
|
18
|
-
[quidproquo_core_1.ErrorTypeEnum.PaymentRequired]: 402,
|
|
19
|
-
[quidproquo_core_1.ErrorTypeEnum.Forbidden]: 403,
|
|
20
|
-
[quidproquo_core_1.ErrorTypeEnum.NotFound]: 404,
|
|
21
|
-
[quidproquo_core_1.ErrorTypeEnum.TimeOut]: 408,
|
|
22
|
-
[quidproquo_core_1.ErrorTypeEnum.Conflict]: 409,
|
|
23
|
-
[quidproquo_core_1.ErrorTypeEnum.UnsupportedMediaType]: 415,
|
|
24
|
-
[quidproquo_core_1.ErrorTypeEnum.OutOfResources]: 500,
|
|
25
|
-
[quidproquo_core_1.ErrorTypeEnum.GenericError]: 500,
|
|
26
|
-
[quidproquo_core_1.ErrorTypeEnum.NotImplemented]: 501,
|
|
27
|
-
[quidproquo_core_1.ErrorTypeEnum.NoContent]: 204,
|
|
28
|
-
[quidproquo_core_1.ErrorTypeEnum.Invalid]: 422,
|
|
29
|
-
};
|
|
30
|
-
const getResponseFromErrorResult = (error) => {
|
|
31
|
-
const statusCode = ErrorTypeHttpResponseMap[error.errorType] || 500;
|
|
32
|
-
return quidproquo_webserver_1.qpqWebServerUtils.toJsonEventResponse({
|
|
33
|
-
errorType: error.errorType,
|
|
34
|
-
errorText: error.errorText,
|
|
35
|
-
}, statusCode);
|
|
36
|
-
};
|
|
37
|
-
const getProcessTransformResponseResult = (qpqConfig) =>
|
|
38
|
-
// We might need to JSON.stringify the body.
|
|
39
|
-
(
|
|
40
|
-
const [record] = qpqEventRecordResponses;
|
|
41
|
-
const [expressEvent] = eventParams;
|
|
42
|
-
// If we have an error, we need to transform it to a response, otherwise we can just use the record as is
|
|
43
|
-
const successRecord = record.success ? record.result : getResponseFromErrorResult(record.error);
|
|
44
|
-
const recordHeaders = successRecord.headers || {};
|
|
45
|
-
const headers = Object.assign(Object.assign({}, quidproquo_webserver_1.qpqWebServerUtils.getCorsHeaders(qpqConfig, {}, expressEvent.headers)), recordHeaders);
|
|
46
|
-
return (0, quidproquo_core_1.actionResult)({
|
|
47
|
-
statusCode: successRecord.status,
|
|
48
|
-
body: successRecord.body || '',
|
|
49
|
-
isBase64Encoded: successRecord.isBase64Encoded,
|
|
50
|
-
headers,
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
const getEventTransformResponseResultActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
54
|
-
return ({
|
|
55
|
-
[quidproquo_core_1.EventActionType.TransformResponseResult]: getProcessTransformResponseResult(qpqConfig),
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
exports.getEventTransformResponseResultActionProcessor = getEventTransformResponseResultActionProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getEventTransformResponseResultActionProcessor = void 0;
|
|
13
|
+
const quidproquo_core_1 = require("quidproquo-core");
|
|
14
|
+
const quidproquo_webserver_1 = require("quidproquo-webserver");
|
|
15
|
+
const ErrorTypeHttpResponseMap = {
|
|
16
|
+
[quidproquo_core_1.ErrorTypeEnum.BadRequest]: 400,
|
|
17
|
+
[quidproquo_core_1.ErrorTypeEnum.Unauthorized]: 401,
|
|
18
|
+
[quidproquo_core_1.ErrorTypeEnum.PaymentRequired]: 402,
|
|
19
|
+
[quidproquo_core_1.ErrorTypeEnum.Forbidden]: 403,
|
|
20
|
+
[quidproquo_core_1.ErrorTypeEnum.NotFound]: 404,
|
|
21
|
+
[quidproquo_core_1.ErrorTypeEnum.TimeOut]: 408,
|
|
22
|
+
[quidproquo_core_1.ErrorTypeEnum.Conflict]: 409,
|
|
23
|
+
[quidproquo_core_1.ErrorTypeEnum.UnsupportedMediaType]: 415,
|
|
24
|
+
[quidproquo_core_1.ErrorTypeEnum.OutOfResources]: 500,
|
|
25
|
+
[quidproquo_core_1.ErrorTypeEnum.GenericError]: 500,
|
|
26
|
+
[quidproquo_core_1.ErrorTypeEnum.NotImplemented]: 501,
|
|
27
|
+
[quidproquo_core_1.ErrorTypeEnum.NoContent]: 204,
|
|
28
|
+
[quidproquo_core_1.ErrorTypeEnum.Invalid]: 422,
|
|
29
|
+
};
|
|
30
|
+
const getResponseFromErrorResult = (error) => {
|
|
31
|
+
const statusCode = ErrorTypeHttpResponseMap[error.errorType] || 500;
|
|
32
|
+
return quidproquo_webserver_1.qpqWebServerUtils.toJsonEventResponse({
|
|
33
|
+
errorType: error.errorType,
|
|
34
|
+
errorText: error.errorText,
|
|
35
|
+
}, statusCode);
|
|
36
|
+
};
|
|
37
|
+
const getProcessTransformResponseResult = (qpqConfig) =>
|
|
38
|
+
// We might need to JSON.stringify the body.
|
|
39
|
+
(_a) => __awaiter(void 0, [_a], void 0, function* ({ eventParams, qpqEventRecordResponses }) {
|
|
40
|
+
const [record] = qpqEventRecordResponses;
|
|
41
|
+
const [expressEvent] = eventParams;
|
|
42
|
+
// If we have an error, we need to transform it to a response, otherwise we can just use the record as is
|
|
43
|
+
const successRecord = record.success ? record.result : getResponseFromErrorResult(record.error);
|
|
44
|
+
const recordHeaders = successRecord.headers || {};
|
|
45
|
+
const headers = Object.assign(Object.assign({}, quidproquo_webserver_1.qpqWebServerUtils.getCorsHeaders(qpqConfig, {}, expressEvent.headers)), recordHeaders);
|
|
46
|
+
return (0, quidproquo_core_1.actionResult)({
|
|
47
|
+
statusCode: successRecord.status,
|
|
48
|
+
body: successRecord.body || '',
|
|
49
|
+
isBase64Encoded: successRecord.isBase64Encoded,
|
|
50
|
+
headers,
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
const getEventTransformResponseResultActionProcessor = (qpqConfig) => __awaiter(void 0, void 0, void 0, function* () {
|
|
54
|
+
return ({
|
|
55
|
+
[quidproquo_core_1.EventActionType.TransformResponseResult]: getProcessTransformResponseResult(qpqConfig),
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
exports.getEventTransformResponseResultActionProcessor = getEventTransformResponseResultActionProcessor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
-
export declare const getExpressApiEventEventProcessor: ActionProcessorListResolver;
|
|
1
|
+
import { ActionProcessorListResolver } from 'quidproquo-core';
|
|
2
|
+
export declare const getExpressApiEventEventProcessor: ActionProcessorListResolver;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.getExpressApiEventEventProcessor = void 0;
|
|
13
|
-
const getEventAutoRespondActionProcessor_1 = require("./getEventAutoRespondActionProcessor");
|
|
14
|
-
const getEventGetRecordsActionProcessor_1 = require("./getEventGetRecordsActionProcessor");
|
|
15
|
-
const getEventGetStorySessionActionProcessor_1 = require("./getEventGetStorySessionActionProcessor");
|
|
16
|
-
const getEventMatchStoryActionProcessor_1 = require("./getEventMatchStoryActionProcessor");
|
|
17
|
-
const getEventTransformResponseResultActionProcessor_1 = require("./getEventTransformResponseResultActionProcessor");
|
|
18
|
-
const getExpressApiEventEventProcessor = (qpqConfig, dynamicModuleLoader) => __awaiter(void 0, void 0, void 0, function* () {
|
|
19
|
-
return (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (yield (0, getEventAutoRespondActionProcessor_1.getEventAutoRespondActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventGetRecordsActionProcessor_1.getEventGetRecordsActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventGetStorySessionActionProcessor_1.getEventGetStorySessionActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventMatchStoryActionProcessor_1.getEventMatchStoryActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventTransformResponseResultActionProcessor_1.getEventTransformResponseResultActionProcessor)(qpqConfig, dynamicModuleLoader))));
|
|
20
|
-
});
|
|
21
|
-
exports.getExpressApiEventEventProcessor = getExpressApiEventEventProcessor;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getExpressApiEventEventProcessor = void 0;
|
|
13
|
+
const getEventAutoRespondActionProcessor_1 = require("./getEventAutoRespondActionProcessor");
|
|
14
|
+
const getEventGetRecordsActionProcessor_1 = require("./getEventGetRecordsActionProcessor");
|
|
15
|
+
const getEventGetStorySessionActionProcessor_1 = require("./getEventGetStorySessionActionProcessor");
|
|
16
|
+
const getEventMatchStoryActionProcessor_1 = require("./getEventMatchStoryActionProcessor");
|
|
17
|
+
const getEventTransformResponseResultActionProcessor_1 = require("./getEventTransformResponseResultActionProcessor");
|
|
18
|
+
const getExpressApiEventEventProcessor = (qpqConfig, dynamicModuleLoader) => __awaiter(void 0, void 0, void 0, function* () {
|
|
19
|
+
return (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (yield (0, getEventAutoRespondActionProcessor_1.getEventAutoRespondActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventGetRecordsActionProcessor_1.getEventGetRecordsActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventGetStorySessionActionProcessor_1.getEventGetStorySessionActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventMatchStoryActionProcessor_1.getEventMatchStoryActionProcessor)(qpqConfig, dynamicModuleLoader))), (yield (0, getEventTransformResponseResultActionProcessor_1.getEventTransformResponseResultActionProcessor)(qpqConfig, dynamicModuleLoader))));
|
|
20
|
+
});
|
|
21
|
+
exports.getExpressApiEventEventProcessor = getExpressApiEventEventProcessor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MatchStoryResult } from 'quidproquo-core';
|
|
2
|
-
import { HTTPEvent, HTTPEventResponse, HttpEventRouteParams, RouteOptions } from 'quidproquo-webserver';
|
|
3
|
-
import { ExpressEvent, ExpressEventResponse } from '../../../../../types/ExpressEvent';
|
|
4
|
-
export type EventInput = [ExpressEvent];
|
|
5
|
-
export type EventOutput = ExpressEventResponse;
|
|
6
|
-
export type InternalEventRecord = HTTPEvent;
|
|
7
|
-
export type InternalEventOutput = HTTPEventResponse;
|
|
8
|
-
export type MatchResult = MatchStoryResult<HttpEventRouteParams, RouteOptions>;
|
|
1
|
+
import { MatchStoryResult } from 'quidproquo-core';
|
|
2
|
+
import { HTTPEvent, HTTPEventResponse, HttpEventRouteParams, RouteOptions } from 'quidproquo-webserver';
|
|
3
|
+
import { ExpressEvent, ExpressEventResponse } from '../../../../../types/ExpressEvent';
|
|
4
|
+
export type EventInput = [ExpressEvent];
|
|
5
|
+
export type EventOutput = ExpressEventResponse;
|
|
6
|
+
export type InternalEventRecord = HTTPEvent;
|
|
7
|
+
export type InternalEventOutput = HTTPEventResponse;
|
|
8
|
+
export type MatchResult = MatchStoryResult<HttpEventRouteParams, RouteOptions>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './api';
|
|
1
|
+
export * from './api';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './express';
|
|
2
|
-
export * from './node';
|
|
3
|
-
export * from './queue';
|
|
4
|
-
export * from './ws';
|
|
1
|
+
export * from './express';
|
|
2
|
+
export * from './node';
|
|
3
|
+
export * from './queue';
|
|
4
|
+
export * from './ws';
|