@plumier/core
Advanced tools
Comparing version 1.0.1-canary.22 to 1.0.1-canary.26
@@ -80,3 +80,3 @@ /// <reference types="node" /> | ||
export interface Facility { | ||
generateRoutes(app: Readonly<PlumierApplication>): Promise<RouteMetadata[]>; | ||
generateRoutes(app: Readonly<PlumierApplication>, routes: RouteMetadata[]): Promise<RouteMetadata[]>; | ||
setup(app: Readonly<PlumierApplication>): void; | ||
@@ -87,3 +87,3 @@ preInitialize(app: Readonly<PlumierApplication>): Promise<void>; | ||
export declare class DefaultFacility implements Facility { | ||
generateRoutes(app: Readonly<PlumierApplication>): Promise<RouteMetadata[]>; | ||
generateRoutes(app: Readonly<PlumierApplication>, routes: RouteMetadata[]): Promise<RouteMetadata[]>; | ||
setup(app: Readonly<PlumierApplication>): void; | ||
@@ -90,0 +90,0 @@ preInitialize(app: Readonly<PlumierApplication>): Promise<void>; |
@@ -67,3 +67,3 @@ "use strict"; | ||
class DefaultFacility { | ||
async generateRoutes(app) { return []; } | ||
async generateRoutes(app, routes) { return []; } | ||
setup(app) { } | ||
@@ -70,0 +70,0 @@ async preInitialize(app) { } |
{ | ||
"name": "@plumier/core", | ||
"version": "1.0.1-canary.22+1ce9220", | ||
"version": "1.0.1-canary.26+e22f8cd", | ||
"description": "Delightful Node.js Rest Framework", | ||
@@ -23,4 +23,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@plumier/reflect": "1.0.1-canary.22+1ce9220", | ||
"@plumier/validator": "1.0.1-canary.22+1ce9220", | ||
"@plumier/reflect": "1.0.1-canary.26+e22f8cd", | ||
"@plumier/validator": "1.0.1-canary.26+e22f8cd", | ||
"@types/debug": "^4.1.5", | ||
@@ -50,3 +50,3 @@ "@types/glob": "^7.1.3", | ||
}, | ||
"gitHead": "1ce922097ba707499a67b537e8cef48681c2060f" | ||
"gitHead": "e22f8cd22093f8606b1f34acc2f095b02d5b89d3" | ||
} |
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
208970