executable-stories-react 0.10.0 → 0.10.1
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/dist/index.cjs +35 -170
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -235
- package/dist/index.d.ts +6 -235
- package/dist/index.js +26 -161
- package/dist/index.js.map +1 -1
- package/dist/interactive.cjs +39 -291
- package/dist/interactive.cjs.map +1 -1
- package/dist/interactive.d.cts +1 -233
- package/dist/interactive.d.ts +1 -233
- package/dist/interactive.js +30 -282
- package/dist/interactive.js.map +1 -1
- package/dist/parse.d.cts +3 -234
- package/dist/parse.d.ts +3 -234
- package/dist/ssr.cjs +35 -170
- package/dist/ssr.cjs.map +1 -1
- package/dist/ssr.d.cts +1 -232
- package/dist/ssr.d.ts +1 -232
- package/dist/ssr.js +26 -161
- package/dist/ssr.js.map +1 -1
- package/package.json +4 -4
package/dist/interactive.d.cts
CHANGED
|
@@ -1,238 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* OTel span types for trace waterfall rendering.
|
|
6
|
-
*
|
|
7
|
-
* Structurally compatible with autotel's SerializedSpan
|
|
8
|
-
* and raw OTel nanosecond formats. No import dependency on autotel.
|
|
9
|
-
*/
|
|
10
|
-
type OtelAttributeValue = string | number | boolean | string[] | number[] | boolean[];
|
|
11
|
-
interface OtelSpan {
|
|
12
|
-
spanId: string;
|
|
13
|
-
parentSpanId?: string;
|
|
14
|
-
name: string;
|
|
15
|
-
/** Preferred: epoch-based milliseconds (from autotel's SerializedSpan) */
|
|
16
|
-
startTimeMs?: number;
|
|
17
|
-
durationMs?: number;
|
|
18
|
-
/** Compatibility: raw OTel nanosecond timestamps */
|
|
19
|
-
startTimeUnixNano?: number;
|
|
20
|
-
endTimeUnixNano?: number;
|
|
21
|
-
status: "ok" | "error" | "unset";
|
|
22
|
-
statusMessage?: string;
|
|
23
|
-
attributes?: Record<string, OtelAttributeValue>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Phase tracks when the doc entry was added */
|
|
27
|
-
type DocPhase = "static" | "runtime";
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* StoryReport — public, frozen contract for UI renderers.
|
|
31
|
-
*
|
|
32
|
-
* Distinct from internal TestRunResult. Pre-grouped feature → scenario tree,
|
|
33
|
-
* with pre-computed summaries at every level. Adapter concerns (rawStatus,
|
|
34
|
-
* projectName, titlePath) are stripped at the toStoryReport boundary.
|
|
35
|
-
*
|
|
36
|
-
* Versioning: semver-style "<major>.<minor>". Additive-only within a major.
|
|
37
|
-
* Source of truth: schemas/story-report-v1.json. Types here must stay in sync.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
type StoryReportSchemaVersion = `1.${number}`;
|
|
41
|
-
type TestStatus = "passed" | "failed" | "skipped" | "pending";
|
|
42
|
-
type StepKeyword = "Given" | "When" | "Then" | "And" | "But";
|
|
43
|
-
type StepMode = "normal" | "skip" | "only" | "todo" | "fails" | "concurrent";
|
|
44
|
-
interface ReportSummary {
|
|
45
|
-
total: number;
|
|
46
|
-
passed: number;
|
|
47
|
-
failed: number;
|
|
48
|
-
skipped: number;
|
|
49
|
-
pending: number;
|
|
50
|
-
durationMs: number;
|
|
51
|
-
}
|
|
52
|
-
interface ReportTicket {
|
|
53
|
-
id: string;
|
|
54
|
-
url?: string;
|
|
55
|
-
}
|
|
56
|
-
interface ReportAttachment {
|
|
57
|
-
name: string;
|
|
58
|
-
mediaType: string;
|
|
59
|
-
body: string;
|
|
60
|
-
contentEncoding: "BASE64" | "IDENTITY";
|
|
61
|
-
}
|
|
62
|
-
interface ReportCIInfo {
|
|
63
|
-
name: string;
|
|
64
|
-
url?: string;
|
|
65
|
-
buildNumber?: string;
|
|
66
|
-
branch?: string;
|
|
67
|
-
commitSha?: string;
|
|
68
|
-
prNumber?: string;
|
|
69
|
-
}
|
|
70
|
-
interface ReportCoverageSummary {
|
|
71
|
-
linesPct?: number;
|
|
72
|
-
branchesPct?: number;
|
|
73
|
-
functionsPct?: number;
|
|
74
|
-
statementsPct?: number;
|
|
75
|
-
}
|
|
76
|
-
type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocState | ReportDocCustom;
|
|
77
|
-
interface ReportDocNote {
|
|
78
|
-
kind: "note";
|
|
79
|
-
text: string;
|
|
80
|
-
phase: DocPhase;
|
|
81
|
-
children?: ReportDocEntry[];
|
|
82
|
-
}
|
|
83
|
-
interface ReportDocTag {
|
|
84
|
-
kind: "tag";
|
|
85
|
-
names: string[];
|
|
86
|
-
phase: DocPhase;
|
|
87
|
-
children?: ReportDocEntry[];
|
|
88
|
-
}
|
|
89
|
-
interface ReportDocKv {
|
|
90
|
-
kind: "kv";
|
|
91
|
-
label: string;
|
|
92
|
-
value: unknown;
|
|
93
|
-
phase: DocPhase;
|
|
94
|
-
children?: ReportDocEntry[];
|
|
95
|
-
}
|
|
96
|
-
interface ReportDocCode {
|
|
97
|
-
kind: "code";
|
|
98
|
-
label: string;
|
|
99
|
-
content: string;
|
|
100
|
-
lang?: string;
|
|
101
|
-
phase: DocPhase;
|
|
102
|
-
children?: ReportDocEntry[];
|
|
103
|
-
}
|
|
104
|
-
interface ReportDocTable {
|
|
105
|
-
kind: "table";
|
|
106
|
-
label: string;
|
|
107
|
-
columns: string[];
|
|
108
|
-
rows: string[][];
|
|
109
|
-
phase: DocPhase;
|
|
110
|
-
children?: ReportDocEntry[];
|
|
111
|
-
}
|
|
112
|
-
interface ReportDocLink {
|
|
113
|
-
kind: "link";
|
|
114
|
-
label: string;
|
|
115
|
-
url: string;
|
|
116
|
-
phase: DocPhase;
|
|
117
|
-
children?: ReportDocEntry[];
|
|
118
|
-
}
|
|
119
|
-
interface ReportDocSection {
|
|
120
|
-
kind: "section";
|
|
121
|
-
title: string;
|
|
122
|
-
markdown: string;
|
|
123
|
-
phase: DocPhase;
|
|
124
|
-
children?: ReportDocEntry[];
|
|
125
|
-
}
|
|
126
|
-
interface ReportDocMermaid {
|
|
127
|
-
kind: "mermaid";
|
|
128
|
-
code: string;
|
|
129
|
-
title?: string;
|
|
130
|
-
phase: DocPhase;
|
|
131
|
-
children?: ReportDocEntry[];
|
|
132
|
-
}
|
|
133
|
-
interface ReportDocScreenshot {
|
|
134
|
-
kind: "screenshot";
|
|
135
|
-
path: string;
|
|
136
|
-
alt?: string;
|
|
137
|
-
phase: DocPhase;
|
|
138
|
-
children?: ReportDocEntry[];
|
|
139
|
-
}
|
|
140
|
-
interface ReportDocVideo {
|
|
141
|
-
kind: "video";
|
|
142
|
-
path: string;
|
|
143
|
-
caption?: string;
|
|
144
|
-
poster?: string;
|
|
145
|
-
phase: DocPhase;
|
|
146
|
-
children?: ReportDocEntry[];
|
|
147
|
-
}
|
|
148
|
-
interface ReportDocHtml {
|
|
149
|
-
kind: "html";
|
|
150
|
-
/** Local HTML file path (exactly one of path/url/content) */
|
|
151
|
-
path?: string;
|
|
152
|
-
/** Remote URL rendered via iframe src (exactly one of path/url/content) */
|
|
153
|
-
url?: string;
|
|
154
|
-
/** Inline HTML content rendered via iframe srcdoc (exactly one of path/url/content) */
|
|
155
|
-
content?: string;
|
|
156
|
-
title?: string;
|
|
157
|
-
/** Iframe height: number → px, string passed through (e.g. "60vh"). Default 400px. */
|
|
158
|
-
height?: number | string;
|
|
159
|
-
phase: DocPhase;
|
|
160
|
-
children?: ReportDocEntry[];
|
|
161
|
-
}
|
|
162
|
-
interface ReportDocState {
|
|
163
|
-
kind: "state";
|
|
164
|
-
/** Entity name ("Basket") — diff identity across steps. Unlabeled states share one lane. */
|
|
165
|
-
label?: string;
|
|
166
|
-
/** JSON-serializable snapshot of the state at this step. */
|
|
167
|
-
value: unknown;
|
|
168
|
-
phase: DocPhase;
|
|
169
|
-
children?: ReportDocEntry[];
|
|
170
|
-
}
|
|
171
|
-
interface ReportDocCustom {
|
|
172
|
-
kind: "custom";
|
|
173
|
-
type: string;
|
|
174
|
-
data: unknown;
|
|
175
|
-
phase: DocPhase;
|
|
176
|
-
children?: ReportDocEntry[];
|
|
177
|
-
}
|
|
178
|
-
interface ReportStep {
|
|
179
|
-
id: string;
|
|
180
|
-
index: number;
|
|
181
|
-
keyword: StepKeyword;
|
|
182
|
-
text: string;
|
|
183
|
-
status: TestStatus;
|
|
184
|
-
durationMs: number;
|
|
185
|
-
errorMessage?: string;
|
|
186
|
-
mode?: StepMode;
|
|
187
|
-
docEntries: ReportDocEntry[];
|
|
188
|
-
}
|
|
189
|
-
interface ReportScenario {
|
|
190
|
-
id: string;
|
|
191
|
-
title: string;
|
|
192
|
-
status: TestStatus;
|
|
193
|
-
/**
|
|
194
|
-
* True for scenarios authored with the framework's todo modifier
|
|
195
|
-
* (e.g. `it.todo`): specified behavior with no implementation yet.
|
|
196
|
-
* Canonical status stays "pending"; this flags why.
|
|
197
|
-
*/
|
|
198
|
-
planned?: boolean;
|
|
199
|
-
durationMs: number;
|
|
200
|
-
tags: string[];
|
|
201
|
-
tickets?: ReportTicket[];
|
|
202
|
-
/** Product-code paths/globs this scenario exercises (project-root-relative). */
|
|
203
|
-
covers?: string[];
|
|
204
|
-
sourceLine?: number;
|
|
205
|
-
errorMessage?: string;
|
|
206
|
-
errorStack?: string;
|
|
207
|
-
retry: number;
|
|
208
|
-
retries: number;
|
|
209
|
-
docEntries: ReportDocEntry[];
|
|
210
|
-
steps: ReportStep[];
|
|
211
|
-
attachments: ReportAttachment[];
|
|
212
|
-
/** OTel spans for the trace waterfall (carried through from the run). */
|
|
213
|
-
otelSpans?: OtelSpan[];
|
|
214
|
-
}
|
|
215
|
-
interface ReportFeature {
|
|
216
|
-
id: string;
|
|
217
|
-
title: string;
|
|
218
|
-
sourceFile: string;
|
|
219
|
-
summary: ReportSummary;
|
|
220
|
-
scenarios: ReportScenario[];
|
|
221
|
-
}
|
|
222
|
-
interface StoryReport {
|
|
223
|
-
schemaVersion: StoryReportSchemaVersion;
|
|
224
|
-
runId: string;
|
|
225
|
-
startedAtMs: number;
|
|
226
|
-
finishedAtMs: number;
|
|
227
|
-
durationMs: number;
|
|
228
|
-
projectRoot: string;
|
|
229
|
-
packageVersion?: string;
|
|
230
|
-
gitSha?: string;
|
|
231
|
-
ci?: ReportCIInfo;
|
|
232
|
-
coverage?: ReportCoverageSummary;
|
|
233
|
-
summary: ReportSummary;
|
|
234
|
-
features: ReportFeature[];
|
|
235
|
-
}
|
|
3
|
+
import { ReportDocCustom, ReportDocMermaid, ReportDocCode, ReportDocSection, StoryReport } from 'executable-stories-core';
|
|
236
4
|
|
|
237
5
|
/**
|
|
238
6
|
* Result<T> — explicit success/error type matching the cookbook convention.
|
package/dist/interactive.d.ts
CHANGED
|
@@ -1,238 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* OTel span types for trace waterfall rendering.
|
|
6
|
-
*
|
|
7
|
-
* Structurally compatible with autotel's SerializedSpan
|
|
8
|
-
* and raw OTel nanosecond formats. No import dependency on autotel.
|
|
9
|
-
*/
|
|
10
|
-
type OtelAttributeValue = string | number | boolean | string[] | number[] | boolean[];
|
|
11
|
-
interface OtelSpan {
|
|
12
|
-
spanId: string;
|
|
13
|
-
parentSpanId?: string;
|
|
14
|
-
name: string;
|
|
15
|
-
/** Preferred: epoch-based milliseconds (from autotel's SerializedSpan) */
|
|
16
|
-
startTimeMs?: number;
|
|
17
|
-
durationMs?: number;
|
|
18
|
-
/** Compatibility: raw OTel nanosecond timestamps */
|
|
19
|
-
startTimeUnixNano?: number;
|
|
20
|
-
endTimeUnixNano?: number;
|
|
21
|
-
status: "ok" | "error" | "unset";
|
|
22
|
-
statusMessage?: string;
|
|
23
|
-
attributes?: Record<string, OtelAttributeValue>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** Phase tracks when the doc entry was added */
|
|
27
|
-
type DocPhase = "static" | "runtime";
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* StoryReport — public, frozen contract for UI renderers.
|
|
31
|
-
*
|
|
32
|
-
* Distinct from internal TestRunResult. Pre-grouped feature → scenario tree,
|
|
33
|
-
* with pre-computed summaries at every level. Adapter concerns (rawStatus,
|
|
34
|
-
* projectName, titlePath) are stripped at the toStoryReport boundary.
|
|
35
|
-
*
|
|
36
|
-
* Versioning: semver-style "<major>.<minor>". Additive-only within a major.
|
|
37
|
-
* Source of truth: schemas/story-report-v1.json. Types here must stay in sync.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
type StoryReportSchemaVersion = `1.${number}`;
|
|
41
|
-
type TestStatus = "passed" | "failed" | "skipped" | "pending";
|
|
42
|
-
type StepKeyword = "Given" | "When" | "Then" | "And" | "But";
|
|
43
|
-
type StepMode = "normal" | "skip" | "only" | "todo" | "fails" | "concurrent";
|
|
44
|
-
interface ReportSummary {
|
|
45
|
-
total: number;
|
|
46
|
-
passed: number;
|
|
47
|
-
failed: number;
|
|
48
|
-
skipped: number;
|
|
49
|
-
pending: number;
|
|
50
|
-
durationMs: number;
|
|
51
|
-
}
|
|
52
|
-
interface ReportTicket {
|
|
53
|
-
id: string;
|
|
54
|
-
url?: string;
|
|
55
|
-
}
|
|
56
|
-
interface ReportAttachment {
|
|
57
|
-
name: string;
|
|
58
|
-
mediaType: string;
|
|
59
|
-
body: string;
|
|
60
|
-
contentEncoding: "BASE64" | "IDENTITY";
|
|
61
|
-
}
|
|
62
|
-
interface ReportCIInfo {
|
|
63
|
-
name: string;
|
|
64
|
-
url?: string;
|
|
65
|
-
buildNumber?: string;
|
|
66
|
-
branch?: string;
|
|
67
|
-
commitSha?: string;
|
|
68
|
-
prNumber?: string;
|
|
69
|
-
}
|
|
70
|
-
interface ReportCoverageSummary {
|
|
71
|
-
linesPct?: number;
|
|
72
|
-
branchesPct?: number;
|
|
73
|
-
functionsPct?: number;
|
|
74
|
-
statementsPct?: number;
|
|
75
|
-
}
|
|
76
|
-
type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocState | ReportDocCustom;
|
|
77
|
-
interface ReportDocNote {
|
|
78
|
-
kind: "note";
|
|
79
|
-
text: string;
|
|
80
|
-
phase: DocPhase;
|
|
81
|
-
children?: ReportDocEntry[];
|
|
82
|
-
}
|
|
83
|
-
interface ReportDocTag {
|
|
84
|
-
kind: "tag";
|
|
85
|
-
names: string[];
|
|
86
|
-
phase: DocPhase;
|
|
87
|
-
children?: ReportDocEntry[];
|
|
88
|
-
}
|
|
89
|
-
interface ReportDocKv {
|
|
90
|
-
kind: "kv";
|
|
91
|
-
label: string;
|
|
92
|
-
value: unknown;
|
|
93
|
-
phase: DocPhase;
|
|
94
|
-
children?: ReportDocEntry[];
|
|
95
|
-
}
|
|
96
|
-
interface ReportDocCode {
|
|
97
|
-
kind: "code";
|
|
98
|
-
label: string;
|
|
99
|
-
content: string;
|
|
100
|
-
lang?: string;
|
|
101
|
-
phase: DocPhase;
|
|
102
|
-
children?: ReportDocEntry[];
|
|
103
|
-
}
|
|
104
|
-
interface ReportDocTable {
|
|
105
|
-
kind: "table";
|
|
106
|
-
label: string;
|
|
107
|
-
columns: string[];
|
|
108
|
-
rows: string[][];
|
|
109
|
-
phase: DocPhase;
|
|
110
|
-
children?: ReportDocEntry[];
|
|
111
|
-
}
|
|
112
|
-
interface ReportDocLink {
|
|
113
|
-
kind: "link";
|
|
114
|
-
label: string;
|
|
115
|
-
url: string;
|
|
116
|
-
phase: DocPhase;
|
|
117
|
-
children?: ReportDocEntry[];
|
|
118
|
-
}
|
|
119
|
-
interface ReportDocSection {
|
|
120
|
-
kind: "section";
|
|
121
|
-
title: string;
|
|
122
|
-
markdown: string;
|
|
123
|
-
phase: DocPhase;
|
|
124
|
-
children?: ReportDocEntry[];
|
|
125
|
-
}
|
|
126
|
-
interface ReportDocMermaid {
|
|
127
|
-
kind: "mermaid";
|
|
128
|
-
code: string;
|
|
129
|
-
title?: string;
|
|
130
|
-
phase: DocPhase;
|
|
131
|
-
children?: ReportDocEntry[];
|
|
132
|
-
}
|
|
133
|
-
interface ReportDocScreenshot {
|
|
134
|
-
kind: "screenshot";
|
|
135
|
-
path: string;
|
|
136
|
-
alt?: string;
|
|
137
|
-
phase: DocPhase;
|
|
138
|
-
children?: ReportDocEntry[];
|
|
139
|
-
}
|
|
140
|
-
interface ReportDocVideo {
|
|
141
|
-
kind: "video";
|
|
142
|
-
path: string;
|
|
143
|
-
caption?: string;
|
|
144
|
-
poster?: string;
|
|
145
|
-
phase: DocPhase;
|
|
146
|
-
children?: ReportDocEntry[];
|
|
147
|
-
}
|
|
148
|
-
interface ReportDocHtml {
|
|
149
|
-
kind: "html";
|
|
150
|
-
/** Local HTML file path (exactly one of path/url/content) */
|
|
151
|
-
path?: string;
|
|
152
|
-
/** Remote URL rendered via iframe src (exactly one of path/url/content) */
|
|
153
|
-
url?: string;
|
|
154
|
-
/** Inline HTML content rendered via iframe srcdoc (exactly one of path/url/content) */
|
|
155
|
-
content?: string;
|
|
156
|
-
title?: string;
|
|
157
|
-
/** Iframe height: number → px, string passed through (e.g. "60vh"). Default 400px. */
|
|
158
|
-
height?: number | string;
|
|
159
|
-
phase: DocPhase;
|
|
160
|
-
children?: ReportDocEntry[];
|
|
161
|
-
}
|
|
162
|
-
interface ReportDocState {
|
|
163
|
-
kind: "state";
|
|
164
|
-
/** Entity name ("Basket") — diff identity across steps. Unlabeled states share one lane. */
|
|
165
|
-
label?: string;
|
|
166
|
-
/** JSON-serializable snapshot of the state at this step. */
|
|
167
|
-
value: unknown;
|
|
168
|
-
phase: DocPhase;
|
|
169
|
-
children?: ReportDocEntry[];
|
|
170
|
-
}
|
|
171
|
-
interface ReportDocCustom {
|
|
172
|
-
kind: "custom";
|
|
173
|
-
type: string;
|
|
174
|
-
data: unknown;
|
|
175
|
-
phase: DocPhase;
|
|
176
|
-
children?: ReportDocEntry[];
|
|
177
|
-
}
|
|
178
|
-
interface ReportStep {
|
|
179
|
-
id: string;
|
|
180
|
-
index: number;
|
|
181
|
-
keyword: StepKeyword;
|
|
182
|
-
text: string;
|
|
183
|
-
status: TestStatus;
|
|
184
|
-
durationMs: number;
|
|
185
|
-
errorMessage?: string;
|
|
186
|
-
mode?: StepMode;
|
|
187
|
-
docEntries: ReportDocEntry[];
|
|
188
|
-
}
|
|
189
|
-
interface ReportScenario {
|
|
190
|
-
id: string;
|
|
191
|
-
title: string;
|
|
192
|
-
status: TestStatus;
|
|
193
|
-
/**
|
|
194
|
-
* True for scenarios authored with the framework's todo modifier
|
|
195
|
-
* (e.g. `it.todo`): specified behavior with no implementation yet.
|
|
196
|
-
* Canonical status stays "pending"; this flags why.
|
|
197
|
-
*/
|
|
198
|
-
planned?: boolean;
|
|
199
|
-
durationMs: number;
|
|
200
|
-
tags: string[];
|
|
201
|
-
tickets?: ReportTicket[];
|
|
202
|
-
/** Product-code paths/globs this scenario exercises (project-root-relative). */
|
|
203
|
-
covers?: string[];
|
|
204
|
-
sourceLine?: number;
|
|
205
|
-
errorMessage?: string;
|
|
206
|
-
errorStack?: string;
|
|
207
|
-
retry: number;
|
|
208
|
-
retries: number;
|
|
209
|
-
docEntries: ReportDocEntry[];
|
|
210
|
-
steps: ReportStep[];
|
|
211
|
-
attachments: ReportAttachment[];
|
|
212
|
-
/** OTel spans for the trace waterfall (carried through from the run). */
|
|
213
|
-
otelSpans?: OtelSpan[];
|
|
214
|
-
}
|
|
215
|
-
interface ReportFeature {
|
|
216
|
-
id: string;
|
|
217
|
-
title: string;
|
|
218
|
-
sourceFile: string;
|
|
219
|
-
summary: ReportSummary;
|
|
220
|
-
scenarios: ReportScenario[];
|
|
221
|
-
}
|
|
222
|
-
interface StoryReport {
|
|
223
|
-
schemaVersion: StoryReportSchemaVersion;
|
|
224
|
-
runId: string;
|
|
225
|
-
startedAtMs: number;
|
|
226
|
-
finishedAtMs: number;
|
|
227
|
-
durationMs: number;
|
|
228
|
-
projectRoot: string;
|
|
229
|
-
packageVersion?: string;
|
|
230
|
-
gitSha?: string;
|
|
231
|
-
ci?: ReportCIInfo;
|
|
232
|
-
coverage?: ReportCoverageSummary;
|
|
233
|
-
summary: ReportSummary;
|
|
234
|
-
features: ReportFeature[];
|
|
235
|
-
}
|
|
3
|
+
import { ReportDocCustom, ReportDocMermaid, ReportDocCode, ReportDocSection, StoryReport } from 'executable-stories-core';
|
|
236
4
|
|
|
237
5
|
/**
|
|
238
6
|
* Result<T> — explicit success/error type matching the cookbook convention.
|