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/gematria/index.js
CHANGED
|
@@ -2306,19 +2306,20 @@ var TreeOfLife = class {
|
|
|
2306
2306
|
return elementId;
|
|
2307
2307
|
}
|
|
2308
2308
|
addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
|
|
2309
|
-
|
|
2310
|
-
|
|
2309
|
+
const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
|
|
2310
|
+
if (this.nodes.has(tarotArkAnnuId)) {
|
|
2311
|
+
return tarotArkAnnuId;
|
|
2311
2312
|
}
|
|
2312
|
-
this.correspond(sphereOrPath,
|
|
2313
|
+
this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
|
|
2313
2314
|
const numberId = `num:${relatedNumber}`;
|
|
2314
2315
|
if (!this.nodes.has(numberId)) {
|
|
2315
2316
|
this.addNode({ id: numberId, type: "number" });
|
|
2316
2317
|
}
|
|
2317
|
-
this.link(
|
|
2318
|
+
this.link(tarotArkAnnuId, numberId);
|
|
2318
2319
|
if (suit) {
|
|
2319
|
-
this.link(
|
|
2320
|
+
this.link(tarotArkAnnuId, `suit:${suit}`);
|
|
2320
2321
|
}
|
|
2321
|
-
return
|
|
2322
|
+
return tarotArkAnnuId;
|
|
2322
2323
|
}
|
|
2323
2324
|
addTarotSuit(suit, relatedElement) {
|
|
2324
2325
|
const suitId = `suit:${suit}`;
|