@haibun/core
Advanced tools
Comparing version 1.30.2 to 1.30.3
@@ -151,3 +151,3 @@ import { Resolver } from '../phases/Resolver.js'; | ||
}; | ||
setWorld(world: TWorld, steppers: AStepper[]): void; | ||
setWorld(world: TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): TWorld; | ||
@@ -162,3 +162,3 @@ }; | ||
onFailure?(result: TStepResult): void; | ||
setWorld(world: TWorld, steppers: AStepper[]): void; | ||
setWorld(world: TWorld, steppers: AStepper[]): Promise<void>; | ||
abstract steps: { | ||
@@ -165,0 +165,0 @@ [name: string]: TStep; |
@@ -10,3 +10,3 @@ export class WorkspaceBuilder { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
setWorld(world, steppers) { | ||
async setWorld(world, steppers) { | ||
this.world = world; | ||
@@ -13,0 +13,0 @@ } |
@@ -20,3 +20,3 @@ import { TNamed, AStepper } from '../defs.js'; | ||
match: RegExp; | ||
action: ({ param }: TNamed) => Promise<import("../defs.js").TNotOKActionResult | import("../defs.js").TOKActionResult>; | ||
action: ({ param }: TNamed) => Promise<import("../defs.js").TOKActionResult | import("../defs.js").TNotOKActionResult>; | ||
}; | ||
@@ -41,3 +41,3 @@ throws: { | ||
onFailure?(result: import("../defs.js").TStepResult): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): import("../defs.js").TWorld; | ||
@@ -44,0 +44,0 @@ }; |
@@ -21,3 +21,3 @@ import { AStepper } from '../defs.js'; | ||
onFailure?(result: import("../defs.js").TStepResult): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): import("../defs.js").TWorld; | ||
@@ -24,0 +24,0 @@ }; |
@@ -22,3 +22,3 @@ import { AStepper } from '../defs.js'; | ||
onFailure?(result: import("../defs.js").TStepResult): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): import("../defs.js").TWorld; | ||
@@ -49,5 +49,5 @@ }; | ||
onFailure?(result: import("../defs.js").TStepResult): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): void; | ||
setWorld(world: import("../defs.js").TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): import("../defs.js").TWorld; | ||
}; | ||
}; |
@@ -14,3 +14,3 @@ import { AStepper } from '../lib/defs.js'; | ||
onFailure?(result: import("../lib/defs.js").TStepResult): void; | ||
setWorld(world: import("../lib/defs.js").TWorld, steppers: AStepper[]): void; | ||
setWorld(world: import("../lib/defs.js").TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): import("../lib/defs.js").TWorld; | ||
@@ -17,0 +17,0 @@ }; |
@@ -22,3 +22,3 @@ import { TNamed, AStepper } from '../lib/defs.js'; | ||
onFailure?(result: import("../lib/defs.js").TStepResult): void; | ||
setWorld(world: import("../lib/defs.js").TWorld, steppers: AStepper[]): void; | ||
setWorld(world: import("../lib/defs.js").TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): import("../lib/defs.js").TWorld; | ||
@@ -25,0 +25,0 @@ }; |
@@ -6,3 +6,3 @@ import { TNamed, AStepper, TWorld, TVStep } from '../lib/defs.js'; | ||
steppers: AStepper[]; | ||
setWorld(world: TWorld, steppers: AStepper[]): void; | ||
setWorld(world: TWorld, steppers: AStepper[]): Promise<void>; | ||
steps: { | ||
@@ -9,0 +9,0 @@ prose: { |
@@ -6,3 +6,3 @@ import { OK, AStepper } from '../lib/defs.js'; | ||
steppers; | ||
setWorld(world, steppers) { | ||
async setWorld(world, steppers) { | ||
this.steppers = steppers; | ||
@@ -9,0 +9,0 @@ this.world = world; |
@@ -13,3 +13,3 @@ import { Context } from '../lib/contexts.js'; | ||
}>; | ||
isSet(what: string, orCond: string): import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult; | ||
isSet(what: string, orCond: string): import("../lib/defs.js").TOKActionResult | import("../lib/defs.js").TNotOKActionResult; | ||
steps: { | ||
@@ -86,8 +86,8 @@ concat: { | ||
gwta: string; | ||
action: ({ what, value }: TNamed) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>; | ||
action: ({ what, value }: TNamed) => Promise<import("../lib/defs.js").TOKActionResult | import("../lib/defs.js").TNotOKActionResult>; | ||
}; | ||
isSet: { | ||
gwta: string; | ||
action: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>; | ||
build: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs.js").TNotOKActionResult | import("../lib/defs.js").TOKActionResult>; | ||
action: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs.js").TOKActionResult | import("../lib/defs.js").TNotOKActionResult>; | ||
build: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs.js").TOKActionResult | import("../lib/defs.js").TNotOKActionResult>; | ||
}; | ||
@@ -115,3 +115,3 @@ background: { | ||
onFailure?(result: import("../lib/defs.js").TStepResult): void; | ||
setWorld(world: TWorld, steppers: AStepper[]): void; | ||
setWorld(world: TWorld, steppers: AStepper[]): Promise<void>; | ||
getWorld(): TWorld; | ||
@@ -118,0 +118,0 @@ }; |
{ | ||
"name": "@haibun/core", | ||
"type": "module", | ||
"version": "1.30.2", | ||
"version": "1.30.3", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "author": "", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
295124