@openpkg-ts/fumadocs-adapter 0.5.0 → 0.5.2
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/index.d.ts +2 -2
- package/dist/index.js +15 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ interface OpenpkgPluginOptions {
|
|
|
75
75
|
declare function openpkgPlugin(options?: OpenpkgPluginOptions): LoaderPlugin;
|
|
76
76
|
import { DocsInstance as DocsInstance2, LoadOptions, OpenPkg as OpenPkg2, SpecExample, SpecExport as SpecExport2, SpecExportKind as SpecExportKind2, SpecMember, SpecSchema, SpecSignature, SpecSignatureParameter, SpecTag, SpecType, SpecTypeKind, SpecTypeParameter } from "@openpkg-ts/doc-generator";
|
|
77
77
|
import { AlgoliaRecord, buildSignatureString, createDocs, createDocs as createDocs2, DocsInstance as DocsInstance3, ExportMarkdownOptions, exportToMarkdown, formatParameters, formatReturnType, formatSchema, formatTypeParameters, getMethods, getProperties, groupByVisibility, HTMLOptions, isMethod, isProperty, JSONOptions, LoadOptions as LoadOptions2, loadSpec, MarkdownOptions, NavOptions, PagefindRecord, resolveTypeRef, SearchIndex, SearchOptions, SearchRecord, sortByName, toAlgoliaRecords, toDocusaurusSidebarJS, toFumadocsMetaJSON, toHTML, toJSON, toJSONString, toMarkdown, toNavigation, toPagefindRecords, toSearchIndex, toSearchIndexJSON } from "@openpkg-ts/doc-generator";
|
|
78
|
-
import { APIPage, APIPageProps, ClassPage, ClassPageProps, CodeTabs, CodeTab, CodeTabsProps, EnumPage, EnumPageProps, ExportCard, ExportCardProps, ExportIndexPage, ExportIndexPageProps, FunctionPage, FunctionPageProps, ImportSection, ImportSectionProps, InterfacePage, InterfacePageProps, NestedPropertyItemProps, ParameterItem, ParameterItemProps, VariablePage, VariablePageProps } from "@openpkg-ts/doc-generator/react/styled";
|
|
78
|
+
import { APIPage, APIPageProps, ClassPage, ClassPageProps, ClassSection, ClassSectionProps, CodeTabs, CodeTab, CodeTabsProps, EnumPage, EnumPageProps, EnumSection, EnumSectionProps, ExportCard, ExportCardProps, ExportIndexPage, ExportIndexPageProps, ExportSection, ExportSectionProps, FullAPIReferencePage, FullAPIReferencePageProps, FunctionPage, FunctionPageProps, FunctionSection, FunctionSectionProps, ImportSection, ImportSectionProps, InterfacePage, InterfacePageProps, InterfaceSection, InterfaceSectionProps, NestedPropertyItemProps, ParameterItem, ParameterItemProps, VariablePage, VariablePageProps, VariableSection, VariableSectionProps } from "@openpkg-ts/doc-generator/react/styled";
|
|
79
79
|
/**
|
|
80
80
|
* Documentation drift information.
|
|
81
81
|
* Describes a mismatch between docs and code.
|
|
@@ -100,4 +100,4 @@ interface CoverageBadgeProps {
|
|
|
100
100
|
showDrift?: boolean;
|
|
101
101
|
}
|
|
102
102
|
declare function CoverageBadge({ docs, showMissing, showDrift }: CoverageBadgeProps): React.ReactNode;
|
|
103
|
-
export { toSearchIndexJSON, toSearchIndex, toPagefindRecords, toNavigation, toMarkdown, toJSONString, toJSON, toHTML, toFumadocsMetaJSON, toDocusaurusSidebarJS, toAlgoliaRecords, sortByName, resolveTypeRef, openpkgSource, openpkgPlugin, loadSpec, isProperty, isMethod, groupByVisibility, getProperties, getMethods, formatTypeParameters, formatSchema, formatReturnType, formatParameters, exportToMarkdown, createDocs2 as createOpenPkg, createDocs, buildSignatureString, VariablePageProps, VariablePage, SpecTypeParameter, SpecTypeKind, SpecType, SpecTag, SpecSignatureParameter, SpecSignature, SpecSchema, SpecMember, SpecExportKind2 as SpecExportKind, SpecExport2 as SpecExport, SpecExample, SearchRecord, SearchOptions, SearchIndex, ParameterItemProps, ParameterItem, PagefindRecord, OpenpkgPluginOptions, OpenPkgSourceOptions, OpenPkgPageData, LoadOptions as OpenPkgOptions, OpenPkgMetaData, DocsInstance2 as OpenPkgInstance, OpenPkg2 as OpenPkg, NestedPropertyItemProps, NavOptions, MarkdownOptions, LoadOptions2 as LoadOptions, KindBadgeProps, KindBadge, JSONOptions, InterfacePageProps, InterfacePage, ImportSectionProps, ImportSection, HTMLOptions, FunctionPageProps, FunctionPage, ExportMarkdownOptions, ExportIndexPageProps, ExportIndexPage, ExportCardProps, ExportCard, EnumPageProps, EnumPage, DocsMetadata, DocsInstance3 as DocsInstance, DocDrift, CoverageBadgeProps, CoverageBadge, CodeTabsProps, CodeTabs, CodeTab, ClassPageProps, ClassPage, AlgoliaRecord, APIPageProps, APIPage };
|
|
103
|
+
export { toSearchIndexJSON, toSearchIndex, toPagefindRecords, toNavigation, toMarkdown, toJSONString, toJSON, toHTML, toFumadocsMetaJSON, toDocusaurusSidebarJS, toAlgoliaRecords, sortByName, resolveTypeRef, openpkgSource, openpkgPlugin, loadSpec, isProperty, isMethod, groupByVisibility, getProperties, getMethods, formatTypeParameters, formatSchema, formatReturnType, formatParameters, exportToMarkdown, createDocs2 as createOpenPkg, createDocs, buildSignatureString, VariableSectionProps, VariableSection, VariablePageProps, VariablePage, SpecTypeParameter, SpecTypeKind, SpecType, SpecTag, SpecSignatureParameter, SpecSignature, SpecSchema, SpecMember, SpecExportKind2 as SpecExportKind, SpecExport2 as SpecExport, SpecExample, SearchRecord, SearchOptions, SearchIndex, ParameterItemProps, ParameterItem, PagefindRecord, OpenpkgPluginOptions, OpenPkgSourceOptions, OpenPkgPageData, LoadOptions as OpenPkgOptions, OpenPkgMetaData, DocsInstance2 as OpenPkgInstance, OpenPkg2 as OpenPkg, NestedPropertyItemProps, NavOptions, MarkdownOptions, LoadOptions2 as LoadOptions, KindBadgeProps, KindBadge, JSONOptions, InterfaceSectionProps, InterfaceSection, InterfacePageProps, InterfacePage, ImportSectionProps, ImportSection, HTMLOptions, FunctionSectionProps, FunctionSection, FunctionPageProps, FunctionPage, FullAPIReferencePageProps, FullAPIReferencePage, ExportSectionProps, ExportSection, ExportMarkdownOptions, ExportIndexPageProps, ExportIndexPage, ExportCardProps, ExportCard, EnumSectionProps, EnumSection, EnumPageProps, EnumPage, DocsMetadata, DocsInstance3 as DocsInstance, DocDrift, CoverageBadgeProps, CoverageBadge, CodeTabsProps, CodeTabs, CodeTab, ClassSectionProps, ClassSection, ClassPageProps, ClassPage, AlgoliaRecord, APIPageProps, APIPage };
|
package/dist/index.js
CHANGED
|
@@ -164,15 +164,22 @@ import {
|
|
|
164
164
|
import {
|
|
165
165
|
APIPage,
|
|
166
166
|
ClassPage,
|
|
167
|
+
ClassSection,
|
|
167
168
|
CodeTabs,
|
|
168
169
|
EnumPage,
|
|
170
|
+
EnumSection,
|
|
169
171
|
ExportCard,
|
|
170
172
|
ExportIndexPage,
|
|
173
|
+
ExportSection,
|
|
174
|
+
FullAPIReferencePage,
|
|
171
175
|
FunctionPage,
|
|
176
|
+
FunctionSection,
|
|
172
177
|
ImportSection,
|
|
173
178
|
InterfacePage,
|
|
179
|
+
InterfaceSection,
|
|
174
180
|
ParameterItem,
|
|
175
|
-
VariablePage
|
|
181
|
+
VariablePage,
|
|
182
|
+
VariableSection
|
|
176
183
|
} from "@openpkg-ts/doc-generator/react/styled";
|
|
177
184
|
export {
|
|
178
185
|
toSearchIndexJSON,
|
|
@@ -204,17 +211,24 @@ export {
|
|
|
204
211
|
createDocs3 as createOpenPkg,
|
|
205
212
|
createDocs2 as createDocs,
|
|
206
213
|
buildSignatureString,
|
|
214
|
+
VariableSection,
|
|
207
215
|
VariablePage,
|
|
208
216
|
ParameterItem,
|
|
209
217
|
KindBadge,
|
|
218
|
+
InterfaceSection,
|
|
210
219
|
InterfacePage,
|
|
211
220
|
ImportSection,
|
|
221
|
+
FunctionSection,
|
|
212
222
|
FunctionPage,
|
|
223
|
+
FullAPIReferencePage,
|
|
224
|
+
ExportSection,
|
|
213
225
|
ExportIndexPage,
|
|
214
226
|
ExportCard,
|
|
227
|
+
EnumSection,
|
|
215
228
|
EnumPage,
|
|
216
229
|
CoverageBadge,
|
|
217
230
|
CodeTabs,
|
|
231
|
+
ClassSection,
|
|
218
232
|
ClassPage,
|
|
219
233
|
APIPage
|
|
220
234
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpkg-ts/fumadocs-adapter",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Fumadocs integration for OpenPkg API documentation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"typecheck": "tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@openpkg-ts/doc-generator": "^0.
|
|
31
|
+
"@openpkg-ts/doc-generator": "^0.5.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"fumadocs-core": "^16.0.0",
|