vitepress-openapi 0.2.15 → 0.2.17
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/{OAJSONEditor-BPdzinnW.js → OAJSONEditor-6uG2SFZK.js} +6 -6
- package/dist/{OAJSONEditor-cdYfH8pW.cjs → OAJSONEditor-D-Yhb6db.cjs} +4 -4
- package/dist/{angular-html-D5QwJSjx.js → angular-html-BUsdri4u.js} +2 -2
- package/dist/angular-html-BzD9NQW5.cjs +1 -0
- package/dist/{angular-ts-CXuTnAMH.cjs → angular-ts-D1fX05LE.cjs} +1 -1
- package/dist/{angular-ts-B0kZpGGd.js → angular-ts-DLzsnsUB.js} +2 -2
- package/dist/{apl-CjAWNKej.cjs → apl-Bo4qJ495.cjs} +1 -1
- package/dist/{apl-CO2hi6pu.js → apl-D9bD1gNv.js} +5 -5
- package/dist/{astro-C8AbPvmY.js → astro-D8q6Gy7P.js} +5 -5
- package/dist/{astro-C6WzLepe.cjs → astro-DCjm-pbh.cjs} +1 -1
- package/dist/{blade-bJOeoSe0.cjs → blade-B6fombNo.cjs} +1 -1
- package/dist/{blade-B3TXqIqP.js → blade-Sc601tfi.js} +7 -7
- package/dist/{c-BTzN4Ylc.js → c-CfqZXQ2T.js} +1 -1
- package/dist/c-Dn__oIvS.cjs +1 -0
- package/dist/{chapel-D3SOeXgF.cjs → chapel-D7VyqyYt.cjs} +1 -1
- package/dist/{chapel-DqUUkRYq.js → chapel-xSzmwfXQ.js} +1 -1
- package/dist/{cobol-dlQjEakv.cjs → cobol-CAKxSKZT.cjs} +1 -1
- package/dist/{cobol-DFLW8ca0.js → cobol-CHAgZDLS.js} +2 -2
- package/dist/{coffee-1KoIHtzW.js → coffee-CeAuLo4O.js} +1 -1
- package/dist/{coffee-TUzF5uor.cjs → coffee-JnCJAydr.cjs} +1 -1
- package/dist/{core-x4pNOQS7.cjs → core-CNg5cW98.cjs} +3 -3
- package/dist/{core-CSILRXKH.js → core-s1UIPu_z.js} +114 -114
- package/dist/cpp-1aC9AELp.cjs +1 -0
- package/dist/{cpp-yEMsPd-1.js → cpp-DAEET6ev.js} +3 -3
- package/dist/{crystal-D_nHX3jS.cjs → crystal-BfArRaXr.cjs} +1 -1
- package/dist/{crystal-CENIitzj.js → crystal-C1qz7UnE.js} +6 -6
- package/dist/css-BVuZPxTF.cjs +1 -0
- package/dist/{css-B-WLUKlS.js → css-BZAFXxqD.js} +1 -1
- package/dist/{dist-BxzxjMCz.cjs → dist-CpZb0vTN.cjs} +5 -5
- package/dist/{dist-C1v4Xm4x.js → dist-DV8PoRsD.js} +1 -1
- package/dist/{edge-BEj_2N8x.js → edge-CWZ5MU2M.js} +3 -3
- package/dist/{edge-f2PDRzgK.cjs → edge-JzsrLjb_.cjs} +1 -1
- package/dist/{elixir-CQkxmVTM.js → elixir-Crtqxz1W.js} +1 -1
- package/dist/{elixir-CIcaqRsY.cjs → elixir-QzvqYFsV.cjs} +1 -1
- package/dist/{elm-DzGi_nR3.js → elm-9rlZJ0du.js} +1 -1
- package/dist/{elm-7G0I-hE6.cjs → elm-DTTDc-PO.cjs} +1 -1
- package/dist/{engine-javascript-DSMQf2z2.js → engine-javascript-CoT6aZfI.js} +2 -2
- package/dist/{engine-javascript-DsJlQOsE.cjs → engine-javascript-DWPOYZRs.cjs} +2 -2
- package/dist/{erb-COP2UPZ7.js → erb-C6UwauYe.js} +2 -2
- package/dist/{erb-B9-cGaTm.cjs → erb-DPWXQYaP.cjs} +1 -1
- package/dist/generate-BAgVJTNQ.js +103 -0
- package/dist/generate-BVoluROJ.cjs +1 -0
- package/dist/generateMarkdown-BYnrcWs0.js +692 -0
- package/dist/generateMarkdown-DyJdABwj.cjs +31 -0
- package/dist/{git-rebase-Ku61ihN2.cjs → git-rebase-Cwp0uWvv.cjs} +1 -1
- package/dist/{git-rebase-DTYLKCWV.js → git-rebase-xIgRvJ_q.js} +1 -1
- package/dist/{glimmer-js-D29AEl8t.js → glimmer-js-CNGdvMhA.js} +4 -4
- package/dist/{glimmer-js-izmglT1O.cjs → glimmer-js-Df_yNNoE.cjs} +1 -1
- package/dist/{glimmer-ts-DYj3qCHB.js → glimmer-ts-Dq4P7Mkf.js} +4 -4
- package/dist/{glimmer-ts-DJ1fakxz.cjs → glimmer-ts-DsAOmOGY.cjs} +1 -1
- package/dist/glsl-CjiF-xkH.cjs +1 -0
- package/dist/{glsl-Bc6nFncG.js → glsl-DZfvb15l.js} +2 -2
- package/dist/{graphql-Ds5Ubte9.js → graphql-CZmb-US9.js} +5 -5
- package/dist/graphql-r7AX53Pp.cjs +1 -0
- package/dist/{hack-DlUSG6ek.cjs → hack-Cs2ncrxq.cjs} +1 -1
- package/dist/{hack-B6E-ISVN.js → hack-DIIRgI4h.js} +2 -2
- package/dist/haml-3bvHwbYf.cjs +1 -0
- package/dist/{haml-DSK5muqV.js → haml-aboBnjLl.js} +3 -3
- package/dist/{handlebars-BxmkFTU3.cjs → handlebars-C7PZ80pQ.cjs} +1 -1
- package/dist/{handlebars-CGjGomme.js → handlebars-Z3oHMxHt.js} +4 -4
- package/dist/html-CtaiB3Oi.cjs +1 -0
- package/dist/{html-DvKVaMAh.js → html-Cz0Xqdyq.js} +3 -3
- package/dist/{html-derivative-Due6nHaa.cjs → html-derivative-BYOQo3PG.cjs} +1 -1
- package/dist/{html-derivative--Yb6fTDM.js → html-derivative-BjrHnqif.js} +1 -1
- package/dist/{http-BDb2okFn.cjs → http-BA9nOlAq.cjs} +1 -1
- package/dist/{http-Wf5dll9t.js → http-ieHS9PeS.js} +4 -4
- package/dist/{hurl-Ds566NU_.cjs → hurl-DFGEnvSS.cjs} +1 -1
- package/dist/{hurl-1Afa28rK.js → hurl-Dg9NkXrC.js} +2 -2
- package/dist/{java-DMU2lkyP.js → java-DCXCvNHA.js} +1 -1
- package/dist/java-DTzZZzv7.cjs +1 -0
- package/dist/javascript-DOKgRqe8.cjs +1 -0
- package/dist/{javascript-CkOfli2O.js → javascript-f9cb-Pl7.js} +1 -1
- package/dist/{jinja-C_EeM5kX.js → jinja-B2DAjJOY.js} +1 -1
- package/dist/{jinja-D65--viX.cjs → jinja-DE8g1bjX.cjs} +1 -1
- package/dist/{jison-D5yGxh57.js → jison-5BvvygJS.js} +1 -1
- package/dist/{jison-CgJDwgW4.cjs → jison-BCQciWJO.cjs} +1 -1
- package/dist/js-yaml-B-Up3zwX.cjs +28 -0
- package/dist/{js-yaml-CA-Iojzo.js → js-yaml-o4oD1Gp3.js} +1 -1
- package/dist/json-BcxNDt_H.cjs +1 -0
- package/dist/{json-DnSlp2pP.js → json-DZfYi9f2.js} +1 -1
- package/dist/{jsx-DIHyTcyM.js → jsx-D0ksVAAA.js} +1 -1
- package/dist/jsx-DxOBIFYM.cjs +1 -0
- package/dist/{julia-Upv7yuF3.cjs → julia-B3y7weJz.cjs} +1 -1
- package/dist/{julia-pnYWyN4H.js → julia-Dk4vCuW5.js} +4 -4
- package/dist/{just-kcvRoQaC.cjs → just-B7ftAo6t.cjs} +1 -1
- package/dist/{just-Rux3ihaI.js → just-BDbjiXnk.js} +5 -5
- package/dist/{latex-BNmmGRr9.js → latex-CC_8gzv9.js} +1 -1
- package/dist/{latex-ssVj4acX.cjs → latex-QeOQCy8M.cjs} +1 -1
- package/dist/{liquid-D9-xfAH9.cjs → liquid-BVZIda1i.cjs} +1 -1
- package/dist/{liquid-CkFTSuz5.js → liquid-CJVpPXmh.js} +4 -4
- package/dist/llms-DWks2vGp.cjs +26 -0
- package/dist/llms-yFQ0insM.js +418 -0
- package/dist/lua-BoAqNcbB.cjs +1 -0
- package/dist/{lua-BPZzb4jg.js → lua-Bwwgpolt.js} +2 -2
- package/dist/{marko-CckGih8c.cjs → marko-CX9I4GhY.cjs} +1 -1
- package/dist/{marko-U5lgzX4W.js → marko-z-UpeqN9.js} +3 -3
- package/dist/{mdc-ftW0jKss.js → mdc-ANp6h8jQ.js} +2 -2
- package/dist/{mdc-CIgbmpvb.cjs → mdc-BPd7ZDIZ.cjs} +1 -1
- package/dist/{nginx-CO6FbhYm.js → nginx-BUK9HsFk.js} +1 -1
- package/dist/{nginx-pp3BriFA.cjs → nginx-CLECRmW5.cjs} +1 -1
- package/dist/{nim-xNROytAe.cjs → nim-4G662efB.cjs} +1 -1
- package/dist/{nim-CJpN9IuJ.js → nim-pupbS7ww.js} +6 -6
- package/dist/{useOpenapi-DVLwqpMR.js → normalizeExamples-BFR42ENV.js} +4058 -2185
- package/dist/normalizeExamples-DNaOGXm0.cjs +45 -0
- package/dist/{org-BLgfq4oa.js → org-B8vjAQ9v.js} +26 -26
- package/dist/{org-BfvkBzjQ.cjs → org-XYh7PPQk.cjs} +1 -1
- package/dist/{perl-4iy1AzjP.js → perl-ChiZYWB8.js} +5 -5
- package/dist/{perl-gYxlBF7Z.cjs → perl-Qi4toP6W.cjs} +1 -1
- package/dist/{php-D7tWq26a.cjs → php-93axekrF.cjs} +1 -1
- package/dist/{php-DBpFECnW.js → php-JTDYSOFN.js} +6 -6
- package/dist/{pug-CYLX2lIo.cjs → pug-BHWWe-s7.cjs} +1 -1
- package/dist/{pug-B3SC-VJn.js → pug-BR1NlFnA.js} +3 -3
- package/dist/{qml-CjtYDlYC.cjs → qml-71TJR8lk.cjs} +1 -1
- package/dist/{qml-BJryVNLB.js → qml-BBCxB4Da.js} +1 -1
- package/dist/r-BVapaf2o.cjs +1 -0
- package/dist/{r-CO3AGhxE.js → r-u-VAz7bR.js} +1 -1
- package/dist/{razor-fizwqQUn.js → razor-Cqi5RzG6.js} +1 -1
- package/dist/{razor-Cjwm6SbM.cjs → razor-DMdT60zm.cjs} +1 -1
- package/dist/{regexp-BlBS23LV.js → regexp-9Pkh3Nf7.js} +1 -1
- package/dist/regexp-CwHm4hi_.cjs +1 -0
- package/dist/{rst-uzixnQEN.cjs → rst-BtwmHjj9.cjs} +1 -1
- package/dist/{rst-CQ-BOew2.js → rst-CLZRH5oU.js} +6 -6
- package/dist/{ruby-DYscwpKq.js → ruby-BZUQEFGQ.js} +12 -12
- package/dist/{ruby-DcF3FpOo.cjs → ruby-DuGe7Fs0.cjs} +1 -1
- package/dist/{sas-CQkHM7U4.cjs → sas-B7hIWqYI.cjs} +1 -1
- package/dist/{sas-xf7cYJ8D.js → sas-BO2zDPuE.js} +1 -1
- package/dist/scss-BpK0m8eZ.cjs +1 -0
- package/dist/{scss-D5Ro0FPj.js → scss-OFCrSwaR.js} +2 -2
- package/dist/{shellscript-DVhVbKuT.js → shellscript-BNTFxSmg.js} +1 -1
- package/dist/shellscript-KJDkFDLp.cjs +1 -0
- package/dist/{shellsession-DCV0F4Wc.js → shellsession-B5j5FuGA.js} +1 -1
- package/dist/{shellsession-CfBYvvpU.cjs → shellsession-DWalcvtJ.cjs} +1 -1
- package/dist/{soy-HCmyBkD1.cjs → soy-BQn3ItqC.cjs} +1 -1
- package/dist/{soy-DqvPS_mm.js → soy-C2Q794LP.js} +1 -1
- package/dist/{sql-C8Kl76rR.js → sql-8JHRpHTE.js} +1 -1
- package/dist/sql-C5y5nUuw.cjs +1 -0
- package/dist/{stata-CJiPjcNk.js → stata-BrNyU7bS.js} +1 -1
- package/dist/{stata-B1WKRY4L.cjs → stata-DyBO95gA.cjs} +1 -1
- package/dist/{surrealql-D34WxIUj.cjs → surrealql-CAAIvFqO.cjs} +1 -1
- package/dist/{surrealql-1H6TjudE.js → surrealql-DgN6gei3.js} +1 -1
- package/dist/{svelte-BdqWwltV.cjs → svelte-DGjw_UH1.cjs} +1 -1
- package/dist/{svelte-CIN2FBHe.js → svelte-FhQBX-tv.js} +3 -3
- package/dist/{templ-DfCxDv8S.js → templ-BUggPx5p.js} +2 -2
- package/dist/{templ-DRfIS7Yk.cjs → templ-Cxuj5rzV.cjs} +1 -1
- package/dist/tex-B3aY5DbH.cjs +1 -0
- package/dist/{tex-BTjGzapI.js → tex-BlOdu2Xy.js} +2 -2
- package/dist/{ts-tags-T_iDSaWH.cjs → ts-tags-BymwG1F9.cjs} +1 -1
- package/dist/{ts-tags-CV7DYDTm.js → ts-tags-DZBZzNkR.js} +7 -7
- package/dist/tsx-DgA8B92F.cjs +1 -0
- package/dist/{tsx-C9xVNnaW.js → tsx-mByJmMSt.js} +1 -1
- package/dist/{twig-C4i_cRPo.js → twig--2v8RtVi.js} +5 -5
- package/dist/{twig-D914CUNQ.cjs → twig-CWwcCfHy.cjs} +1 -1
- package/dist/types/src/cli.d.ts +1 -0
- package/dist/types/src/components/Common/Highlight/OAShiki.vue.d.ts +2 -2
- package/dist/types/src/components/Common/Highlight/OAVueJsonPretty.vue.d.ts +2 -2
- package/dist/types/src/components/Common/OACodeBlock.vue.d.ts +2 -2
- package/dist/types/src/components/Common/OACodeValue.vue.d.ts +2 -2
- package/dist/types/src/components/Common/OAJSONEditor.vue.d.ts +2 -2
- package/dist/types/src/components/Parameter/OAParameterAttribute.vue.d.ts +2 -2
- package/dist/types/src/components/Playground/OAPlaygroundParameterInput.vue.d.ts +2 -2
- package/dist/types/src/components/ui/badge/index.d.ts +1 -1
- package/dist/types/src/components/ui/button/index.d.ts +1 -1
- package/dist/types/src/composables/useTheme.d.ts +7 -0
- package/dist/types/src/index.d.ts +18 -3
- package/dist/types/src/lib/codeSamples/buildOperationRequest.d.ts +15 -0
- package/dist/types/src/lib/codeSamples/buildRequest.d.ts +6 -0
- package/dist/types/src/lib/constants.d.ts +3 -0
- package/dist/types/src/lib/markdown/generateMarkdown.d.ts +111 -0
- package/dist/types/src/lib/markdown/llmsSite.d.ts +137 -0
- package/dist/types/src/lib/markdown/markdownUtils.d.ts +35 -0
- package/dist/types/src/lib/markdown/operationToMarkdown.d.ts +66 -0
- package/dist/types/src/lib/markdown/sanitizeHtml.d.ts +5 -0
- package/dist/types/src/lib/parser/getSchemaUi.d.ts +1 -0
- package/dist/types/src/node/cli.d.ts +5 -0
- package/dist/types/src/node/generate.d.ts +38 -0
- package/dist/types/src/node/llms.d.ts +99 -0
- package/dist/types/src/node/llmsPlugin.d.ts +10 -0
- package/dist/typescript-BWfpZQ2O.cjs +1 -0
- package/dist/{typescript-Chl77Ui1.js → typescript-DF15DAwn.js} +1 -1
- package/dist/{typst-C6fVPKNq.cjs → typst-BEqsnZtv.cjs} +1 -1
- package/dist/{typst-BgQE6TAB.js → typst-uhRd3eU5.js} +29 -29
- package/dist/useSidebar-B2LH297o.cjs +6 -0
- package/dist/useSidebar-CoebjdWM.js +313 -0
- package/dist/vitepress-openapi.cli.cjs.js +22 -0
- package/dist/vitepress-openapi.cli.es.js +67 -0
- package/dist/vitepress-openapi.client.cjs.js +1 -1
- package/dist/vitepress-openapi.client.es.js +7 -6
- package/dist/vitepress-openapi.css +1 -1
- package/dist/vitepress-openapi.node.cjs.js +1 -1
- package/dist/vitepress-openapi.node.es.js +47 -2
- package/dist/vitepress-openapi.vue.cjs.js +1 -1
- package/dist/vitepress-openapi.vue.es.js +4 -3
- package/dist/{vue-CaajMfVy.cjs → vue-BQl-5Fd6.cjs} +1 -1
- package/dist/{vue-J95qJkfJ.js → vue-CSJXDMn1.js} +6 -6
- package/dist/{vue-DpVGGK22.js → vue-DIM9jH1x.js} +3091 -4626
- package/dist/vue-DwsEa2e4.cjs +7 -0
- package/dist/{vue-html-CtmhMKZ8.cjs → vue-html-AqZQgz92.cjs} +1 -1
- package/dist/{vue-html-BjrCwjva.js → vue-html-DYm4V3uo.js} +1 -1
- package/dist/{vue-vine-C4hFAX9j.js → vue-vine-BLrCVeql.js} +3 -3
- package/dist/{vue-vine-DHwm8nhC.cjs → vue-vine-C1QCIUv6.cjs} +1 -1
- package/dist/xml-DbN80t5u.cjs +1 -0
- package/dist/{xml-4tT4oeZd.js → xml-Df1jLF7H.js} +2 -2
- package/dist/{xsl-gK25ns76.cjs → xsl-7fKL5NbN.cjs} +1 -1
- package/dist/{xsl-ZTs2D31w.js → xsl-C2LJLnIq.js} +1 -1
- package/dist/{yaml-Cr99duBz.js → yaml-DABI1u00.js} +1 -1
- package/dist/yaml-DNB0t8B9.cjs +1 -0
- package/package.json +6 -2
- package/src/cli.ts +6 -0
- package/src/composables/useMarkdown.ts +8 -2
- package/src/composables/useSidebar.ts +1 -1
- package/src/composables/useTheme.ts +12 -0
- package/src/index.ts +26 -5
- package/src/lib/codeSamples/buildHarRequest.ts +5 -0
- package/src/lib/codeSamples/buildOperationRequest.ts +52 -0
- package/src/lib/codeSamples/buildRequest.ts +49 -28
- package/src/lib/constants.ts +5 -0
- package/src/lib/examples/getSchemaUiJson.ts +1 -1
- package/src/lib/markdown/generateMarkdown.ts +451 -0
- package/src/lib/markdown/llmsSite.ts +475 -0
- package/src/lib/markdown/markdownUtils.ts +104 -0
- package/src/lib/markdown/operationLink.ts +10 -3
- package/src/lib/markdown/operationToMarkdown.ts +834 -0
- package/src/lib/markdown/sanitizeHtml.ts +92 -0
- package/src/lib/parser/generateCodeSamples.ts +6 -31
- package/src/lib/parser/generateMissingOperationIds.ts +1 -1
- package/src/lib/parser/generateMissingSummary.ts +1 -1
- package/src/lib/parser/generateMissingTags.ts +1 -1
- package/src/lib/parser/generateRequestBodyUi.ts +1 -1
- package/src/lib/parser/generateResponseUi.ts +1 -1
- package/src/lib/parser/generateSecurityUi.ts +1 -1
- package/src/lib/parser/getSchemaUi.ts +7 -3
- package/src/lib/sidebar/generateSidebarItemsByPaths.ts +1 -1
- package/src/lib/spec/createOpenApiSpec.ts +1 -1
- package/src/node/cli.ts +107 -0
- package/src/node/generate.ts +207 -0
- package/src/node/llms.ts +431 -0
- package/src/node/llmsPlugin.ts +29 -0
- package/dist/angular-html-BoKsRe8T.cjs +0 -1
- package/dist/c-BCyoZ90X.cjs +0 -1
- package/dist/cpp-tnOfy09q.cjs +0 -1
- package/dist/css-02TmpFbt.cjs +0 -1
- package/dist/glsl-BGTPqLyQ.cjs +0 -1
- package/dist/graphql-DdYH_Rp2.cjs +0 -1
- package/dist/haml-D-xAsnlc.cjs +0 -1
- package/dist/html-BYiFDapk.cjs +0 -1
- package/dist/java-DwnayQnb.cjs +0 -1
- package/dist/javascript-CSKossUl.cjs +0 -1
- package/dist/js-yaml-uHYMr7LM.cjs +0 -28
- package/dist/json-DMvxal4O.cjs +0 -1
- package/dist/jsx-CJAVXoYP.cjs +0 -1
- package/dist/lua-CbILlNRp.cjs +0 -1
- package/dist/r-DKRgTYMs.cjs +0 -1
- package/dist/regexp-BbrbtHcV.cjs +0 -1
- package/dist/scss-B6SEboBH.cjs +0 -1
- package/dist/shellscript-UM_LESkp.cjs +0 -1
- package/dist/sql-B2O4UoSw.cjs +0 -1
- package/dist/tex-W_Dxzamg.cjs +0 -1
- package/dist/tsx-B3iFrpuZ.cjs +0 -1
- package/dist/typescript-Ai8puZIn.cjs +0 -1
- package/dist/useOpenapi-D3rJQzeG.cjs +0 -50
- package/dist/vue-Cdo23EVh.cjs +0 -6
- package/dist/xml-C1x13bX0.cjs +0 -1
- package/dist/yaml-BUexFoMb.cjs +0 -1
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { OpenAPIDocument } from '../../types';
|
|
2
|
+
import type { OpenApiSpecInstance } from '../spec/createOpenApiSpec';
|
|
3
|
+
import type { MarkdownFile, OperationEntry, TagGroup } from './generateMarkdown';
|
|
4
|
+
import type { OperationToMarkdownOptions } from './operationToMarkdown';
|
|
5
|
+
export interface LlmsSiteOptions extends Omit<OperationToMarkdownOptions, 'headingLevel' | 'operationLink'> {
|
|
6
|
+
/**
|
|
7
|
+
* Route of the operation pages, relative to the site root, with an `{operationId}`
|
|
8
|
+
* placeholder (e.g. `'operations/{operationId}'`).
|
|
9
|
+
*/
|
|
10
|
+
operationRoute: string;
|
|
11
|
+
/** Routes of pages rendering the whole spec (e.g. `OASpec`): they get every operation. */
|
|
12
|
+
specRoutes?: string[];
|
|
13
|
+
/** Route of the API overview page (title, servers, authentication and operations by tag). */
|
|
14
|
+
introductionRoute?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Route of the tag pages, with a `{tag}` placeholder (e.g. `'tags/{tag}'`).
|
|
17
|
+
* Each gets the tag description and all its operations.
|
|
18
|
+
*/
|
|
19
|
+
tagRoute?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Value of `{tag}` for a tag name. Must match the route params of your tag pages.
|
|
22
|
+
* Defaults to the tag name as is, like `usePaths().getTags()`.
|
|
23
|
+
*/
|
|
24
|
+
tagParam?: (tag: string) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Extension of the files written next to each page.
|
|
27
|
+
* @default 'md'
|
|
28
|
+
*/
|
|
29
|
+
extension?: 'md' | 'txt';
|
|
30
|
+
/**
|
|
31
|
+
* Also generate `llms.txt` and `llms-full.txt` at the site root.
|
|
32
|
+
* @default true
|
|
33
|
+
*/
|
|
34
|
+
llmsTxt?: boolean;
|
|
35
|
+
/** Tag for operations without tags. */
|
|
36
|
+
defaultTag?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Maximum size in bytes of a file with many operations (whole-spec pages, tag pages and
|
|
39
|
+
* `llms-full.txt`). Above it, a summary is written instead: the overview and one line per
|
|
40
|
+
* operation. `false` (or `Infinity`) disables the limit.
|
|
41
|
+
* @default 5 * 1024 * 1024
|
|
42
|
+
*/
|
|
43
|
+
maxSize?: number | false;
|
|
44
|
+
}
|
|
45
|
+
export interface LlmsSiteFilesOptions extends LlmsSiteOptions {
|
|
46
|
+
/**
|
|
47
|
+
* Site base path, used in links.
|
|
48
|
+
* @default '/'
|
|
49
|
+
*/
|
|
50
|
+
base?: string;
|
|
51
|
+
/** Whether a route has a page. Routes without one get no file and no link. */
|
|
52
|
+
hasPage?: (route: string) => boolean | Promise<boolean>;
|
|
53
|
+
}
|
|
54
|
+
export declare const DEFAULT_LLMS_MAX_SIZE: number;
|
|
55
|
+
/**
|
|
56
|
+
* Normalizes a route: no leading/trailing slashes and no `.md`/`.html` extension.
|
|
57
|
+
*/
|
|
58
|
+
export declare function normalizeRoute(route: string): string;
|
|
59
|
+
/**
|
|
60
|
+
* UTF-8 byte length of a string, without encoding it.
|
|
61
|
+
*/
|
|
62
|
+
export declare function utf8Length(text: string): number;
|
|
63
|
+
export interface LlmsSummaryOptions {
|
|
64
|
+
/** URL of an operation's page, or `undefined` to list it as plain text. */
|
|
65
|
+
operationUrl?: (operation: OperationEntry) => string | undefined;
|
|
66
|
+
/** Link to the full spec, in the note. */
|
|
67
|
+
specUrl?: string;
|
|
68
|
+
openapiUrl?: string;
|
|
69
|
+
maxSize: number;
|
|
70
|
+
/** Summarize a single tag (a tag page) instead of the whole spec. */
|
|
71
|
+
group?: TagGroup;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Summary written instead of a file over `maxSize`: a note, the overview (or the tag) and
|
|
75
|
+
* one line per operation, grouped by tag.
|
|
76
|
+
*/
|
|
77
|
+
export declare function renderLlmsSummary(openapi: OpenApiSpecInstance, groups: TagGroup[], options: LlmsSummaryOptions): string;
|
|
78
|
+
/**
|
|
79
|
+
* `base` + `path`, each path segment percent-encoded (so `?` and `#` in a tag or operationId stay in the path).
|
|
80
|
+
*/
|
|
81
|
+
export declare function joinUrl(base: string, path: string): string;
|
|
82
|
+
export interface LlmsSiteEntry {
|
|
83
|
+
/** Page files (no `llms.txt`/`llms-full.txt`). */
|
|
84
|
+
files: MarkdownFile[];
|
|
85
|
+
/** `llms-full.txt` content: every operation of the spec, or a summary when over `maxSize`. */
|
|
86
|
+
full: string;
|
|
87
|
+
/** Logs a warning if `full` is a summary (call it when writing `llms-full.txt`). */
|
|
88
|
+
warnFull: () => void;
|
|
89
|
+
/** `llms.txt` content, with optional extra `## Section` blocks. */
|
|
90
|
+
renderLlmsTxt: (extraSections?: string[]) => string;
|
|
91
|
+
/** This spec as a single `llms.txt` section, to merge it into another one. */
|
|
92
|
+
renderLlmsSection: () => string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Markdown files for a site: one per operation page (`{route}.{extension}`), one per
|
|
96
|
+
* whole-spec page, and `llms.txt`/`llms-full.txt`. Paths are relative to the site output.
|
|
97
|
+
*/
|
|
98
|
+
export declare function generateLlmsSiteFiles(spec: OpenAPIDocument | string | OpenApiSpecInstance, options: LlmsSiteFilesOptions): Promise<MarkdownFile[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Like `generateLlmsSiteFiles`, but returns the `llms.txt` parts so several specs can be merged.
|
|
101
|
+
*/
|
|
102
|
+
export declare function buildLlmsSiteEntry(spec: OpenAPIDocument | string | OpenApiSpecInstance, options: LlmsSiteFilesOptions): Promise<LlmsSiteEntry>;
|
|
103
|
+
export type LlmsPageMode = 'spec' | 'operation' | 'introduction' | 'tag';
|
|
104
|
+
export interface LlmsPageOptions extends Omit<OperationToMarkdownOptions, 'headingLevel' | 'operationLink'> {
|
|
105
|
+
/** @default 'spec' */
|
|
106
|
+
mode?: LlmsPageMode;
|
|
107
|
+
operationId?: string;
|
|
108
|
+
tag?: string;
|
|
109
|
+
defaultTag?: string;
|
|
110
|
+
/** See `LlmsSiteOptions.maxSize`. Applies to the `'spec'` and `'tag'` modes. */
|
|
111
|
+
maxSize?: number | false;
|
|
112
|
+
/** URL of the page's spec, linked from the summary note. */
|
|
113
|
+
specUrl?: string;
|
|
114
|
+
/** Name of the file in warnings (e.g. its route). */
|
|
115
|
+
label?: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Markdown of a page that renders its own spec: the whole spec, an operation, the overview or a tag.
|
|
119
|
+
* Operation links become plain text: they would point to pages of another spec.
|
|
120
|
+
* Returns `undefined` when the operation or tag doesn't exist.
|
|
121
|
+
*/
|
|
122
|
+
export declare function renderLlmsPage(spec: OpenAPIDocument | string | OpenApiSpecInstance, options?: LlmsPageOptions): Promise<{
|
|
123
|
+
title: string;
|
|
124
|
+
content: string;
|
|
125
|
+
} | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* Path of a request relative to the site base (decoded, without query), or `undefined`.
|
|
128
|
+
*/
|
|
129
|
+
export declare function getLlmsRequestPath(url: string | undefined, base: string): string | undefined;
|
|
130
|
+
export declare function getLlmsContentType(path: string): string;
|
|
131
|
+
/**
|
|
132
|
+
* Serves a generated file for a request URL (dev server). Returns `undefined` when no file matches.
|
|
133
|
+
*/
|
|
134
|
+
export declare function resolveLlmsRequest(url: string | undefined, base: string, files: MarkdownFile[]): {
|
|
135
|
+
body: string;
|
|
136
|
+
contentType: string;
|
|
137
|
+
} | undefined;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Escapes a link label (`[label](url)`): backslashes and brackets would end or break it.
|
|
3
|
+
*/
|
|
4
|
+
export declare function escapeLinkLabel(label: unknown): string;
|
|
5
|
+
export declare function heading(level: number, text: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* Inline code span that survives backticks in its content.
|
|
8
|
+
*/
|
|
9
|
+
export declare function inlineCode(value: unknown): string;
|
|
10
|
+
/**
|
|
11
|
+
* Fenced code block whose fence is longer than any backtick run in the code.
|
|
12
|
+
*/
|
|
13
|
+
export declare function codeBlock(code: string, lang?: string): string;
|
|
14
|
+
/**
|
|
15
|
+
* Escapes a value for a GFM table cell: pipes and newlines would break the row.
|
|
16
|
+
*/
|
|
17
|
+
export declare function tableCell(value: unknown): string;
|
|
18
|
+
export declare function table(headers: string[], rows: unknown[][]): string;
|
|
19
|
+
/**
|
|
20
|
+
* Indents every line after the first, so multi-line text stays inside a list item.
|
|
21
|
+
*/
|
|
22
|
+
export declare function indentContinuation(text: string, indent: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* Appends attribute sentences (e.g. `Default: x.`) to a description, keeping
|
|
25
|
+
* multi-paragraph descriptions intact.
|
|
26
|
+
*/
|
|
27
|
+
export declare function withAttributes(description: string | undefined | null, attributes: Array<string | false | undefined>): string;
|
|
28
|
+
/**
|
|
29
|
+
* Turns an identifier (e.g. an operationId with slashes or spaces) into a safe file name.
|
|
30
|
+
*/
|
|
31
|
+
export declare function sanitizeFileName(value: string, fallback?: string): string;
|
|
32
|
+
/**
|
|
33
|
+
* YAML frontmatter block. Strings are JSON-encoded, which is valid YAML.
|
|
34
|
+
*/
|
|
35
|
+
export declare function frontmatter(data: Record<string, unknown>): string;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { LanguageConfig } from '../../composables/useTheme';
|
|
2
|
+
import type { OpenApiSpecInstance } from '../spec/createOpenApiSpec';
|
|
3
|
+
export interface OperationToMarkdownOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Heading level of the operation title. Sections use the next levels.
|
|
6
|
+
* @default 1
|
|
7
|
+
*/
|
|
8
|
+
headingLevel?: number;
|
|
9
|
+
/**
|
|
10
|
+
* URL of the machine-readable OpenAPI document, linked at the end of the page.
|
|
11
|
+
*/
|
|
12
|
+
openapiUrl?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Code samples to include: `false` to disable, or a list of languages
|
|
15
|
+
* (`lang` ids of the built-in languages, e.g. `'curl'`, `'javascript'`, `'php'`, `'python'`,
|
|
16
|
+
* or custom `LanguageConfig` objects).
|
|
17
|
+
* @default ['curl']
|
|
18
|
+
*/
|
|
19
|
+
codeSamples?: boolean | Array<string | LanguageConfig>;
|
|
20
|
+
/**
|
|
21
|
+
* Base URL used in code samples. Defaults to the first server of the operation.
|
|
22
|
+
*/
|
|
23
|
+
baseUrl?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum nesting depth when rendering schemas. Deeper levels are listed as `…`,
|
|
26
|
+
* or as a reference to their component schema.
|
|
27
|
+
* @default 4
|
|
28
|
+
*/
|
|
29
|
+
schemaDepth?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Autogenerated examples longer than this (in characters) are left out.
|
|
32
|
+
* Examples written in the spec are always kept.
|
|
33
|
+
* @default 10000
|
|
34
|
+
*/
|
|
35
|
+
maxExampleLength?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Operation links in descriptions, as used by the `operationLink` markdown-it plugin
|
|
38
|
+
* (e.g. `[](/operations/getPet)`): empty link texts are filled with the operation
|
|
39
|
+
* summary and hrefs are mapped with `href`. `false` leaves them untouched.
|
|
40
|
+
* @default { prefix: '/operations/' }
|
|
41
|
+
*/
|
|
42
|
+
operationLink?: false | OperationLinkOptions;
|
|
43
|
+
}
|
|
44
|
+
export interface OperationLinkOptions {
|
|
45
|
+
/** @default '/operations/' */
|
|
46
|
+
prefix?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Maps an operationId to the link href: `undefined` keeps the original href,
|
|
49
|
+
* `null` drops the link and keeps its text.
|
|
50
|
+
*/
|
|
51
|
+
href?: (operationId: string) => string | null | undefined;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Renders a single operation as plain (GitHub-flavored) Markdown, for static
|
|
55
|
+
* pages, search indexing or LLMs. Expects a parsed spec (e.g. from `useOpenapi`
|
|
56
|
+
* or `generateMarkdownFiles`) so `$ref`s are resolved.
|
|
57
|
+
*/
|
|
58
|
+
export declare function operationToMarkdown(openapi: OpenApiSpecInstance, operationId: string, options?: OperationToMarkdownOptions): Promise<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Fills empty operation link texts and maps their hrefs (see `OperationToMarkdownOptions.operationLink`).
|
|
61
|
+
*/
|
|
62
|
+
export declare function rewriteOperationLinks(markdown: string, openapi: OpenApiSpecInstance, options?: OperationLinkOptions): string;
|
|
63
|
+
/**
|
|
64
|
+
* One-line description of a security scheme (type, location, scopes), with OAuth flows as nested items.
|
|
65
|
+
*/
|
|
66
|
+
export declare function describeSecurityScheme(scheme: any, scopes?: string[], indent?: string): string;
|
|
@@ -39,6 +39,7 @@ export interface OAProperty {
|
|
|
39
39
|
export declare class SchemaUiCache {
|
|
40
40
|
walked: WeakSet<object>;
|
|
41
41
|
ui: WeakMap<object, OAProperty>;
|
|
42
|
+
sources: WeakMap<OAProperty, object>;
|
|
42
43
|
}
|
|
43
44
|
export declare function getSchemaUi(jsonSchema: OpenAPI.SchemaObject, cache?: SchemaUiCache): OAProperty | OAProperty[];
|
|
44
45
|
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { GenerateMarkdownFilesOptions, MarkdownFile } from '../lib/markdown/generateMarkdown';
|
|
2
|
+
import type { OpenAPIDocument } from '../types';
|
|
3
|
+
export declare function loadNodeModules(): Promise<{
|
|
4
|
+
fs: typeof import("node:fs/promises");
|
|
5
|
+
path: typeof import("node:path");
|
|
6
|
+
process: NodeJS.Process;
|
|
7
|
+
}>;
|
|
8
|
+
type NodeModules = Awaited<ReturnType<typeof loadNodeModules>>;
|
|
9
|
+
export interface SpecSource {
|
|
10
|
+
/** OpenAPI document (object, or JSON/YAML string). */
|
|
11
|
+
spec?: OpenAPIDocument | string;
|
|
12
|
+
/** Path to a local JSON/YAML OpenAPI document. */
|
|
13
|
+
specPath?: string;
|
|
14
|
+
/** URL of a JSON/YAML OpenAPI document. */
|
|
15
|
+
specUrl?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GenerateMarkdownOptions extends GenerateMarkdownFilesOptions, SpecSource {
|
|
18
|
+
/** Output directory. Created if missing. */
|
|
19
|
+
outDir: string;
|
|
20
|
+
/**
|
|
21
|
+
* Remove the output directory before writing.
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
clean?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Loads an OpenAPI document, generates Markdown files (see `generateMarkdownFiles`)
|
|
28
|
+
* and writes them to `outDir`. Returns the absolute paths of the written files.
|
|
29
|
+
*/
|
|
30
|
+
export declare function generateMarkdown(options: GenerateMarkdownOptions): Promise<string[]>;
|
|
31
|
+
/**
|
|
32
|
+
* Writes `files` (paths relative to `root`) without leaving `root`: targets must stay inside it,
|
|
33
|
+
* parent directories must resolve inside it, and symlinked files are never followed.
|
|
34
|
+
* Returns the absolute paths of the written files.
|
|
35
|
+
*/
|
|
36
|
+
export declare function writeFilesSafely(root: string, files: MarkdownFile[], { fs, path }: NodeModules): Promise<string[]>;
|
|
37
|
+
export declare function loadSpec({ spec, specPath, specUrl }: SpecSource, { fs, path }: NodeModules): Promise<OpenAPIDocument>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { LlmsPageMode, LlmsSiteOptions } from '../lib/markdown/llmsSite';
|
|
2
|
+
import type { SpecSource } from './generate';
|
|
3
|
+
/** A built page, as passed to `resolvePage`. */
|
|
4
|
+
export interface LlmsPage {
|
|
5
|
+
/** Route relative to the site root, without extension, e.g. `tests/schemas`. */
|
|
6
|
+
route: string;
|
|
7
|
+
/** Params of a dynamic route (`[param].paths.js`). */
|
|
8
|
+
params?: Record<string, any>;
|
|
9
|
+
}
|
|
10
|
+
/** What a page renders: its spec (or the entry's spec) and which part of it. */
|
|
11
|
+
export interface LlmsResolvedPage extends SpecSource {
|
|
12
|
+
/**
|
|
13
|
+
* `'spec'`: every operation; `'operation'`: `operationId`; `'introduction'`: the overview; `'tag'`: `tag`.
|
|
14
|
+
* @default 'spec'
|
|
15
|
+
*/
|
|
16
|
+
mode?: LlmsPageMode;
|
|
17
|
+
operationId?: string;
|
|
18
|
+
tag?: string;
|
|
19
|
+
/** Overrides the entry's `maxSize` for this page. */
|
|
20
|
+
maxSize?: number | false;
|
|
21
|
+
}
|
|
22
|
+
export interface LlmsFilesOptions extends Omit<LlmsSiteOptions, 'operationRoute'>, SpecSource {
|
|
23
|
+
/** Route of the operation pages of `spec`, with an `{operationId}` placeholder. */
|
|
24
|
+
operationRoute?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Called for every built page. Return what the page renders to write `{route}.{extension}`,
|
|
27
|
+
* or `undefined` to skip it. For pages that render their own spec (e.g. from route params).
|
|
28
|
+
*/
|
|
29
|
+
resolvePage?: (page: LlmsPage) => LlmsResolvedPage | undefined | Promise<LlmsResolvedPage | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Heading of the `llms.txt` section listing the pages of `resolvePage`.
|
|
32
|
+
* @default 'Pages'
|
|
33
|
+
*/
|
|
34
|
+
title?: string;
|
|
35
|
+
}
|
|
36
|
+
/** One options object, or several (each with its own spec), merged into one `llms.txt`. */
|
|
37
|
+
export type LlmsFilesInput = LlmsFilesOptions | LlmsFilesOptions[];
|
|
38
|
+
/**
|
|
39
|
+
* The parts of VitePress' `SiteConfig` used here (`buildEnd` receives the full one).
|
|
40
|
+
*/
|
|
41
|
+
export interface LlmsSiteConfig {
|
|
42
|
+
outDir: string;
|
|
43
|
+
/** Source pages, e.g. `operations/getPet.md` (dynamic routes included). */
|
|
44
|
+
pages?: string[];
|
|
45
|
+
/** Resolved dynamic routes: `path` is the page (e.g. `tests/schemas.md`). */
|
|
46
|
+
dynamicRoutes?: {
|
|
47
|
+
routes?: Array<{
|
|
48
|
+
path: string;
|
|
49
|
+
params?: Record<string, any>;
|
|
50
|
+
}>;
|
|
51
|
+
};
|
|
52
|
+
rewrites?: {
|
|
53
|
+
map?: Record<string, string | undefined>;
|
|
54
|
+
};
|
|
55
|
+
site?: {
|
|
56
|
+
base?: string;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface LlmsMiddlewareRequest {
|
|
60
|
+
url?: string;
|
|
61
|
+
/** Set by Connect before any middleware: the URL as sent, before rewrites change `url`. */
|
|
62
|
+
originalUrl?: string;
|
|
63
|
+
method?: string;
|
|
64
|
+
headers?: Record<string, string | string[] | undefined>;
|
|
65
|
+
}
|
|
66
|
+
interface MiddlewareResponse {
|
|
67
|
+
statusCode: number;
|
|
68
|
+
setHeader: (name: string, value: string) => unknown;
|
|
69
|
+
end: (body?: string) => unknown;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The path of a request for a raw `.md`/`.txt` file, or `undefined` for anything else.
|
|
73
|
+
* In dev, VitePress loads each page as a module from the same `.md` URL (always with a `?t=`
|
|
74
|
+
* query, see `pathToFile`), and Vite adds queries like `?import` or `?v=`: requests with a query,
|
|
75
|
+
* script-like fetch destinations or a non-text `Accept` are left to Vite.
|
|
76
|
+
* Uses `originalUrl` (the URL as sent), since VitePress rewrites change `url`.
|
|
77
|
+
*/
|
|
78
|
+
export declare function getRawFileRequestUrl(req: LlmsMiddlewareRequest): string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Built pages with their dynamic route params (rewrites applied), or `undefined` when the config lists no pages.
|
|
81
|
+
*/
|
|
82
|
+
export declare function getSitePages(siteConfig: LlmsSiteConfig | undefined): LlmsPage[] | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Routes of the built pages (rewrites applied), or `undefined` when the config lists no pages.
|
|
85
|
+
*/
|
|
86
|
+
export declare function getPageRoutes(siteConfig: LlmsSiteConfig | undefined): Set<string> | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Writes `{route}.{extension}` next to each built page an entry covers (operation, whole-spec,
|
|
89
|
+
* introduction, tag and `resolvePage` pages), plus `llms.txt`/`llms-full.txt`, into
|
|
90
|
+
* `siteConfig.outDir`. Meant for VitePress `buildEnd`. Returns the absolute paths of the written files.
|
|
91
|
+
*/
|
|
92
|
+
export declare function generateLlmsFiles(siteConfig: LlmsSiteConfig, input: LlmsFilesInput): Promise<string[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Connect middleware serving the same files on the fly (dev server). Pages of `resolvePage` are
|
|
95
|
+
* rendered on request, with the params of VitePress' dynamic routes; the other files are generated
|
|
96
|
+
* on the first request. Everything is cached: restart the server after changing a spec.
|
|
97
|
+
*/
|
|
98
|
+
export declare function createLlmsDevMiddleware(input: LlmsFilesInput, getSiteConfig?: () => LlmsSiteConfig | undefined, fallbackBase?: string): (req: LlmsMiddlewareRequest, res: MiddlewareResponse, next: (error?: unknown) => void) => Promise<void>;
|
|
99
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Plugin } from 'vite';
|
|
2
|
+
import type { LlmsFilesInput } from './llms';
|
|
3
|
+
/**
|
|
4
|
+
* Vite plugin for the VitePress dev server: answers `{base}{route}.{extension}`,
|
|
5
|
+
* `{base}llms.txt` and `{base}llms-full.txt` with the generated Markdown. For builds,
|
|
6
|
+
* call `generateLlmsFiles` from VitePress `buildEnd` with the same options.
|
|
7
|
+
*
|
|
8
|
+
* Register it before `vitepress-plugin-llms` so operation routes are served from here.
|
|
9
|
+
*/
|
|
10
|
+
export declare function llmsDevServer(options: LlmsFilesInput): Plugin;
|