Lines 15-55javascript
18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21var parse_entry_exports = {};
22__export(parse_entry_exports, {
23 STORY_REPORT_SCHEMA_MAJOR: () => STORY_REPORT_SCHEMA_MAJOR,
26 parseStoryReport: () => parseStoryReport,
27 storyReportSchema: () => storyReportSchema
29module.exports = __toCommonJS(parse_entry_exports);
32var ok = (data) => ({ ok: true, data });
33var err = (error) => ({ ok: false, error });
35// src/schema/story-report.schema.ts
36var import_zod = require("zod");
37
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/parse.cjsView on unpkg · L35 38// ../executable-stories-core/schemas/story-report-v1.json
39var story_report_v1_default = {
40 $schema: "https://json-schema.org/draft/2020-12/schema",
41 $id: "https://executable-stories.dev/schemas/story-report-v1.schema.json",
43 description: "Pre-grouped, denormalized report shape consumed by UI renderers (React, Svelte, Vue, etc.). Stable public contract \u2014 additive-only within a major. Distinct from internal TestRunResult.",
45 $ref: "#/$defs/StoryReport",
49 description: "Top-level report containing all features, runtime metadata, and a pre-computed summary.",
53 pattern: "^1\\.[0-9]+$",
54 description: "Schema version as 'major.minor'. Major bumps are breaking; minors are additive-only. UI packages must accept any 1.x."