executable-stories-react 0.7.0 → 0.9.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/dist/ssr.d.cts CHANGED
@@ -70,7 +70,7 @@ interface ReportCoverageSummary {
70
70
  functionsPct?: number;
71
71
  statementsPct?: number;
72
72
  }
73
- type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocCustom;
73
+ type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocState | ReportDocCustom;
74
74
  interface ReportDocNote {
75
75
  kind: "note";
76
76
  text: string;
@@ -156,6 +156,15 @@ interface ReportDocHtml {
156
156
  phase: DocPhase;
157
157
  children?: ReportDocEntry[];
158
158
  }
159
+ interface ReportDocState {
160
+ kind: "state";
161
+ /** Entity name ("Basket") — diff identity across steps. Unlabeled states share one lane. */
162
+ label?: string;
163
+ /** JSON-serializable snapshot of the state at this step. */
164
+ value: unknown;
165
+ phase: DocPhase;
166
+ children?: ReportDocEntry[];
167
+ }
159
168
  interface ReportDocCustom {
160
169
  kind: "custom";
161
170
  type: string;
package/dist/ssr.d.ts CHANGED
@@ -70,7 +70,7 @@ interface ReportCoverageSummary {
70
70
  functionsPct?: number;
71
71
  statementsPct?: number;
72
72
  }
73
- type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocCustom;
73
+ type ReportDocEntry = ReportDocNote | ReportDocTag | ReportDocKv | ReportDocCode | ReportDocTable | ReportDocLink | ReportDocSection | ReportDocMermaid | ReportDocScreenshot | ReportDocVideo | ReportDocHtml | ReportDocState | ReportDocCustom;
74
74
  interface ReportDocNote {
75
75
  kind: "note";
76
76
  text: string;
@@ -156,6 +156,15 @@ interface ReportDocHtml {
156
156
  phase: DocPhase;
157
157
  children?: ReportDocEntry[];
158
158
  }
159
+ interface ReportDocState {
160
+ kind: "state";
161
+ /** Entity name ("Basket") — diff identity across steps. Unlabeled states share one lane. */
162
+ label?: string;
163
+ /** JSON-serializable snapshot of the state at this step. */
164
+ value: unknown;
165
+ phase: DocPhase;
166
+ children?: ReportDocEntry[];
167
+ }
159
168
  interface ReportDocCustom {
160
169
  kind: "custom";
161
170
  type: string;