@lupinum/ginko-content 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +90 -0
- package/compatibility.json +27 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +690 -0
- package/dist/cms-contract/build +1 -0
- package/dist/cms-contract/build.d.ts +44 -0
- package/dist/cms-contract/build.js +513 -0
- package/dist/cms-contract/index +1 -0
- package/dist/cms-contract/index.d.ts +25 -0
- package/dist/cms-contract/index.js +37 -0
- package/dist/cms-contract/mdc +1 -0
- package/dist/cms-contract/mdc.d.ts +32 -0
- package/dist/cms-contract/mdc.js +52 -0
- package/dist/cms-contract/path +1 -0
- package/dist/cms-contract/path.d.ts +12 -0
- package/dist/cms-contract/path.js +18 -0
- package/dist/cms-contract/schema +1 -0
- package/dist/cms-contract/schema.d.ts +18 -0
- package/dist/cms-contract/schema.js +13 -0
- package/dist/cms-contract/types +1 -0
- package/dist/cms-contract/types.d.ts +177 -0
- package/dist/cms-contract/types.js +0 -0
- package/dist/cms-import/index +1 -0
- package/dist/cms-import/index.d.ts +21 -0
- package/dist/cms-import/index.js +57 -0
- package/dist/config.d.mts +3 -0
- package/dist/config.mjs +3 -0
- package/dist/core/cache +1 -0
- package/dist/core/cache-hints +1 -0
- package/dist/core/cache-hints.d.ts +3 -0
- package/dist/core/cache-hints.js +55 -0
- package/dist/core/cache.d.ts +29 -0
- package/dist/core/cache.js +0 -0
- package/dist/core/content/collection +1 -0
- package/dist/core/content/collection.d.ts +3 -0
- package/dist/core/content/collection.js +52 -0
- package/dist/core/content/graph +1 -0
- package/dist/core/content/graph.d.ts +147 -0
- package/dist/core/content/graph.js +189 -0
- package/dist/core/content/ignore +1 -0
- package/dist/core/content/ignore.d.ts +5 -0
- package/dist/core/content/ignore.js +10 -0
- package/dist/core/content/locale +1 -0
- package/dist/core/content/locale.d.ts +61 -0
- package/dist/core/content/locale.js +77 -0
- package/dist/core/content/path +1 -0
- package/dist/core/content/path.d.ts +36 -0
- package/dist/core/content/path.js +143 -0
- package/dist/core/content/slug +1 -0
- package/dist/core/content/slug.d.ts +4 -0
- package/dist/core/content/slug.js +41 -0
- package/dist/core/content/sources +1 -0
- package/dist/core/content/sources.d.ts +2 -0
- package/dist/core/content/sources.js +6 -0
- package/dist/core/errors +1 -0
- package/dist/core/errors.d.ts +15 -0
- package/dist/core/errors.js +10 -0
- package/dist/core/markdown/tree +1 -0
- package/dist/core/markdown/tree.d.ts +9 -0
- package/dist/core/markdown/tree.js +47 -0
- package/dist/core/query/builder +1 -0
- package/dist/core/query/builder.d.ts +18 -0
- package/dist/core/query/builder.js +186 -0
- package/dist/core/query/execute +1 -0
- package/dist/core/query/execute.d.ts +52 -0
- package/dist/core/query/execute.js +304 -0
- package/dist/core/query/filter +1 -0
- package/dist/core/query/filter.d.ts +42 -0
- package/dist/core/query/filter.js +118 -0
- package/dist/core/query/json +1 -0
- package/dist/core/query/json.d.ts +2 -0
- package/dist/core/query/json.js +20 -0
- package/dist/core/query/lower +1 -0
- package/dist/core/query/lower.d.ts +14 -0
- package/dist/core/query/lower.js +121 -0
- package/dist/core/query/operators +1 -0
- package/dist/core/query/operators.d.ts +23 -0
- package/dist/core/query/operators.js +126 -0
- package/dist/core/query/params +1 -0
- package/dist/core/query/params.d.ts +15 -0
- package/dist/core/query/params.js +83 -0
- package/dist/core/query/plan +1 -0
- package/dist/core/query/plan.d.ts +110 -0
- package/dist/core/query/plan.js +0 -0
- package/dist/core/references/resolve +1 -0
- package/dist/core/references/resolve.d.ts +31 -0
- package/dist/core/references/resolve.js +121 -0
- package/dist/core/references/schema +1 -0
- package/dist/core/references/schema.d.ts +8 -0
- package/dist/core/references/schema.js +70 -0
- package/dist/core/result +1 -0
- package/dist/core/result.d.ts +27 -0
- package/dist/core/result.js +2 -0
- package/dist/features/collections/resolve +1 -0
- package/dist/features/collections/resolve.d.ts +63 -0
- package/dist/features/collections/resolve.js +76 -0
- package/dist/features/localization/config +1 -0
- package/dist/features/localization/config.d.ts +18 -0
- package/dist/features/localization/config.js +25 -0
- package/dist/features/localization/links +1 -0
- package/dist/features/localization/links.d.ts +1 -0
- package/dist/features/localization/links.js +69 -0
- package/dist/features/localization/path +1 -0
- package/dist/features/localization/path.d.ts +32 -0
- package/dist/features/localization/path.js +80 -0
- package/dist/features/localization/results +1 -0
- package/dist/features/localization/results.d.ts +42 -0
- package/dist/features/localization/results.js +149 -0
- package/dist/features/localization/translated-slugs +1 -0
- package/dist/features/localization/translated-slugs.d.ts +11 -0
- package/dist/features/localization/translated-slugs.js +80 -0
- package/dist/features/navigation/build +1 -0
- package/dist/features/navigation/build.d.ts +28 -0
- package/dist/features/navigation/build.js +104 -0
- package/dist/features/navigation/canonical +1 -0
- package/dist/features/navigation/canonical.d.ts +33 -0
- package/dist/features/navigation/canonical.js +149 -0
- package/dist/features/navigation/query +1 -0
- package/dist/features/navigation/query.d.ts +19 -0
- package/dist/features/navigation/query.js +51 -0
- package/dist/features/navigation/resolve +1 -0
- package/dist/features/navigation/resolve.d.ts +20 -0
- package/dist/features/navigation/resolve.js +79 -0
- package/dist/features/navigation/tree +1 -0
- package/dist/features/navigation/tree.d.ts +6 -0
- package/dist/features/navigation/tree.js +32 -0
- package/dist/features/search/navigation +1 -0
- package/dist/features/search/navigation.d.ts +6 -0
- package/dist/features/search/navigation.js +21 -0
- package/dist/features/search/sections +1 -0
- package/dist/features/search/sections.d.ts +21 -0
- package/dist/features/search/sections.js +98 -0
- package/dist/features/sitemap/query +1 -0
- package/dist/features/sitemap/query.d.ts +68 -0
- package/dist/features/sitemap/query.js +171 -0
- package/dist/integrations/nitro/context +1 -0
- package/dist/integrations/nitro/context.d.ts +63 -0
- package/dist/integrations/nitro/context.js +28 -0
- package/dist/integrations/nitro/ingest +1 -0
- package/dist/integrations/nitro/ingest.d.ts +18 -0
- package/dist/integrations/nitro/ingest.js +120 -0
- package/dist/integrations/nitro/preview +1 -0
- package/dist/integrations/nitro/preview.d.ts +5 -0
- package/dist/integrations/nitro/preview.js +21 -0
- package/dist/integrations/nitro/runtime-config +1 -0
- package/dist/integrations/nitro/runtime-config.d.ts +1 -0
- package/dist/integrations/nitro/runtime-config.js +4 -0
- package/dist/integrations/nitro/storage +1 -0
- package/dist/integrations/nitro/storage.d.ts +9 -0
- package/dist/integrations/nitro/storage.js +113 -0
- package/dist/integrations/vue/content-components +1 -0
- package/dist/integrations/vue/content-components.d.ts +24 -0
- package/dist/integrations/vue/content-components.js +67 -0
- package/dist/integrations/vue/html-tags +1 -0
- package/dist/integrations/vue/html-tags.d.ts +2 -0
- package/dist/integrations/vue/html-tags.js +119 -0
- package/dist/integrations/vue/markdown-refs +1 -0
- package/dist/integrations/vue/markdown-refs.d.ts +1 -0
- package/dist/integrations/vue/markdown-refs.js +1 -0
- package/dist/module.d.mts +2044 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +1381 -0
- package/dist/parsers/csv +1 -0
- package/dist/parsers/csv.d.ts +2 -0
- package/dist/parsers/csv.js +38 -0
- package/dist/parsers/from-csv +1 -0
- package/dist/parsers/from-csv.d.ts +20 -0
- package/dist/parsers/from-csv.js +85 -0
- package/dist/parsers/index +1 -0
- package/dist/parsers/index.d.ts +10 -0
- package/dist/parsers/index.js +50 -0
- package/dist/parsers/json +1 -0
- package/dist/parsers/json.d.ts +2 -0
- package/dist/parsers/json.js +29 -0
- package/dist/parsers/markdown +1 -0
- package/dist/parsers/markdown-plugins +1 -0
- package/dist/parsers/markdown-plugins.d.ts +3 -0
- package/dist/parsers/markdown-plugins.js +58 -0
- package/dist/parsers/markdown.d.ts +2 -0
- package/dist/parsers/markdown.js +64 -0
- package/dist/parsers/path-meta +1 -0
- package/dist/parsers/path-meta.d.ts +4 -0
- package/dist/parsers/path-meta.js +37 -0
- package/dist/parsers/utils +1 -0
- package/dist/parsers/utils.d.ts +2 -0
- package/dist/parsers/utils.js +3 -0
- package/dist/parsers/yaml +1 -0
- package/dist/parsers/yaml.d.ts +2 -0
- package/dist/parsers/yaml.js +19 -0
- package/dist/public/client +1 -0
- package/dist/public/client.d.ts +19 -0
- package/dist/public/client.js +26 -0
- package/dist/public/provider +1 -0
- package/dist/public/provider-errors +1 -0
- package/dist/public/provider-errors.d.ts +4 -0
- package/dist/public/provider-errors.js +28 -0
- package/dist/public/provider.d.ts +74 -0
- package/dist/public/provider.js +6 -0
- package/dist/public/server +1 -0
- package/dist/public/server.d.ts +19 -0
- package/dist/public/server.js +28 -0
- package/dist/runtime/app/components/ContentRenderer.d.vue.ts +62 -0
- package/dist/runtime/app/components/ContentRenderer.vue +84 -0
- package/dist/runtime/app/components/ContentRenderer.vue.d.ts +62 -0
- package/dist/runtime/app/components/ContentRendererInline.d.vue.ts +50 -0
- package/dist/runtime/app/components/ContentRendererInline.vue +97 -0
- package/dist/runtime/app/components/ContentRendererInline.vue.d.ts +50 -0
- package/dist/runtime/app/components/Prose/ProseCode.d.vue.ts +61 -0
- package/dist/runtime/app/components/Prose/ProseCode.vue +32 -0
- package/dist/runtime/app/components/Prose/ProseCode.vue.d.ts +61 -0
- package/dist/runtime/app/components/Prose/ProseCodeInline.d.vue.ts +13 -0
- package/dist/runtime/app/components/Prose/ProseCodeInline.vue +3 -0
- package/dist/runtime/app/components/Prose/ProseCodeInline.vue.d.ts +13 -0
- package/dist/runtime/app/components/Prose/ProseImg.d.vue.ts +59 -0
- package/dist/runtime/app/components/Prose/ProseImg.vue +59 -0
- package/dist/runtime/app/components/Prose/ProseImg.vue.d.ts +59 -0
- package/dist/runtime/app/components/Prose/ProsePre.d.vue.ts +79 -0
- package/dist/runtime/app/components/Prose/ProsePre.vue +42 -0
- package/dist/runtime/app/components/Prose/ProsePre.vue.d.ts +79 -0
- package/dist/runtime/app/components/internal/ContentRendererMarkdown.d.vue.ts +68 -0
- package/dist/runtime/app/components/internal/ContentRendererMarkdown.vue +99 -0
- package/dist/runtime/app/components/internal/ContentRendererMarkdown.vue.d.ts +68 -0
- package/dist/runtime/app/components/internal/MarkdownRenderer +1 -0
- package/dist/runtime/app/components/internal/MarkdownRenderer.d.ts +90 -0
- package/dist/runtime/app/components/internal/MarkdownRenderer.js +191 -0
- package/dist/runtime/app/composables/async-data +1 -0
- package/dist/runtime/app/composables/async-data.d.ts +2 -0
- package/dist/runtime/app/composables/async-data.js +4 -0
- package/dist/runtime/app/composables/content-i18n +1 -0
- package/dist/runtime/app/composables/content-i18n.d.ts +5 -0
- package/dist/runtime/app/composables/content-i18n.js +1 -0
- package/dist/runtime/app/composables/head +1 -0
- package/dist/runtime/app/composables/head.d.ts +11 -0
- package/dist/runtime/app/composables/head.js +98 -0
- package/dist/runtime/app/composables/locale +1 -0
- package/dist/runtime/app/composables/locale-context +1 -0
- package/dist/runtime/app/composables/locale-context.d.ts +5 -0
- package/dist/runtime/app/composables/locale-context.js +8 -0
- package/dist/runtime/app/composables/locale.d.ts +8 -0
- package/dist/runtime/app/composables/locale.js +15 -0
- package/dist/runtime/app/composables/navigation +1 -0
- package/dist/runtime/app/composables/navigation.d.ts +3 -0
- package/dist/runtime/app/composables/navigation.js +7 -0
- package/dist/runtime/app/composables/preview +1 -0
- package/dist/runtime/app/composables/preview.d.ts +5 -0
- package/dist/runtime/app/composables/preview.js +52 -0
- package/dist/runtime/app/composables/query-api +1 -0
- package/dist/runtime/app/composables/query-api.d.ts +27 -0
- package/dist/runtime/app/composables/query-api.js +46 -0
- package/dist/runtime/app/composables/route +1 -0
- package/dist/runtime/app/composables/route.d.ts +11 -0
- package/dist/runtime/app/composables/route.js +150 -0
- package/dist/runtime/app/composables/runtime +1 -0
- package/dist/runtime/app/composables/runtime.d.ts +2 -0
- package/dist/runtime/app/composables/runtime.js +7 -0
- package/dist/runtime/app/composables/search +1 -0
- package/dist/runtime/app/composables/search.d.ts +58 -0
- package/dist/runtime/app/composables/search.js +321 -0
- package/dist/runtime/app/composables/site-data +1 -0
- package/dist/runtime/app/composables/site-data.d.ts +12 -0
- package/dist/runtime/app/composables/site-data.js +12 -0
- package/dist/runtime/app/composables/toc +1 -0
- package/dist/runtime/app/composables/toc.d.ts +10 -0
- package/dist/runtime/app/composables/toc.js +31 -0
- package/dist/runtime/app/composables/use-content +1 -0
- package/dist/runtime/app/composables/use-content.d.ts +188 -0
- package/dist/runtime/app/composables/use-content.js +307 -0
- package/dist/runtime/app/composables/useUnwrap +1 -0
- package/dist/runtime/app/composables/useUnwrap.d.ts +8 -0
- package/dist/runtime/app/composables/useUnwrap.js +35 -0
- package/dist/runtime/app/composables/utils +1 -0
- package/dist/runtime/app/composables/utils.d.ts +22 -0
- package/dist/runtime/app/composables/utils.js +76 -0
- package/dist/runtime/app/composables/web-socket +1 -0
- package/dist/runtime/app/composables/web-socket.d.ts +3 -0
- package/dist/runtime/app/composables/web-socket.js +65 -0
- package/dist/runtime/app/pages/content.d.vue.ts +3 -0
- package/dist/runtime/app/pages/content.vue +14 -0
- package/dist/runtime/app/pages/content.vue.d.ts +3 -0
- package/dist/runtime/app/plugins/markdown-components +1 -0
- package/dist/runtime/app/plugins/markdown-components.d.ts +2 -0
- package/dist/runtime/app/plugins/markdown-components.js +19 -0
- package/dist/runtime/app/plugins/ws +1 -0
- package/dist/runtime/app/plugins/ws.d.ts +2 -0
- package/dist/runtime/app/plugins/ws.js +7 -0
- package/dist/runtime/app.d.vue.ts +3 -0
- package/dist/runtime/app.vue +3 -0
- package/dist/runtime/app.vue.d.ts +3 -0
- package/dist/runtime/markdown/plugins +1 -0
- package/dist/runtime/markdown/plugins.d.ts +3 -0
- package/dist/runtime/markdown/plugins.js +39 -0
- package/dist/runtime/query/public-limits +1 -0
- package/dist/runtime/query/public-limits.d.ts +2 -0
- package/dist/runtime/query/public-limits.js +2 -0
- package/dist/runtime/query/resolve +1 -0
- package/dist/runtime/query/resolve.d.ts +5 -0
- package/dist/runtime/query/resolve.js +9 -0
- package/dist/runtime/query/routes +1 -0
- package/dist/runtime/query/routes.d.ts +33 -0
- package/dist/runtime/query/routes.js +21 -0
- package/dist/runtime/query/unified +1 -0
- package/dist/runtime/query/unified.d.ts +94 -0
- package/dist/runtime/query/unified.js +473 -0
- package/dist/runtime/server/api/cache +1 -0
- package/dist/runtime/server/api/cache.d.ts +8 -0
- package/dist/runtime/server/api/cache.js +26 -0
- package/dist/runtime/server/api/locales +1 -0
- package/dist/runtime/server/api/locales.d.ts +6 -0
- package/dist/runtime/server/api/locales.js +28 -0
- package/dist/runtime/server/api/navigation +1 -0
- package/dist/runtime/server/api/navigation.d.ts +2 -0
- package/dist/runtime/server/api/navigation.js +21 -0
- package/dist/runtime/server/api/query +1 -0
- package/dist/runtime/server/api/query.d.ts +2 -0
- package/dist/runtime/server/api/query.js +6 -0
- package/dist/runtime/server/api/revalidate +1 -0
- package/dist/runtime/server/api/revalidate.d.ts +6 -0
- package/dist/runtime/server/api/revalidate.js +156 -0
- package/dist/runtime/server/api/search +1 -0
- package/dist/runtime/server/api/search-index +1 -0
- package/dist/runtime/server/api/search-index.d.ts +2 -0
- package/dist/runtime/server/api/search-index.js +20 -0
- package/dist/runtime/server/api/search.d.ts +2 -0
- package/dist/runtime/server/api/search.js +40 -0
- package/dist/runtime/server/api/site-data +1 -0
- package/dist/runtime/server/api/site-data.d.ts +2 -0
- package/dist/runtime/server/api/site-data.js +22 -0
- package/dist/runtime/server/api/sitemap +1 -0
- package/dist/runtime/server/api/sitemap.d.ts +2 -0
- package/dist/runtime/server/api/sitemap.js +11 -0
- package/dist/runtime/server/cache-adapter +1 -0
- package/dist/runtime/server/cache-adapter.d.ts +2 -0
- package/dist/runtime/server/cache-adapter.js +11 -0
- package/dist/runtime/server/cache-adapters +1 -0
- package/dist/runtime/server/cache-adapters.d.ts +9 -0
- package/dist/runtime/server/cache-adapters.js +50 -0
- package/dist/runtime/server/cache-hints +1 -0
- package/dist/runtime/server/cache-hints.d.ts +5 -0
- package/dist/runtime/server/cache-hints.js +17 -0
- package/dist/runtime/server/collection-helpers +1 -0
- package/dist/runtime/server/collection-helpers.d.ts +13 -0
- package/dist/runtime/server/collection-helpers.js +99 -0
- package/dist/runtime/server/index +1 -0
- package/dist/runtime/server/index.d.ts +9 -0
- package/dist/runtime/server/index.js +15 -0
- package/dist/runtime/server/manifest +1 -0
- package/dist/runtime/server/manifest.d.ts +1 -0
- package/dist/runtime/server/manifest.js +1 -0
- package/dist/runtime/server/navigation +1 -0
- package/dist/runtime/server/navigation-query +1 -0
- package/dist/runtime/server/navigation-query.d.ts +4 -0
- package/dist/runtime/server/navigation-query.js +80 -0
- package/dist/runtime/server/navigation.d.ts +2 -0
- package/dist/runtime/server/navigation.js +9 -0
- package/dist/runtime/server/pagefind +1 -0
- package/dist/runtime/server/pagefind.d.ts +2 -0
- package/dist/runtime/server/pagefind.js +30 -0
- package/dist/runtime/server/plugins/cache +1 -0
- package/dist/runtime/server/plugins/cache.d.ts +2 -0
- package/dist/runtime/server/plugins/cache.js +17 -0
- package/dist/runtime/server/plugins/sitemap +1 -0
- package/dist/runtime/server/plugins/sitemap.d.ts +2 -0
- package/dist/runtime/server/plugins/sitemap.js +25 -0
- package/dist/runtime/server/preview +1 -0
- package/dist/runtime/server/preview.d.ts +1 -0
- package/dist/runtime/server/preview.js +1 -0
- package/dist/runtime/server/provider-query +1 -0
- package/dist/runtime/server/provider-query.d.ts +27 -0
- package/dist/runtime/server/provider-query.js +131 -0
- package/dist/runtime/server/provider-result +1 -0
- package/dist/runtime/server/provider-result.d.ts +10 -0
- package/dist/runtime/server/provider-result.js +30 -0
- package/dist/runtime/server/providers/filesystem +1 -0
- package/dist/runtime/server/providers/filesystem.d.ts +2 -0
- package/dist/runtime/server/providers/filesystem.js +47 -0
- package/dist/runtime/server/providers/index +1 -0
- package/dist/runtime/server/providers/index.d.ts +3 -0
- package/dist/runtime/server/providers/index.js +190 -0
- package/dist/runtime/server/query-api +1 -0
- package/dist/runtime/server/query-api.d.ts +28 -0
- package/dist/runtime/server/query-api.js +54 -0
- package/dist/runtime/server/query-executor +1 -0
- package/dist/runtime/server/query-executor.d.ts +4 -0
- package/dist/runtime/server/query-executor.js +121 -0
- package/dist/runtime/server/runtime-config +1 -0
- package/dist/runtime/server/runtime-config.d.ts +1 -0
- package/dist/runtime/server/runtime-config.js +1 -0
- package/dist/runtime/server/search +1 -0
- package/dist/runtime/server/search.d.ts +18 -0
- package/dist/runtime/server/search.js +134 -0
- package/dist/runtime/server/sitemap +1 -0
- package/dist/runtime/server/sitemap-provider +1 -0
- package/dist/runtime/server/sitemap-provider.d.ts +10 -0
- package/dist/runtime/server/sitemap-provider.js +11 -0
- package/dist/runtime/server/sitemap.d.ts +6 -0
- package/dist/runtime/server/sitemap.js +45 -0
- package/dist/runtime/server/storage +1 -0
- package/dist/runtime/server/storage-access +1 -0
- package/dist/runtime/server/storage-access.d.ts +1 -0
- package/dist/runtime/server/storage-access.js +9 -0
- package/dist/runtime/server/storage.d.ts +2 -0
- package/dist/runtime/server/storage.js +2 -0
- package/dist/runtime/server/validation +1 -0
- package/dist/runtime/server/validation.d.ts +1 -0
- package/dist/runtime/server/validation.js +6 -0
- package/dist/runtime/shared/search +1 -0
- package/dist/runtime/shared/search.d.ts +2 -0
- package/dist/runtime/shared/search.js +89 -0
- package/dist/runtime/transformers/component-resolver +1 -0
- package/dist/runtime/transformers/component-resolver.d.ts +10 -0
- package/dist/runtime/transformers/component-resolver.js +30 -0
- package/dist/runtime/transformers/csv/from-csv +1 -0
- package/dist/runtime/transformers/csv/from-csv.d.ts +1 -0
- package/dist/runtime/transformers/csv/from-csv.js +1 -0
- package/dist/runtime/transformers/csv/index +1 -0
- package/dist/runtime/transformers/csv/index.d.ts +1 -0
- package/dist/runtime/transformers/csv/index.js +1 -0
- package/dist/runtime/transformers/define +1 -0
- package/dist/runtime/transformers/define.d.ts +1 -0
- package/dist/runtime/transformers/define.js +1 -0
- package/dist/runtime/transformers/index +1 -0
- package/dist/runtime/transformers/index.d.ts +1 -0
- package/dist/runtime/transformers/index.js +1 -0
- package/dist/runtime/transformers/json +1 -0
- package/dist/runtime/transformers/json.d.ts +1 -0
- package/dist/runtime/transformers/json.js +1 -0
- package/dist/runtime/transformers/markdown +1 -0
- package/dist/runtime/transformers/markdown.d.ts +1 -0
- package/dist/runtime/transformers/markdown.js +1 -0
- package/dist/runtime/transformers/path-meta +1 -0
- package/dist/runtime/transformers/path-meta.d.ts +2 -0
- package/dist/runtime/transformers/path-meta.js +2 -0
- package/dist/runtime/transformers/utils +1 -0
- package/dist/runtime/transformers/utils.d.ts +1 -0
- package/dist/runtime/transformers/utils.js +1 -0
- package/dist/runtime/transformers/yaml +1 -0
- package/dist/runtime/transformers/yaml.d.ts +1 -0
- package/dist/runtime/transformers/yaml.js +1 -0
- package/dist/runtime/utils/content-components +1 -0
- package/dist/runtime/utils/content-components.d.ts +9 -0
- package/dist/runtime/utils/content-components.js +16 -0
- package/dist/runtime/utils/query +1 -0
- package/dist/runtime/utils/query.d.ts +5 -0
- package/dist/runtime/utils/query.js +18 -0
- package/dist/runtime/virtual/transformers.d.ts +4 -0
- package/dist/runtime/virtual.d.ts +7 -0
- package/dist/storage/cache +1 -0
- package/dist/storage/cache.d.ts +32 -0
- package/dist/storage/cache.js +42 -0
- package/dist/storage/content +1 -0
- package/dist/storage/content.d.ts +41 -0
- package/dist/storage/content.js +86 -0
- package/dist/storage/contents +1 -0
- package/dist/storage/contents.d.ts +5 -0
- package/dist/storage/contents.js +116 -0
- package/dist/storage/driver +1 -0
- package/dist/storage/driver.d.ts +28 -0
- package/dist/storage/driver.js +22 -0
- package/dist/storage/graph +1 -0
- package/dist/storage/graph.d.ts +3 -0
- package/dist/storage/graph.js +14 -0
- package/dist/storage/manifest +1 -0
- package/dist/storage/manifest.d.ts +18 -0
- package/dist/storage/manifest.js +68 -0
- package/dist/storage/references +1 -0
- package/dist/storage/references.d.ts +13 -0
- package/dist/storage/references.js +78 -0
- package/dist/storage/validation +1 -0
- package/dist/storage/validation.d.ts +46 -0
- package/dist/storage/validation.js +341 -0
- package/dist/testing/provider-contract +1 -0
- package/dist/testing/provider-contract.d.ts +31 -0
- package/dist/testing/provider-contract.js +237 -0
- package/dist/testing/provider-fixture +1 -0
- package/dist/testing/provider-fixture.d.ts +65 -0
- package/dist/testing/provider-fixture.js +606 -0
- package/dist/types/api +1 -0
- package/dist/types/api.d.ts +47 -0
- package/dist/types/api.js +1 -0
- package/dist/types/config +1 -0
- package/dist/types/config.d.ts +281 -0
- package/dist/types/config.js +28 -0
- package/dist/types/content +1 -0
- package/dist/types/content.d.ts +311 -0
- package/dist/types/content.js +1 -0
- package/dist/types/fields +1 -0
- package/dist/types/fields.d.ts +81 -0
- package/dist/types/fields.js +146 -0
- package/dist/types/index +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.js +6 -0
- package/dist/types/module +1 -0
- package/dist/types/module.d.ts +428 -0
- package/dist/types/module.js +0 -0
- package/dist/types/picomatch.d.ts +8 -0
- package/dist/types/query +1 -0
- package/dist/types/query.d.ts +862 -0
- package/dist/types/query.js +1 -0
- package/dist/types/reference +1 -0
- package/dist/types/reference.d.ts +1 -0
- package/dist/types/reference.js +1 -0
- package/dist/types/runtime +1 -0
- package/dist/types/runtime.d.ts +45 -0
- package/dist/types/runtime.js +1 -0
- package/dist/types/search +1 -0
- package/dist/types/search.d.ts +64 -0
- package/dist/types/search.js +0 -0
- package/dist/types/virtual.d.ts +19 -0
- package/dist/types.d.mts +11 -0
- package/dist/web-types.json +466 -0
- package/package.json +135 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './reference.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CONTENT_REFERENCE_PREFIX = "__nuxt_content_ref__:";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CONTENT_REFERENCE_PREFIX = "__nuxt_content_ref__:";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './runtime.js'
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { StorageValue } from 'unstorage';
|
|
2
|
+
import type { ParsedContent, ContentTransformer } from './content';
|
|
3
|
+
import type { ContentCollectionConfig } from './config';
|
|
4
|
+
import type { ContentContext, ModuleOptions } from './module';
|
|
5
|
+
export interface ContentCacheArtifact<T = ParsedContent> {
|
|
6
|
+
parsed: T;
|
|
7
|
+
hash: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ManifestVariant {
|
|
10
|
+
canonicalKey: string;
|
|
11
|
+
contentId: string;
|
|
12
|
+
locale: string;
|
|
13
|
+
path?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ContentManifest {
|
|
16
|
+
byCanonical: Record<string, Record<string, ManifestVariant>>;
|
|
17
|
+
byRef: Record<string, string>;
|
|
18
|
+
byRoute: Record<string, string>;
|
|
19
|
+
paths: Record<string, string[]>;
|
|
20
|
+
collections: Record<string, string[]>;
|
|
21
|
+
}
|
|
22
|
+
export interface ResolvedVariant extends ManifestVariant {
|
|
23
|
+
requestedLocale?: string;
|
|
24
|
+
resolvedLocale?: string;
|
|
25
|
+
fallback: boolean;
|
|
26
|
+
availableLocales: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface ParseContentOptions {
|
|
29
|
+
validate?: boolean;
|
|
30
|
+
csv?: ModuleOptions['csv'];
|
|
31
|
+
yaml?: ModuleOptions['yaml'];
|
|
32
|
+
markdown?: ModuleOptions['markdown'];
|
|
33
|
+
transformers?: ContentTransformer[];
|
|
34
|
+
pathMeta?: {
|
|
35
|
+
locales?: ContentContext['locales'];
|
|
36
|
+
defaultLocale?: ContentContext['defaultLocale'];
|
|
37
|
+
translatedSlugs?: ContentContext['translatedSlugs'];
|
|
38
|
+
respectPathCase?: ModuleOptions['respectPathCase'];
|
|
39
|
+
collections?: Record<string, ContentCollectionConfig>;
|
|
40
|
+
collectionResolver?: (file: string) => string | undefined;
|
|
41
|
+
};
|
|
42
|
+
[key: string]: unknown;
|
|
43
|
+
}
|
|
44
|
+
export type TransformContentSource = string | StorageValue;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './search.js'
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export type ContentSearchEngine = 'minisearch' | 'pagefind' | 'cms';
|
|
2
|
+
export interface ContentMiniSearchOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Fields indexed by MiniSearch.
|
|
5
|
+
*
|
|
6
|
+
* @default ['title', 'content', 'headings']
|
|
7
|
+
*/
|
|
8
|
+
fields: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Fields copied into search result payloads.
|
|
11
|
+
*
|
|
12
|
+
* @default ['path', 'title', 'excerpt', 'anchor', 'locale']
|
|
13
|
+
*/
|
|
14
|
+
storeFields: string[];
|
|
15
|
+
/**
|
|
16
|
+
* Per-field relevance boosts.
|
|
17
|
+
*
|
|
18
|
+
* @default { title: 4, headings: 2, content: 1 }
|
|
19
|
+
*/
|
|
20
|
+
boost: Record<string, number>;
|
|
21
|
+
/**
|
|
22
|
+
* MiniSearch fuzzy search setting.
|
|
23
|
+
*
|
|
24
|
+
* @default 0.2
|
|
25
|
+
*/
|
|
26
|
+
fuzzy: number | boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Enable prefix matching.
|
|
29
|
+
*
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
prefix: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface ContentSearchPublicRuntimeConfig {
|
|
35
|
+
apiBaseURL: string;
|
|
36
|
+
indexURL: string;
|
|
37
|
+
engine: ContentSearchEngine;
|
|
38
|
+
minisearch: ContentMiniSearchOptions;
|
|
39
|
+
}
|
|
40
|
+
export interface ContentSearchIndexRecord {
|
|
41
|
+
id: string;
|
|
42
|
+
path: string;
|
|
43
|
+
title: string;
|
|
44
|
+
excerpt: string;
|
|
45
|
+
content: string;
|
|
46
|
+
headings: string[];
|
|
47
|
+
anchor?: string;
|
|
48
|
+
locale?: string;
|
|
49
|
+
[field: string]: unknown;
|
|
50
|
+
}
|
|
51
|
+
export interface ContentSearchResult {
|
|
52
|
+
path: string;
|
|
53
|
+
title: string;
|
|
54
|
+
excerpt: string;
|
|
55
|
+
score: number;
|
|
56
|
+
anchor?: string;
|
|
57
|
+
locale?: string;
|
|
58
|
+
[field: string]: unknown;
|
|
59
|
+
}
|
|
60
|
+
export interface ContentProviderSearchRequest {
|
|
61
|
+
term: string;
|
|
62
|
+
locale?: string;
|
|
63
|
+
collections?: string[];
|
|
64
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare module '#content/virtual/config' {
|
|
2
|
+
import type { ContentConfig } from './config'
|
|
3
|
+
|
|
4
|
+
const config: ContentConfig
|
|
5
|
+
export default config
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module '#content/virtual/providers' {
|
|
9
|
+
import type { ContentProvider } from '../public/provider'
|
|
10
|
+
|
|
11
|
+
export const externalContentProviderNames: string[]
|
|
12
|
+
export const loadExternalContentProvider: (name: string) => Promise<ContentProvider | undefined> | ContentProvider | undefined
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare module '#content/virtual/cache-adapter' {
|
|
16
|
+
import type { ContentCacheAdapter } from '../public/provider'
|
|
17
|
+
|
|
18
|
+
export const loadContentCacheAdapter: () => Promise<ContentCacheAdapter | undefined> | ContentCacheAdapter | undefined
|
|
19
|
+
}
|
package/dist/types.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModuleHooks } from './module.mjs'
|
|
2
|
+
|
|
3
|
+
declare module '@nuxt/schema' {
|
|
4
|
+
interface NuxtHooks extends ModuleHooks {}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { type defineCollection, type defineContentConfig, type reference } from '../dist/types/config'
|
|
8
|
+
|
|
9
|
+
export { default } from './module.mjs'
|
|
10
|
+
|
|
11
|
+
export { type BacklinkFields, type BacklinkSource, type BacklinksOptions, type BacklinksResult, type BuiltinContentProviderName, type CollectionQueryBuilder, type CollectionQueryOperator, type CollectionQueryValue, type CollectionSchema, type ContentCacheArtifact, type ContentCmsCollectionConfig, type ContentCmsFieldConfig, type ContentCmsFieldType, type ContentCmsRelationConfig, type ContentCollectionConfig, type ContentCollectionHandle, type ContentCollectionI18nConfig, type ContentCollectionI18nMap, type ContentCollectionItem, type ContentCollectionItemSurroundingsOptions, type ContentCollectionKind, type ContentCollectionMap, type ContentCollectionName, type ContentCollectionNavigationOptions, type ContentCollectionPageOptions, type ContentCollectionRouteConfig, type ContentCollectionRouteMetaOptions, type ContentCollectionSearchSectionsOptions, type ContentCollectionSource, type ContentCollectionSourceObject, type ContentConfig, type ContentContext, type ContentI18nOptions, type ContentLocaleEntry, type ContentLocaleRoute, type ContentManifest, type ContentMiniSearchOptions, type ContentNavigationItem, type ContentPageResult, type ContentPreviewOptions, type ContentProviderName, type ContentProviderSearchRequest, type ContentQueryBuilder, type ContentQueryBuilderParams, type ContentQueryBuilderWhere, type ContentQueryFetcher, type ContentQueryRequest, type ContentQuerySortFields, type ContentQuerySortOptions, type ContentQuerySortParams, type ContentReferenceSchema, type ContentResolvedMeta, type ContentRevalidateOptions, type ContentRouteMeta, type ContentSearchEngine, type ContentSearchIndexRecord, type ContentSearchOptions, type ContentSearchPublicRuntimeConfig, type ContentSearchResult, type ContentSearchSection, type ContentSelector, type ContentSeoImage, type ContentSeoMeta, type ContentSitemapAlternative, type ContentSitemapAssertOptions, type ContentSitemapAssertSitemapOptions, type ContentSitemapEntry, type ContentSitemapImage, type ContentSitemapOptions, type ContentTransformer, type ContentTreeItem, type ContentVariant, type DefineCollectionObject, type DefineCollectionOptions, type DocumentFromHandle, type LocaleFallback, type LocalePathEntry, type LocalizedDoc, type ManifestVariant, type ManyOptions, type MarkdownNode, type MarkdownOptions, type MarkdownParsedContent, type MarkdownPluginDescriptor, type MarkdownPluginOptions, type MarkdownRoot, type ModuleHooks, type ModuleOptions, type MountOptions, type NavItem, type NeighborsOptions, type NeighborsResult, type OneOptions, type PaginationOptions, type PaginationResult, type ParseContentOptions, type ParsedContent, type ParsedContentInternalMeta, type ParsedContentMeta, type PopulateFromOptions, type PopulateSpec, type PopulatedDocument, type QueryGroupBuilder, type QueryGroupFunction, type QueryMatchOperator, type QueryOperators, type QueryOrderDirection, type QueryOrderOptions, type QueryWhere, type ResolutionEnvelope, type ResolveContentReferenceOptions, type ResolveOneOptions, type ResolveOneResult, type ResolvedContentI18nOptions, type ResolvedMarkdownPlugin, type ResolvedVariant, type SortDirection, type SortSpec, type StrictParsedContent, type StrictParsedContentMeta, type Toc, type TocLink, type TransformContentOptions, type TransformContentSource, type TreeOptions, type VariantsOptions } from './module.mjs'
|
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
{
|
|
2
|
+
"framework": "vue",
|
|
3
|
+
"name": "@lupinum/ginko-content",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"contributions": {
|
|
6
|
+
"html": {
|
|
7
|
+
"description-markup": "markdown",
|
|
8
|
+
"types-syntax": "typescript",
|
|
9
|
+
"tags": [
|
|
10
|
+
{
|
|
11
|
+
"name": "ContentRenderer",
|
|
12
|
+
"description": "",
|
|
13
|
+
"attributes": [
|
|
14
|
+
{
|
|
15
|
+
"name": "value",
|
|
16
|
+
"required": false,
|
|
17
|
+
"value": {
|
|
18
|
+
"kind": "expression",
|
|
19
|
+
"type": "object"
|
|
20
|
+
},
|
|
21
|
+
"default": "{}"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "excerpt",
|
|
25
|
+
"value": {
|
|
26
|
+
"kind": "expression",
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
},
|
|
29
|
+
"default": "false"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "tag",
|
|
33
|
+
"value": {
|
|
34
|
+
"kind": "expression",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"default": "'div'"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "prose",
|
|
41
|
+
"value": {
|
|
42
|
+
"kind": "expression",
|
|
43
|
+
"type": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"default": "undefined"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "class",
|
|
49
|
+
"value": {
|
|
50
|
+
"kind": "expression",
|
|
51
|
+
"type": "string|array|object"
|
|
52
|
+
},
|
|
53
|
+
"default": "undefined"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "unwrap",
|
|
57
|
+
"value": {
|
|
58
|
+
"kind": "expression",
|
|
59
|
+
"type": "boolean|string"
|
|
60
|
+
},
|
|
61
|
+
"default": "false"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"source": {
|
|
65
|
+
"module": "./src/runtime/app/components/ContentRenderer.vue",
|
|
66
|
+
"symbol": "default"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "ContentRendererInline",
|
|
71
|
+
"description": "",
|
|
72
|
+
"attributes": [
|
|
73
|
+
{
|
|
74
|
+
"name": "value",
|
|
75
|
+
"required": true,
|
|
76
|
+
"value": {
|
|
77
|
+
"kind": "expression",
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "tag",
|
|
83
|
+
"value": {
|
|
84
|
+
"kind": "expression",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"default": "'span'"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "unwrap",
|
|
91
|
+
"value": {
|
|
92
|
+
"kind": "expression",
|
|
93
|
+
"type": "boolean|string"
|
|
94
|
+
},
|
|
95
|
+
"default": "'p'"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "prose",
|
|
99
|
+
"value": {
|
|
100
|
+
"kind": "expression",
|
|
101
|
+
"type": "boolean"
|
|
102
|
+
},
|
|
103
|
+
"default": "undefined"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "components",
|
|
107
|
+
"value": {
|
|
108
|
+
"kind": "expression",
|
|
109
|
+
"type": "object"
|
|
110
|
+
},
|
|
111
|
+
"default": "{}"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"source": {
|
|
115
|
+
"module": "./src/runtime/app/components/ContentRendererInline.vue",
|
|
116
|
+
"symbol": "default"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "ContentRendererMarkdown",
|
|
121
|
+
"description": "",
|
|
122
|
+
"attributes": [
|
|
123
|
+
{
|
|
124
|
+
"name": "value",
|
|
125
|
+
"required": true,
|
|
126
|
+
"value": {
|
|
127
|
+
"kind": "expression",
|
|
128
|
+
"type": "object"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "excerpt",
|
|
133
|
+
"value": {
|
|
134
|
+
"kind": "expression",
|
|
135
|
+
"type": "boolean"
|
|
136
|
+
},
|
|
137
|
+
"default": "false"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "tag",
|
|
141
|
+
"value": {
|
|
142
|
+
"kind": "expression",
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"default": "'div'"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "prose",
|
|
149
|
+
"value": {
|
|
150
|
+
"kind": "expression",
|
|
151
|
+
"type": "boolean"
|
|
152
|
+
},
|
|
153
|
+
"default": "undefined"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "unwrap",
|
|
157
|
+
"value": {
|
|
158
|
+
"kind": "expression",
|
|
159
|
+
"type": "boolean|string"
|
|
160
|
+
},
|
|
161
|
+
"default": "false"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "components",
|
|
165
|
+
"value": {
|
|
166
|
+
"kind": "expression",
|
|
167
|
+
"type": "object"
|
|
168
|
+
},
|
|
169
|
+
"default": "{}"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "data",
|
|
173
|
+
"value": {
|
|
174
|
+
"kind": "expression",
|
|
175
|
+
"type": "object"
|
|
176
|
+
},
|
|
177
|
+
"default": "{}"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"source": {
|
|
181
|
+
"module": "./src/runtime/app/components/internal/ContentRendererMarkdown.vue",
|
|
182
|
+
"symbol": "default"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "MarkdownRenderer",
|
|
187
|
+
"description": "",
|
|
188
|
+
"attributes": [
|
|
189
|
+
{
|
|
190
|
+
"name": "tree",
|
|
191
|
+
"required": true,
|
|
192
|
+
"value": {
|
|
193
|
+
"kind": "expression",
|
|
194
|
+
"type": "MarkdownRoot"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "components",
|
|
199
|
+
"value": {
|
|
200
|
+
"kind": "expression",
|
|
201
|
+
"type": "Record<string, any>"
|
|
202
|
+
},
|
|
203
|
+
"default": "() => ({})"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "prose",
|
|
207
|
+
"value": {
|
|
208
|
+
"kind": "expression",
|
|
209
|
+
"type": "boolean | undefined"
|
|
210
|
+
},
|
|
211
|
+
"default": "undefined"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "tag",
|
|
215
|
+
"value": {
|
|
216
|
+
"kind": "expression",
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"default": "'div'"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "class",
|
|
223
|
+
"value": {
|
|
224
|
+
"kind": "expression",
|
|
225
|
+
"type": "string|array|object"
|
|
226
|
+
},
|
|
227
|
+
"default": "undefined"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "dataContentId",
|
|
231
|
+
"value": {
|
|
232
|
+
"kind": "expression",
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
235
|
+
"default": "undefined"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "locale",
|
|
239
|
+
"value": {
|
|
240
|
+
"kind": "expression",
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
"default": "undefined"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "defaultLocale",
|
|
247
|
+
"value": {
|
|
248
|
+
"kind": "expression",
|
|
249
|
+
"type": "string"
|
|
250
|
+
},
|
|
251
|
+
"default": "undefined"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "locales",
|
|
255
|
+
"value": {
|
|
256
|
+
"kind": "expression",
|
|
257
|
+
"type": "string[]"
|
|
258
|
+
},
|
|
259
|
+
"default": "() => []"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"source": {
|
|
263
|
+
"module": "./src/runtime/app/components/internal/MarkdownRenderer.ts",
|
|
264
|
+
"symbol": "default"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "ProseCode",
|
|
269
|
+
"description": "",
|
|
270
|
+
"attributes": [
|
|
271
|
+
{
|
|
272
|
+
"name": "code",
|
|
273
|
+
"value": {
|
|
274
|
+
"kind": "expression",
|
|
275
|
+
"type": "string"
|
|
276
|
+
},
|
|
277
|
+
"default": "''"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "language",
|
|
281
|
+
"value": {
|
|
282
|
+
"kind": "expression",
|
|
283
|
+
"type": "string"
|
|
284
|
+
},
|
|
285
|
+
"default": "null"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "filename",
|
|
289
|
+
"value": {
|
|
290
|
+
"kind": "expression",
|
|
291
|
+
"type": "string"
|
|
292
|
+
},
|
|
293
|
+
"default": "null"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "highlights",
|
|
297
|
+
"value": {
|
|
298
|
+
"kind": "expression",
|
|
299
|
+
"type": "Array as () => number[]"
|
|
300
|
+
},
|
|
301
|
+
"default": "() => []"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "meta",
|
|
305
|
+
"value": {
|
|
306
|
+
"kind": "expression",
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"default": "null"
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
"slots": [
|
|
313
|
+
{
|
|
314
|
+
"name": "default"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"source": {
|
|
318
|
+
"module": "./src/runtime/app/components/Prose/ProseCode.vue",
|
|
319
|
+
"symbol": "default"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "ProseCodeInline",
|
|
324
|
+
"description": "",
|
|
325
|
+
"slots": [
|
|
326
|
+
{
|
|
327
|
+
"name": "default"
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"source": {
|
|
331
|
+
"module": "./src/runtime/app/components/Prose/ProseCodeInline.vue"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "ProseImg",
|
|
336
|
+
"description": "",
|
|
337
|
+
"attributes": [
|
|
338
|
+
{
|
|
339
|
+
"name": "src",
|
|
340
|
+
"required": true,
|
|
341
|
+
"value": {
|
|
342
|
+
"kind": "expression",
|
|
343
|
+
"type": "string"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "alt",
|
|
348
|
+
"value": {
|
|
349
|
+
"kind": "expression",
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
"default": "''"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "title",
|
|
356
|
+
"value": {
|
|
357
|
+
"kind": "expression",
|
|
358
|
+
"type": "string"
|
|
359
|
+
},
|
|
360
|
+
"default": "undefined"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "width",
|
|
364
|
+
"value": {
|
|
365
|
+
"kind": "expression",
|
|
366
|
+
"type": "string|number"
|
|
367
|
+
},
|
|
368
|
+
"default": "undefined"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "height",
|
|
372
|
+
"value": {
|
|
373
|
+
"kind": "expression",
|
|
374
|
+
"type": "string|number"
|
|
375
|
+
},
|
|
376
|
+
"default": "undefined"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "loading",
|
|
380
|
+
"value": {
|
|
381
|
+
"kind": "expression",
|
|
382
|
+
"type": "string"
|
|
383
|
+
},
|
|
384
|
+
"default": "'lazy'"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"source": {
|
|
388
|
+
"module": "./src/runtime/app/components/Prose/ProseImg.vue",
|
|
389
|
+
"symbol": "default"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "ProsePre",
|
|
394
|
+
"description": "",
|
|
395
|
+
"attributes": [
|
|
396
|
+
{
|
|
397
|
+
"name": "code",
|
|
398
|
+
"value": {
|
|
399
|
+
"kind": "expression",
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"default": "''"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "language",
|
|
406
|
+
"value": {
|
|
407
|
+
"kind": "expression",
|
|
408
|
+
"type": "string"
|
|
409
|
+
},
|
|
410
|
+
"default": "null"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "filename",
|
|
414
|
+
"value": {
|
|
415
|
+
"kind": "expression",
|
|
416
|
+
"type": "string"
|
|
417
|
+
},
|
|
418
|
+
"default": "null"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "highlights",
|
|
422
|
+
"value": {
|
|
423
|
+
"kind": "expression",
|
|
424
|
+
"type": "Array as () => number[]"
|
|
425
|
+
},
|
|
426
|
+
"default": "() => []"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "meta",
|
|
430
|
+
"value": {
|
|
431
|
+
"kind": "expression",
|
|
432
|
+
"type": "string"
|
|
433
|
+
},
|
|
434
|
+
"default": "null"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "class",
|
|
438
|
+
"value": {
|
|
439
|
+
"kind": "expression",
|
|
440
|
+
"type": "string"
|
|
441
|
+
},
|
|
442
|
+
"default": "null"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "style",
|
|
446
|
+
"value": {
|
|
447
|
+
"kind": "expression",
|
|
448
|
+
"type": "string|object"
|
|
449
|
+
},
|
|
450
|
+
"default": "null"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"slots": [
|
|
454
|
+
{
|
|
455
|
+
"name": "default"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"source": {
|
|
459
|
+
"module": "./src/runtime/app/components/Prose/ProsePre.vue",
|
|
460
|
+
"symbol": "default"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|