@seagull/commands
Advanced tools
Comparing version 11.4.0 to 12.0.0
@@ -0,3 +1,4 @@ | ||
import { IMode } from '@seagull/mode'; | ||
export declare abstract class Command<Result = any, Handler extends () => any = () => Promise<Result>> { | ||
mode: Readonly<import("@seagull/mode").IMode>; | ||
mode: Readonly<IMode>; | ||
abstract execute(): ReturnType<Handler>; | ||
@@ -4,0 +5,0 @@ abstract revert(): ReturnType<Handler>; |
@@ -6,3 +6,3 @@ "use strict"; | ||
constructor() { | ||
this.mode = mode_1.Mode; | ||
this.mode = { environment: mode_1.Mode.environment }; | ||
} | ||
@@ -9,0 +9,0 @@ get executeHandler() { |
{ | ||
"name": "@seagull/commands", | ||
"version": "11.4.0", | ||
"version": "12.0.0", | ||
"description": "Side Effect Functions implemented as Command Pattern for the Seagull Framework", | ||
@@ -35,4 +35,4 @@ "main": "dist/src/index.js", | ||
"devDependencies": { | ||
"@seagull/testing": "^11.4.0", | ||
"@seagull/tslint": "^11.4.0", | ||
"@seagull/testing": "^12.0.0", | ||
"@seagull/tslint": "^12.0.0", | ||
"@types/lodash": "^4.14.123", | ||
@@ -43,3 +43,3 @@ "@types/mock-fs": "^3.6.30", | ||
"dependencies": { | ||
"@seagull/mode": "^11.4.0", | ||
"@seagull/mode": "^12.0.0", | ||
"lodash": "^4.17.5", | ||
@@ -70,3 +70,3 @@ "mode": "^0.3.2" | ||
}, | ||
"gitHead": "1a61deb45a39813ffe07e6f89571567ab2464f3e" | ||
"gitHead": "50f54aa7d703ee1ff02099ff37ee78af06d6d5e0" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
41598
697
+ Added@seagull/mode@12.0.0(transitive)
- Removed@seagull/mode@11.4.0(transitive)
Updated@seagull/mode@^12.0.0