@systemfsoftware/storybook-gherkin 3.0.6 → 3.0.7
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +16 -10
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @systemfsoftware/storybook-gherkin
|
|
2
2
|
|
|
3
|
+
## 3.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Unconstrained type holes are defaulted type parameters (`<A = unknown>`) instead of a type argument `unknown`. Calls that omit those arguments are unchanged.
|
|
8
|
+
|
|
3
9
|
## 3.0.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,12 @@ import { YieldableError } from 'effect/Cause';
|
|
|
9
9
|
|
|
10
10
|
export declare const And: StepCtor;
|
|
11
11
|
|
|
12
|
+
declare type AnyConstraintDecoder$1<A = unknown> = Schema.ConstraintDecoder<A>;
|
|
13
|
+
|
|
14
|
+
declare type AnyConstraintDecoder<A = unknown> = Schema.ConstraintDecoder<A>;
|
|
15
|
+
|
|
16
|
+
declare type AnyValue<V = unknown> = V;
|
|
17
|
+
|
|
12
18
|
export declare class BackgroundNotGiven extends BackgroundNotGiven_base {}
|
|
13
19
|
|
|
14
20
|
declare const BackgroundNotGiven_base: Schema.Class<BackgroundNotGiven, Schema.TaggedStruct<"BackgroundNotGiven", {
|
|
@@ -24,7 +30,7 @@ export declare type CapsOf<THoles extends readonly Hole[]> = THoles extends read
|
|
|
24
30
|
|
|
25
31
|
export declare interface Capture<Name extends string = string, _A = unknown> extends CaptureTag {
|
|
26
32
|
readonly name: Name;
|
|
27
|
-
readonly schema:
|
|
33
|
+
readonly schema: AnyConstraintDecoder$1 | undefined;
|
|
28
34
|
readonly default: string | undefined;
|
|
29
35
|
}
|
|
30
36
|
|
|
@@ -49,7 +55,7 @@ declare const CaptureDecodeFailed_base: Schema.Class<CaptureDecodeFailed, Schema
|
|
|
49
55
|
export declare interface CaptureModel {
|
|
50
56
|
readonly name: string;
|
|
51
57
|
/** Service-free decode view — the v4 counterpart of the removed no-context alias. */
|
|
52
|
-
readonly schema:
|
|
58
|
+
readonly schema: AnyConstraintDecoder | undefined;
|
|
53
59
|
readonly default: string | undefined;
|
|
54
60
|
}
|
|
55
61
|
|
|
@@ -173,17 +179,17 @@ export declare interface PlayContext<TArgs = unknown> {
|
|
|
173
179
|
readonly step: StepFn;
|
|
174
180
|
readonly userEvent: UserEventObject;
|
|
175
181
|
readonly args: TArgs;
|
|
176
|
-
readonly globals: Record<string,
|
|
177
|
-
readonly parameters: Record<string,
|
|
178
|
-
readonly loaded: Record<string,
|
|
182
|
+
readonly globals: Record<string, AnyValue>;
|
|
183
|
+
readonly parameters: Record<string, AnyValue>;
|
|
184
|
+
readonly loaded: Record<string, AnyValue>;
|
|
179
185
|
readonly abortSignal: AbortSignal;
|
|
180
186
|
readonly reporting: ReportingAPI;
|
|
181
187
|
}
|
|
182
188
|
|
|
183
|
-
declare interface Report_2 {
|
|
189
|
+
declare interface Report_2<Result = unknown> {
|
|
184
190
|
readonly type: string;
|
|
185
191
|
readonly version?: number;
|
|
186
|
-
readonly result:
|
|
192
|
+
readonly result: Result;
|
|
187
193
|
readonly status: 'failed' | 'passed' | 'warning';
|
|
188
194
|
}
|
|
189
195
|
export { Report_2 as Report }
|
|
@@ -247,9 +253,9 @@ export declare interface StepContext<TArgs = unknown> {
|
|
|
247
253
|
readonly userEvent: UserEventObject;
|
|
248
254
|
readonly step: StepFn;
|
|
249
255
|
readonly args: TArgs;
|
|
250
|
-
readonly globals: Record<string,
|
|
251
|
-
readonly parameters: Record<string,
|
|
252
|
-
readonly loaded: Record<string,
|
|
256
|
+
readonly globals: Record<string, AnyValue>;
|
|
257
|
+
readonly parameters: Record<string, AnyValue>;
|
|
258
|
+
readonly loaded: Record<string, AnyValue>;
|
|
253
259
|
readonly canvasElement: HTMLElement;
|
|
254
260
|
/**
|
|
255
261
|
* Fires on story teardown (remount, navigation, HMR). Since the 2026-08-09
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/storybook-gherkin",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.7",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -63,10 +63,9 @@
|
|
|
63
63
|
"typescript": "^7",
|
|
64
64
|
"vite": "^8",
|
|
65
65
|
"vitest": "^5",
|
|
66
|
-
"@systemfsoftware/
|
|
67
|
-
"@systemfsoftware/
|
|
68
|
-
"@systemfsoftware/tsdown-config": "^0.1.0"
|
|
69
|
-
"@systemfsoftware/tsconfig": "^1.3.6"
|
|
66
|
+
"@systemfsoftware/oxlint-config-recommended": "^1.1.0",
|
|
67
|
+
"@systemfsoftware/tsconfig": "^1.3.6",
|
|
68
|
+
"@systemfsoftware/tsdown-config": "^0.1.0"
|
|
70
69
|
},
|
|
71
70
|
"publishConfig": {
|
|
72
71
|
"provenance": true
|