@aussieljk/forkbook 0.0.1-2 → 0.0.1-21
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/LICENSE +1 -1
- package/README.md +35 -53
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +7 -7
- package/assets/create/rendererAssets/common/header.css +6 -6
- package/assets/create/rendererAssets/common/page.css +12 -12
- package/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +31 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-7FO5YFB5.js} +8 -8
- package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
- package/dist/_browser-chunks/WithTooltip-QWFSUQZP.js +199 -0
- package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-2WZWS7GJ.js} +5 -5
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-3QNZOMD7.js} +8 -3
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-3QPZOXB7.js} +6 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-4BOJAE7P.js} +14 -10
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-5Z3MWCFR.js} +12 -12
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-6SL45YM3.js} +15 -18
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-AN2LJG5I.js} +1 -1
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-BLCZ3C5M.js} +48 -83
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-BSYOFSF6.js} +770 -720
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-DHTLVXAL.js} +38 -45
- package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-DISGPOF4.js} +54 -51
- package/dist/_browser-chunks/chunk-DNJ3OSLB.js +6021 -0
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-E6QKKKLO.js} +21 -6
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-EBSOKHFG.js} +10 -4
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-ECMVTOVD.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-ENHFQXYS.js} +9 -7
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-EW2M3URL.js} +91 -84
- package/dist/_browser-chunks/chunk-FAOLWWRN.js +20 -0
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-FCULT3AE.js} +3 -3
- package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
- package/dist/_browser-chunks/chunk-HZFHNYRC.js +53 -0
- package/dist/_browser-chunks/chunk-IFADVEQE.js +669 -0
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-KQJ4T6JL.js} +31 -25
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-NA4ITZTK.js} +127 -105
- package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-NK5SGJNG.js} +22 -17
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/chunk-PFYL47RM.js +45 -0
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-PQRPDA4U.js} +5 -5
- package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
- package/dist/_browser-chunks/chunk-PZQRXPVR.js +21 -0
- package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-QFO2B4X2.js} +31 -28
- package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/chunk-XSVERCGB.js +91 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-XTQCLWVH.js} +325 -1635
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-YJO5BK52.js} +7 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-ZF37BMDS.js} +6 -2
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-ZIZCGWCG.js} +348 -170
- package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
- package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-UC2CB4GH.js} +37 -35
- package/dist/_node-chunks/builder-manager-S5UUKVOR.js +1174 -0
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-3335ZZIO.js} +6 -6
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-3D6N6P2R.js} +283 -306
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-3ER54PQM.js} +8 -8
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-3H5C52QU.js} +6 -6
- package/dist/_node-chunks/chunk-3UI3TQ7R.js +28 -0
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-4C3ACAHV.js} +6 -6
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-4UTCKJEQ.js} +7 -7
- package/dist/_node-chunks/chunk-53A5CYDK.js +572 -0
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-53PSBDRK.js} +140 -118
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-54MO4QLB.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-5CJMRQZ6.js} +6 -6
- package/dist/_node-chunks/chunk-5HOM7B4V.js +20 -0
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-5QG6AXK4.js} +7 -7
- package/dist/_node-chunks/chunk-67XVZZUO.js +405 -0
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-6HQJJDLH.js} +6 -6
- package/dist/_node-chunks/chunk-6IPHWCFI.js +29 -0
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-6XYOFBRD.js} +98 -129
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-7IAYDGYH.js} +6 -6
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-7P67PUU2.js} +7 -7
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-AAK5BBF2.js} +7 -7
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-BGUVBOOU.js} +10 -10
- package/dist/_node-chunks/chunk-BNGBOASQ.js +25 -0
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-BWZWCVVH.js} +9 -9
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-C6HQ6WLU.js} +8 -8
- package/dist/_node-chunks/chunk-CJHRH777.js +20 -0
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-COEW4ORP.js} +6 -6
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-CVHDAEDZ.js} +7 -7
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-CXGOQNGI.js} +7 -7
- package/dist/_node-chunks/chunk-D4XTQWRM.js +11 -0
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-D5V6CZ6U.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-DCTXJ4TT.js} +14 -16
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-DP6WFY3D.js} +7 -7
- package/dist/_node-chunks/chunk-E23GDXG6.js +271 -0
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-E3ZFMURC.js} +8 -8
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-E6O3NA44.js} +7 -7
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-ECS3WDOU.js} +8 -8
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-FB5YJWOH.js} +6 -6
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-FCK5FM6D.js} +7 -7
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-FJUGPEJK.js} +6 -6
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-FPYXI76E.js} +75 -75
- package/dist/_node-chunks/chunk-GEWVOY3F.js +62 -0
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-GHZ44BFB.js} +14 -13
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-GJMFISS3.js} +8 -8
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-GK2Y2RFX.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-GP6YBA2R.js} +6 -6
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-GQUFGJ4D.js} +6 -6
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-H4CRQDTK.js} +6 -6
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-HCDG54OG.js} +7 -7
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-HGJMP4EI.js} +506 -494
- package/dist/_node-chunks/chunk-HSX6BDBA.js +18 -0
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-IPFPWMT5.js} +1320 -437
- package/dist/_node-chunks/chunk-KRIOC4WF.js +281 -0
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-KUL2MJ6N.js} +6 -6
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-LUR6QTYB.js} +10 -10
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-LYS7TI35.js} +368 -321
- package/dist/_node-chunks/chunk-MDTXL6SN.js +2613 -0
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-MIIPXT4S.js} +9 -9
- package/dist/_node-chunks/chunk-MLWGAA2I.js +138 -0
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-MWUGCUB5.js} +52 -22
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-MX5MVLEK.js} +6 -6
- package/dist/_node-chunks/chunk-N44UIGCO.js +47 -0
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-NP2JHOFY.js} +37 -31
- package/dist/_node-chunks/chunk-OMNGOPNG.js +52 -0
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-OO2GTHUF.js} +9 -17
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-PC57BIYZ.js} +8 -8
- package/dist/_node-chunks/chunk-PHWMAF5C.js +49 -0
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-PLIQQETC.js} +7 -7
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-QMYCIS2U.js} +6 -6
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-QZIDK3GX.js} +89 -71
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-ROJ6RSIJ.js} +7 -7
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-S2NB6QEG.js} +542 -1049
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-S6VCOSQS.js} +6 -6
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-SEVOOOB2.js} +474 -479
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-SFT6ZAVN.js} +6 -6
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-SXBUK4F6.js} +7 -7
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-TGF6Q66I.js} +15 -9
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-TGFHWGGT.js} +9 -6
- package/dist/_node-chunks/chunk-TTLSBLPQ.js +620 -0
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-UUAEW2AR.js} +6 -6
- package/dist/_node-chunks/chunk-VQHM66NL.js +534 -0
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-VSTTY3TM.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-XDBSAFUB.js} +650 -9
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-XTQQGAUZ.js} +7 -7
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-YMJVSFJT.js} +6 -6
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-YXEKWVJQ.js} +7 -7
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-Z6CUUWJO.js} +34 -949
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-ZAIGR7EV.js} +64 -17
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-ZCFXEFR6.js} +33 -41
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-ZHUBOYOD.js} +6 -6
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-ZHUBTBP2.js} +25 -8
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-ZSTIFZHY.js} +21 -25
- package/dist/_node-chunks/dist-TRTHRODT.js +16 -0
- package/dist/_node-chunks/dist-XPLJ5T4W.js +27 -0
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-AC7MOWYK.js} +21 -22
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-ZW26VGEP.js} +2263 -130
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-T2KZK62Q.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-2CWUUF6H.js} +12 -12
- package/dist/_node-chunks/optimized-tests-4AK3PFSX.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-CMRGEXHM.js} +12 -12
- package/dist/_node-chunks/postinstallAddon-OUQENFYO.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-LHOAIJ2E.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-K54MMYY6.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-TTL4PWH7.js} +12 -12
- package/dist/_node-chunks/{run-NL66VTNR.js → run-6DXBB5F7.js} +294 -30
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-BMTV5ZAO.js} +18 -18
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-FDPYW25Y.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-2TCFWAAI.js} +9 -9
- package/dist/actions/decorator.js +18 -22
- package/dist/actions/index.d.ts +4 -4
- package/dist/actions/index.js +3 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +3 -2
- package/dist/addon-a11y/manager.js +41 -38
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.d.ts +8 -2
- package/dist/addon-a11y/preview.js +3 -2
- package/dist/addon-comments/manager.js +353 -0
- package/dist/addon-comments/preset.js +80 -0
- package/dist/addon-comments/preview.js +101 -0
- package/dist/addon-docs/blocks.d.ts +123 -85
- package/dist/addon-docs/blocks.js +159 -85
- package/dist/addon-docs/index.d.ts +21 -21
- package/dist/addon-docs/index.js +3 -3
- package/dist/addon-docs/manager.js +6 -6
- package/dist/addon-docs/preset.js +12 -12
- package/dist/addon-docs/preview.d.ts +3 -1
- package/dist/addon-docs/preview.js +1 -1
- package/dist/addon-links/index.d.ts +2 -1
- package/dist/addon-links/index.js +5 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +5 -2
- package/dist/addon-links/react/index.js +4 -1
- package/dist/addon-mcp/preset.js +203 -84
- package/dist/addon-mcp/preview.js +1 -1
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +71 -71
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/index.js +1 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.js +1 -1
- package/dist/addon-themes/index.d.ts +7 -6
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +4 -4
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +32 -23
- package/dist/addon-vitest/node/coverage-reporter.js +11 -11
- package/dist/addon-vitest/node/vitest.js +37 -37
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +26 -26
- package/dist/addon-vitest/vitest-plugin/global-setup.js +23 -23
- package/dist/addon-vitest/vitest-plugin/index.js +83 -73
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.d.ts +241 -995
- package/dist/babel/index.js +30583 -38
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +122 -110
- package/dist/bin/dispatcher.js +18 -16
- package/dist/bin/loader.js +17 -16
- package/dist/builder-next/index.d.ts +59 -0
- package/dist/builder-next/index.js +201 -0
- package/dist/builder-vite/index.d.ts +8 -3
- package/dist/builder-vite/index.js +80 -25
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +3 -2
- package/dist/channels/index.js +97 -24
- package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-B53gRJBs.d.ts} +838 -703
- package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
- package/dist/chunk-BcYKnZln.d.ts +10 -0
- package/dist/{chunk-Bpi2tz-6.d.ts → chunk-BspNQvZn.d.ts} +21 -23
- package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
- package/dist/chunk-CFhJCPSB.d.ts +48 -0
- package/dist/{chunk-DtHByo32.d.ts → chunk-CFk6djyM.d.ts} +5 -5
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-CMx6bGAU.d.ts} +2 -2
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-CRmUwbkb.d.ts} +4 -4
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
- package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-DNCU78oW.d.ts} +160 -323
- package/dist/chunk-DVIvUVkS.d.ts +195 -0
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-C-bavsOH.d.ts → chunk-Dw_4ad2Y.d.ts} +6 -6
- package/dist/chunk-Susgfkap.d.ts +20 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-bhl-7rRD.d.ts} +40 -15
- package/dist/{chunk-BXLImeLy.d.ts → chunk-r-Vjut9o.d.ts} +52 -11
- package/dist/cli/index.d.ts +15 -904
- package/dist/cli/index.js +49 -5209
- package/dist/cli/skills/content/index.d.ts +3 -3
- package/dist/cli/skills/content/index.js +3 -3
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +4 -4
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.d.ts +20 -21
- package/dist/client-logger/index.js +5 -2
- package/dist/common/index.d.ts +32 -44
- package/dist/common/index.js +89 -98
- package/dist/components/index.d.ts +86 -272
- package/dist/components/index.js +2759 -8547
- package/dist/core-events/index.d.ts +16 -7
- package/dist/core-events/index.js +5 -5
- package/dist/core-server/index.d.ts +95 -26
- package/dist/core-server/index.js +1675 -408
- package/dist/core-server/presets/common-manager.js +837 -1335
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +100 -282
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/csf-utils.d.ts +1 -1
- package/dist/csf/index.d.ts +6 -6
- package/dist/csf/index.js +90 -159
- package/dist/csf-tools/index.d.ts +66 -54
- package/dist/csf-tools/index.js +19 -17
- package/dist/docs-tools/index.d.ts +332 -16
- package/dist/docs-tools/index.js +3 -3
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.d.ts +5 -5
- package/dist/instrumenter/index.js +31 -19
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-B4NRbNSS.js} +638 -1731
- package/dist/{preview/_chunks/runtime-CqHxptiK.js → manager/_manager-chunks/globals-runtime-BC43T1rL.js} +3413 -173
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-BJ6EZqH7.js} +1035 -623
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-BfXaq_CP.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-BkSn_Jpe.js} +411 -379
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-BnQ7i5wq.js} +232 -370
- package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
- package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/globals-runtime-CS41oTca.js +1808 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cisw9IIE.js} +11 -11
- package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DCmvKMN5.js} +2 -1
- package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-DpvE_zRs.js} +1013 -782
- package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
- package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
- package/dist/manager/_manager-chunks/globals-runtime-oRjPg2jY.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-wV08sCKl.js} +715 -620
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-4OQZWibO.js} +1717 -1536
- package/dist/manager/_manager-chunks/runtime-BYxbyNm0.js +201 -0
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/runtime-CM4Z8aKR.js +735 -0
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-Cjo1UL1u.js} +57 -76
- package/dist/manager/_manager-chunks/runtime-Cx1-wr6J.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-Cxe_uJRb.js} +220 -406
- package/dist/manager/_manager-chunks/runtime-D702FFTO.js +551 -0
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-DnWFp6Zw.js} +8 -534
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-DoYPE6g6.js} +232 -158
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-sppa-0ll.js} +741 -698
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +538 -528
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.d.ts +10 -10
- package/dist/mcp/index.js +11 -11
- package/dist/mocking-utils/index.d.ts +7 -5
- package/dist/mocking-utils/index.js +34 -34
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/next/index.d.ts +231 -0
- package/dist/next/index.js +398 -0
- package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
- package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
- package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
- package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
- package/dist/nextjs-vite/index.d.ts +4 -4
- package/dist/nextjs-vite/index.js +10 -5
- package/dist/nextjs-vite/node/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +117 -15
- package/dist/nextjs-vite/preview.d.ts +2 -1
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
- package/dist/nextjs-vite/vite-plugin/index.js +9 -9
- package/dist/nextjs-vite-plugin/index.d.ts +2 -3
- package/dist/nextjs-vite-plugin/index.js +24 -49
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
- package/dist/node-logger/index.d.ts +89 -90
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +15 -14
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/{manager/_manager-chunks/globals-runtime-8HkdnU2F.js → preview/_chunks/runtime-BYRCSYBN.js} +4440 -179
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-Bvh_rfnQ.js} +29 -64
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-Cbq5WjbL.js} +772 -418
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-D2MPrqbU.js} +2 -2
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DDEUZops.js} +453 -161
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-DS0s7U3c.js} +482 -334
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-DsjyhLpG.js} +397 -176
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-Dwi6NFcX.js} +3 -3
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +3 -3
- package/dist/preview-api/index.js +12 -10
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview-argtypes.js +1 -1
- package/dist/react/entry-preview-docs.js +1 -1
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.d.ts +9 -11
- package/dist/react/index.js +8 -6
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +5 -4
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +48 -47
- package/dist/react-native/index.js +64 -249
- package/dist/react-native/metro/node.d.ts +3 -3
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +18 -18
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +27 -26
- package/dist/react-native/preview.js +4 -1
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-theming/index.d.ts +2 -58
- package/dist/react-native-theming/index.js +63 -2338
- package/dist/react-native-ui/index.d.ts +14 -14
- package/dist/react-native-ui/index.js +8 -15
- package/dist/react-native-ui-common/index.d.ts +32 -12
- package/dist/react-native-ui-common/index.js +26 -31
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.d.ts +3 -1
- package/dist/react-vite/preset.js +16 -9
- package/dist/router/index.d.ts +80 -3
- package/dist/router/index.js +66 -12
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +3 -3
- package/dist/shared/open-service/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +28 -28
- package/dist/telemetry/index.d.ts +38 -274
- package/dist/telemetry/index.js +11 -68
- package/dist/test/index.d.ts +2 -2
- package/dist/test/index.js +765 -511
- package/dist/theming/create.d.ts +1 -1
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.d.ts +6 -6
- package/dist/theming/index.js +41 -16
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +69 -69
- package/skills/setup/SKILL.md +14 -0
- package/skills/stories/SKILL.md +21 -0
- package/skills/write-story/SKILL.md +14 -0
- package/template/nextjs-vite/cli/js/Button.jsx +2 -2
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.jsx +1 -1
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +3 -3
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +3 -3
- package/template/react/cli/js/Button.jsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.jsx +1 -1
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +3 -3
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Button.tsx +2 -2
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Header.tsx +1 -1
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +3 -3
- package/template/react-vite/cli/js/Button.jsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.jsx +1 -1
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +3 -3
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Button.tsx +2 -2
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Header.tsx +1 -1
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +3 -3
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_browser-chunks/WithTooltip-XSQFTBMB.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-JMC7AIKT.js +0 -108
- package/dist/_node-chunks/builder-manager-VVHYQXCH.js +0 -1661
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-3BKIBF5S.js +0 -3008
- package/dist/_node-chunks/chunk-3T4ZSNPH.js +0 -662
- package/dist/_node-chunks/chunk-5DQFEZEA.js +0 -40
- package/dist/_node-chunks/chunk-6LMWA44H.js +0 -3837
- package/dist/_node-chunks/chunk-BXVYT7SB.js +0 -36
- package/dist/_node-chunks/chunk-CQKMLL5J.js +0 -33
- package/dist/_node-chunks/chunk-EHUNOMDD.js +0 -52345
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-GRBLDJCR.js +0 -989
- package/dist/_node-chunks/chunk-IDEL2J23.js +0 -23
- package/dist/_node-chunks/chunk-JPAZLYJ3.js +0 -29
- package/dist/_node-chunks/chunk-MK2KYAI6.js +0 -5414
- package/dist/_node-chunks/chunk-NPO45IMH.js +0 -33
- package/dist/_node-chunks/chunk-QEQLR22M.js +0 -1877
- package/dist/_node-chunks/chunk-RZMQ7S3L.js +0 -92
- package/dist/_node-chunks/chunk-SIEXZVCR.js +0 -51
- package/dist/_node-chunks/chunk-TEQGGSP7.js +0 -33
- package/dist/_node-chunks/chunk-TFCEV2XX.js +0 -155
- package/dist/_node-chunks/chunk-UBOGWBEA.js +0 -148
- package/dist/_node-chunks/chunk-W4OMYLSP.js +0 -1297
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/chunk-ZMAMXQKP.js +0 -4731
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/globby-OEMHPBFY.js +0 -2884
- package/dist/_node-chunks/jiti-NFX6UU74.js +0 -3848
- package/dist/_node-chunks/lib-MDVARD7W.js +0 -366
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +0 -22
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +0 -20
- package/dist/_node-chunks/session-id-KIIVOQLR.js +0 -23
- package/dist/chunk-BTVrWliM.d.ts +0 -115
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/chunk-BxWufQms.d.ts +0 -142
- package/dist/chunk-DaVb55-_.d.ts +0 -124
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/globals-runtime-ZHrQFa3-.js +0 -10463
- package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +0 -452
- package/dist/manager/_manager-chunks/runtime-BK0zF7FN.js +0 -22
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
- package/dist/manager/_manager-chunks/runtime-DMig8mT7.js +0 -77
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-BwSxqk3t.js +0 -63
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
- package/dist/preview/_chunks/runtime-DuHdxMFA.js +0 -387
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as ArgTypes } from "../chunk-
|
|
2
|
-
import { Report } from "@aussieljk/forkbook/preview-api";
|
|
1
|
+
import { a as ArgTypes } from "../chunk-DNCU78oW.js";
|
|
3
2
|
|
|
4
3
|
//#region .dts-emit/code/core/src/core-events/data/argtypes-info.d.ts
|
|
5
4
|
interface ArgTypesRequestPayload {
|
|
@@ -14,7 +13,7 @@ type RequestData<Payload = void> = {
|
|
|
14
13
|
id: string;
|
|
15
14
|
payload: Payload;
|
|
16
15
|
};
|
|
17
|
-
type ResponseData<Payload = void, ErrorPayload extends
|
|
16
|
+
type ResponseData<Payload = void, ErrorPayload extends object | void = void> = {
|
|
18
17
|
id: string;
|
|
19
18
|
success: true;
|
|
20
19
|
error: null;
|
|
@@ -64,6 +63,16 @@ type WhatsNewData = {
|
|
|
64
63
|
};
|
|
65
64
|
//#endregion
|
|
66
65
|
//#region .dts-emit/code/core/src/core-events/data/phases.d.ts
|
|
66
|
+
/**
|
|
67
|
+
* A report that an addon adds for a story. preview-api re-exports it. It is here because
|
|
68
|
+
* core-events is below preview-api.
|
|
69
|
+
*/
|
|
70
|
+
interface Report<T = unknown> {
|
|
71
|
+
type: string;
|
|
72
|
+
version?: number;
|
|
73
|
+
result: T;
|
|
74
|
+
status: 'failed' | 'passed' | 'warning';
|
|
75
|
+
}
|
|
67
76
|
interface StoryFinishedPayload {
|
|
68
77
|
storyId: string;
|
|
69
78
|
status: 'error' | 'success';
|
|
@@ -86,6 +95,7 @@ type OpenInEditorResponsePayload = {
|
|
|
86
95
|
//#region .dts-emit/code/core/src/core-events/index.d.ts
|
|
87
96
|
declare enum events {
|
|
88
97
|
CHANNEL_WS_DISCONNECT = "channelWSDisconnect",
|
|
98
|
+
CHANNEL_WS_RECONNECT = "channelWSReconnect",
|
|
89
99
|
CHANNEL_CREATED = "channelCreated",
|
|
90
100
|
CONFIG_ERROR = "configError",
|
|
91
101
|
STORY_INDEX_INVALIDATED = "storyIndexInvalidated",
|
|
@@ -126,6 +136,7 @@ declare enum events {
|
|
|
126
136
|
STORIES_COLLAPSE_ALL = "storiesCollapseAll",
|
|
127
137
|
STORIES_EXPAND_ALL = "storiesExpandAll",
|
|
128
138
|
DOCS_RENDERED = "docsRendered",
|
|
139
|
+
DOCS_PAGE_IN_VIEW = "docsPageInView",
|
|
129
140
|
SHARED_STATE_CHANGED = "sharedStateChanged",
|
|
130
141
|
SHARED_STATE_SET = "sharedStateSet",
|
|
131
142
|
NAVIGATE_URL = "navigateUrl",
|
|
@@ -139,8 +150,6 @@ declare enum events {
|
|
|
139
150
|
SAVE_STORY_RESPONSE = "saveStoryResponse",
|
|
140
151
|
ARGTYPES_INFO_REQUEST = "argtypesInfoRequest",
|
|
141
152
|
ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse",
|
|
142
|
-
GHOST_STORIES_REQUEST = "ghostStoriesRequest",
|
|
143
|
-
GHOST_STORIES_RESPONSE = "ghostStoriesResponse",
|
|
144
153
|
AI_SETUP_ANALYTICS_RESPONSE = "aiSetupAnalyticsResponse",
|
|
145
154
|
AI_SETUP_ANALYTICS_REQUEST = "aiSetupAnalyticsRequest",
|
|
146
155
|
OPEN_IN_EDITOR_REQUEST = "openInEditorRequest",
|
|
@@ -150,6 +159,6 @@ declare enum events {
|
|
|
150
159
|
AI_PROMPT_NUDGE = "aiPromptNudge",
|
|
151
160
|
SIDEBAR_FILTER_CHANGED = "sidebarFilterChanged"
|
|
152
161
|
}
|
|
153
|
-
declare const CHANNEL_WS_DISCONNECT: events, CHANNEL_CREATED: events, CONFIG_ERROR: events, CURRENT_STORY_WAS_SET: events, DOCS_PREPARED: events, DOCS_RENDERED: events, FORCE_RE_RENDER: events, FORCE_REMOUNT: events, GLOBALS_UPDATED: events, NAVIGATE_URL: events, PLAY_FUNCTION_THREW_EXCEPTION: events, UNHANDLED_ERRORS_WHILE_PLAYING: events, PRELOAD_ENTRIES: events, PREVIEW_INITIALIZED: events, PREVIEW_BUILDER_PROGRESS: events, PREVIEW_KEYDOWN: events, REGISTER_SUBSCRIPTION: events, RESET_STORY_ARGS: events, SELECT_STORY: events, SET_CONFIG: events, SET_CURRENT_STORY: events, SET_FILTER: events, SET_GLOBALS: events, SET_INDEX: events, SET_STORIES: events, SHARED_STATE_CHANGED: events, SHARED_STATE_SET: events, STORIES_COLLAPSE_ALL: events, STORIES_EXPAND_ALL: events, STORY_ARGS_UPDATED: events, STORY_CHANGED: events, STORY_ERRORED: events, STORY_INDEX_INVALIDATED: events, STORY_MISSING: events, STORY_PREPARED: events, STORY_RENDER_PHASE_CHANGED: events, STORY_RENDERED: events, STORY_FINISHED: events, STORY_SPECIFIED: events, STORY_THREW_EXCEPTION: events, STORY_UNCHANGED: events, STORY_HOT_UPDATED: events, UPDATE_GLOBALS: events, UPDATE_QUERY_PARAMS: events, UPDATE_STORY_ARGS: events, REQUEST_WHATS_NEW_DATA: events, RESULT_WHATS_NEW_DATA: events, SET_WHATS_NEW_CACHE: events, TOGGLE_WHATS_NEW_NOTIFICATIONS: events, TELEMETRY_ERROR: events, SAVE_STORY_REQUEST: events, SAVE_STORY_RESPONSE: events, ARGTYPES_INFO_REQUEST: events, ARGTYPES_INFO_RESPONSE: events,
|
|
162
|
+
declare const CHANNEL_WS_DISCONNECT: events, CHANNEL_WS_RECONNECT: events, CHANNEL_CREATED: events, CONFIG_ERROR: events, CURRENT_STORY_WAS_SET: events, DOCS_PREPARED: events, DOCS_RENDERED: events, DOCS_PAGE_IN_VIEW: events, FORCE_RE_RENDER: events, FORCE_REMOUNT: events, GLOBALS_UPDATED: events, NAVIGATE_URL: events, PLAY_FUNCTION_THREW_EXCEPTION: events, UNHANDLED_ERRORS_WHILE_PLAYING: events, PRELOAD_ENTRIES: events, PREVIEW_INITIALIZED: events, PREVIEW_BUILDER_PROGRESS: events, PREVIEW_KEYDOWN: events, REGISTER_SUBSCRIPTION: events, RESET_STORY_ARGS: events, SELECT_STORY: events, SET_CONFIG: events, SET_CURRENT_STORY: events, SET_FILTER: events, SET_GLOBALS: events, SET_INDEX: events, SET_STORIES: events, SHARED_STATE_CHANGED: events, SHARED_STATE_SET: events, STORIES_COLLAPSE_ALL: events, STORIES_EXPAND_ALL: events, STORY_ARGS_UPDATED: events, STORY_CHANGED: events, STORY_ERRORED: events, STORY_INDEX_INVALIDATED: events, STORY_MISSING: events, STORY_PREPARED: events, STORY_RENDER_PHASE_CHANGED: events, STORY_RENDERED: events, STORY_FINISHED: events, STORY_SPECIFIED: events, STORY_THREW_EXCEPTION: events, STORY_UNCHANGED: events, STORY_HOT_UPDATED: events, UPDATE_GLOBALS: events, UPDATE_QUERY_PARAMS: events, UPDATE_STORY_ARGS: events, REQUEST_WHATS_NEW_DATA: events, RESULT_WHATS_NEW_DATA: events, SET_WHATS_NEW_CACHE: events, TOGGLE_WHATS_NEW_NOTIFICATIONS: events, TELEMETRY_ERROR: events, SAVE_STORY_REQUEST: events, SAVE_STORY_RESPONSE: events, ARGTYPES_INFO_REQUEST: events, ARGTYPES_INFO_RESPONSE: events, AI_SETUP_ANALYTICS_RESPONSE: events, AI_SETUP_ANALYTICS_REQUEST: events, OPEN_IN_EDITOR_REQUEST: events, OPEN_IN_EDITOR_RESPONSE: events, MANAGER_INERT_ATTRIBUTE_CHANGED: events, SHARE_ISOLATE_MODE: events, AI_PROMPT_NUDGE: events, SIDEBAR_FILTER_CHANGED: events;
|
|
154
163
|
//#endregion
|
|
155
|
-
export { AI_PROMPT_NUDGE, AI_SETUP_ANALYTICS_REQUEST, AI_SETUP_ANALYTICS_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, ArgTypesRequestPayload, ArgTypesResponsePayload, CHANNEL_CREATED, CHANNEL_WS_DISCONNECT, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, FORCE_REMOUNT, FORCE_RE_RENDER,
|
|
164
|
+
export { AI_PROMPT_NUDGE, AI_SETUP_ANALYTICS_REQUEST, AI_SETUP_ANALYTICS_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, ArgTypesRequestPayload, ArgTypesResponsePayload, CHANNEL_CREATED, CHANNEL_WS_DISCONNECT, CHANNEL_WS_RECONNECT, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PAGE_IN_VIEW, DOCS_PREPARED, DOCS_RENDERED, FORCE_REMOUNT, FORCE_RE_RENDER, GLOBALS_UPDATED, MANAGER_INERT_ATTRIBUTE_CHANGED, NAVIGATE_URL, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, OpenInEditorRequestPayload, OpenInEditorResponsePayload, PLAY_FUNCTION_THREW_EXCEPTION, PRELOAD_ENTRIES, PREVIEW_BUILDER_PROGRESS, PREVIEW_INITIALIZED, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, REQUEST_WHATS_NEW_DATA, RESET_STORY_ARGS, RESULT_WHATS_NEW_DATA, Report, RequestData, ResponseData, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SET_WHATS_NEW_CACHE, SHARED_STATE_CHANGED, SHARED_STATE_SET, SHARE_ISOLATE_MODE, SIDEBAR_FILTER_CHANGED, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_FINISHED, STORY_HOT_UPDATED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDERED, STORY_RENDER_PHASE_CHANGED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, SaveStoryRequestPayload, SaveStoryResponsePayload, StoryFinishedPayload, TELEMETRY_ERROR, TOGGLE_WHATS_NEW_NOTIFICATIONS, UNHANDLED_ERRORS_WHILE_PLAYING, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, WhatsNewCache, WhatsNewData, events as default };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
2
2
|
|
|
3
3
|
// src/core-events/index.ts
|
|
4
|
-
var events = /* @__PURE__ */ ((events2) => (events2.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", events2.CHANNEL_CREATED = "channelCreated", events2.CONFIG_ERROR = "configError", events2.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", events2.STORY_SPECIFIED = "storySpecified", events2.SET_CONFIG = "setConfig", events2.SET_STORIES = "setStories", events2.SET_INDEX = "setIndex", events2.SET_CURRENT_STORY = "setCurrentStory", events2.CURRENT_STORY_WAS_SET = "currentStoryWasSet", events2.FORCE_RE_RENDER = "forceReRender", events2.FORCE_REMOUNT = "forceRemount", events2.PRELOAD_ENTRIES = "preloadStories", events2.STORY_PREPARED = "storyPrepared", events2.DOCS_PREPARED = "docsPrepared", events2.STORY_CHANGED = "storyChanged", events2.STORY_UNCHANGED = "storyUnchanged", events2.STORY_RENDERED = "storyRendered", events2.STORY_FINISHED = "storyFinished", events2.STORY_MISSING = "storyMissing", events2.STORY_ERRORED = "storyErrored", events2.STORY_THREW_EXCEPTION = "storyThrewException", events2.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", events2.STORY_HOT_UPDATED = "storyHotUpdated", events2.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", events2.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", events2.UPDATE_STORY_ARGS = "updateStoryArgs", events2.STORY_ARGS_UPDATED = "storyArgsUpdated", events2.RESET_STORY_ARGS = "resetStoryArgs", events2.SET_FILTER = "setFilter", events2.SET_GLOBALS = "setGlobals", events2.UPDATE_GLOBALS = "updateGlobals", events2.GLOBALS_UPDATED = "globalsUpdated", events2.REGISTER_SUBSCRIPTION = "registerSubscription", events2.PREVIEW_INITIALIZED = "previewInitialized", events2.PREVIEW_KEYDOWN = "previewKeydown", events2.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", events2.SELECT_STORY = "selectStory", events2.STORIES_COLLAPSE_ALL = "storiesCollapseAll", events2.STORIES_EXPAND_ALL = "storiesExpandAll", events2.DOCS_RENDERED = "docsRendered", events2.SHARED_STATE_CHANGED = "sharedStateChanged", events2.SHARED_STATE_SET = "sharedStateSet", events2.NAVIGATE_URL = "navigateUrl", events2.UPDATE_QUERY_PARAMS = "updateQueryParams", events2.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", events2.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", events2.SET_WHATS_NEW_CACHE = "setWhatsNewCache", events2.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", events2.TELEMETRY_ERROR = "telemetryError", events2.SAVE_STORY_REQUEST = "saveStoryRequest", events2.SAVE_STORY_RESPONSE = "saveStoryResponse", events2.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", events2.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", events2.
|
|
4
|
+
var events = /* @__PURE__ */ ((events2) => (events2.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", events2.CHANNEL_WS_RECONNECT = "channelWSReconnect", events2.CHANNEL_CREATED = "channelCreated", events2.CONFIG_ERROR = "configError", events2.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", events2.STORY_SPECIFIED = "storySpecified", events2.SET_CONFIG = "setConfig", events2.SET_STORIES = "setStories", events2.SET_INDEX = "setIndex", events2.SET_CURRENT_STORY = "setCurrentStory", events2.CURRENT_STORY_WAS_SET = "currentStoryWasSet", events2.FORCE_RE_RENDER = "forceReRender", events2.FORCE_REMOUNT = "forceRemount", events2.PRELOAD_ENTRIES = "preloadStories", events2.STORY_PREPARED = "storyPrepared", events2.DOCS_PREPARED = "docsPrepared", events2.STORY_CHANGED = "storyChanged", events2.STORY_UNCHANGED = "storyUnchanged", events2.STORY_RENDERED = "storyRendered", events2.STORY_FINISHED = "storyFinished", events2.STORY_MISSING = "storyMissing", events2.STORY_ERRORED = "storyErrored", events2.STORY_THREW_EXCEPTION = "storyThrewException", events2.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", events2.STORY_HOT_UPDATED = "storyHotUpdated", events2.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", events2.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", events2.UPDATE_STORY_ARGS = "updateStoryArgs", events2.STORY_ARGS_UPDATED = "storyArgsUpdated", events2.RESET_STORY_ARGS = "resetStoryArgs", events2.SET_FILTER = "setFilter", events2.SET_GLOBALS = "setGlobals", events2.UPDATE_GLOBALS = "updateGlobals", events2.GLOBALS_UPDATED = "globalsUpdated", events2.REGISTER_SUBSCRIPTION = "registerSubscription", events2.PREVIEW_INITIALIZED = "previewInitialized", events2.PREVIEW_KEYDOWN = "previewKeydown", events2.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", events2.SELECT_STORY = "selectStory", events2.STORIES_COLLAPSE_ALL = "storiesCollapseAll", events2.STORIES_EXPAND_ALL = "storiesExpandAll", events2.DOCS_RENDERED = "docsRendered", events2.DOCS_PAGE_IN_VIEW = "docsPageInView", events2.SHARED_STATE_CHANGED = "sharedStateChanged", events2.SHARED_STATE_SET = "sharedStateSet", events2.NAVIGATE_URL = "navigateUrl", events2.UPDATE_QUERY_PARAMS = "updateQueryParams", events2.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", events2.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", events2.SET_WHATS_NEW_CACHE = "setWhatsNewCache", events2.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", events2.TELEMETRY_ERROR = "telemetryError", events2.SAVE_STORY_REQUEST = "saveStoryRequest", events2.SAVE_STORY_RESPONSE = "saveStoryResponse", events2.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", events2.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", events2.AI_SETUP_ANALYTICS_RESPONSE = "aiSetupAnalyticsResponse", events2.AI_SETUP_ANALYTICS_REQUEST = "aiSetupAnalyticsRequest", events2.OPEN_IN_EDITOR_REQUEST = "openInEditorRequest", events2.OPEN_IN_EDITOR_RESPONSE = "openInEditorResponse", events2.MANAGER_INERT_ATTRIBUTE_CHANGED = "managerInertAttributeChanged", events2.SHARE_ISOLATE_MODE = "shareIsolateMode", events2.AI_PROMPT_NUDGE = "aiPromptNudge", events2.SIDEBAR_FILTER_CHANGED = "sidebarFilterChanged", events2))(events || {}), core_events_default = events, {
|
|
5
5
|
CHANNEL_WS_DISCONNECT,
|
|
6
|
+
CHANNEL_WS_RECONNECT,
|
|
6
7
|
CHANNEL_CREATED,
|
|
7
8
|
CONFIG_ERROR,
|
|
8
9
|
CURRENT_STORY_WAS_SET,
|
|
9
10
|
DOCS_PREPARED,
|
|
10
11
|
DOCS_RENDERED,
|
|
12
|
+
DOCS_PAGE_IN_VIEW,
|
|
11
13
|
FORCE_RE_RENDER,
|
|
12
14
|
FORCE_REMOUNT,
|
|
13
15
|
GLOBALS_UPDATED,
|
|
@@ -56,8 +58,6 @@ var events = /* @__PURE__ */ ((events2) => (events2.CHANNEL_WS_DISCONNECT = "cha
|
|
|
56
58
|
SAVE_STORY_RESPONSE,
|
|
57
59
|
ARGTYPES_INFO_REQUEST,
|
|
58
60
|
ARGTYPES_INFO_RESPONSE,
|
|
59
|
-
GHOST_STORIES_REQUEST,
|
|
60
|
-
GHOST_STORIES_RESPONSE,
|
|
61
61
|
AI_SETUP_ANALYTICS_RESPONSE,
|
|
62
62
|
AI_SETUP_ANALYTICS_REQUEST,
|
|
63
63
|
OPEN_IN_EDITOR_REQUEST,
|
|
@@ -75,14 +75,14 @@ export {
|
|
|
75
75
|
ARGTYPES_INFO_RESPONSE,
|
|
76
76
|
CHANNEL_CREATED,
|
|
77
77
|
CHANNEL_WS_DISCONNECT,
|
|
78
|
+
CHANNEL_WS_RECONNECT,
|
|
78
79
|
CONFIG_ERROR,
|
|
79
80
|
CURRENT_STORY_WAS_SET,
|
|
81
|
+
DOCS_PAGE_IN_VIEW,
|
|
80
82
|
DOCS_PREPARED,
|
|
81
83
|
DOCS_RENDERED,
|
|
82
84
|
FORCE_REMOUNT,
|
|
83
85
|
FORCE_RE_RENDER,
|
|
84
|
-
GHOST_STORIES_REQUEST,
|
|
85
|
-
GHOST_STORIES_RESPONSE,
|
|
86
86
|
GLOBALS_UPDATED,
|
|
87
87
|
MANAGER_INERT_ATTRIBUTE_CHANGED,
|
|
88
88
|
NAVIGATE_URL,
|
|
@@ -1,21 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as registerService, t as getService$1 } from "../chunk-
|
|
1
|
+
import { $o as ParseFileArgs, Bs as PreviewStoriesOutput, Da as StoryDocsProviderPreset, Ea as StoryDocsProviderInput, Et as sortStoriesV7, Gl as StorybookError, Gs as SourceWithUrl, Hs as createStoriesToolset, Js as emptyManifests, Ks as DocsAccess, Q as StatusTypeId, Qo as ImportParserContext, Rs as registerToolset, Us as reviewToolset, Vs as StoryIndexAccess, Ws as createDocsToolset, X as StatusStoreByTypeId$1, Xo as ImportEdge, Y as StatusStore, Z as StatusStoreEvent, Zo as ImportParser, cc as TestProviderStateByProviderId, ec as defineService, eo as Options$1, es as ChangeDetectionAdapter, et as StatusesByStoryIdAndTypeId$1, gc as MockUniversalStore, lc as TestProviderStoreById, ns as ModuleResolveConfig, oc as TestProviderId, pa as ModuleGraphServiceState, q as Status$1, qs as ResolvedDocsEntry, tc as Tag, ts as FileChangeEvent, uc as TestProviderStoreEvent, vc as UniversalStore, wa as StoryDocsPayload } from "../chunk-B53gRJBs.js";
|
|
2
|
+
import { B as SchemaDescriptor, F as QueryFunctions, G as ServiceInstance, H as ServiceDefinition, K as ServiceInstanceOf, M as Query, N as QueryCtx, P as QueryDefinition, U as ServiceDescriptor, V as ServerServiceRegistration, W as ServiceId, X as ServiceSummary, b as CommandCtx, k as OperationDescriptor, q as ServiceRegistrationOptions, s as ToolsetGetService, x as CommandDefinition, y as Command, z as RuntimeService } from "../chunk-BtKww7r1.js";
|
|
3
|
+
import { n as registerService, t as getService$1 } from "../chunk-CMx6bGAU.js";
|
|
4
4
|
import { ArgTypes, SBType } from "@aussieljk/forkbook/internal/csf";
|
|
5
5
|
import { Channel, ChannelLike } from "@aussieljk/forkbook/internal/channels";
|
|
6
|
-
import { Builder, BuilderOptions, CLIOptions, DocsAnchor, DocsIndexEntry, DocsOptions, IndexEntry, IndexInputStats, Indexer, LoadOptions, Manifests, NormalizedStoriesSpecifier, Options, Path, Presets, Status, StatusStoreByTypeId, StatusValue, StoryIndex, StoryIndexEntry, StorybookConfigRaw } from "@aussieljk/forkbook/internal/types";
|
|
6
|
+
import { Builder, BuilderOptions, CLIOptions, DocsAnchor, DocsIndexEntry, DocsOptions, IndexEntry, IndexInputStats, Indexer, LoadOptions, Manifests, NormalizedStoriesSpecifier, Options, Path, PresetConfig, Presets, Status, StatusStoreByTypeId, StatusValue, StoryIndex, StoryIndexEntry, StoryIndexGeneratorApi, StorybookConfigRaw } from "@aussieljk/forkbook/internal/types";
|
|
7
7
|
import * as v from "valibot";
|
|
8
8
|
import { getPreviewBodyTemplate, getPreviewHeadTemplate, loadAllPresets } from "@aussieljk/forkbook/internal/common";
|
|
9
9
|
import { EventType } from "@aussieljk/forkbook/internal/telemetry";
|
|
10
10
|
import { watch } from "node:fs";
|
|
11
11
|
import { readFile, stat } from "node:fs/promises";
|
|
12
12
|
import { WebSocketServer } from "ws";
|
|
13
|
-
import { IncomingMessage } from "node:http";
|
|
13
|
+
import { IncomingMessage, ServerResponse } from "node:http";
|
|
14
14
|
|
|
15
15
|
//#region .dts-emit/code/core/src/core-server/build-static.d.ts
|
|
16
16
|
type BuildStaticStandaloneOptions = CLIOptions & LoadOptions & BuilderOptions & {
|
|
17
|
-
outputDir
|
|
17
|
+
outputDir?: string;
|
|
18
18
|
};
|
|
19
|
+
/** The default output folder of `forkbook build`. */
|
|
20
|
+
declare const DEFAULT_STATIC_OUTPUT_DIR = "./forkbook-static";
|
|
21
|
+
/**
|
|
22
|
+
* Gives the output folder of the static build. An explicit `outputDir` has priority. With
|
|
23
|
+
* `buildToPublic`, the build goes to `public<basePath>` (for example `public/_forkbook`).
|
|
24
|
+
*/
|
|
25
|
+
declare function resolveStaticOutputDir({
|
|
26
|
+
outputDir,
|
|
27
|
+
buildToPublic,
|
|
28
|
+
basePath
|
|
29
|
+
}: {
|
|
30
|
+
outputDir?: string;
|
|
31
|
+
buildToPublic?: boolean;
|
|
32
|
+
basePath: string;
|
|
33
|
+
}): string;
|
|
19
34
|
declare function buildStaticStandalone(options: BuildStaticStandaloneOptions): Promise<void>;
|
|
20
35
|
//#endregion
|
|
21
36
|
//#region .dts-emit/code/core/src/core-server/build-dev.d.ts
|
|
@@ -38,7 +53,7 @@ declare const buildIndexStandalone: (options: BuildIndexOptions & {
|
|
|
38
53
|
type TelemetryOptions = {
|
|
39
54
|
cliOptions: CLIOptions;
|
|
40
55
|
presetOptions?: Parameters<typeof loadAllPresets>[0];
|
|
41
|
-
printError?: (err:
|
|
56
|
+
printError?: (err: unknown) => void;
|
|
42
57
|
skipPrompt?: boolean;
|
|
43
58
|
eventType?: EventType;
|
|
44
59
|
fallbackTelemetryState?: boolean;
|
|
@@ -54,7 +69,12 @@ declare function sendTelemetryError(_error: unknown, eventType: EventType, optio
|
|
|
54
69
|
declare function withTelemetry<T>(eventType: EventType, options: TelemetryOptions, run: () => Promise<T>): Promise<T | undefined>;
|
|
55
70
|
//#endregion
|
|
56
71
|
//#region .dts-emit/code/core/src/core-server/standalone.d.ts
|
|
57
|
-
|
|
72
|
+
type BuildOptions = Parameters<typeof buildStaticStandalone>[0] & Parameters<typeof buildIndexStandalone>[0];
|
|
73
|
+
type StandaloneOptions = Partial<BuildOptions> & {
|
|
74
|
+
mode?: 'dev' | 'static' | 'index';
|
|
75
|
+
frameworkPresets?: PresetConfig[];
|
|
76
|
+
};
|
|
77
|
+
declare function build$1(options?: StandaloneOptions, frameworkOptions?: StandaloneOptions): Promise<void | {
|
|
58
78
|
port: number;
|
|
59
79
|
address: string;
|
|
60
80
|
networkAddress: string;
|
|
@@ -147,7 +167,19 @@ type StoryIndexGeneratorOptions = {
|
|
|
147
167
|
* The entries are "uniq"-ed and sorted. Stories entries are preferred to docs entries and MDX docs
|
|
148
168
|
* entries are preferred to CSF templates (with warnings).
|
|
149
169
|
*/
|
|
150
|
-
|
|
170
|
+
/**
|
|
171
|
+
* Information about one invalidated file. `invalidateAll` sends no event, so the listener must
|
|
172
|
+
* treat a missing event as a change to the set of story files.
|
|
173
|
+
*/
|
|
174
|
+
interface InvalidationEvent {
|
|
175
|
+
importPath: Path;
|
|
176
|
+
/** The file was not in the index before. */
|
|
177
|
+
added: boolean;
|
|
178
|
+
/** The file was in the index and is now removed. */
|
|
179
|
+
removed: boolean;
|
|
180
|
+
}
|
|
181
|
+
type InvalidationListener = (event?: InvalidationEvent) => void;
|
|
182
|
+
declare class StoryIndexGenerator implements StoryIndexGeneratorApi {
|
|
151
183
|
readonly specifiers: NormalizedStoriesSpecifier[];
|
|
152
184
|
readonly options: StoryIndexGeneratorOptions;
|
|
153
185
|
private specifierToCache;
|
|
@@ -156,6 +188,7 @@ declare class StoryIndexGenerator {
|
|
|
156
188
|
private lastIndex?;
|
|
157
189
|
private lastStats?;
|
|
158
190
|
private lastError?;
|
|
191
|
+
private lastPartialIndex?;
|
|
159
192
|
private invalidationListeners;
|
|
160
193
|
constructor(specifiers: NormalizedStoriesSpecifier[], options: StoryIndexGeneratorOptions);
|
|
161
194
|
/** Generate a cache key for findMatchingFiles */
|
|
@@ -187,15 +220,22 @@ declare class StoryIndexGenerator {
|
|
|
187
220
|
extractStories(specifier: NormalizedStoriesSpecifier, absolutePath: Path, projectTags?: Tag[]): Promise<StoriesCacheEntry | DocsCacheEntry>;
|
|
188
221
|
extractDocs(specifier: NormalizedStoriesSpecifier, absolutePath: Path, projectTags?: Tag[]): Promise<false | DocsIndexEntry>;
|
|
189
222
|
chooseDuplicate(firstEntry: IndexEntry, secondEntry: IndexEntry, projectTags: Tag[]): IndexEntry;
|
|
190
|
-
sortStories(entries: StoryIndex['entries'], storySortParameter:
|
|
223
|
+
sortStories(entries: StoryIndex['entries'], storySortParameter: Parameters<typeof sortStoriesV7>[1]): Promise<Record<string, IndexEntry>>;
|
|
191
224
|
getIndex(): Promise<StoryIndex>;
|
|
225
|
+
/**
|
|
226
|
+
* Like `getIndex`, but when some story files fail to index, return the entries of the other files
|
|
227
|
+
* and list the bad files in `errors`. Errors that affect the whole index (for example duplicate
|
|
228
|
+
* story ids) still throw.
|
|
229
|
+
*/
|
|
230
|
+
getIndexWithFileErrors(): Promise<StoryIndex>;
|
|
231
|
+
private buildPartialIndex;
|
|
192
232
|
getIndexAndStats(): Promise<{
|
|
193
233
|
storyIndex: StoryIndex;
|
|
194
234
|
stats: IndexStatsSummary;
|
|
195
235
|
}>;
|
|
196
236
|
invalidateAll(): void;
|
|
197
237
|
invalidate(importPath: Path, removed: boolean): void;
|
|
198
|
-
onInvalidated(listener:
|
|
238
|
+
onInvalidated(listener: InvalidationListener): () => void;
|
|
199
239
|
getPreviewCode(): Promise<string | undefined>;
|
|
200
240
|
getProjectTags(previewCode?: string): string[];
|
|
201
241
|
static storyFileNames(specifierToCache: Map<NormalizedStoriesSpecifier, SpecifierStoriesCache>): string[];
|
|
@@ -225,7 +265,7 @@ declare const getStoriesPathsFromConfig: ({
|
|
|
225
265
|
workingDir: string;
|
|
226
266
|
}) => Promise<string[]>;
|
|
227
267
|
//#endregion
|
|
228
|
-
//#region .dts-emit/code/core/src/
|
|
268
|
+
//#region .dts-emit/code/core/src/csf-tools/get-dummy-args-from-argtypes.d.ts
|
|
229
269
|
type ComponentArgTypesInfo = {
|
|
230
270
|
required: boolean;
|
|
231
271
|
type: SBType;
|
|
@@ -235,7 +275,7 @@ type ComponentArgTypesData = {
|
|
|
235
275
|
};
|
|
236
276
|
//#endregion
|
|
237
277
|
//#region .dts-emit/code/core/src/core-server/load.d.ts
|
|
238
|
-
declare function
|
|
278
|
+
declare function loadForkbook(options: CLIOptions & LoadOptions & BuilderOptions & {
|
|
239
279
|
storybookVersion?: string;
|
|
240
280
|
previewConfigPath?: string;
|
|
241
281
|
/**
|
|
@@ -369,7 +409,7 @@ declare function createWorkerGatedStoryDocsProvider({
|
|
|
369
409
|
declare const storyInputSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
370
410
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
371
411
|
[x: string]: any;
|
|
372
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
412
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
373
413
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
374
414
|
[x: string]: any;
|
|
375
415
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -379,7 +419,7 @@ declare const storyInputSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
379
419
|
}, undefined>, v.ObjectSchema<{
|
|
380
420
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
381
421
|
[x: string]: any;
|
|
382
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
422
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
383
423
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
384
424
|
[x: string]: any;
|
|
385
425
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -390,7 +430,7 @@ Use IDs discovered from ${string} (withStoryIds=true) or ${string}.`>]>;
|
|
|
390
430
|
declare const storyInputArraySchema: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
391
431
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
392
432
|
[x: string]: any;
|
|
393
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
433
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
394
434
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
395
435
|
[x: string]: any;
|
|
396
436
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -400,7 +440,7 @@ declare const storyInputArraySchema: v.ArraySchema<v.UnionSchema<[v.ObjectSchema
|
|
|
400
440
|
}, undefined>, v.ObjectSchema<{
|
|
401
441
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
402
442
|
[x: string]: any;
|
|
403
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
443
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
404
444
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
405
445
|
[x: string]: any;
|
|
406
446
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -476,7 +516,7 @@ declare function loadManifests(presets: Presets): Promise<Manifests>;
|
|
|
476
516
|
//#endregion
|
|
477
517
|
//#region .dts-emit/code/core/src/core-server/utils/get-refs-from-config.d.ts
|
|
478
518
|
/**
|
|
479
|
-
* Reads the composed
|
|
519
|
+
* Reads the composed Forkbooks from the project's `refs` as docs sources, in config order.
|
|
480
520
|
*
|
|
481
521
|
* Only the configured `refs` count, not auto-refs from package dependencies; a function-form
|
|
482
522
|
* `refs` receives an empty object instead of them. Disabled refs and refs without a string `url`
|
|
@@ -1910,6 +1950,34 @@ declare const isValidHost: (host: string | undefined, options: HostValidationOpt
|
|
|
1910
1950
|
*/
|
|
1911
1951
|
declare function prepareHeadlessUniversalStores(): Channel;
|
|
1912
1952
|
//#endregion
|
|
1953
|
+
//#region .dts-emit/code/core/src/core-server/utils/request-guards.d.ts
|
|
1954
|
+
/**
|
|
1955
|
+
* Tells if a request comes from a page of a different site. Tools that are not browsers (MCP
|
|
1956
|
+
* clients, `curl`) send no `Sec-Fetch-Site` and no `Origin`, so they pass.
|
|
1957
|
+
*
|
|
1958
|
+
* - `Sec-Fetch-Site` must be `same-origin` or `none`, or not set. A top-level GET navigation (a link
|
|
1959
|
+
* from another site to an HTML page) is the exception: the page shows to the user, not to the
|
|
1960
|
+
* other site, and it changes nothing.
|
|
1961
|
+
* - `Origin`, when set, must be a host that the dev server accepts (see {@link isValidHost}). An
|
|
1962
|
+
* origin that is not a URL (for example `null` from a sandboxed frame) is cross-site.
|
|
1963
|
+
*/
|
|
1964
|
+
declare function isCrossSiteRequest(req: Pick<IncomingMessage, 'headers' | 'method'>, hostValidation: HostValidationOptions): boolean;
|
|
1965
|
+
/** The request body is larger than the limit of the route. */
|
|
1966
|
+
declare class RequestBodyTooLargeError extends Error {
|
|
1967
|
+
readonly limit: number;
|
|
1968
|
+
constructor(limit: number);
|
|
1969
|
+
}
|
|
1970
|
+
/**
|
|
1971
|
+
* Reads the full request body, but stops at `maxBytes`. A `Content-Length` larger than the limit
|
|
1972
|
+
* fails before the body is read. Throws {@link RequestBodyTooLargeError} when the body is too large.
|
|
1973
|
+
*/
|
|
1974
|
+
declare function readRequestBody(req: AsyncIterable<unknown> & Pick<IncomingMessage, 'headers'>, maxBytes: number): Promise<Buffer>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Sends 413. The connection closes after the response, so the rest of the body that was not read
|
|
1977
|
+
* is not used as the next request.
|
|
1978
|
+
*/
|
|
1979
|
+
declare function sendPayloadTooLarge(res: ServerResponse, error: RequestBodyTooLargeError, contentType?: 'application/json' | 'text/plain'): void;
|
|
1980
|
+
//#endregion
|
|
1913
1981
|
//#region .dts-emit/code/core/src/core-server/utils/apply-services-preset-once.d.ts
|
|
1914
1982
|
declare global {
|
|
1915
1983
|
var FORKBOOK_SERVICES_PRESET_PROMISE: Promise<void> | undefined;
|
|
@@ -1939,6 +2007,7 @@ declare function createServerTestProviderStore(leader: boolean): {
|
|
|
1939
2007
|
universalTestProviderStore: UniversalStore<TestProviderStateByProviderId, TestProviderStoreEvent>;
|
|
1940
2008
|
};
|
|
1941
2009
|
type TestProviderStoreBundle = ReturnType<typeof createServerTestProviderStore>;
|
|
2010
|
+
/** Creates the store now. The leader must exist before the manager connects its follower. */
|
|
1942
2011
|
declare const getTestProviderStoreById: TestProviderStoreBundle['getTestProviderStoreById'];
|
|
1943
2012
|
declare const fullTestProviderStore: TestProviderStoreBundle['fullTestProviderStore'];
|
|
1944
2013
|
declare const universalTestProviderStore: TestProviderStoreBundle['universalTestProviderStore'];
|
|
@@ -1978,8 +2047,8 @@ interface StoryTestResultHistoryEntry extends StoryTestResult {
|
|
|
1978
2047
|
timestamp: number;
|
|
1979
2048
|
}
|
|
1980
2049
|
type StoryTestResultHistory = Record<string, StoryTestResultHistoryEntry>;
|
|
2050
|
+
/** The errors of one category. The record that holds it is keyed by the category. */
|
|
1981
2051
|
interface CategorizedError {
|
|
1982
|
-
category: string;
|
|
1983
2052
|
count: number;
|
|
1984
2053
|
uniqueCount: number;
|
|
1985
2054
|
matchedDependencies: string[];
|
|
@@ -2054,7 +2123,7 @@ declare const getServerPort: (port?: number, {
|
|
|
2054
2123
|
exactPort
|
|
2055
2124
|
}?: PortOptions) => Promise<number>;
|
|
2056
2125
|
//#endregion
|
|
2057
|
-
//#region .dts-emit/code/core/src/
|
|
2126
|
+
//#region .dts-emit/code/core/src/core-server/utils/skills/availability.d.ts
|
|
2058
2127
|
interface ToolAvailability {
|
|
2059
2128
|
/** The `core/module-graph` open service is registered/resolvable. Gates `stories-find-by-component`. */
|
|
2060
2129
|
moduleGraphSupported: boolean;
|
|
@@ -2080,7 +2149,7 @@ interface ToolAvailability {
|
|
|
2080
2149
|
docgenServer: boolean;
|
|
2081
2150
|
}
|
|
2082
2151
|
/**
|
|
2083
|
-
* Composed
|
|
2152
|
+
* Composed Forkbooks with component manifests can back docs tools even when the
|
|
2084
2153
|
* local Forkbook has no component manifest. Use this before feeding
|
|
2085
2154
|
* availability into the shared tool registry.
|
|
2086
2155
|
*/
|
|
@@ -2108,13 +2177,13 @@ declare function isModuleGraphSupported(): Promise<boolean>;
|
|
|
2108
2177
|
*/
|
|
2109
2178
|
declare function getToolAvailability(options: Options$1): Promise<ToolAvailability>;
|
|
2110
2179
|
//#endregion
|
|
2111
|
-
//#region .dts-emit/code/core/src/
|
|
2180
|
+
//#region .dts-emit/code/core/src/core-server/utils/skills/addon-a11y.d.ts
|
|
2112
2181
|
/**
|
|
2113
2182
|
* Check if @aussieljk/forkbook/addon-a11y is enabled in the Forkbook configuration.
|
|
2114
2183
|
*/
|
|
2115
2184
|
declare function isAddonA11yEnabled(options: Options$1): Promise<boolean>;
|
|
2116
2185
|
//#endregion
|
|
2117
|
-
//#region .dts-emit/code/core/src/
|
|
2186
|
+
//#region .dts-emit/code/core/src/core-server/utils/skills/addon-vitest.d.ts
|
|
2118
2187
|
/**
|
|
2119
2188
|
* Whether `@aussieljk/forkbook/addon-vitest` is enabled in this project.
|
|
2120
2189
|
*
|
|
@@ -2126,7 +2195,7 @@ declare function isAddonA11yEnabled(options: Options$1): Promise<boolean>;
|
|
|
2126
2195
|
*/
|
|
2127
2196
|
declare function isAddonVitestEnabled(options: Options$1): Promise<boolean>;
|
|
2128
2197
|
//#endregion
|
|
2129
|
-
//#region .dts-emit/code/core/src/
|
|
2198
|
+
//#region .dts-emit/code/core/src/core-server/utils/skills/inputs.d.ts
|
|
2130
2199
|
type SkillInputs = ToolAvailability & {
|
|
2131
2200
|
framework: string;
|
|
2132
2201
|
renderer?: string; /** The preview file imports `definePreview`, the entry point of CSF Factories. */
|
|
@@ -2141,7 +2210,7 @@ type SkillInputs = ToolAvailability & {
|
|
|
2141
2210
|
*/
|
|
2142
2211
|
declare function resolveSkillInputs(options: Options$1): Promise<SkillInputs>;
|
|
2143
2212
|
//#endregion
|
|
2144
|
-
//#region .dts-emit/code/core/src/
|
|
2213
|
+
//#region .dts-emit/code/core/src/core-server/utils/skills/manifest-status.d.ts
|
|
2145
2214
|
type ManifestFeatures = {
|
|
2146
2215
|
componentsManifest?: boolean;
|
|
2147
2216
|
experimentalComponentsManifest?: boolean;
|
|
@@ -2197,4 +2266,4 @@ interface VitestLikeInput {
|
|
|
2197
2266
|
*/
|
|
2198
2267
|
declare function toStoryTestResult(input: VitestLikeInput): StoryTestResult | null;
|
|
2199
2268
|
//#endregion
|
|
2200
|
-
export { BuildIndexOptions, BuildStaticStandaloneOptions, type ChangeDetectionAdapter, ChangeDetectionFailureError, ChangeDetectionService, ChangeDetectionUnavailableError, type Command, type CommandCtx, type CommandDefinition, type ComponentArgTypesData, type DocsAccess, type DocsManifestEntry, type DocsManifestRefEntry, type ChangeDetectionReadiness as Experimental_ChangeDetectionReadiness, type FileChangeEvent, type FoundStory, type HostValidationOptions, type ImportEdge, type ImportParser, type ImportParserContext, type JsonRef, MDX_SERVICE_ID, type ManifestFeatures, type ManifestStatus, type MdxDocPayload, type MdxError, type MdxPayload, type MdxServiceContract, type ModuleGraphService, type ModuleResolveConfig, type NotFoundStory, type OperationDescriptor, type ParseFileArgs, type PreviewStoriesOutput, type Query, type QueryCtx, type QueryDefinition, type ResolvedDocsEntry, type RuntimeService, type SchemaDescriptor, type ServerServiceRegistration, type ServiceDefinition, type ServiceDescriptor, type ServiceInstance, type ServiceRegistrationOptions, type ServiceSummary, type SkillInputs, type StoryIndexAccess, StoryIndexGenerator, type StoryInput, type StoryTestResult, type StoryTestResultHistory, type StoryTestResultHistoryEntry, Tag, type ToolAvailability, type WorkerGatedStoryDocsProviderOptions, analyzeMdx, analyzeTestResults, build$1 as build, buildDevStandalone, buildIndex, buildIndexStandalone, buildStaticStandalone, createDocsToolset, createLocalDocsAccess, createManifestDocsAccess, createServiceDocsAccess, createStoriesToolset, createWorkerGatedStoryDocsProvider, describeService, emptyManifests, MockUniversalStore as experimental_MockUniversalStore, defineService as experimental_defineService, getChangeDetectionReadiness as experimental_getChangeDetectionReadiness, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore,
|
|
2269
|
+
export { BuildIndexOptions, BuildStaticStandaloneOptions, type ChangeDetectionAdapter, ChangeDetectionFailureError, ChangeDetectionService, ChangeDetectionUnavailableError, type Command, type CommandCtx, type CommandDefinition, type ComponentArgTypesData, DEFAULT_STATIC_OUTPUT_DIR, type DocsAccess, type DocsManifestEntry, type DocsManifestRefEntry, type ChangeDetectionReadiness as Experimental_ChangeDetectionReadiness, type FileChangeEvent, type FoundStory, type HostValidationOptions, type ImportEdge, type ImportParser, type ImportParserContext, type JsonRef, MDX_SERVICE_ID, type ManifestFeatures, type ManifestStatus, type MdxDocPayload, type MdxError, type MdxPayload, type MdxServiceContract, type ModuleGraphService, type ModuleResolveConfig, type NotFoundStory, type OperationDescriptor, type ParseFileArgs, type PreviewStoriesOutput, type Query, type QueryCtx, type QueryDefinition, RequestBodyTooLargeError, type ResolvedDocsEntry, type RuntimeService, type SchemaDescriptor, type ServerServiceRegistration, type ServiceDefinition, type ServiceDescriptor, type ServiceInstance, type ServiceRegistrationOptions, type ServiceSummary, type SkillInputs, type StoryIndexAccess, StoryIndexGenerator, type StoryInput, type StoryTestResult, type StoryTestResultHistory, type StoryTestResultHistoryEntry, Tag, type ToolAvailability, type WorkerGatedStoryDocsProviderOptions, analyzeMdx, analyzeTestResults, build$1 as build, buildDevStandalone, buildIndex, buildIndexStandalone, buildStaticStandalone, createDocsToolset, createLocalDocsAccess, createManifestDocsAccess, createServiceDocsAccess, createStoriesToolset, createWorkerGatedStoryDocsProvider, describeService, emptyManifests, MockUniversalStore as experimental_MockUniversalStore, defineService as experimental_defineService, getChangeDetectionReadiness as experimental_getChangeDetectionReadiness, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, loadForkbook as experimental_loadForkbook, registerService as experimental_registerService, resetChangeDetectionReadiness as experimental_resetChangeDetectionReadiness, resetServicesPresetOnce as experimental_resetServicesPresetOnce, setChangeDetectionHost as experimental_setChangeDetectionHost, findStoryIds, getBuilders, getComponentCandidates, getEffectiveToolAvailability, getErrorLevel, getManifestStatus, getPreviewBodyTemplate, getPreviewHeadTemplate, getRefsFromConfig, getServerPort, getService$1 as getService, getStoriesPathsFromConfig, getToolAvailability, UniversalStore as internal_UniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, universalStatusStore as internal_universalStatusStore, universalTestProviderStore as internal_universalTestProviderStore, isAddonA11yEnabled, isAddonVitestEnabled, isCrossSiteRequest, isModuleGraphSupported, isValidHost, listServices, loadManifests, mapStaticDir, mdxManifestRef, mdxQueryStaticPath, mdxStaticStorePath, type moduleGraphServiceDef, prepareHeadlessUniversalStores, readRequestBody, registerToolset, resolveChangeDetectionAdapter, resolveSkillInputs, resolveStaticOutputDir, reviewToolset, runStoryTests, sendPayloadTooLarge, sendTelemetryError, storyInputArraySchema, toStoryTestResult, withTelemetry };
|