@ox-content/napi 2.50.0 → 2.53.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 +33 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -377,6 +377,24 @@ export interface JsDocsMarkdownOptions {
|
|
|
377
377
|
* groups are sorted alphabetically at `*` (or at the end when `*` is absent).
|
|
378
378
|
*/
|
|
379
379
|
groupOrder?: Array<string>
|
|
380
|
+
/**
|
|
381
|
+
* TypeDoc-style `sort`: ordered sort strategies applied to entries and members.
|
|
382
|
+
* Later strategies break ties left by earlier ones. Omit to keep the default
|
|
383
|
+
* (alphabetical, with enum members in declaration order). Unsupported
|
|
384
|
+
* strategies (e.g. `enum-value-*`, `documents-*`) are ignored.
|
|
385
|
+
*/
|
|
386
|
+
sort?: Array<'source-order' | 'alphabetical' | 'alphabetical-ignoring-documents' | 'enum-value-ascending' | 'enum-value-descending' | 'static-first' | 'instance-first' | 'visibility' | 'required-first' | 'kind' | 'external-last' | 'documents-first' | 'documents-last'>
|
|
387
|
+
/**
|
|
388
|
+
* TypeDoc-style `sortEntryPoints`: when `false`, preserve the caller-provided
|
|
389
|
+
* module order instead of sorting alphabetically. Defaults to `true`.
|
|
390
|
+
*/
|
|
391
|
+
sortEntryPoints?: boolean
|
|
392
|
+
/**
|
|
393
|
+
* TypeDoc-style `kindSortOrder`: declaration kind ranking used as the base order
|
|
394
|
+
* for module index sections / nav groups (before `groupOrder`) and the `kind`
|
|
395
|
+
* sort strategy.
|
|
396
|
+
*/
|
|
397
|
+
kindSortOrder?: Array<string>
|
|
380
398
|
}
|
|
381
399
|
|
|
382
400
|
/** Ordered JSDoc tag used by generated API Markdown. */
|
|
@@ -401,6 +419,21 @@ export interface JsDocsNavOptions {
|
|
|
401
419
|
* `groupOrder` so the sidebar and page order stay in sync).
|
|
402
420
|
*/
|
|
403
421
|
groupOrder?: Array<string>
|
|
422
|
+
/**
|
|
423
|
+
* TypeDoc-style `sort`: ordered sort strategies for nav leaf entries (matches
|
|
424
|
+
* `generateDocsMarkdown`'s `sort`). Unsupported strategies are ignored.
|
|
425
|
+
*/
|
|
426
|
+
sort?: Array<string>
|
|
427
|
+
/**
|
|
428
|
+
* TypeDoc-style `sortEntryPoints`: when `false`, preserve the caller-provided
|
|
429
|
+
* module order instead of sorting alphabetically. Defaults to `true`.
|
|
430
|
+
*/
|
|
431
|
+
sortEntryPoints?: boolean
|
|
432
|
+
/**
|
|
433
|
+
* TypeDoc-style `kindSortOrder`: kind ranking used for nav group order (before
|
|
434
|
+
* `groupOrder`) and the `kind` sort strategy.
|
|
435
|
+
*/
|
|
436
|
+
kindSortOrder?: Array<string>
|
|
404
437
|
}
|
|
405
438
|
|
|
406
439
|
/** 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.53.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.53.0",
|
|
49
|
+
"@ox-content/binding-darwin-arm64": "2.53.0",
|
|
50
|
+
"@ox-content/binding-linux-x64-gnu": "2.53.0",
|
|
51
|
+
"@ox-content/binding-linux-arm64-gnu": "2.53.0",
|
|
52
|
+
"@ox-content/binding-win32-x64-msvc": "2.53.0"
|
|
53
53
|
}
|
|
54
54
|
}
|