executable-stories-react 0.13.0 → 0.14.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.
@@ -181,8 +181,10 @@ declare function listFailures(report: StoryReport): FailureRef[];
181
181
 
182
182
  interface ReportFailureBannerProps {
183
183
  failures: readonly FailureRef[];
184
+ /** Copies every failure as one agent prompt. Omitted on a static render. */
185
+ onCopyAll?: () => void;
184
186
  }
185
- declare function ReportFailureBanner({ failures }: ReportFailureBannerProps): react.JSX.Element | null;
187
+ declare function ReportFailureBanner({ failures, onCopyAll }: ReportFailureBannerProps): react.JSX.Element | null;
186
188
 
187
189
  interface ReportFreshnessProps {
188
190
  /** Epoch ms of the run this report documents (see reportLastRunMs). */
@@ -181,8 +181,10 @@ declare function listFailures(report: StoryReport): FailureRef[];
181
181
 
182
182
  interface ReportFailureBannerProps {
183
183
  failures: readonly FailureRef[];
184
+ /** Copies every failure as one agent prompt. Omitted on a static render. */
185
+ onCopyAll?: () => void;
184
186
  }
185
- declare function ReportFailureBanner({ failures }: ReportFailureBannerProps): react.JSX.Element | null;
187
+ declare function ReportFailureBanner({ failures, onCopyAll }: ReportFailureBannerProps): react.JSX.Element | null;
186
188
 
187
189
  interface ReportFreshnessProps {
188
190
  /** Epoch ms of the run this report documents (see reportLastRunMs). */