@5minds/processcube_engine_sdk 3.3.3-feature-4f1709-llkn84ts → 3.3.3-feature-b69df4-llkqfucc
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/dist/Engine.d.ts +3 -1
- package/package.json +1 -1
package/dist/Engine.d.ts
CHANGED
|
@@ -172,7 +172,8 @@ export type CustomHttpRouteHandler = (request: CustomHttpRouteRequest) => Promis
|
|
|
172
172
|
*/
|
|
173
173
|
export type CustomHttpRouteOptions = {
|
|
174
174
|
/**
|
|
175
|
-
* If set
|
|
175
|
+
* If set, accessing the HTTP route will require a valid AUth Token.
|
|
176
|
+
* Defaults to 'true'.
|
|
176
177
|
*/
|
|
177
178
|
protected?: boolean;
|
|
178
179
|
};
|
|
@@ -378,6 +379,7 @@ export type Engine = {
|
|
|
378
379
|
* @param path The HTTP path to use
|
|
379
380
|
* @param method The HTTP Method for the route. Currently supports GET, POST, PUT and DELETE
|
|
380
381
|
* @param routeHandler A callback for handling requests against the route
|
|
382
|
+
* @param options Additional settings for the HTTP route.
|
|
381
383
|
*/
|
|
382
384
|
registerHttpRoute(path: string, method: 'get' | 'post' | 'put' | 'delete', routeHandler: CustomHttpRouteHandler, options?: CustomHttpRouteOptions): void;
|
|
383
385
|
executeRuntimeExpression<TExpectedResult>(expression: string, params: RuntimeExpressionParameters): Promise<TExpectedResult>;
|
package/package.json
CHANGED