* chore(office): upgrade libreoffice kit to 0.0.1-2 * fix(office): guide bounded CLI rendering and preview reuse * chore(office): consume published LibreOffice Kit 0.0.3 * test(office): mock the complete LibreOffice converter interface * chore(office): upgrade LibreOffice Kit to 0.0.4 * fix(office): expose bundled LibreOffice Kit 0.1.0 CLI across deployments * fix(office): inspect Excel visuals only for layout tasks * fix(office): allow compatible LibreOffice Kit 0.1 updates * fix(office): stop Excel QA on blank previews and run regressions in CI * fix(office): end workbook visual QA after an empty preview
18 lines
838 B
TypeScript
18 lines
838 B
TypeScript
/** Target engine and transitive installed packages for Office process sidecars. */
|
|
|
|
/**
|
|
* Select the declared native engine, or WASM when the target has no native package.
|
|
* @param manifest - Installed kit manifest.
|
|
* @param target - Distribution platform and CPU.
|
|
* @returns Engine package suffix.
|
|
*/
|
|
export function selectOfficeEngine(manifest: { optionalDependencies?: Record<string, string> }, target: { platform: string; arch: string }): string
|
|
|
|
/**
|
|
* Return absolute package directories inside the installed project, rejecting an incomplete closure.
|
|
* @param staging - Symlink-free installed Node project.
|
|
* @param target - Distribution platform and CPU.
|
|
* @returns Installed package directories.
|
|
*/
|
|
export function officePackageDirectories(staging: string, target: { platform: string; arch: string }): Promise<string[]>
|