@ox-content/napi 2.44.0 → 2.46.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/index.d.ts +23 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -260,6 +260,11 @@ export interface JsDocEntry {
|
|
|
260
260
|
line: number
|
|
261
261
|
endLine: number
|
|
262
262
|
signature?: string
|
|
263
|
+
/**
|
|
264
|
+
* Whether a function declaration carries an implementation body. `false` for
|
|
265
|
+
* overload signatures and ambient declarations.
|
|
266
|
+
*/
|
|
267
|
+
hasBody: boolean
|
|
263
268
|
members?: Array<JsDocMember>
|
|
264
269
|
typeParameters?: Array<JsTypeParam>
|
|
265
270
|
}
|
|
@@ -321,6 +326,12 @@ export interface JsDocsMarkdownEntry {
|
|
|
321
326
|
line: number
|
|
322
327
|
endLine: number
|
|
323
328
|
signature?: string
|
|
329
|
+
/**
|
|
330
|
+
* Whether a function declaration carries an implementation body. Optional so
|
|
331
|
+
* callers that build entries by hand need not set it; defaults to `false`.
|
|
332
|
+
* Round-trips from `extractDocsFromEntryPoints` output unchanged.
|
|
333
|
+
*/
|
|
334
|
+
hasBody?: boolean
|
|
324
335
|
members?: Array<JsDocMember>
|
|
325
336
|
typeParameters?: Array<JsTypeParam>
|
|
326
337
|
}
|
|
@@ -359,6 +370,13 @@ export interface JsDocsMarkdownOptions {
|
|
|
359
370
|
enumMembersFormat?: 'none' | 'list' | 'table'
|
|
360
371
|
propertyMembersFormat?: 'none' | 'list' | 'table'
|
|
361
372
|
typeDeclarationFormat?: 'none' | 'list' | 'table'
|
|
373
|
+
/** Emit the stats summary line on index pages (default: true). */
|
|
374
|
+
renderStats?: boolean
|
|
375
|
+
/**
|
|
376
|
+
* TypeDoc-style group order for module index sections and nav groups. Unlisted
|
|
377
|
+
* groups are sorted alphabetically at `*` (or at the end when `*` is absent).
|
|
378
|
+
*/
|
|
379
|
+
groupOrder?: Array<string>
|
|
362
380
|
}
|
|
363
381
|
|
|
364
382
|
/** Ordered JSDoc tag used by generated API Markdown. */
|
|
@@ -378,6 +396,11 @@ export interface JsDocsNavItem {
|
|
|
378
396
|
export interface JsDocsNavOptions {
|
|
379
397
|
basePath?: string
|
|
380
398
|
pathStrategy?: 'flat' | 'typedoc'
|
|
399
|
+
/**
|
|
400
|
+
* TypeDoc-style group order for nav groups (matches `generateDocsMarkdown`'s
|
|
401
|
+
* `groupOrder` so the sidebar and page order stay in sync).
|
|
402
|
+
*/
|
|
403
|
+
groupOrder?: Array<string>
|
|
381
404
|
}
|
|
382
405
|
|
|
383
406
|
/** Options for writing generated API documentation files. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ox-content/napi",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.46.0",
|
|
4
4
|
"description": "Node.js bindings for Ox Content - High-performance Markdown parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"optionalDependencies": {
|
|
48
|
-
"@ox-content/binding-darwin-x64": "2.
|
|
49
|
-
"@ox-content/binding-darwin-arm64": "2.
|
|
50
|
-
"@ox-content/binding-linux-x64-gnu": "2.
|
|
51
|
-
"@ox-content/binding-linux-arm64-gnu": "2.
|
|
52
|
-
"@ox-content/binding-win32-x64-msvc": "2.
|
|
48
|
+
"@ox-content/binding-darwin-x64": "2.46.0",
|
|
49
|
+
"@ox-content/binding-darwin-arm64": "2.46.0",
|
|
50
|
+
"@ox-content/binding-linux-x64-gnu": "2.46.0",
|
|
51
|
+
"@ox-content/binding-linux-arm64-gnu": "2.46.0",
|
|
52
|
+
"@ox-content/binding-win32-x64-msvc": "2.46.0"
|
|
53
53
|
}
|
|
54
54
|
}
|