@haibun/core 3.8.4 → 4.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/currentVersion.d.ts +1 -1
- package/build/currentVersion.d.ts.map +1 -1
- package/build/currentVersion.js +1 -1
- package/build/currentVersion.js.map +1 -1
- package/build/lib/EventLogger.d.ts +8 -5
- package/build/lib/EventLogger.d.ts.map +1 -1
- package/build/lib/EventLogger.js +15 -12
- package/build/lib/EventLogger.js.map +1 -1
- package/build/lib/core/flow-runner.js +6 -6
- package/build/lib/core/flow-runner.js.map +1 -1
- package/build/lib/defs.d.ts +13 -2
- package/build/lib/defs.d.ts.map +1 -1
- package/build/lib/defs.js.map +1 -1
- package/build/lib/feature-variables.d.ts.map +1 -1
- package/build/lib/feature-variables.js +8 -3
- package/build/lib/feature-variables.js.map +1 -1
- package/build/lib/namedVars.d.ts.map +1 -1
- package/build/lib/namedVars.js +2 -1
- package/build/lib/namedVars.js.map +1 -1
- package/build/lib/step-dispatch.d.ts +105 -0
- package/build/lib/step-dispatch.d.ts.map +1 -0
- package/build/lib/step-dispatch.js +206 -0
- package/build/lib/step-dispatch.js.map +1 -0
- package/build/lib/step-helpers.d.ts +10 -0
- package/build/lib/step-helpers.d.ts.map +1 -0
- package/build/lib/step-helpers.js +16 -0
- package/build/lib/step-helpers.js.map +1 -0
- package/build/lib/step-validation.d.ts +26 -0
- package/build/lib/step-validation.d.ts.map +1 -0
- package/build/lib/step-validation.js +26 -0
- package/build/lib/step-validation.js.map +1 -0
- package/build/lib/stepper-registry.d.ts +5 -2
- package/build/lib/stepper-registry.d.ts.map +1 -1
- package/build/lib/stepper-registry.js +2 -1
- package/build/lib/stepper-registry.js.map +1 -1
- package/build/lib/test/EventCollectorStepper.d.ts +6 -4
- package/build/lib/test/EventCollectorStepper.d.ts.map +1 -1
- package/build/lib/test/EventCollectorStepper.js +14 -22
- package/build/lib/test/EventCollectorStepper.js.map +1 -1
- package/build/lib/test/TestStepsWithOptions.d.ts +5 -1
- package/build/lib/test/TestStepsWithOptions.d.ts.map +1 -1
- package/build/lib/test/TestStepsWithOptions.js +4 -2
- package/build/lib/test/TestStepsWithOptions.js.map +1 -1
- package/build/lib/util/index.d.ts +12 -4
- package/build/lib/util/index.d.ts.map +1 -1
- package/build/lib/util/index.js +45 -4
- package/build/lib/util/index.js.map +1 -1
- package/build/phases/Executor.d.ts.map +1 -1
- package/build/phases/Executor.js +3 -2
- package/build/phases/Executor.js.map +1 -1
- package/build/schema/protocol.d.ts +18 -12
- package/build/schema/protocol.d.ts.map +1 -1
- package/build/schema/protocol.js +3 -3
- package/build/schema/protocol.js.map +1 -1
- package/build/steps/activities-stepper.d.ts +4 -4
- package/build/steps/activities-stepper.d.ts.map +1 -1
- package/build/steps/activities-stepper.js +12 -7
- package/build/steps/activities-stepper.js.map +1 -1
- package/build/steps/debugger-stepper.js +1 -1
- package/build/steps/debugger-stepper.js.map +1 -1
- package/build/steps/finalizer-stepper.d.ts +14 -0
- package/build/steps/finalizer-stepper.d.ts.map +1 -0
- package/build/steps/finalizer-stepper.js +71 -0
- package/build/steps/finalizer-stepper.js.map +1 -0
- package/build/steps/haibun.d.ts +4 -4
- package/build/steps/logic-stepper.d.ts +5 -1
- package/build/steps/logic-stepper.d.ts.map +1 -1
- package/build/steps/logic-stepper.js +4 -2
- package/build/steps/logic-stepper.js.map +1 -1
- package/build/steps/narrator.d.ts +4 -4
- package/build/steps/variables-stepper.d.ts +25 -25
- package/package.json +2 -2
|
@@ -13,7 +13,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
13
13
|
action: ({ domain, superdomains }: {
|
|
14
14
|
domain: string;
|
|
15
15
|
superdomains: TFeatureStep[];
|
|
16
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
16
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
17
17
|
};
|
|
18
18
|
defineOrderedSet: {
|
|
19
19
|
precludes: string[];
|
|
@@ -22,7 +22,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
22
22
|
action: ({ domain, values }: {
|
|
23
23
|
domain: string;
|
|
24
24
|
values: TFeatureStep[];
|
|
25
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
25
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
26
26
|
};
|
|
27
27
|
defineValuesSet: {
|
|
28
28
|
gwta: string;
|
|
@@ -30,7 +30,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
30
30
|
action: ({ domain, values }: {
|
|
31
31
|
domain: string;
|
|
32
32
|
values: TFeatureStep[];
|
|
33
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
33
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
34
34
|
};
|
|
35
35
|
statementSetValues: {
|
|
36
36
|
expose: false;
|
|
@@ -53,7 +53,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
53
53
|
increment: {
|
|
54
54
|
gwta: string;
|
|
55
55
|
handlesUndefined: string[];
|
|
56
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
56
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
57
57
|
};
|
|
58
58
|
showEnv: {
|
|
59
59
|
gwta: string;
|
|
@@ -94,7 +94,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
94
94
|
is: {
|
|
95
95
|
gwta: string;
|
|
96
96
|
handlesUndefined: string[];
|
|
97
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
97
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
98
98
|
};
|
|
99
99
|
isLessThan: {
|
|
100
100
|
gwta: string;
|
|
@@ -103,7 +103,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
103
103
|
action: ({ what, value }: {
|
|
104
104
|
what: string;
|
|
105
105
|
value: string;
|
|
106
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
106
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
107
107
|
};
|
|
108
108
|
isMoreThan: {
|
|
109
109
|
gwta: string;
|
|
@@ -112,17 +112,17 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
112
112
|
action: ({ what, value }: {
|
|
113
113
|
what: string;
|
|
114
114
|
value: string;
|
|
115
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
115
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
116
116
|
};
|
|
117
117
|
exists: {
|
|
118
118
|
gwta: string;
|
|
119
119
|
handlesUndefined: string[];
|
|
120
|
-
action: ({ what }: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
120
|
+
action: ({ what }: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
121
121
|
};
|
|
122
122
|
showVar: {
|
|
123
123
|
gwta: string;
|
|
124
124
|
handlesUndefined: string[];
|
|
125
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
125
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
126
126
|
};
|
|
127
127
|
showDomains: {
|
|
128
128
|
gwta: string;
|
|
@@ -131,19 +131,19 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
131
131
|
showDomain: {
|
|
132
132
|
gwta: string;
|
|
133
133
|
handlesUndefined: string[];
|
|
134
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
134
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
135
135
|
};
|
|
136
136
|
isIn: {
|
|
137
137
|
match: RegExp;
|
|
138
138
|
fallback: true;
|
|
139
|
-
action: (_: unknown, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
139
|
+
action: (_: unknown, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
140
140
|
};
|
|
141
141
|
matches: {
|
|
142
142
|
gwta: string;
|
|
143
143
|
action: ({ value, pattern }: {
|
|
144
144
|
value: string;
|
|
145
145
|
pattern: string;
|
|
146
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
146
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
149
|
readonly typedSteps: {
|
|
@@ -153,7 +153,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
153
153
|
action: ({ domain, superdomains }: {
|
|
154
154
|
domain: string;
|
|
155
155
|
superdomains: TFeatureStep[];
|
|
156
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
156
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
157
157
|
};
|
|
158
158
|
defineOrderedSet: {
|
|
159
159
|
precludes: string[];
|
|
@@ -162,7 +162,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
162
162
|
action: ({ domain, values }: {
|
|
163
163
|
domain: string;
|
|
164
164
|
values: TFeatureStep[];
|
|
165
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
165
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
166
166
|
};
|
|
167
167
|
defineValuesSet: {
|
|
168
168
|
gwta: string;
|
|
@@ -170,7 +170,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
170
170
|
action: ({ domain, values }: {
|
|
171
171
|
domain: string;
|
|
172
172
|
values: TFeatureStep[];
|
|
173
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
173
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
174
174
|
};
|
|
175
175
|
statementSetValues: {
|
|
176
176
|
expose: false;
|
|
@@ -193,7 +193,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
193
193
|
increment: {
|
|
194
194
|
gwta: string;
|
|
195
195
|
handlesUndefined: string[];
|
|
196
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
196
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
197
197
|
};
|
|
198
198
|
showEnv: {
|
|
199
199
|
gwta: string;
|
|
@@ -234,7 +234,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
234
234
|
is: {
|
|
235
235
|
gwta: string;
|
|
236
236
|
handlesUndefined: string[];
|
|
237
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
237
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
238
238
|
};
|
|
239
239
|
isLessThan: {
|
|
240
240
|
gwta: string;
|
|
@@ -243,7 +243,7 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
243
243
|
action: ({ what, value }: {
|
|
244
244
|
what: string;
|
|
245
245
|
value: string;
|
|
246
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
246
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
247
247
|
};
|
|
248
248
|
isMoreThan: {
|
|
249
249
|
gwta: string;
|
|
@@ -252,17 +252,17 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
252
252
|
action: ({ what, value }: {
|
|
253
253
|
what: string;
|
|
254
254
|
value: string;
|
|
255
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
255
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
256
256
|
};
|
|
257
257
|
exists: {
|
|
258
258
|
gwta: string;
|
|
259
259
|
handlesUndefined: string[];
|
|
260
|
-
action: ({ what }: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
260
|
+
action: ({ what }: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
261
261
|
};
|
|
262
262
|
showVar: {
|
|
263
263
|
gwta: string;
|
|
264
264
|
handlesUndefined: string[];
|
|
265
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
265
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
266
266
|
};
|
|
267
267
|
showDomains: {
|
|
268
268
|
gwta: string;
|
|
@@ -271,22 +271,22 @@ declare class VariablesStepper extends AStepper implements IHasCycles {
|
|
|
271
271
|
showDomain: {
|
|
272
272
|
gwta: string;
|
|
273
273
|
handlesUndefined: string[];
|
|
274
|
-
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
274
|
+
action: (_: TStepArgs, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
275
275
|
};
|
|
276
276
|
isIn: {
|
|
277
277
|
match: RegExp;
|
|
278
278
|
fallback: true;
|
|
279
|
-
action: (_: unknown, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
279
|
+
action: (_: unknown, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
280
280
|
};
|
|
281
281
|
matches: {
|
|
282
282
|
gwta: string;
|
|
283
283
|
action: ({ value, pattern }: {
|
|
284
284
|
value: string;
|
|
285
285
|
pattern: string;
|
|
286
|
-
}, featureStep: TFeatureStep) => import("../schema/protocol.js").
|
|
286
|
+
}, featureStep: TFeatureStep) => import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
287
287
|
};
|
|
288
288
|
};
|
|
289
|
-
compareValues(featureStep: TFeatureStep, rawTerm: string, value: string, operator: string): import("../schema/protocol.js").
|
|
289
|
+
compareValues(featureStep: TFeatureStep, rawTerm: string, value: string, operator: string): import("../schema/protocol.js").TNotOKActionResult | import("../schema/protocol.js").TOKActionResult;
|
|
290
290
|
/**
|
|
291
291
|
* Interpolates a template string by replacing {varName} placeholders with variable values.
|
|
292
292
|
* Returns the interpolated string or an error if a variable is not found.
|
package/package.json
CHANGED