@tsdoctor/model 0.6.1 → 0.6.3
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/index.d.ts +7 -7
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { DocNode } from "@microsoft/tsdoc";
|
|
|
16
16
|
*
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
declare class ApiExtractedPackage extends VirtualPackage {
|
|
19
|
+
export declare class ApiExtractedPackage extends VirtualPackage {
|
|
20
20
|
readonly apiPackage: ApiPackage;
|
|
21
21
|
private constructor();
|
|
22
22
|
/**
|
|
@@ -346,7 +346,7 @@ interface RenderPackageOptions {
|
|
|
346
346
|
*
|
|
347
347
|
* @public
|
|
348
348
|
*/
|
|
349
|
-
declare class CrossLinker {
|
|
349
|
+
export declare class CrossLinker {
|
|
350
350
|
private readonly routesByName;
|
|
351
351
|
/** Names sorted longest-first so "HookEvent" matches before "Hook". */
|
|
352
352
|
private readonly orderedNames;
|
|
@@ -436,7 +436,7 @@ interface ParsedFrontmatter {
|
|
|
436
436
|
*
|
|
437
437
|
* @public
|
|
438
438
|
*/
|
|
439
|
-
declare function parseFrontmatter(source: string): ParsedFrontmatter;
|
|
439
|
+
export declare function parseFrontmatter(source: string): ParsedFrontmatter;
|
|
440
440
|
/**
|
|
441
441
|
* Serialize frontmatter data and body content back into a markdown document,
|
|
442
442
|
* preserving gray-matter's `matter.stringify` contract.
|
|
@@ -457,7 +457,7 @@ declare function parseFrontmatter(source: string): ParsedFrontmatter;
|
|
|
457
457
|
*
|
|
458
458
|
* @public
|
|
459
459
|
*/
|
|
460
|
-
declare function stringifyFrontmatter(content: string, data: Record<string, unknown>): string;
|
|
460
|
+
export declare function stringifyFrontmatter(content: string, data: Record<string, unknown>): string;
|
|
461
461
|
/**
|
|
462
462
|
* Serialize a data object to a YAML frontmatter block (fences included, plus
|
|
463
463
|
* the trailing blank line the page generators emit before the body).
|
|
@@ -474,7 +474,7 @@ declare function stringifyFrontmatter(content: string, data: Record<string, unkn
|
|
|
474
474
|
*
|
|
475
475
|
* @public
|
|
476
476
|
*/
|
|
477
|
-
declare function emitFrontmatterBlock(data: Record<string, unknown>): string;
|
|
477
|
+
export declare function emitFrontmatterBlock(data: Record<string, unknown>): string;
|
|
478
478
|
declare namespace Model_d_exports {
|
|
479
479
|
export { EmptyModelError, ModelNotFoundError, ModelParseError, firstPackage, load };
|
|
480
480
|
}
|
|
@@ -1035,7 +1035,7 @@ interface ImportStatement {
|
|
|
1035
1035
|
*
|
|
1036
1036
|
* @public
|
|
1037
1037
|
*/
|
|
1038
|
-
declare class TypeReferenceExtractor {
|
|
1038
|
+
export declare class TypeReferenceExtractor {
|
|
1039
1039
|
private readonly apiPackage;
|
|
1040
1040
|
private readonly currentPackageName;
|
|
1041
1041
|
/**
|
|
@@ -1107,5 +1107,5 @@ declare class TypeReferenceExtractor {
|
|
|
1107
1107
|
private parseCanonicalReference;
|
|
1108
1108
|
}
|
|
1109
1109
|
//#endregion
|
|
1110
|
-
export {
|
|
1110
|
+
export { type ApiItemRef, ApiItems_d_exports as ApiItems, type DocMeta, EntryPoints_d_exports as EntryPoints, type FrontmatterRenderer, type ImportStatement, type ItemKindSlug, Model_d_exports as Model, type ParsedFrontmatter, Render_d_exports as Render, type RenderPackageOptions, type RenderedDoc, type RouteFormatter, Routes_d_exports as Routes, Signature_d_exports as Signature, SyntheticBases_d_exports as SyntheticBases, Tsdoc_d_exports as Tsdoc, type TypeReference };
|
|
1111
1111
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsdoctor/model",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Render Microsoft API Extractor models into LLM-lean markdown. Pure model loading, TSDoc extraction, type-signature formatting, and per-item markdown rendering.",
|
|
6
6
|
"keywords": [
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@microsoft/api-extractor-model": "^7.33.11",
|
|
42
42
|
"@microsoft/tsdoc": "^0.16.0",
|
|
43
|
-
"@tsdoctor/vfs": "0.2.
|
|
43
|
+
"@tsdoctor/vfs": "0.2.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@effected/markdown": "^0.
|
|
47
|
-
"@effected/yaml": "^0.
|
|
48
|
-
"effect": "4.0.0-rc.
|
|
46
|
+
"@effected/markdown": "^0.9.0",
|
|
47
|
+
"@effected/yaml": "^0.13.0",
|
|
48
|
+
"effect": "4.0.0-rc.112"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=24.11.0"
|