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.mjs
CHANGED
|
@@ -2286,19 +2286,20 @@ var TreeOfLife = class {
|
|
|
2286
2286
|
return elementId;
|
|
2287
2287
|
}
|
|
2288
2288
|
addTarotArkAnnu(sphereOrPath, tarotArkAnnu, data, relatedNumber, suit) {
|
|
2289
|
-
|
|
2290
|
-
|
|
2289
|
+
const tarotArkAnnuId = `tarotArkAnnu:${tarotArkAnnu}`;
|
|
2290
|
+
if (this.nodes.has(tarotArkAnnuId)) {
|
|
2291
|
+
return tarotArkAnnuId;
|
|
2291
2292
|
}
|
|
2292
|
-
this.correspond(sphereOrPath,
|
|
2293
|
+
this.correspond(sphereOrPath, tarotArkAnnuId, "tarotArkAnnu", data);
|
|
2293
2294
|
const numberId = `num:${relatedNumber}`;
|
|
2294
2295
|
if (!this.nodes.has(numberId)) {
|
|
2295
2296
|
this.addNode({ id: numberId, type: "number" });
|
|
2296
2297
|
}
|
|
2297
|
-
this.link(
|
|
2298
|
+
this.link(tarotArkAnnuId, numberId);
|
|
2298
2299
|
if (suit) {
|
|
2299
|
-
this.link(
|
|
2300
|
+
this.link(tarotArkAnnuId, `suit:${suit}`);
|
|
2300
2301
|
}
|
|
2301
|
-
return
|
|
2302
|
+
return tarotArkAnnuId;
|
|
2302
2303
|
}
|
|
2303
2304
|
addTarotSuit(suit, relatedElement) {
|
|
2304
2305
|
const suitId = `suit:${suit}`;
|