@dotcom-tool-kit/task
Advanced tools
Comparing version 1.0.0-beta.30 to 1.0.0-beta.31
@@ -1,2 +0,3 @@ | ||
export declare abstract class Task<O extends Record<string, unknown> = Record<string, unknown>> { | ||
import { Schema, SchemaOutput } from '@dotcom-tool-kit/types/lib/schema'; | ||
export declare abstract class Task<O extends Schema = Record<string, never>> { | ||
static description: string; | ||
@@ -6,4 +7,4 @@ static plugin?: any; | ||
static defaultOptions: Record<string, unknown>; | ||
options: O; | ||
constructor(options?: Partial<O>); | ||
options: SchemaOutput<O>; | ||
constructor(options?: Partial<SchemaOutput<O>>); | ||
abstract run(): Promise<void>; | ||
@@ -10,0 +11,0 @@ } |
{ | ||
"name": "@dotcom-tool-kit/task", | ||
"version": "1.0.0-beta.30", | ||
"version": "1.0.0-beta.31", | ||
"description": "", | ||
@@ -25,3 +25,6 @@ "main": "lib", | ||
"extends": "../../package.json" | ||
}, | ||
"dependencies": { | ||
"@dotcom-tool-kit/types": "^1.0.0-beta.31" | ||
} | ||
} |
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
2141
21
1
+ Added@dotcom-tool-kit/error@1.9.0(transitive)
+ Added@dotcom-tool-kit/types@1.9.0(transitive)
+ Addedlodash.isplainobject@4.0.6(transitive)
+ Addedlodash.mapvalues@4.6.0(transitive)