executable-stories-react 0.6.0 → 0.8.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.
@@ -73,7 +73,7 @@ interface ReportCoverageSummary {
73
73
  functionsPct?: number;
74
74
  statementsPct?: number;
75
75
  }
76
- type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocCustom;
76
+ type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocState | ReportDocCustom;
77
77
  interface ReportDocNote {
78
78
  kind: "note";
79
79
  text: string;
@@ -159,6 +159,15 @@ interface ReportDocHtml {
159
159
  phase: DocPhase;
160
160
  children?: ReportDocEntry[];
161
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
+ }
162
171
  interface ReportDocCustom {
163
172
  kind: "custom";
164
173
  type: string;
@@ -73,7 +73,7 @@ interface ReportCoverageSummary {
73
73
  functionsPct?: number;
74
74
  statementsPct?: number;
75
75
  }
76
- type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocCustom;
76
+ type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocState | ReportDocCustom;
77
77
  interface ReportDocNote {
78
78
  kind: "note";
79
79
  text: string;
@@ -159,6 +159,15 @@ interface ReportDocHtml {
159
159
  phase: DocPhase;
160
160
  children?: ReportDocEntry[];
161
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
+ }
162
171
  interface ReportDocCustom {
163
172
  kind: "custom";
164
173
  type: string;