flyfish-viewer-assets.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. {
  2. "schemaVersion": 1,
  3. "generatedAt": "2026-06-23T07:52:31.532Z",
  4. "rendererAssetManifests": [
  5. {
  6. "rendererId": "drawing",
  7. "assets": [
  8. {
  9. "id": "drawio-viewer-script",
  10. "rendererId": "drawing",
  11. "kind": "script",
  12. "target": "public",
  13. "required": true,
  14. "defaultPath": "vendor/drawio/viewer-static.min.js",
  15. "optionPath": "drawing.viewerScriptUrl",
  16. "description": "Official diagrams.net viewer-static.min.js self-hosted for offline Draw.io rendering."
  17. },
  18. {
  19. "id": "drawio-offline-assets",
  20. "rendererId": "drawing",
  21. "kind": "directory",
  22. "target": "public",
  23. "required": true,
  24. "defaultPath": "vendor/drawio/",
  25. "description": "Official diagrams.net styles, shapes, stencils, images, mxGraph and math assets for offline rendering."
  26. }
  27. ]
  28. },
  29. {
  30. "rendererId": "pdf",
  31. "assets": [
  32. {
  33. "id": "pdf-worker",
  34. "rendererId": "pdf",
  35. "kind": "worker",
  36. "target": "public",
  37. "required": true,
  38. "defaultPath": "vendor/pdf/pdf.worker.mjs",
  39. "optionPath": "pdf.workerUrl",
  40. "description": "PDF.js module worker copied into viewer assets for offline PDF rendering."
  41. },
  42. {
  43. "id": "pdf-cmaps",
  44. "rendererId": "pdf",
  45. "kind": "directory",
  46. "target": "public",
  47. "required": true,
  48. "defaultPath": "vendor/pdf/cmaps/",
  49. "optionPath": "pdf.cMapUrl",
  50. "description": "PDF.js packed CMaps used for CJK and embedded text decoding."
  51. },
  52. {
  53. "id": "pdf-wasm",
  54. "rendererId": "pdf",
  55. "kind": "wasm-directory",
  56. "target": "public",
  57. "required": true,
  58. "defaultPath": "vendor/pdf/wasm/",
  59. "optionPath": "pdf.wasmUrl",
  60. "description": "PDF.js WebAssembly helper directory for fully self-hosted PDF rendering."
  61. },
  62. {
  63. "id": "pdf-standard-fonts",
  64. "rendererId": "pdf",
  65. "kind": "directory",
  66. "target": "public",
  67. "required": true,
  68. "defaultPath": "vendor/pdf/standard_fonts/",
  69. "optionPath": "pdf.standardFontDataUrl",
  70. "description": "PDF.js standard font data used when PDF files reference base fonts."
  71. }
  72. ]
  73. },
  74. {
  75. "rendererId": "archive",
  76. "assets": [
  77. {
  78. "id": "libarchive-worker",
  79. "rendererId": "archive",
  80. "kind": "worker",
  81. "target": "public",
  82. "required": false,
  83. "defaultPath": "vendor/libarchive/worker-bundle.js",
  84. "optionPath": "archive.workerUrl",
  85. "description": "libarchive.js module worker used for broad archive format parsing."
  86. },
  87. {
  88. "id": "libarchive-wasm",
  89. "rendererId": "archive",
  90. "kind": "wasm",
  91. "target": "public",
  92. "required": false,
  93. "defaultPath": "vendor/libarchive/libarchive.wasm",
  94. "optionPath": "archive.wasmUrl",
  95. "description": "libarchive.js WebAssembly module expected next to the public worker."
  96. }
  97. ]
  98. },
  99. {
  100. "rendererId": "cad",
  101. "assets": [
  102. {
  103. "id": "cad-wasm-directory",
  104. "rendererId": "cad",
  105. "kind": "wasm-directory",
  106. "target": "public",
  107. "required": true,
  108. "defaultPath": "wasm/cad/",
  109. "optionPath": "cad.wasmPath",
  110. "description": "@flyfish-dev/cad-viewer WebAssembly directory for DWG/DXF helpers."
  111. },
  112. {
  113. "id": "cad-dwg-worker",
  114. "rendererId": "cad",
  115. "kind": "worker",
  116. "target": "public",
  117. "required": true,
  118. "defaultPath": "wasm/cad/dwg-worker.js",
  119. "optionPath": "cad.workerUrl",
  120. "description": "DWG worker entry used by @flyfish-dev/cad-viewer."
  121. },
  122. {
  123. "id": "cad-dwf-wasm",
  124. "rendererId": "cad",
  125. "kind": "wasm",
  126. "target": "public",
  127. "required": true,
  128. "defaultPath": "wasm/cad/dwfv-render.wasm",
  129. "optionPath": "cad.dwfWasmUrl",
  130. "description": "DWF/DWFx/XPS raster WebAssembly module used by @flyfish-dev/cad-viewer."
  131. }
  132. ]
  133. },
  134. {
  135. "rendererId": "office-word-openxml",
  136. "assets": [
  137. {
  138. "id": "docx-worker",
  139. "rendererId": "office-word-openxml",
  140. "kind": "worker",
  141. "target": "public",
  142. "required": false,
  143. "defaultPath": "vendor/docx/docx.worker.js",
  144. "optionPath": "docx.workerUrl",
  145. "description": "Optional @file-viewer/docx worker for off-main-thread DOCX ZIP/XML parsing."
  146. },
  147. {
  148. "id": "docx-worker-jszip",
  149. "rendererId": "office-word-openxml",
  150. "kind": "script",
  151. "target": "public",
  152. "required": false,
  153. "defaultPath": "vendor/docx/jszip.min.js",
  154. "optionPath": "docx.workerJsZipUrl",
  155. "description": "JSZip runtime loaded by the @file-viewer/docx worker for fully offline DOCX parsing."
  156. }
  157. ]
  158. },
  159. {
  160. "rendererId": "spreadsheet-openxml",
  161. "assets": [
  162. {
  163. "id": "spreadsheet-worker",
  164. "rendererId": "spreadsheet-openxml",
  165. "kind": "worker",
  166. "target": "public",
  167. "required": false,
  168. "defaultPath": "vendor/xlsx/sheet.worker.js",
  169. "optionPath": "spreadsheet.workerUrl",
  170. "description": "Optional Spreadsheet worker for off-main-thread styled-exceljs workbook parsing."
  171. }
  172. ]
  173. },
  174. {
  175. "rendererId": "typst",
  176. "assets": [
  177. {
  178. "id": "typst-compiler-wasm",
  179. "rendererId": "typst",
  180. "kind": "wasm",
  181. "target": "public",
  182. "required": true,
  183. "defaultPath": "wasm/typst/typst_ts_web_compiler_bg.wasm",
  184. "packagePath": "@myriaddreamin/typst-ts-web-compiler/pkg/typst_ts_web_compiler_bg.wasm",
  185. "optionPath": "typst.compilerWasmUrl",
  186. "description": "Typst compiler WebAssembly module copied to the public assets directory."
  187. },
  188. {
  189. "id": "typst-renderer-wasm",
  190. "rendererId": "typst",
  191. "kind": "wasm",
  192. "target": "public",
  193. "required": true,
  194. "defaultPath": "wasm/typst/typst_ts_renderer_bg.wasm",
  195. "packagePath": "@myriaddreamin/typst-ts-renderer/pkg/typst_ts_renderer_bg.wasm",
  196. "optionPath": "typst.rendererWasmUrl",
  197. "description": "Typst SVG renderer WebAssembly module copied to the public assets directory."
  198. },
  199. {
  200. "id": "typst-font-assets",
  201. "rendererId": "typst",
  202. "kind": "directory",
  203. "target": "public",
  204. "required": true,
  205. "defaultPath": "wasm/typst/fonts/",
  206. "optionPath": "typst.fontAssetsUrl",
  207. "description": "Self-hosted default Typst text fonts used by typst.ts without public CDN requests."
  208. }
  209. ]
  210. },
  211. {
  212. "rendererId": "data-asset",
  213. "assets": [
  214. {
  215. "id": "data-sql-wasm",
  216. "rendererId": "data-asset",
  217. "kind": "wasm",
  218. "target": "public",
  219. "required": false,
  220. "defaultPath": "wasm/data/sql-wasm.wasm",
  221. "packagePath": "sql.js/dist/sql-wasm.wasm",
  222. "optionPath": "data.sqlWasmUrl",
  223. "description": "sql.js WebAssembly module copied to the public assets directory for SQLite previews."
  224. }
  225. ]
  226. }
  227. ],
  228. "validation": {
  229. "valid": true,
  230. "checkedAt": "2026-06-23T07:52:31.531Z",
  231. "assets": [
  232. {
  233. "id": "drawio-viewer-script",
  234. "rendererId": "drawing",
  235. "kind": "script",
  236. "target": "public",
  237. "required": true,
  238. "relativePath": "vendor/drawio/viewer-static.min.js",
  239. "exists": true,
  240. "description": "Official diagrams.net viewer-static.min.js self-hosted for offline Draw.io rendering."
  241. },
  242. {
  243. "id": "drawio-offline-assets",
  244. "rendererId": "drawing",
  245. "kind": "directory",
  246. "target": "public",
  247. "required": true,
  248. "relativePath": "vendor/drawio/",
  249. "exists": true,
  250. "description": "Official diagrams.net styles, shapes, stencils, images, mxGraph and math assets for offline rendering."
  251. },
  252. {
  253. "id": "pdf-worker",
  254. "rendererId": "pdf",
  255. "kind": "worker",
  256. "target": "public",
  257. "required": true,
  258. "relativePath": "vendor/pdf/pdf.worker.mjs",
  259. "exists": true,
  260. "description": "PDF.js module worker copied into viewer assets for offline PDF rendering."
  261. },
  262. {
  263. "id": "pdf-cmaps",
  264. "rendererId": "pdf",
  265. "kind": "directory",
  266. "target": "public",
  267. "required": true,
  268. "relativePath": "vendor/pdf/cmaps/",
  269. "exists": true,
  270. "description": "PDF.js packed CMaps used for CJK and embedded text decoding."
  271. },
  272. {
  273. "id": "pdf-wasm",
  274. "rendererId": "pdf",
  275. "kind": "wasm-directory",
  276. "target": "public",
  277. "required": true,
  278. "relativePath": "vendor/pdf/wasm/",
  279. "exists": true,
  280. "description": "PDF.js WebAssembly helper directory for fully self-hosted PDF rendering."
  281. },
  282. {
  283. "id": "pdf-standard-fonts",
  284. "rendererId": "pdf",
  285. "kind": "directory",
  286. "target": "public",
  287. "required": true,
  288. "relativePath": "vendor/pdf/standard_fonts/",
  289. "exists": true,
  290. "description": "PDF.js standard font data used when PDF files reference base fonts."
  291. },
  292. {
  293. "id": "libarchive-worker",
  294. "rendererId": "archive",
  295. "kind": "worker",
  296. "target": "public",
  297. "required": false,
  298. "relativePath": "vendor/libarchive/worker-bundle.js",
  299. "exists": true,
  300. "description": "libarchive.js module worker used for broad archive format parsing."
  301. },
  302. {
  303. "id": "libarchive-wasm",
  304. "rendererId": "archive",
  305. "kind": "wasm",
  306. "target": "public",
  307. "required": false,
  308. "relativePath": "vendor/libarchive/libarchive.wasm",
  309. "exists": true,
  310. "description": "libarchive.js WebAssembly module expected next to the public worker."
  311. },
  312. {
  313. "id": "cad-wasm-directory",
  314. "rendererId": "cad",
  315. "kind": "wasm-directory",
  316. "target": "public",
  317. "required": true,
  318. "relativePath": "wasm/cad/",
  319. "exists": true,
  320. "description": "@flyfish-dev/cad-viewer WebAssembly directory for DWG/DXF helpers."
  321. },
  322. {
  323. "id": "cad-dwg-worker",
  324. "rendererId": "cad",
  325. "kind": "worker",
  326. "target": "public",
  327. "required": true,
  328. "relativePath": "wasm/cad/dwg-worker.js",
  329. "exists": true,
  330. "description": "DWG worker entry used by @flyfish-dev/cad-viewer."
  331. },
  332. {
  333. "id": "cad-dwf-wasm",
  334. "rendererId": "cad",
  335. "kind": "wasm",
  336. "target": "public",
  337. "required": true,
  338. "relativePath": "wasm/cad/dwfv-render.wasm",
  339. "exists": true,
  340. "description": "DWF/DWFx/XPS raster WebAssembly module used by @flyfish-dev/cad-viewer."
  341. },
  342. {
  343. "id": "docx-worker",
  344. "rendererId": "office-word-openxml",
  345. "kind": "worker",
  346. "target": "public",
  347. "required": false,
  348. "relativePath": "vendor/docx/docx.worker.js",
  349. "exists": true,
  350. "description": "Optional @file-viewer/docx worker for off-main-thread DOCX ZIP/XML parsing."
  351. },
  352. {
  353. "id": "docx-worker-jszip",
  354. "rendererId": "office-word-openxml",
  355. "kind": "script",
  356. "target": "public",
  357. "required": false,
  358. "relativePath": "vendor/docx/jszip.min.js",
  359. "exists": true,
  360. "description": "JSZip runtime loaded by the @file-viewer/docx worker for fully offline DOCX parsing."
  361. },
  362. {
  363. "id": "spreadsheet-worker",
  364. "rendererId": "spreadsheet-openxml",
  365. "kind": "worker",
  366. "target": "public",
  367. "required": false,
  368. "relativePath": "vendor/xlsx/sheet.worker.js",
  369. "exists": true,
  370. "description": "Optional Spreadsheet worker for off-main-thread styled-exceljs workbook parsing."
  371. },
  372. {
  373. "id": "typst-compiler-wasm",
  374. "rendererId": "typst",
  375. "kind": "wasm",
  376. "target": "public",
  377. "required": true,
  378. "relativePath": "wasm/typst/typst_ts_web_compiler_bg.wasm",
  379. "exists": true,
  380. "description": "Typst compiler WebAssembly module copied to the public assets directory."
  381. },
  382. {
  383. "id": "typst-renderer-wasm",
  384. "rendererId": "typst",
  385. "kind": "wasm",
  386. "target": "public",
  387. "required": true,
  388. "relativePath": "wasm/typst/typst_ts_renderer_bg.wasm",
  389. "exists": true,
  390. "description": "Typst SVG renderer WebAssembly module copied to the public assets directory."
  391. },
  392. {
  393. "id": "typst-font-assets",
  394. "rendererId": "typst",
  395. "kind": "directory",
  396. "target": "public",
  397. "required": true,
  398. "relativePath": "wasm/typst/fonts/",
  399. "exists": true,
  400. "description": "Self-hosted default Typst text fonts used by typst.ts without public CDN requests."
  401. },
  402. {
  403. "id": "data-sql-wasm",
  404. "rendererId": "data-asset",
  405. "kind": "wasm",
  406. "target": "public",
  407. "required": false,
  408. "relativePath": "wasm/data/sql-wasm.wasm",
  409. "exists": true,
  410. "description": "sql.js WebAssembly module copied to the public assets directory for SQLite previews."
  411. }
  412. ],
  413. "missingRequired": [],
  414. "missingOptional": []
  415. }
  416. }