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/core/index.js
CHANGED
|
@@ -2324,19 +2324,20 @@ var TreeOfLife = class {
|
|
|
2324
2324
|
return elementId;
|
|
2325
2325
|
}
|
|
2326
2326
|
addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
|
|
2327
|
-
|
|
2328
|
-
|
|
2327
|
+
const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
|
|
2328
|
+
if (this.nodes.has(tarotArkAnnuId)) {
|
|
2329
|
+
return tarotArkAnnuId;
|
|
2329
2330
|
}
|
|
2330
|
-
this.correspond(sphereOrPath,
|
|
2331
|
+
this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
|
|
2331
2332
|
const numberId = `num:${relatedNumber}`;
|
|
2332
2333
|
if (!this.nodes.has(numberId)) {
|
|
2333
2334
|
this.addNode({ id: numberId, type: "number" });
|
|
2334
2335
|
}
|
|
2335
|
-
this.link(
|
|
2336
|
+
this.link(tarotArkAnnuId, numberId);
|
|
2336
2337
|
if (suit) {
|
|
2337
|
-
this.link(
|
|
2338
|
+
this.link(tarotArkAnnuId, `suit:${suit}`);
|
|
2338
2339
|
}
|
|
2339
|
-
return
|
|
2340
|
+
return tarotArkAnnuId;
|
|
2340
2341
|
}
|
|
2341
2342
|
addTarotSuit(suit, relatedElement) {
|
|
2342
2343
|
const suitId = `suit:${suit}`;
|