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.mjs
CHANGED
|
@@ -5735,19 +5735,20 @@ var TreeOfLife = class {
|
|
|
5735
5735
|
return elementId;
|
|
5736
5736
|
}
|
|
5737
5737
|
addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
|
|
5738
|
-
|
|
5739
|
-
|
|
5738
|
+
const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
|
|
5739
|
+
if (this.nodes.has(tarotArkAnnuId)) {
|
|
5740
|
+
return tarotArkAnnuId;
|
|
5740
5741
|
}
|
|
5741
|
-
this.correspond(sphereOrPath,
|
|
5742
|
+
this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
|
|
5742
5743
|
const numberId = `num:${relatedNumber}`;
|
|
5743
5744
|
if (!this.nodes.has(numberId)) {
|
|
5744
5745
|
this.addNode({ id: numberId, type: "number" });
|
|
5745
5746
|
}
|
|
5746
|
-
this.link(
|
|
5747
|
+
this.link(tarotArkAnnuId, numberId);
|
|
5747
5748
|
if (suit) {
|
|
5748
|
-
this.link(
|
|
5749
|
+
this.link(tarotArkAnnuId, `suit:${suit}`);
|
|
5749
5750
|
}
|
|
5750
|
-
return
|
|
5751
|
+
return tarotArkAnnuId;
|
|
5751
5752
|
}
|
|
5752
5753
|
addTarotSuit(suit, relatedElement) {
|
|
5753
5754
|
const suitId = `suit:${suit}`;
|