@plumier/core
Advanced tools
Comparing version 1.0.0-dev.20 to 1.0.0-dev.21
import { Context } from "koa"; | ||
import { ActionResult, RouteInfo } from "./types"; | ||
declare function pipe(ctx: Context, route?: RouteInfo, caller?: string): Promise<ActionResult>; | ||
declare function pipe(ctx: Context, route?: RouteInfo, caller?: "system" | "invoke"): Promise<ActionResult>; | ||
declare function invoke(ctx: Context, route: RouteInfo): Promise<ActionResult>; | ||
export { invoke, pipe }; |
@@ -56,2 +56,5 @@ import Koa, { Context } from "koa"; | ||
} | ||
interface DefaultState { | ||
caller: "system" | "invoke"; | ||
} | ||
} | ||
@@ -58,0 +61,0 @@ export interface RouteContext extends Context { |
{ | ||
"name": "@plumier/core", | ||
"version": "1.0.0-dev.20+8964c69", | ||
"version": "1.0.0-dev.21+94f88c6", | ||
"description": "Delightful Node.js Rest Framework", | ||
@@ -41,3 +41,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "8964c695f7edca9862aa8ae7bbbc27c30e9cde22", | ||
"gitHead": "94f88c64bd5fdcd7f8cf7037d0c6498014f1c365", | ||
"devDependencies": { | ||
@@ -44,0 +44,0 @@ "upath": "^1.2.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
121379
2778