dsh-sa-workbench 0.1.28 → 0.1.30
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/README.md +5 -1
- package/client.js +250 -169
- package/modules/dsh-pm-ui/assets/reading-THIRD-PARTY-NOTICES.txt +6952 -0
- package/modules/dsh-pm-ui/assets/reading-manifest.json +29 -0
- package/modules/dsh-pm-ui/assets/reading-mermaid.js +4319 -0
- package/modules/dsh-pm-ui/client.js +250 -169
- package/modules/dsh-pm-ui/index.js +5 -0
- package/modules/dsh-pm-ui/package.json +1 -1
- package/package.json +1 -1
|
@@ -283,6 +283,11 @@ export function apply(ctx) {
|
|
|
283
283
|
const bytes=await readFile(join(LIB_DIR,'assets','version-plan-template.xlsx'))
|
|
284
284
|
return json(res,200,{ok:true,name:'版本计划模板.xlsx',content:bytes.toString('base64')})
|
|
285
285
|
}
|
|
286
|
+
if (route === '/reading-mermaid' && req.method === 'GET') {
|
|
287
|
+
const bytes=await readFile(join(LIB_DIR,'assets','reading-mermaid.js'))
|
|
288
|
+
res.writeHead(200,{'content-type':'text/javascript; charset=utf-8','x-content-type-options':'nosniff','cache-control':'no-store'})
|
|
289
|
+
return res.end(bytes)
|
|
290
|
+
}
|
|
286
291
|
if (route === '/overview-font' && req.method === 'GET') {
|
|
287
292
|
const bytes=await readFile(join(LIB_DIR,'assets','outfit-latin-wght-normal.woff2'))
|
|
288
293
|
return json(res,200,{ok:true,content:bytes.toString('base64')})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"0.1.
|
|
1
|
+
{"type":"module","version":"0.1.30"}
|