@shardworks/clerk-apparatus 0.1.140 → 0.1.142
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/package.json +4 -4
- package/pages/writs/index.html +26 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shardworks/clerk-apparatus",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.142",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "4.3.6",
|
|
20
|
-
"@shardworks/
|
|
21
|
-
"@shardworks/
|
|
22
|
-
"@shardworks/
|
|
20
|
+
"@shardworks/tools-apparatus": "0.1.142",
|
|
21
|
+
"@shardworks/stacks-apparatus": "0.1.142",
|
|
22
|
+
"@shardworks/nexus-core": "0.1.142"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "25.5.0"
|
package/pages/writs/index.html
CHANGED
|
@@ -959,7 +959,32 @@
|
|
|
959
959
|
// ── Init ────────────────────────────────────────────────────────────
|
|
960
960
|
loadWritTypes();
|
|
961
961
|
loadCodexes();
|
|
962
|
-
|
|
962
|
+
|
|
963
|
+
// Deep-link: ?writ=ID
|
|
964
|
+
(async function () {
|
|
965
|
+
var params = new URLSearchParams(window.location.search);
|
|
966
|
+
var writId = params.get('writ');
|
|
967
|
+
|
|
968
|
+
await loadWrits(true);
|
|
969
|
+
|
|
970
|
+
if (!writId) return;
|
|
971
|
+
|
|
972
|
+
// If writ is in loaded list, scroll to it
|
|
973
|
+
if (writs.find(function (w) { return w.id === writId; })) {
|
|
974
|
+
scrollAndExpand(writId);
|
|
975
|
+
return;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
// Otherwise, fetch it and prepend to list
|
|
979
|
+
try {
|
|
980
|
+
var writ = await api('GET', '/api/writ/show?id=' + encodeURIComponent(writId));
|
|
981
|
+
writs.unshift(writ);
|
|
982
|
+
renderTable();
|
|
983
|
+
scrollAndExpand(writId);
|
|
984
|
+
} catch (e) {
|
|
985
|
+
console.error('Deep-link writ not found:', writId);
|
|
986
|
+
}
|
|
987
|
+
})();
|
|
963
988
|
})();
|
|
964
989
|
</script>
|
|
965
990
|
</body>
|