@ox-content/napi 2.43.0 → 2.45.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.
Files changed (2) hide show
  1. package/index.d.ts +13 -0
  2. 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,8 @@ 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
362
375
  }
363
376
 
364
377
  /** Ordered JSDoc tag used by generated API Markdown. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ox-content/napi",
3
- "version": "2.43.0",
3
+ "version": "2.45.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.43.0",
49
- "@ox-content/binding-darwin-arm64": "2.43.0",
50
- "@ox-content/binding-linux-x64-gnu": "2.43.0",
51
- "@ox-content/binding-linux-arm64-gnu": "2.43.0",
52
- "@ox-content/binding-win32-x64-msvc": "2.43.0"
48
+ "@ox-content/binding-darwin-x64": "2.45.0",
49
+ "@ox-content/binding-darwin-arm64": "2.45.0",
50
+ "@ox-content/binding-linux-x64-gnu": "2.45.0",
51
+ "@ox-content/binding-linux-arm64-gnu": "2.45.0",
52
+ "@ox-content/binding-win32-x64-msvc": "2.45.0"
53
53
  }
54
54
  }