@mak-98/xml-dirvi-app 0.11.0-beta.4 → 0.11.0-beta.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml-dirvi-app.d.ts","sourceRoot":"","sources":["../src/xml-dirvi-app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAQnD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"xml-dirvi-app.d.ts","sourceRoot":"","sources":["../src/xml-dirvi-app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAQnD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,SA0C1B,CAAC"}
|
package/dist/xml-dirvi-app.js
CHANGED
|
@@ -31,6 +31,12 @@ export const xmlAppPlugin = {
|
|
|
31
31
|
// TODO Later: load from the file
|
|
32
32
|
throw new Error('Cannot load XML branches: parsed XML documents have no unloaded branches.');
|
|
33
33
|
},
|
|
34
|
+
presentNode: (id, isBranch) => {
|
|
35
|
+
return {
|
|
36
|
+
content: String(id) + 'check',
|
|
37
|
+
highlight: isBranch ? 'enclosing' : 'atom'
|
|
38
|
+
};
|
|
39
|
+
},
|
|
34
40
|
subscribeToResync: createXmlFileResyncSubscription(xmlAbsolutePath),
|
|
35
41
|
createNavNodeApiOptions: {},
|
|
36
42
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mak-98/xml-dirvi-app",
|
|
3
|
-
"version": "0.11.0-beta.
|
|
3
|
+
"version": "0.11.0-beta.6",
|
|
4
4
|
"description": "XML file app for dirvi.",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@rgrove/parse-xml": "^5.0.0",
|
|
23
|
-
"dirvi-apis": "0.11.0-beta.
|
|
23
|
+
"dirvi-apis": "0.11.0-beta.6",
|
|
24
24
|
"env-paths": "^4.0.0",
|
|
25
25
|
"zod": "^4.4.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"dirvi-lib": "0.11.0-beta.
|
|
28
|
+
"dirvi-lib": "0.11.0-beta.6",
|
|
29
29
|
"@types/node": "^22.0.0",
|
|
30
30
|
"typescript": "^5.0.0"
|
|
31
31
|
},
|