@blogmcp/sdk 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/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/constants.js +4 -0
- package/dist/_virtual/index.js +2 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +2 -0
- package/dist/_virtual/re.js +4 -0
- package/dist/core/article-seo.d.ts +27 -0
- package/dist/core/article-seo.js +25 -0
- package/dist/core/auth.d.ts +34 -0
- package/dist/core/auth.js +89 -0
- package/dist/core/blog-config.d.ts +5 -0
- package/dist/core/blog-config.js +14 -0
- package/dist/core/client-types.d.ts +51 -0
- package/dist/core/client.d.ts +159 -0
- package/dist/core/client.js +82 -0
- package/dist/core/i18n.d.ts +29 -0
- package/dist/core/i18n.js +34 -0
- package/dist/core/index.d.ts +26 -0
- package/dist/core/index.js +67 -0
- package/dist/core/markdown.d.ts +69 -0
- package/dist/core/markdown.js +47 -0
- package/dist/core/navigation.d.ts +70 -0
- package/dist/core/navigation.js +71 -0
- package/dist/core/queries.d.ts +34 -0
- package/dist/core/queries.js +363 -0
- package/dist/core/retry.d.ts +9 -0
- package/dist/core/retry.js +14 -0
- package/dist/core/seo.d.ts +142 -0
- package/dist/core/seo.js +166 -0
- package/dist/core/theme.d.ts +41 -0
- package/dist/core/theme.js +60 -0
- package/dist/core/translations/cs.json.js +27 -0
- package/dist/core/translations/en.json.js +27 -0
- package/dist/core/types.d.ts +184 -0
- package/dist/core/types.js +9 -0
- package/dist/core/view-model.d.ts +53 -0
- package/dist/core/view-model.js +47 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +8 -0
- package/dist/node_modules/@braintree/sanitize-url/dist/index.js +60 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +662 -0
- package/dist/node_modules/semver/classes/comparator.js +56 -0
- package/dist/node_modules/semver/classes/range.js +148 -0
- package/dist/node_modules/semver/classes/semver.js +169 -0
- package/dist/node_modules/semver/functions/clean.js +14 -0
- package/dist/node_modules/semver/functions/cmp.js +39 -0
- package/dist/node_modules/semver/functions/coerce.js +33 -0
- package/dist/node_modules/semver/functions/compare-build.js +14 -0
- package/dist/node_modules/semver/functions/compare-loose.js +11 -0
- package/dist/node_modules/semver/functions/compare.js +11 -0
- package/dist/node_modules/semver/functions/diff.js +24 -0
- package/dist/node_modules/semver/functions/eq.js +11 -0
- package/dist/node_modules/semver/functions/gt.js +11 -0
- package/dist/node_modules/semver/functions/gte.js +11 -0
- package/dist/node_modules/semver/functions/inc.js +21 -0
- package/dist/node_modules/semver/functions/lt.js +11 -0
- package/dist/node_modules/semver/functions/lte.js +11 -0
- package/dist/node_modules/semver/functions/major.js +11 -0
- package/dist/node_modules/semver/functions/minor.js +11 -0
- package/dist/node_modules/semver/functions/neq.js +11 -0
- package/dist/node_modules/semver/functions/parse.js +21 -0
- package/dist/node_modules/semver/functions/patch.js +11 -0
- package/dist/node_modules/semver/functions/prerelease.js +14 -0
- package/dist/node_modules/semver/functions/rcompare.js +11 -0
- package/dist/node_modules/semver/functions/rsort.js +11 -0
- package/dist/node_modules/semver/functions/satisfies.js +18 -0
- package/dist/node_modules/semver/functions/sort.js +11 -0
- package/dist/node_modules/semver/functions/valid.js +14 -0
- package/dist/node_modules/semver/index.js +97 -0
- package/dist/node_modules/semver/internal/constants.js +28 -0
- package/dist/node_modules/semver/internal/debug.js +8 -0
- package/dist/node_modules/semver/internal/identifiers.js +18 -0
- package/dist/node_modules/semver/internal/lrucache.js +32 -0
- package/dist/node_modules/semver/internal/parse-options.js +10 -0
- package/dist/node_modules/semver/internal/re.js +32 -0
- package/dist/node_modules/semver/ranges/gtr.js +11 -0
- package/dist/node_modules/semver/ranges/intersects.js +11 -0
- package/dist/node_modules/semver/ranges/ltr.js +11 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js +22 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js +22 -0
- package/dist/node_modules/semver/ranges/min-version.js +42 -0
- package/dist/node_modules/semver/ranges/outside.js +44 -0
- package/dist/node_modules/semver/ranges/simplify.js +24 -0
- package/dist/node_modules/semver/ranges/subset.js +94 -0
- package/dist/node_modules/semver/ranges/to-comparators.js +11 -0
- package/dist/node_modules/semver/ranges/valid.js +17 -0
- package/dist/nuxt/composables/useAsyncKb.d.ts +32 -0
- package/dist/nuxt/composables/useAsyncKb.js +34 -0
- package/dist/nuxt/index.d.ts +1 -0
- package/dist/nuxt/index.js +6 -0
- package/dist/packages/mdx-render-vue/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/packages/mdx-render-vue/dist/_virtual/constants.js +4 -0
- package/dist/packages/mdx-render-vue/dist/_virtual/index.js +5 -0
- package/dist/packages/mdx-render-vue/dist/_virtual/index2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/composables/useAudioPlayer.js +40 -0
- package/dist/packages/mdx-render-vue/dist/composables/useCallout.js +66 -0
- package/dist/packages/mdx-render-vue/dist/composables/useCodeBlock.js +62 -0
- package/dist/packages/mdx-render-vue/dist/composables/useGallery.js +68 -0
- package/dist/packages/mdx-render-vue/dist/composables/useMedia.js +9 -0
- package/dist/packages/mdx-render-vue/dist/composables/useYouTube.js +24 -0
- package/dist/packages/mdx-render-vue/dist/edit/AlertEdit.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/AlertEdit.vue2.js +16 -0
- package/dist/packages/mdx-render-vue/dist/edit/AudioPlayerEdit.vue.js +102 -0
- package/dist/packages/mdx-render-vue/dist/edit/AudioPlayerEdit.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/BadgeEdit.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/BadgeEdit.vue2.js +11 -0
- package/dist/packages/mdx-render-vue/dist/edit/ButtonEdit.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/ButtonEdit.vue2.js +11 -0
- package/dist/packages/mdx-render-vue/dist/edit/CalloutEdit.vue.js +78 -0
- package/dist/packages/mdx-render-vue/dist/edit/CalloutEdit.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/CardEdit.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/CardEdit.vue2.js +16 -0
- package/dist/packages/mdx-render-vue/dist/edit/CodeBlockEdit.vue.js +6 -0
- package/dist/packages/mdx-render-vue/dist/edit/CodeBlockEdit.vue2.js +74 -0
- package/dist/packages/mdx-render-vue/dist/edit/GalleryEdit.vue.js +56 -0
- package/dist/packages/mdx-render-vue/dist/edit/GalleryEdit.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/IconEdit.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/IconEdit.vue2.js +11 -0
- package/dist/packages/mdx-render-vue/dist/edit/TooltipEdit.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/edit/TooltipEdit.vue2.js +20 -0
- package/dist/packages/mdx-render-vue/dist/edit/YouTubeEdit.vue.js +34 -0
- package/dist/packages/mdx-render-vue/dist/edit/YouTubeEdit.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/factory.js +29 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/presence/use-presence-context.js +6 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/presence/use-presence.js +32 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow-tip.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow-tip.vue_vue_type_script_setup_true_lang.js +18 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-arrow.vue_vue_type_script_setup_true_lang.js +18 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-content.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-content.vue_vue_type_script_setup_true_lang.js +20 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-context.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-context.vue_vue_type_script_setup_true_lang.js +12 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-positioner.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-positioner.vue_vue_type_script_setup_true_lang.js +19 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root-provider.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root-provider.vue_vue_type_script_setup_true_lang.js +29 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-root.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-trigger.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip-trigger.vue_vue_type_script_setup_true_lang.js +21 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/tooltip.js +22 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/use-tooltip-context.js +6 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/components/tooltip/use-tooltip.js +29 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/providers/environment/use-environment-context.js +12 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/providers/locale/use-locale-context.js +11 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/clean-props.js +8 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/create-context.js +12 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/dynamic.js +25 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/unref-element.js +8 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/use-forward-expose.js +36 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@ark-ui/vue/dist/utils/use-render-strategy.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@braintree/sanitize-url/dist/constants.js +8 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@braintree/sanitize-url/dist/index.js +60 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +532 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +403 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@iconify/vue/dist/iconify.js +1192 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/anatomy/dist/create-anatomy.js +26 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/create-machine.js +21 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/merge-props.js +45 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/scope.js +16 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/state.js +136 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/core/dist/types.js +5 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js +4 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/computed-style.js +8 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/event.js +31 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/node.js +49 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/overflow.js +19 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/platform.js +16 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/query.js +6 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/raf.js +41 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/set.js +14 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/dom-query/dist/shared.js +7 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/focus-visible/dist/index.js +90 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-anchor.js +34 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-placement.js +187 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/get-styles.js +47 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/middleware.js +56 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/popper/dist/placement.js +7 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/presence/dist/presence.connect.js +16 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/presence/dist/presence.machine.js +147 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js +6 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +119 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.dom.js +15 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.machine.js +375 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/tooltip/dist/tooltip.store.js +9 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/types/dist/prop-types.js +10 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/array.js +6 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/equal.js +27 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/functions.js +10 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/guard.js +15 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/object.js +13 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/store.js +25 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/utils/dist/warning.js +25 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/bindable.js +37 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/machine.js +205 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/normalize-props.js +30 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/refs.js +14 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/@zag-js/vue/dist/track.js +19 -0
- package/dist/packages/mdx-render-vue/dist/node_modules/dompurify/dist/purify.es.js +659 -0
- package/dist/packages/mdx-render-vue/dist/registry.js +154 -0
- package/dist/packages/mdx-render-vue/dist/render/alert/Alert.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/alert/Alert.vue2.js +37 -0
- package/dist/packages/mdx-render-vue/dist/render/audioplayer/AudioPlayerDefault.vue.js +102 -0
- package/dist/packages/mdx-render-vue/dist/render/audioplayer/AudioPlayerDefault.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/badge/Badge.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/badge/Badge.vue2.js +25 -0
- package/dist/packages/mdx-render-vue/dist/render/button/Button.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/button/Button.vue2.js +37 -0
- package/dist/packages/mdx-render-vue/dist/render/callout/CalloutDefault.vue.js +79 -0
- package/dist/packages/mdx-render-vue/dist/render/callout/CalloutDefault.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/callout/CalloutMinimal.vue.js +22 -0
- package/dist/packages/mdx-render-vue/dist/render/callout/CalloutMinimal.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/card/Card.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/card/Card.vue2.js +24 -0
- package/dist/packages/mdx-render-vue/dist/render/codeblock/CodeBlockDefault.vue.js +6 -0
- package/dist/packages/mdx-render-vue/dist/render/codeblock/CodeBlockDefault.vue2.js +77 -0
- package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryGrid.vue.js +103 -0
- package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryGrid.vue2.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryLightbox.vue.js +6 -0
- package/dist/packages/mdx-render-vue/dist/render/gallery/GalleryLightbox.vue2.js +142 -0
- package/dist/packages/mdx-render-vue/dist/render/icon/Icon.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/icon/Icon.vue2.js +23 -0
- package/dist/packages/mdx-render-vue/dist/render/tooltip/Tooltip.vue.js +4 -0
- package/dist/packages/mdx-render-vue/dist/render/tooltip/Tooltip.vue2.js +54 -0
- package/dist/packages/mdx-render-vue/dist/render/youtube/YouTubeDefault.vue.js +69 -0
- package/dist/packages/mdx-render-vue/dist/render/youtube/YouTubeDefault.vue2.js +4 -0
- package/dist/packages/mdx-schema/dist/composables/useMdxParsing.js +139 -0
- package/dist/packages/mdx-schema/dist/metadata/index.js +415 -0
- package/dist/packages/mdx-schema/dist/prepareProps.js +46 -0
- package/dist/packages/mdx-schema/dist/styles/index.js +119 -0
- package/dist/packages/mdx-schema/dist/types/index.js +26 -0
- package/dist/packages/sanitize/dist/html.js +41 -0
- package/dist/react/KbMdxContent.d.ts +35 -0
- package/dist/react/KbMdxContent.js +102 -0
- package/dist/react/context.d.ts +11 -0
- package/dist/react/context.js +5 -0
- package/dist/react/hooks/useImageRenderer.d.ts +6 -0
- package/dist/react/hooks/useImageRenderer.js +9 -0
- package/dist/react/hooks/useKbClient.d.ts +3 -0
- package/dist/react/hooks/useKbClient.js +7 -0
- package/dist/react/hooks/useKbContext.d.ts +3 -0
- package/dist/react/hooks/useKbContext.js +11 -0
- package/dist/react/hooks/useKbI18n.d.ts +7 -0
- package/dist/react/hooks/useKbI18n.js +8 -0
- package/dist/react/hooks/useKbLanguage.d.ts +21 -0
- package/dist/react/hooks/useKbLanguage.js +63 -0
- package/dist/react/hooks/useKbSearch.d.ts +20 -0
- package/dist/react/hooks/useKbSearch.js +22 -0
- package/dist/react/hooks/useMdxContent.d.ts +18 -0
- package/dist/react/hooks/useMdxContent.js +11 -0
- package/dist/react/index.d.ts +21 -0
- package/dist/react/index.js +20 -0
- package/dist/react/provider.d.ts +25 -0
- package/dist/react/provider.js +29 -0
- package/dist/react/server/index.d.ts +38 -0
- package/dist/react/server/index.js +26 -0
- package/dist/sdk.css +1 -0
- package/dist/vue/components/KbAccessGate.vue.d.ts +36 -0
- package/dist/vue/components/KbAccessGate.vue.js +74 -0
- package/dist/vue/components/KbAccessGate.vue2.js +4 -0
- package/dist/vue/components/KbArticleCard.vue.d.ts +34 -0
- package/dist/vue/components/KbArticleCard.vue.js +87 -0
- package/dist/vue/components/KbArticleCard.vue2.js +4 -0
- package/dist/vue/components/KbMdxContent.vue.d.ts +5 -0
- package/dist/vue/components/KbMdxContent.vue.js +7 -0
- package/dist/vue/components/KbMdxContent.vue2.js +82 -0
- package/dist/vue/composables/useArticles.d.ts +30 -0
- package/dist/vue/composables/useArticles.js +36 -0
- package/dist/vue/composables/useImageRenderer.d.ts +6 -0
- package/dist/vue/composables/useImageRenderer.js +9 -0
- package/dist/vue/composables/useKbAuth.d.ts +27 -0
- package/dist/vue/composables/useKbAuth.js +83 -0
- package/dist/vue/composables/useKbClient.d.ts +6 -0
- package/dist/vue/composables/useKbClient.js +13 -0
- package/dist/vue/composables/useKbComments.d.ts +37 -0
- package/dist/vue/composables/useKbComments.js +160 -0
- package/dist/vue/composables/useKbI18n.d.ts +6 -0
- package/dist/vue/composables/useKbI18n.js +8 -0
- package/dist/vue/composables/useKbLanguage.d.ts +22 -0
- package/dist/vue/composables/useKbLanguage.js +63 -0
- package/dist/vue/composables/useNavigation.d.ts +18 -0
- package/dist/vue/composables/useNavigation.js +20 -0
- package/dist/vue/composables/useSearch.d.ts +21 -0
- package/dist/vue/composables/useSearch.js +20 -0
- package/dist/vue/composables/useTags.d.ts +17 -0
- package/dist/vue/composables/useTags.js +36 -0
- package/dist/vue/index.d.ts +22 -0
- package/dist/vue/index.js +36 -0
- package/dist/vue/plugin.d.ts +30 -0
- package/dist/vue/plugin.js +17 -0
- package/package.json +97 -0
- package/src/core/article-seo.ts +101 -0
- package/src/core/auth.ts +138 -0
- package/src/core/blog-config.ts +30 -0
- package/src/core/client-types.ts +58 -0
- package/src/core/client.ts +287 -0
- package/src/core/i18n.ts +84 -0
- package/src/core/index.ts +147 -0
- package/src/core/markdown.ts +178 -0
- package/src/core/navigation.ts +152 -0
- package/src/core/queries.ts +414 -0
- package/src/core/retry.ts +19 -0
- package/src/core/seo.ts +374 -0
- package/src/core/theme.ts +128 -0
- package/src/core/translations/cs.json +225 -0
- package/src/core/translations/en.json +225 -0
- package/src/core/types.ts +231 -0
- package/src/core/view-model.ts +98 -0
- package/src/nuxt/composables/useAsyncKb.ts +119 -0
- package/src/nuxt/index.ts +6 -0
- package/src/react/KbMdxContent.tsx +215 -0
- package/src/react/context.ts +25 -0
- package/src/react/hooks/useImageRenderer.ts +15 -0
- package/src/react/hooks/useKbClient.ts +9 -0
- package/src/react/hooks/useKbContext.ts +13 -0
- package/src/react/hooks/useKbI18n.ts +15 -0
- package/src/react/hooks/useKbLanguage.ts +105 -0
- package/src/react/hooks/useKbSearch.ts +50 -0
- package/src/react/hooks/useMdxContent.tsx +33 -0
- package/src/react/index.ts +31 -0
- package/src/react/provider.tsx +70 -0
- package/src/react/server/index.ts +70 -0
- package/src/vue/components/KbAccessGate.vue +86 -0
- package/src/vue/components/KbArticleCard.vue +102 -0
- package/src/vue/components/KbMdxContent.vue +211 -0
- package/src/vue/composables/useArticles.ts +78 -0
- package/src/vue/composables/useImageRenderer.ts +12 -0
- package/src/vue/composables/useKbAuth.ts +131 -0
- package/src/vue/composables/useKbClient.ts +17 -0
- package/src/vue/composables/useKbComments.ts +281 -0
- package/src/vue/composables/useKbI18n.ts +11 -0
- package/src/vue/composables/useKbLanguage.ts +103 -0
- package/src/vue/composables/useNavigation.ts +38 -0
- package/src/vue/composables/useSearch.ts +52 -0
- package/src/vue/composables/useTags.ts +64 -0
- package/src/vue/index.ts +27 -0
- package/src/vue/plugin.ts +73 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"articles": "Články",
|
|
4
|
+
"topics": "Témata",
|
|
5
|
+
"search": "Hledání",
|
|
6
|
+
"knowledgeBase": "Znalostní báze",
|
|
7
|
+
"account": "Účet"
|
|
8
|
+
},
|
|
9
|
+
"home": {
|
|
10
|
+
"title": "Znalostní báze",
|
|
11
|
+
"subtitle": "Objevte odborné články, výzkumné poznámky a průvodce",
|
|
12
|
+
"searchPlaceholder": "Hledat články...",
|
|
13
|
+
"featured": "Doporučené",
|
|
14
|
+
"recentArticles": "Nejnovější články",
|
|
15
|
+
"viewAll": "Zobrazit vše",
|
|
16
|
+
"noArticles": "Zatím žádné články",
|
|
17
|
+
"checkBackSoon": "Brzy přidáme nový obsah.",
|
|
18
|
+
"loadError": "Nepodařilo se načíst články. Zkuste to prosím znovu."
|
|
19
|
+
},
|
|
20
|
+
"articles": {
|
|
21
|
+
"title": "Články",
|
|
22
|
+
"browseCollection": "Procházejte naši sbírku {count} článků",
|
|
23
|
+
"filterByTopic": "Filtrovat podle tématu",
|
|
24
|
+
"allArticles": "Všechny články",
|
|
25
|
+
"noArticlesFound": "Žádné články nenalezeny",
|
|
26
|
+
"tryDifferentTopic": "Zkuste vybrat jiné téma nebo se vraťte později.",
|
|
27
|
+
"loadError": "Nepodařilo se načíst články. Zkuste to prosím znovu.",
|
|
28
|
+
"previous": "Předchozí",
|
|
29
|
+
"next": "Další",
|
|
30
|
+
"pageOf": "Stránka {page} z {total}",
|
|
31
|
+
"backToArticles": "Zpět na články",
|
|
32
|
+
"backToAllArticles": "Zpět na všechny články",
|
|
33
|
+
"allArticlesLink": "Všechny články",
|
|
34
|
+
"notFound": "Článek nenalezen",
|
|
35
|
+
"notFoundDescription": "Článek, který hledáte, neexistuje nebo byl odstraněn.",
|
|
36
|
+
"browseAllArticles": "Procházet všechny články",
|
|
37
|
+
"loadErrorTitle": "Nepodařilo se načíst článek",
|
|
38
|
+
"loadErrorDescription": "Článek nebyl nalezen nebo došlo k chybě při načítání.",
|
|
39
|
+
"translationNotAvailable": "Překlad není k dispozici – zobrazuje se původní obsah",
|
|
40
|
+
"share": "Sdílet:",
|
|
41
|
+
"copyLink": "Zkopírovat odkaz"
|
|
42
|
+
},
|
|
43
|
+
"search": {
|
|
44
|
+
"title": "Hledání",
|
|
45
|
+
"pageTitle": "Hledání | Znalostní báze",
|
|
46
|
+
"placeholder": "Hledat články...",
|
|
47
|
+
"matchBroad": "Volné",
|
|
48
|
+
"matchBroadDesc": "Více výsledků",
|
|
49
|
+
"matchBalanced": "Vyvážené",
|
|
50
|
+
"matchBalancedDesc": "Doporučeno",
|
|
51
|
+
"matchStrict": "Přesné",
|
|
52
|
+
"matchStrictDesc": "Přesné shody",
|
|
53
|
+
"foundResults": "Nalezen {count} výsledek | Nalezeny {count} výsledky | Nalezeno {count} výsledků",
|
|
54
|
+
"match": "shoda",
|
|
55
|
+
"noResults": "Žádné výsledky",
|
|
56
|
+
"tryDifferentKeywords": "Zkuste jiná klíčová slova nebo procházejte naše",
|
|
57
|
+
"articlesLink": "články",
|
|
58
|
+
"startSearching": "Začněte hledat",
|
|
59
|
+
"enterQuery": "Zadejte dotaz pro vyhledávání ve znalostní bázi",
|
|
60
|
+
"searchError": "Vyhledávání se nezdařilo. Zkuste to prosím znovu."
|
|
61
|
+
},
|
|
62
|
+
"topics": {
|
|
63
|
+
"title": "Témata",
|
|
64
|
+
"subtitle": "Prozkoumejte obsah podle tématu",
|
|
65
|
+
"tags": "Štítky",
|
|
66
|
+
"browseByTopic": "Procházet články podle tématu",
|
|
67
|
+
"noTags": "Zatím žádné štítky.",
|
|
68
|
+
"allTopics": "Všechna témata",
|
|
69
|
+
"topicNotFound": "Téma nenalezeno",
|
|
70
|
+
"topicNotFoundDescription": "Téma \"{slug}\" neexistuje.",
|
|
71
|
+
"articleCount": "{count} článek | {count} články | {count} článků",
|
|
72
|
+
"noArticlesYet": "Zatím žádné články",
|
|
73
|
+
"checkBackSoon": "Brzy přidáme články o {name}.",
|
|
74
|
+
"browseAllArticles": "Procházet všechny články",
|
|
75
|
+
"backToAllTopics": "Zpět na všechna témata"
|
|
76
|
+
},
|
|
77
|
+
"auth": {
|
|
78
|
+
"signIn": "Přihlásit se",
|
|
79
|
+
"signInTitle": "Přihlášení",
|
|
80
|
+
"signInSubtitle": "Přistupte ke svému účtu a prémiovému obsahu",
|
|
81
|
+
"email": "E-mail",
|
|
82
|
+
"emailPlaceholder": "vas{'@'}email.cz",
|
|
83
|
+
"password": "Heslo",
|
|
84
|
+
"passwordPlaceholder": "Zadejte heslo",
|
|
85
|
+
"forgotPassword": "Zapomenuté heslo?",
|
|
86
|
+
"noAccount": "Nemáte účet?",
|
|
87
|
+
"createAccount": "Vytvořit účet",
|
|
88
|
+
"orContinueWith": "Nebo pokračujte přes",
|
|
89
|
+
"signOut": "Odhlásit se",
|
|
90
|
+
"register": "Registrace",
|
|
91
|
+
"registerTitle": "Vytvořit účet",
|
|
92
|
+
"registerSubtitle": "Zaregistrujte se pro přístup k prémiovému obsahu",
|
|
93
|
+
"displayName": "Jméno",
|
|
94
|
+
"displayNamePlaceholder": "Vaše jméno",
|
|
95
|
+
"confirmPassword": "Potvrzení hesla",
|
|
96
|
+
"confirmPasswordPlaceholder": "Zadejte heslo znovu",
|
|
97
|
+
"haveAccount": "Již máte účet?",
|
|
98
|
+
"goToSignIn": "Přihlásit se",
|
|
99
|
+
"checkEmail": "Zkontrolujte svůj e-mail",
|
|
100
|
+
"verificationSent": "Odeslali jsme ověřovací odkaz na {email}. Klikněte na odkaz v e-mailu pro dokončení registrace.",
|
|
101
|
+
"forgotPasswordTitle": "Zapomenuté heslo?",
|
|
102
|
+
"forgotPasswordSubtitle": "Zadejte svůj e-mail a my vám pošleme odkaz pro obnovení hesla.",
|
|
103
|
+
"sendResetLink": "Odeslat odkaz pro obnovení",
|
|
104
|
+
"resetEmailSent": "Zkontrolujte svůj e-mail",
|
|
105
|
+
"resetEmailSentDescription": "Pokud účet s adresou {email} existuje, odeslali jsme odkaz pro obnovení hesla.",
|
|
106
|
+
"backToSignIn": "Zpět na přihlášení",
|
|
107
|
+
"resetPasswordTitle": "Obnovení hesla",
|
|
108
|
+
"resetPasswordSubtitle": "Zadejte nové heslo pro svůj účet.",
|
|
109
|
+
"newPassword": "Nové heslo",
|
|
110
|
+
"newPasswordPlaceholder": "Zadejte nové heslo",
|
|
111
|
+
"confirmNewPassword": "Potvrzení nového hesla",
|
|
112
|
+
"confirmNewPasswordPlaceholder": "Zadejte nové heslo znovu",
|
|
113
|
+
"resetPassword": "Obnovit heslo",
|
|
114
|
+
"passwordResetSuccess": "Heslo obnoveno!",
|
|
115
|
+
"passwordResetSuccessDescription": "Vaše heslo bylo úspěšně obnoveno. Nyní se můžete přihlásit.",
|
|
116
|
+
"invalidResetLink": "Neplatný odkaz",
|
|
117
|
+
"invalidResetLinkDescription": "Tento odkaz pro obnovení hesla je neplatný nebo vypršel.",
|
|
118
|
+
"requestNewLink": "Požádat o nový odkaz",
|
|
119
|
+
"verifyEmailTitle": "Ověření e-mailu",
|
|
120
|
+
"verifying": "Ověřujeme váš e-mail...",
|
|
121
|
+
"emailVerified": "E-mail ověřen!",
|
|
122
|
+
"emailVerifiedDescription": "Váš e-mail byl úspěšně ověřen. Nyní se můžete přihlásit.",
|
|
123
|
+
"verificationFailed": "Ověření se nezdařilo",
|
|
124
|
+
"verificationFailedDescription": "Tento ověřovací odkaz je neplatný nebo vypršel.",
|
|
125
|
+
"validationRequired": "Toto pole je povinné",
|
|
126
|
+
"validationEmail": "Zadejte platnou e-mailovou adresu",
|
|
127
|
+
"validationPasswordMin": "Heslo musí mít alespoň 8 znaků",
|
|
128
|
+
"validationPasswordMatch": "Hesla se neshodují"
|
|
129
|
+
},
|
|
130
|
+
"comments": {
|
|
131
|
+
"title": "Komentáře",
|
|
132
|
+
"open": "Otevřít komentáře",
|
|
133
|
+
"noComments": "Zatím žádné komentáře",
|
|
134
|
+
"beFirst": "Buďte první, kdo sdílí své myšlenky k tomuto článku.",
|
|
135
|
+
"loginPrompt": "pro přidání komentáře",
|
|
136
|
+
"loginLink": "Přihlásit se",
|
|
137
|
+
"placeholder": "Napište komentář...",
|
|
138
|
+
"cancel": "Zrušit",
|
|
139
|
+
"comment": "Komentovat",
|
|
140
|
+
"reply": "Odpovědět",
|
|
141
|
+
"edit": "Upravit",
|
|
142
|
+
"delete": "Smazat",
|
|
143
|
+
"save": "Uložit",
|
|
144
|
+
"replyingTo": "Odpovídáte na komentář...",
|
|
145
|
+
"replyPlaceholder": "Napište odpověď...",
|
|
146
|
+
"editPlaceholder": "Upravte komentář...",
|
|
147
|
+
"editing": "Úprava komentáře",
|
|
148
|
+
"confirmDelete": "Opravdu chcete smazat tento komentář?",
|
|
149
|
+
"anonymous": "Anonymní",
|
|
150
|
+
"edited": "(upraveno)",
|
|
151
|
+
"original": "Originál ({code}):",
|
|
152
|
+
"justNow": "právě teď",
|
|
153
|
+
"minutesAgo": "před {count} min",
|
|
154
|
+
"hoursAgo": "před {count} h",
|
|
155
|
+
"daysAgo": "před {count} d",
|
|
156
|
+
"charCount": "{count}/{max}",
|
|
157
|
+
"submitHint": "Stiskněte {key}+Enter pro odeslání",
|
|
158
|
+
"loadError": "Nepodařilo se načíst komentáře",
|
|
159
|
+
"submitError": "Nepodařilo se odeslat komentář"
|
|
160
|
+
},
|
|
161
|
+
"accessGate": {
|
|
162
|
+
"signInToAccess": "Pro přístup k tomuto obsahu ({level}) se přihlaste.",
|
|
163
|
+
"requiresAccess": "Tento obsah vyžaduje přístup úrovně {level}.",
|
|
164
|
+
"signIn": "Přihlásit se",
|
|
165
|
+
"upgradeToPremium": "Upgradovat na Premium",
|
|
166
|
+
"browseFreeArticles": "Procházet volné články",
|
|
167
|
+
"levelPublic": "Veřejné",
|
|
168
|
+
"levelPremium": "Premium",
|
|
169
|
+
"levelPartners": "Partneři",
|
|
170
|
+
"levelInternal": "Interní"
|
|
171
|
+
},
|
|
172
|
+
"footer": {
|
|
173
|
+
"copyright": "© {year} Znalostní báze. Všechna práva vyhrazena."
|
|
174
|
+
},
|
|
175
|
+
"common": {
|
|
176
|
+
"loading": "Načítání...",
|
|
177
|
+
"error": "Chyba",
|
|
178
|
+
"retry": "Zkusit znovu",
|
|
179
|
+
"close": "Zavřít",
|
|
180
|
+
"switchToLight": "Přepnout na světlý režim",
|
|
181
|
+
"switchToDark": "Přepnout na tmavý režim",
|
|
182
|
+
"languageSelector": "Aktuální jazyk: {name}. Klikněte pro změnu.",
|
|
183
|
+
"skipToContent": "Přeskočit na hlavní obsah"
|
|
184
|
+
},
|
|
185
|
+
"account": {
|
|
186
|
+
"pageTitle": "Účet",
|
|
187
|
+
"pageSubtitle": "Spravujte své jméno, heslo a oznámení.",
|
|
188
|
+
"profileTitle": "Profil",
|
|
189
|
+
"profileSubtitle": "Vaše jméno a e-mail.",
|
|
190
|
+
"name": "Jméno",
|
|
191
|
+
"namePlaceholder": "Vaše jméno",
|
|
192
|
+
"email": "E-mail",
|
|
193
|
+
"emailPlaceholder": "vy{'@'}priklad.cz",
|
|
194
|
+
"emailUnverified": "E-mail zatím není ověřený.",
|
|
195
|
+
"resendVerification": "Znovu odeslat ověřovací e-mail",
|
|
196
|
+
"verificationSent": "Ověřovací e-mail byl odeslán — zkontrolujte si schránku.",
|
|
197
|
+
"saveProfile": "Uložit profil",
|
|
198
|
+
"profileSaved": "Profil byl aktualizován.",
|
|
199
|
+
"emailChangeNotice": "Poslali jsme ověřovací odkaz na novou adresu. Než se příště přihlásíte, musíte si e-mail ověřit.",
|
|
200
|
+
"passwordTitle": "Heslo",
|
|
201
|
+
"passwordSubtitle": "Změňte si heslo k účtu.",
|
|
202
|
+
"currentPassword": "Současné heslo",
|
|
203
|
+
"newPassword": "Nové heslo",
|
|
204
|
+
"confirmNewPassword": "Potvrzení nového hesla",
|
|
205
|
+
"passwordsDoNotMatch": "Nová hesla se neshodují.",
|
|
206
|
+
"changePassword": "Změnit heslo",
|
|
207
|
+
"passwordChanged": "Heslo bylo aktualizováno.",
|
|
208
|
+
"passwordOauthOnly": "Váš účet používá přihlášení přes sociální síť. Heslo spravuje váš poskytovatel.",
|
|
209
|
+
"notificationsTitle": "Oznámení",
|
|
210
|
+
"notificationsSubtitle": "Rozhodněte, kdy vám máme posílat reporty a e-maily.",
|
|
211
|
+
"autoReportErrors": "Automaticky hlásit chyby, které narazím",
|
|
212
|
+
"autoReportContent": "Automaticky hlásit chybějící nebo nesprávný obsah",
|
|
213
|
+
"policyAlways": "Vždy",
|
|
214
|
+
"policyAsk": "Nejprve se zeptej",
|
|
215
|
+
"policyNever": "Nikdy",
|
|
216
|
+
"emailNotifications": "E-mailová oznámení",
|
|
217
|
+
"emailFrequencyInstant": "Posílat hned",
|
|
218
|
+
"emailFrequencyDailyDigest": "Denní souhrn",
|
|
219
|
+
"emailFrequencyNever": "Žádné e-maily",
|
|
220
|
+
"saveSettings": "Uložit předvolby",
|
|
221
|
+
"settingsSaved": "Předvolby byly uloženy.",
|
|
222
|
+
"advancedFooter": "Hledáte API klíče, MCP přístup nebo agentní klienty? Spravujte je v",
|
|
223
|
+
"advancedFooterLinkLabel": "developer portálu"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"articles": "Articles",
|
|
4
|
+
"topics": "Topics",
|
|
5
|
+
"search": "Search",
|
|
6
|
+
"knowledgeBase": "Knowledge Base",
|
|
7
|
+
"account": "Account"
|
|
8
|
+
},
|
|
9
|
+
"home": {
|
|
10
|
+
"title": "Knowledge Base",
|
|
11
|
+
"subtitle": "Discover in-depth articles, research notes, and expert guides",
|
|
12
|
+
"searchPlaceholder": "Search articles...",
|
|
13
|
+
"featured": "Featured",
|
|
14
|
+
"recentArticles": "Recent Articles",
|
|
15
|
+
"viewAll": "View all",
|
|
16
|
+
"noArticles": "No articles yet",
|
|
17
|
+
"checkBackSoon": "Check back soon for new content.",
|
|
18
|
+
"loadError": "Failed to load articles. Please try again."
|
|
19
|
+
},
|
|
20
|
+
"articles": {
|
|
21
|
+
"title": "Articles",
|
|
22
|
+
"browseCollection": "Browse our collection of {count} articles",
|
|
23
|
+
"filterByTopic": "Filter by topic",
|
|
24
|
+
"allArticles": "All articles",
|
|
25
|
+
"noArticlesFound": "No articles found",
|
|
26
|
+
"tryDifferentTopic": "Try selecting a different topic or check back later.",
|
|
27
|
+
"loadError": "Failed to load articles. Please try again.",
|
|
28
|
+
"previous": "Previous",
|
|
29
|
+
"next": "Next",
|
|
30
|
+
"pageOf": "Page {page} of {total}",
|
|
31
|
+
"backToArticles": "Back to articles",
|
|
32
|
+
"backToAllArticles": "Back to all articles",
|
|
33
|
+
"allArticlesLink": "All articles",
|
|
34
|
+
"notFound": "Article not found",
|
|
35
|
+
"notFoundDescription": "The article you're looking for doesn't exist or has been removed.",
|
|
36
|
+
"browseAllArticles": "Browse all articles",
|
|
37
|
+
"loadErrorTitle": "Failed to load article",
|
|
38
|
+
"loadErrorDescription": "The article could not be found or there was an error loading it.",
|
|
39
|
+
"translationNotAvailable": "Translation not available - showing original content",
|
|
40
|
+
"share": "Share:",
|
|
41
|
+
"copyLink": "Copy link"
|
|
42
|
+
},
|
|
43
|
+
"search": {
|
|
44
|
+
"title": "Search",
|
|
45
|
+
"pageTitle": "Search | Knowledge Base",
|
|
46
|
+
"placeholder": "Search articles...",
|
|
47
|
+
"matchBroad": "Broad",
|
|
48
|
+
"matchBroadDesc": "More results",
|
|
49
|
+
"matchBalanced": "Balanced",
|
|
50
|
+
"matchBalancedDesc": "Recommended",
|
|
51
|
+
"matchStrict": "Strict",
|
|
52
|
+
"matchStrictDesc": "Precise matches",
|
|
53
|
+
"foundResults": "Found {count} result | Found {count} results",
|
|
54
|
+
"match": "match",
|
|
55
|
+
"noResults": "No results found",
|
|
56
|
+
"tryDifferentKeywords": "Try different keywords or browse our",
|
|
57
|
+
"articlesLink": "articles",
|
|
58
|
+
"startSearching": "Start searching",
|
|
59
|
+
"enterQuery": "Enter a query to search our knowledge base",
|
|
60
|
+
"searchError": "Search failed. Please try again."
|
|
61
|
+
},
|
|
62
|
+
"topics": {
|
|
63
|
+
"title": "Topics",
|
|
64
|
+
"subtitle": "Explore content by topic",
|
|
65
|
+
"tags": "Tags",
|
|
66
|
+
"browseByTopic": "Browse articles by topic",
|
|
67
|
+
"noTags": "No tags available yet.",
|
|
68
|
+
"allTopics": "All topics",
|
|
69
|
+
"topicNotFound": "Topic not found",
|
|
70
|
+
"topicNotFoundDescription": "The topic \"{slug}\" doesn't exist.",
|
|
71
|
+
"articleCount": "{count} article | {count} articles",
|
|
72
|
+
"noArticlesYet": "No articles yet",
|
|
73
|
+
"checkBackSoon": "Check back soon for articles about {name}.",
|
|
74
|
+
"browseAllArticles": "Browse all articles",
|
|
75
|
+
"backToAllTopics": "Back to all topics"
|
|
76
|
+
},
|
|
77
|
+
"auth": {
|
|
78
|
+
"signIn": "Sign in",
|
|
79
|
+
"signInTitle": "Sign in",
|
|
80
|
+
"signInSubtitle": "Access your account and premium content",
|
|
81
|
+
"email": "Email",
|
|
82
|
+
"emailPlaceholder": "you{'@'}example.com",
|
|
83
|
+
"password": "Password",
|
|
84
|
+
"passwordPlaceholder": "Enter your password",
|
|
85
|
+
"forgotPassword": "Forgot password?",
|
|
86
|
+
"noAccount": "Don't have an account?",
|
|
87
|
+
"createAccount": "Create an account",
|
|
88
|
+
"orContinueWith": "Or continue with",
|
|
89
|
+
"signOut": "Sign out",
|
|
90
|
+
"register": "Sign up",
|
|
91
|
+
"registerTitle": "Create an account",
|
|
92
|
+
"registerSubtitle": "Sign up to access premium content",
|
|
93
|
+
"displayName": "Display name",
|
|
94
|
+
"displayNamePlaceholder": "Your name",
|
|
95
|
+
"confirmPassword": "Confirm password",
|
|
96
|
+
"confirmPasswordPlaceholder": "Enter your password again",
|
|
97
|
+
"haveAccount": "Already have an account?",
|
|
98
|
+
"goToSignIn": "Sign in",
|
|
99
|
+
"checkEmail": "Check your email",
|
|
100
|
+
"verificationSent": "We've sent a verification link to {email}. Click the link in the email to complete your registration.",
|
|
101
|
+
"forgotPasswordTitle": "Forgot password?",
|
|
102
|
+
"forgotPasswordSubtitle": "Enter your email and we'll send you a reset link.",
|
|
103
|
+
"sendResetLink": "Send reset link",
|
|
104
|
+
"resetEmailSent": "Check your email",
|
|
105
|
+
"resetEmailSentDescription": "If an account with {email} exists, we've sent a password reset link.",
|
|
106
|
+
"backToSignIn": "Back to sign in",
|
|
107
|
+
"resetPasswordTitle": "Reset password",
|
|
108
|
+
"resetPasswordSubtitle": "Enter a new password for your account.",
|
|
109
|
+
"newPassword": "New password",
|
|
110
|
+
"newPasswordPlaceholder": "Enter new password",
|
|
111
|
+
"confirmNewPassword": "Confirm new password",
|
|
112
|
+
"confirmNewPasswordPlaceholder": "Enter new password again",
|
|
113
|
+
"resetPassword": "Reset password",
|
|
114
|
+
"passwordResetSuccess": "Password reset!",
|
|
115
|
+
"passwordResetSuccessDescription": "Your password has been successfully reset. You can now sign in.",
|
|
116
|
+
"invalidResetLink": "Invalid link",
|
|
117
|
+
"invalidResetLinkDescription": "This password reset link is invalid or has expired.",
|
|
118
|
+
"requestNewLink": "Request a new link",
|
|
119
|
+
"verifyEmailTitle": "Verify Email",
|
|
120
|
+
"verifying": "Verifying your email...",
|
|
121
|
+
"emailVerified": "Email verified!",
|
|
122
|
+
"emailVerifiedDescription": "Your email has been successfully verified. You can now sign in.",
|
|
123
|
+
"verificationFailed": "Verification failed",
|
|
124
|
+
"verificationFailedDescription": "This verification link is invalid or has expired.",
|
|
125
|
+
"validationRequired": "This field is required",
|
|
126
|
+
"validationEmail": "Please enter a valid email address",
|
|
127
|
+
"validationPasswordMin": "Password must be at least 8 characters",
|
|
128
|
+
"validationPasswordMatch": "Passwords do not match"
|
|
129
|
+
},
|
|
130
|
+
"comments": {
|
|
131
|
+
"title": "Comments",
|
|
132
|
+
"open": "Open comments",
|
|
133
|
+
"noComments": "No comments yet",
|
|
134
|
+
"beFirst": "Be the first to share your thoughts on this article.",
|
|
135
|
+
"loginPrompt": "to leave a comment",
|
|
136
|
+
"loginLink": "Log in",
|
|
137
|
+
"placeholder": "Write a comment...",
|
|
138
|
+
"cancel": "Cancel",
|
|
139
|
+
"comment": "Comment",
|
|
140
|
+
"reply": "Reply",
|
|
141
|
+
"edit": "Edit",
|
|
142
|
+
"delete": "Delete",
|
|
143
|
+
"save": "Save",
|
|
144
|
+
"replyingTo": "Replying to comment...",
|
|
145
|
+
"replyPlaceholder": "Write a reply...",
|
|
146
|
+
"editPlaceholder": "Edit your comment...",
|
|
147
|
+
"editing": "Editing comment",
|
|
148
|
+
"confirmDelete": "Are you sure you want to delete this comment?",
|
|
149
|
+
"anonymous": "Anonymous",
|
|
150
|
+
"edited": "(edited)",
|
|
151
|
+
"original": "Original ({code}):",
|
|
152
|
+
"justNow": "just now",
|
|
153
|
+
"minutesAgo": "{count}m ago",
|
|
154
|
+
"hoursAgo": "{count}h ago",
|
|
155
|
+
"daysAgo": "{count}d ago",
|
|
156
|
+
"charCount": "{count}/{max}",
|
|
157
|
+
"submitHint": "Press {key}+Enter to submit",
|
|
158
|
+
"loadError": "Failed to load comments",
|
|
159
|
+
"submitError": "Failed to submit comment"
|
|
160
|
+
},
|
|
161
|
+
"accessGate": {
|
|
162
|
+
"signInToAccess": "Sign in to access this {level} content.",
|
|
163
|
+
"requiresAccess": "This content requires {level} access.",
|
|
164
|
+
"signIn": "Sign in",
|
|
165
|
+
"upgradeToPremium": "Upgrade to Premium",
|
|
166
|
+
"browseFreeArticles": "Browse free articles",
|
|
167
|
+
"levelPublic": "Public",
|
|
168
|
+
"levelPremium": "Premium",
|
|
169
|
+
"levelPartners": "Partners",
|
|
170
|
+
"levelInternal": "Internal"
|
|
171
|
+
},
|
|
172
|
+
"footer": {
|
|
173
|
+
"copyright": "© {year} Knowledge Base. All rights reserved."
|
|
174
|
+
},
|
|
175
|
+
"common": {
|
|
176
|
+
"loading": "Loading...",
|
|
177
|
+
"error": "Error",
|
|
178
|
+
"retry": "Try again",
|
|
179
|
+
"close": "Close",
|
|
180
|
+
"switchToLight": "Switch to light mode",
|
|
181
|
+
"switchToDark": "Switch to dark mode",
|
|
182
|
+
"languageSelector": "Current language: {name}. Click to change.",
|
|
183
|
+
"skipToContent": "Skip to main content"
|
|
184
|
+
},
|
|
185
|
+
"account": {
|
|
186
|
+
"pageTitle": "Account",
|
|
187
|
+
"pageSubtitle": "Manage your profile, password and notification preferences.",
|
|
188
|
+
"profileTitle": "Profile",
|
|
189
|
+
"profileSubtitle": "Your name and email.",
|
|
190
|
+
"name": "Name",
|
|
191
|
+
"namePlaceholder": "Your name",
|
|
192
|
+
"email": "Email",
|
|
193
|
+
"emailPlaceholder": "you{'@'}example.com",
|
|
194
|
+
"emailUnverified": "Email is not verified yet.",
|
|
195
|
+
"resendVerification": "Resend verification email",
|
|
196
|
+
"verificationSent": "Verification email sent — please check your inbox.",
|
|
197
|
+
"saveProfile": "Save profile",
|
|
198
|
+
"profileSaved": "Profile updated.",
|
|
199
|
+
"emailChangeNotice": "We've sent a verification link to your new email. You'll need to verify it before signing in next time.",
|
|
200
|
+
"passwordTitle": "Password",
|
|
201
|
+
"passwordSubtitle": "Change your account password.",
|
|
202
|
+
"currentPassword": "Current password",
|
|
203
|
+
"newPassword": "New password",
|
|
204
|
+
"confirmNewPassword": "Confirm new password",
|
|
205
|
+
"passwordsDoNotMatch": "New passwords don't match.",
|
|
206
|
+
"changePassword": "Change password",
|
|
207
|
+
"passwordChanged": "Password updated.",
|
|
208
|
+
"passwordOauthOnly": "Your account uses social sign-in. Password change is managed by your provider.",
|
|
209
|
+
"notificationsTitle": "Notifications",
|
|
210
|
+
"notificationsSubtitle": "Decide when we should send you reports and emails.",
|
|
211
|
+
"autoReportErrors": "Auto-report errors I encounter",
|
|
212
|
+
"autoReportContent": "Auto-report missing or wrong content",
|
|
213
|
+
"policyAlways": "Always",
|
|
214
|
+
"policyAsk": "Ask first",
|
|
215
|
+
"policyNever": "Never",
|
|
216
|
+
"emailNotifications": "Email notifications",
|
|
217
|
+
"emailFrequencyInstant": "Send immediately",
|
|
218
|
+
"emailFrequencyDailyDigest": "Daily digest",
|
|
219
|
+
"emailFrequencyNever": "Don't email me",
|
|
220
|
+
"saveSettings": "Save preferences",
|
|
221
|
+
"settingsSaved": "Preferences updated.",
|
|
222
|
+
"advancedFooter": "Looking for API keys, MCP credentials or agent clients? Manage them in the",
|
|
223
|
+
"advancedFooterLinkLabel": "developer portal"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
// ==================== Article Types ====================
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Geo of an image, surfaced to the public blog ONLY when the image opted in
|
|
5
|
+
* (the API gates this; absent/null otherwise). Used to emit schema.org
|
|
6
|
+
* structured data. Coords are full-fidelity — the renderer decides precision.
|
|
7
|
+
*/
|
|
8
|
+
export interface MediaGeo {
|
|
9
|
+
latitude: number
|
|
10
|
+
longitude: number
|
|
11
|
+
altitude?: number | null
|
|
12
|
+
placeName?: string | null
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** A geotagged image referenced in an article body (gated to opted-in only). */
|
|
16
|
+
export interface ContentImageGeo extends MediaGeo {
|
|
17
|
+
/** Public URL/path of the image (the SDK absolutizes it for JSON-LD). */
|
|
18
|
+
url: string
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface Article {
|
|
22
|
+
id: string
|
|
23
|
+
filename: string
|
|
24
|
+
title?: string
|
|
25
|
+
slug?: string
|
|
26
|
+
description?: string | null
|
|
27
|
+
content?: string
|
|
28
|
+
contentType: 'blog_post' | 'info_source'
|
|
29
|
+
status: 'draft' | 'review' | 'published' | 'archived' | 'changed'
|
|
30
|
+
createdAt: string
|
|
31
|
+
updatedAt: string
|
|
32
|
+
publishedAt?: string
|
|
33
|
+
sourceLanguageCode?: string
|
|
34
|
+
featuredImageUrl?: string | null
|
|
35
|
+
tags?: string[]
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface ArticleWithTranslation {
|
|
39
|
+
id: string
|
|
40
|
+
filename: string
|
|
41
|
+
contentType: string
|
|
42
|
+
status: string
|
|
43
|
+
description: string | null
|
|
44
|
+
sourceLanguageCode: string
|
|
45
|
+
createdAt: string
|
|
46
|
+
updatedAt: string
|
|
47
|
+
publishedAt: string | null
|
|
48
|
+
title: string
|
|
49
|
+
content: string
|
|
50
|
+
languageCode: string
|
|
51
|
+
isSource: boolean
|
|
52
|
+
isFallback: boolean
|
|
53
|
+
featuredImageUrl: string | null
|
|
54
|
+
featuredImageGeo?: MediaGeo | null
|
|
55
|
+
/** Geo for opted-in images referenced in the article body (for JSON-LD). */
|
|
56
|
+
contentImagesGeo?: ContentImageGeo[] | null
|
|
57
|
+
accessRights: string[]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// ==================== Tag Types ====================
|
|
61
|
+
|
|
62
|
+
export interface Tag {
|
|
63
|
+
id: string
|
|
64
|
+
slug: string
|
|
65
|
+
name: string
|
|
66
|
+
description?: string
|
|
67
|
+
color?: string
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface LocalizedTag {
|
|
71
|
+
id: string
|
|
72
|
+
name: string
|
|
73
|
+
slug: string
|
|
74
|
+
description: string | null
|
|
75
|
+
color: string | null
|
|
76
|
+
accessLevel: string
|
|
77
|
+
languageCode: string
|
|
78
|
+
isFallback: boolean
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// ==================== Search Types ====================
|
|
82
|
+
|
|
83
|
+
export interface SearchResult {
|
|
84
|
+
articleId: string
|
|
85
|
+
filename: string
|
|
86
|
+
title: string
|
|
87
|
+
chunkText: string
|
|
88
|
+
similarity: number
|
|
89
|
+
sectionHeading?: string
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface KBContextChunk {
|
|
93
|
+
filename: string
|
|
94
|
+
title: string
|
|
95
|
+
text: string
|
|
96
|
+
similarity: number
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// ==================== Translation Types ====================
|
|
100
|
+
|
|
101
|
+
export interface Translation {
|
|
102
|
+
id: string
|
|
103
|
+
articleId: string
|
|
104
|
+
languageCode: string
|
|
105
|
+
title: string
|
|
106
|
+
content?: string
|
|
107
|
+
syncStatus: 'synced' | 'stale' | 'needs_review'
|
|
108
|
+
reviewed: boolean
|
|
109
|
+
translatedBy?: string
|
|
110
|
+
updatedAt: string
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// ==================== Language Types ====================
|
|
114
|
+
|
|
115
|
+
export interface Language {
|
|
116
|
+
id: string
|
|
117
|
+
code: string
|
|
118
|
+
name: string
|
|
119
|
+
nativeName: string | null
|
|
120
|
+
isSource: boolean
|
|
121
|
+
isEnabled: boolean
|
|
122
|
+
sortOrder: number
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// ==================== Access Level ====================
|
|
126
|
+
|
|
127
|
+
export type AccessLevel = 'public' | 'premium' | 'partners' | 'internal'
|
|
128
|
+
|
|
129
|
+
export const ACCESS_LEVEL_ORDER: readonly AccessLevel[] = [
|
|
130
|
+
'public',
|
|
131
|
+
'premium',
|
|
132
|
+
'partners',
|
|
133
|
+
'internal',
|
|
134
|
+
] as const
|
|
135
|
+
|
|
136
|
+
// ==================== Comment Types ====================
|
|
137
|
+
|
|
138
|
+
export interface Comment {
|
|
139
|
+
id: string
|
|
140
|
+
articleId: string
|
|
141
|
+
userId: string
|
|
142
|
+
userName: string | null
|
|
143
|
+
parentCommentId: string | null
|
|
144
|
+
displayContent: string
|
|
145
|
+
displayLanguageCode: string
|
|
146
|
+
sourceLanguageCode: string
|
|
147
|
+
sourceContent?: string
|
|
148
|
+
isPendingTranslation: boolean
|
|
149
|
+
isTranslated: boolean
|
|
150
|
+
isEdited: boolean
|
|
151
|
+
createdAt: string
|
|
152
|
+
replies: Comment[]
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface CommentSubscriptionEvent {
|
|
156
|
+
type: 'created' | 'updated' | 'deleted' | 'translated'
|
|
157
|
+
commentId: string
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export interface CommentsConnection {
|
|
161
|
+
comments: Comment[]
|
|
162
|
+
totalCount: number
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface CommentResult {
|
|
166
|
+
success: boolean
|
|
167
|
+
comment: Comment | null
|
|
168
|
+
error: string | null
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// ==================== Auth Types ====================
|
|
172
|
+
|
|
173
|
+
export interface AuthUser {
|
|
174
|
+
id: string
|
|
175
|
+
email: string
|
|
176
|
+
name?: string
|
|
177
|
+
accessLevel: AccessLevel
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface AuthResult {
|
|
181
|
+
success: boolean
|
|
182
|
+
token?: string
|
|
183
|
+
user?: AuthUser
|
|
184
|
+
error?: string
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface RegisterResult {
|
|
188
|
+
success: boolean
|
|
189
|
+
message?: string
|
|
190
|
+
error?: string
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export interface UpdateProfileResult {
|
|
194
|
+
success: boolean
|
|
195
|
+
user?: AuthUser
|
|
196
|
+
emailChanged: boolean
|
|
197
|
+
error?: string
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type ReportPolicyValue = 'always' | 'ask' | 'never'
|
|
201
|
+
export type EmailNotificationFrequency = 'instant' | 'daily_digest' | 'never'
|
|
202
|
+
|
|
203
|
+
/** Phase 4c: opt-in/out for the editor-replied-to-your-suggestion email. */
|
|
204
|
+
export type FeedbackNotificationFrequency = 'instant' | 'never'
|
|
205
|
+
|
|
206
|
+
export interface ReportSettings {
|
|
207
|
+
autoReportErrors: ReportPolicyValue
|
|
208
|
+
autoReportContent: ReportPolicyValue
|
|
209
|
+
autoReportPerformance: ReportPolicyValue
|
|
210
|
+
includeContextData: boolean
|
|
211
|
+
rateLimitPerHour: number
|
|
212
|
+
emailNotifications: EmailNotificationFrequency
|
|
213
|
+
feedbackNotifications: FeedbackNotificationFrequency
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export interface UpdateReportSettingsInput {
|
|
217
|
+
autoReportErrors?: ReportPolicyValue
|
|
218
|
+
autoReportContent?: ReportPolicyValue
|
|
219
|
+
autoReportPerformance?: ReportPolicyValue
|
|
220
|
+
includeContextData?: boolean
|
|
221
|
+
rateLimitPerHour?: number
|
|
222
|
+
emailNotifications?: EmailNotificationFrequency
|
|
223
|
+
feedbackNotifications?: FeedbackNotificationFrequency
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// ==================== Paginated Response ====================
|
|
227
|
+
|
|
228
|
+
export interface PaginatedResponse<T> {
|
|
229
|
+
items: T[]
|
|
230
|
+
totalCount: number
|
|
231
|
+
}
|