kaabalah 1.0.2 → 1.0.3
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/dist/core/index.js +7 -6
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +7 -6
- package/dist/core/index.mjs.map +1 -1
- package/dist/gematria/index.js +7 -6
- package/dist/gematria/index.js.map +1 -1
- package/dist/gematria/index.mjs +7 -6
- package/dist/gematria/index.mjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5771,19 +5771,20 @@ var TreeOfLife = class {
|
|
|
5771
5771
|
return elementId;
|
|
5772
5772
|
}
|
|
5773
5773
|
addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
|
|
5774
|
-
|
|
5775
|
-
|
|
5774
|
+
const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
|
|
5775
|
+
if (this.nodes.has(tarotArkAnnuId)) {
|
|
5776
|
+
return tarotArkAnnuId;
|
|
5776
5777
|
}
|
|
5777
|
-
this.correspond(sphereOrPath,
|
|
5778
|
+
this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
|
|
5778
5779
|
const numberId = `num:${relatedNumber}`;
|
|
5779
5780
|
if (!this.nodes.has(numberId)) {
|
|
5780
5781
|
this.addNode({ id: numberId, type: "number" });
|
|
5781
5782
|
}
|
|
5782
|
-
this.link(
|
|
5783
|
+
this.link(tarotArkAnnuId, numberId);
|
|
5783
5784
|
if (suit) {
|
|
5784
|
-
this.link(
|
|
5785
|
+
this.link(tarotArkAnnuId, `suit:${suit}`);
|
|
5785
5786
|
}
|
|
5786
|
-
return
|
|
5787
|
+
return tarotArkAnnuId;
|
|
5787
5788
|
}
|
|
5788
5789
|
addTarotSuit(suit, relatedElement) {
|
|
5789
5790
|
const suitId = `suit:${suit}`;
|