@drghaliasri/butex 8.1.2 → 8.1.5
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/book.d.mts +19 -1
- package/dist/book.d.ts +19 -1
- package/dist/book.js +2501 -2
- package/dist/book.js.map +1 -1
- package/dist/book.mjs +2500 -2
- package/dist/book.mjs.map +1 -1
- package/dist/document-cli.js +222 -1
- package/dist/document-cli.js.map +1 -1
- package/dist/document.d.mts +1 -0
- package/dist/document.d.ts +1 -0
- package/dist/document.js +10 -2
- package/dist/document.js.map +1 -1
- package/dist/document.mjs +10 -2
- package/dist/document.mjs.map +1 -1
- package/dist/react-book.d.mts +1 -0
- package/dist/react-book.d.ts +1 -0
- package/dist/react-book.js +10 -2
- package/dist/react-book.js.map +1 -1
- package/dist/react-book.mjs +10 -2
- package/dist/react-book.mjs.map +1 -1
- package/dist/react-document-preview.d.mts +1 -0
- package/dist/react-document-preview.d.ts +1 -0
- package/dist/react-document-preview.js +10 -2
- package/dist/react-document-preview.js.map +1 -1
- package/dist/react-document-preview.mjs +10 -2
- package/dist/react-document-preview.mjs.map +1 -1
- package/dist/react-document.d.mts +1 -0
- package/dist/react-document.d.ts +1 -0
- package/dist/react-document.js +10 -2
- package/dist/react-document.js.map +1 -1
- package/dist/react-document.mjs +10 -2
- package/dist/react-document.mjs.map +1 -1
- package/package.json +1 -1
package/dist/book.d.mts
CHANGED
|
@@ -276,6 +276,7 @@ type DocumentBookTarget = {
|
|
|
276
276
|
kind: DocumentLabelKind | 'section' | 'subsection' | 'subsubsection' | 'chapter' | 'appendix';
|
|
277
277
|
caption?: string;
|
|
278
278
|
displayLabel?: string;
|
|
279
|
+
ordinal?: string;
|
|
279
280
|
manualKey?: string;
|
|
280
281
|
};
|
|
281
282
|
type DocumentBookContext = {
|
|
@@ -359,4 +360,21 @@ declare function validateBookSnapshot(snapshot: unknown): {
|
|
|
359
360
|
issues: BookIssue[];
|
|
360
361
|
};
|
|
361
362
|
|
|
362
|
-
|
|
363
|
+
type BookLatexAsset = {
|
|
364
|
+
asset_id: string;
|
|
365
|
+
output_path: string;
|
|
366
|
+
};
|
|
367
|
+
type BookLatexBundle = {
|
|
368
|
+
main_file: 'main.tex';
|
|
369
|
+
files: Record<string, string>;
|
|
370
|
+
assets: BookLatexAsset[];
|
|
371
|
+
diagnostics: BookIssue[];
|
|
372
|
+
/** Stable source fingerprint; Al-Bayan computes SHA-256 for stored artifacts. */
|
|
373
|
+
fingerprint: string;
|
|
374
|
+
};
|
|
375
|
+
type BookLatexOptions = {
|
|
376
|
+
include_toc_if_missing?: boolean;
|
|
377
|
+
};
|
|
378
|
+
declare function book2Latex(raw: unknown, _options?: BookLatexOptions): BookLatexBundle;
|
|
379
|
+
|
|
380
|
+
export { type BookCommand, BookContractError, type BookEntry, type BookGeneratedEntry, type BookGeneratedType, type BookIssue, type BookLatexAsset, type BookLatexBundle, type BookLatexOptions, type BookManifestJson, type BookMetaJson, type BookOutlineEntry, type BookReferencesJson, type BookResolution, type BookSnapshotJson, type BookTarget, type BookUnitEntry, type BookUnitType, applyBookCommand, book2Latex, bookContextForUnit, bookOutline, getBookReferenceIndex, normalizeBookSnapshot, parseBookCommand, resolveBookSnapshot, validateBookSnapshot };
|
package/dist/book.d.ts
CHANGED
|
@@ -276,6 +276,7 @@ type DocumentBookTarget = {
|
|
|
276
276
|
kind: DocumentLabelKind | 'section' | 'subsection' | 'subsubsection' | 'chapter' | 'appendix';
|
|
277
277
|
caption?: string;
|
|
278
278
|
displayLabel?: string;
|
|
279
|
+
ordinal?: string;
|
|
279
280
|
manualKey?: string;
|
|
280
281
|
};
|
|
281
282
|
type DocumentBookContext = {
|
|
@@ -359,4 +360,21 @@ declare function validateBookSnapshot(snapshot: unknown): {
|
|
|
359
360
|
issues: BookIssue[];
|
|
360
361
|
};
|
|
361
362
|
|
|
362
|
-
|
|
363
|
+
type BookLatexAsset = {
|
|
364
|
+
asset_id: string;
|
|
365
|
+
output_path: string;
|
|
366
|
+
};
|
|
367
|
+
type BookLatexBundle = {
|
|
368
|
+
main_file: 'main.tex';
|
|
369
|
+
files: Record<string, string>;
|
|
370
|
+
assets: BookLatexAsset[];
|
|
371
|
+
diagnostics: BookIssue[];
|
|
372
|
+
/** Stable source fingerprint; Al-Bayan computes SHA-256 for stored artifacts. */
|
|
373
|
+
fingerprint: string;
|
|
374
|
+
};
|
|
375
|
+
type BookLatexOptions = {
|
|
376
|
+
include_toc_if_missing?: boolean;
|
|
377
|
+
};
|
|
378
|
+
declare function book2Latex(raw: unknown, _options?: BookLatexOptions): BookLatexBundle;
|
|
379
|
+
|
|
380
|
+
export { type BookCommand, BookContractError, type BookEntry, type BookGeneratedEntry, type BookGeneratedType, type BookIssue, type BookLatexAsset, type BookLatexBundle, type BookLatexOptions, type BookManifestJson, type BookMetaJson, type BookOutlineEntry, type BookReferencesJson, type BookResolution, type BookSnapshotJson, type BookTarget, type BookUnitEntry, type BookUnitType, applyBookCommand, book2Latex, bookContextForUnit, bookOutline, getBookReferenceIndex, normalizeBookSnapshot, parseBookCommand, resolveBookSnapshot, validateBookSnapshot };
|