add iching tarot links

This commit is contained in:
2026-03-07 16:13:58 -08:00
parent ed9b3bb257
commit 84b340d7d1
7 changed files with 199 additions and 9 deletions

View File

@@ -190,6 +190,17 @@
label: `Open ${d.name || monthId} in Calendar`
};
}
if (t === "ichingHexagram") {
const hexagramNumber = Number(d.hexagramNumber || relation?.id);
if (!Number.isFinite(hexagramNumber)) {
return null;
}
return {
event: "nav:iching",
detail: { hexagramNumber },
label: `Open Hexagram ${hexagramNumber} in I Ching`
};
}
if (t === "cubeFace") {
const wallId = d.wallId || relation?.id;
if (!wallId) {