kaabalah 1.1.6 → 2.0.1
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.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2026 -1504
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +2013 -1503
- package/dist/core/index.mjs.map +1 -1
- package/dist/gematria/index.d.mts +18 -16
- package/dist/gematria/index.d.ts +18 -16
- package/dist/gematria/index.js +2132 -1612
- package/dist/gematria/index.js.map +1 -1
- package/dist/gematria/index.mjs +2132 -1612
- package/dist/gematria/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2209 -1626
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2197 -1626
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-CuSy8I3z.d.mts → registry-DAH78zZo.d.mts} +166 -82
- package/dist/{registry-CuSy8I3z.d.ts → registry-DAH78zZo.d.ts} +166 -82
- package/dist/tarot/index.js.map +1 -1
- package/dist/tarot/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
id: NodeId;
|
|
6
|
-
type: NodeType;
|
|
7
|
-
data?: NodeData<NodeType>;
|
|
1
|
+
declare enum KaabalahTypes {
|
|
2
|
+
SPHERE = "sphere",
|
|
3
|
+
PATH = "path",
|
|
4
|
+
WORLD = "world"
|
|
8
5
|
}
|
|
6
|
+
declare enum LetterTypes {
|
|
7
|
+
HEBREW_LETTER = "hebrewLetter",
|
|
8
|
+
LATIN_LETTER = "latinLetter",
|
|
9
|
+
SANSKRIT_LETTER = "sanskritLetter",
|
|
10
|
+
ARCHEOMETER_LETTER = "archeometerLetter"
|
|
11
|
+
}
|
|
12
|
+
declare enum WesternAstrologyTypes {
|
|
13
|
+
PLANET = "planet",
|
|
14
|
+
WESTERN_ZODIAC_SIGN = "westernZodiacSign",
|
|
15
|
+
WESTERN_ELEMENT = "westernElement"
|
|
16
|
+
}
|
|
17
|
+
declare enum TarotTypes {
|
|
18
|
+
TAROT_ARK_ANNU = "tarotArkAnnu",
|
|
19
|
+
TAROT_SUIT = "tarotSuit"
|
|
20
|
+
}
|
|
21
|
+
declare enum TantraTypes {
|
|
22
|
+
CHAKRA = "chakra",
|
|
23
|
+
SUBTLE_BODY = "subtleBody"
|
|
24
|
+
}
|
|
25
|
+
declare enum NumerologyTypes {
|
|
26
|
+
NUMBER = "number"
|
|
27
|
+
}
|
|
28
|
+
declare enum MiscTypes {
|
|
29
|
+
COLOR = "color",
|
|
30
|
+
MUSICAL_NOTE = "musicalNote",
|
|
31
|
+
UNCATEGORIZED = "uncategorized"
|
|
32
|
+
}
|
|
33
|
+
type NodeType = typeof KaabalahTypes[keyof typeof KaabalahTypes] | typeof LetterTypes[keyof typeof LetterTypes] | typeof NumerologyTypes[keyof typeof NumerologyTypes] | typeof MiscTypes[keyof typeof MiscTypes] | typeof TarotTypes[keyof typeof TarotTypes] | typeof TantraTypes[keyof typeof TantraTypes] | typeof WesternAstrologyTypes[keyof typeof WesternAstrologyTypes];
|
|
34
|
+
type Branded<T, B> = T & {
|
|
35
|
+
readonly __brand: B;
|
|
36
|
+
};
|
|
37
|
+
type NodeId<T extends NodeType> = Branded<`${T}:${string}`, T>;
|
|
38
|
+
declare const id: <T extends NodeType>(type: T, value: string | number) => NodeId<T>;
|
|
39
|
+
declare const parseId: <T extends NodeType>(nodeId: NodeId<T>) => string;
|
|
40
|
+
interface DataMap {
|
|
41
|
+
sphere: SphereData;
|
|
42
|
+
path: PathData;
|
|
43
|
+
world: WorldData;
|
|
44
|
+
hebrewLetter: HebrewLetterData;
|
|
45
|
+
latinLetter: LatinLetterData;
|
|
46
|
+
color: ColorData;
|
|
47
|
+
musicalNote: MusicalNoteData;
|
|
48
|
+
westernZodiacSign: WesternZodiacSignData;
|
|
49
|
+
tarotArkAnnu: TarotArkAnnuData;
|
|
50
|
+
}
|
|
51
|
+
type NodeData<T extends NodeType> = T extends keyof DataMap ? DataMap[T] : never;
|
|
52
|
+
interface Node<T extends NodeType> {
|
|
53
|
+
id: NodeId<T>;
|
|
54
|
+
type: T;
|
|
55
|
+
data?: NodeData<T>;
|
|
56
|
+
name?: string;
|
|
57
|
+
}
|
|
58
|
+
declare class BaseNode<T extends NodeType> implements Node<T> {
|
|
59
|
+
id: NodeId<T>;
|
|
60
|
+
type: T;
|
|
61
|
+
data?: NodeData<T>;
|
|
62
|
+
_name?: string;
|
|
63
|
+
constructor({ id: idValue, type, data, name }: Omit<Node<T>, "id"> & {
|
|
64
|
+
id: string | number;
|
|
65
|
+
});
|
|
66
|
+
get name(): string;
|
|
67
|
+
}
|
|
68
|
+
|
|
9
69
|
interface HermeticQabalahSphereData {
|
|
10
70
|
/**
|
|
11
71
|
* In Atziluth
|
|
@@ -25,16 +85,16 @@ interface HermeticQabalahSphereData {
|
|
|
25
85
|
mundaneName: string;
|
|
26
86
|
}
|
|
27
87
|
type SphereData = {
|
|
28
|
-
|
|
88
|
+
hebrewSpelling: string;
|
|
29
89
|
englishName: string;
|
|
30
90
|
magicalImage?: string;
|
|
31
91
|
} & Partial<HermeticQabalahSphereData>;
|
|
32
92
|
type PathData = {
|
|
33
93
|
meaning?: string;
|
|
94
|
+
from: NodeId<KaabalahTypes.SPHERE>;
|
|
95
|
+
to: NodeId<KaabalahTypes.SPHERE>;
|
|
34
96
|
};
|
|
35
97
|
type WorldData = {
|
|
36
|
-
element: "fire" | "air" | "water" | "earth";
|
|
37
|
-
hebrewName: string;
|
|
38
98
|
englishName: string;
|
|
39
99
|
};
|
|
40
100
|
type HebrewLetterData = {
|
|
@@ -47,6 +107,9 @@ type HebrewLetterData = {
|
|
|
47
107
|
character: string;
|
|
48
108
|
characterWhenEnding?: string;
|
|
49
109
|
};
|
|
110
|
+
type LatinLetterData = {
|
|
111
|
+
isVowel: boolean;
|
|
112
|
+
};
|
|
50
113
|
type ColorData = {
|
|
51
114
|
colorDescription: string;
|
|
52
115
|
colorNames: string[];
|
|
@@ -79,6 +142,7 @@ declare const FOUR_WORLDS: {
|
|
|
79
142
|
readonly YETZIRAH: "Yetzirah";
|
|
80
143
|
readonly ASSIAH: "Assiah";
|
|
81
144
|
};
|
|
145
|
+
declare const FOUR_WORLDS_DATA: Record<keyof typeof FOUR_WORLDS, NodeData<KaabalahTypes.WORLD>>;
|
|
82
146
|
declare const SPHERES: {
|
|
83
147
|
readonly KETHER: "Kether";
|
|
84
148
|
readonly CHOKHMAH: "Chokhmah";
|
|
@@ -92,7 +156,7 @@ declare const SPHERES: {
|
|
|
92
156
|
readonly YESOD: "Yesod";
|
|
93
157
|
readonly MALKUTH: "Malkuth";
|
|
94
158
|
};
|
|
95
|
-
declare const SPHERES_DATA: Record<keyof typeof SPHERES, NodeData<
|
|
159
|
+
declare const SPHERES_DATA: Record<keyof typeof SPHERES, NodeData<KaabalahTypes.SPHERE>>;
|
|
96
160
|
declare const PLANETS: {
|
|
97
161
|
readonly EARTH: "Earth";
|
|
98
162
|
readonly MOON: "Moon";
|
|
@@ -127,7 +191,7 @@ declare const WESTERN_ELEMENTS: {
|
|
|
127
191
|
readonly EARTH: "Earth";
|
|
128
192
|
readonly ETHER: "Ether";
|
|
129
193
|
};
|
|
130
|
-
declare const WESTERN_ZODIAC_SIGNS_DATA: Record<keyof typeof WESTERN_ZODIAC_SIGNS, NodeData<
|
|
194
|
+
declare const WESTERN_ZODIAC_SIGNS_DATA: Record<keyof typeof WESTERN_ZODIAC_SIGNS, NodeData<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>>;
|
|
131
195
|
declare const MELKITZEDEKI_PATHS: {
|
|
132
196
|
readonly KETHER_CHOKHMAH: 1;
|
|
133
197
|
readonly KETHER_BINAH: 2;
|
|
@@ -213,6 +277,7 @@ declare const LATIN_LETTERS: {
|
|
|
213
277
|
readonly Ç: "Ç";
|
|
214
278
|
readonly Ã: "Ã";
|
|
215
279
|
};
|
|
280
|
+
declare const LATIN_LETTERS_DATA: Record<keyof typeof LATIN_LETTERS, NodeData<LetterTypes.LATIN_LETTER>>;
|
|
216
281
|
declare const HEBREW_LETTERS: {
|
|
217
282
|
readonly ALEPH: "Aleph";
|
|
218
283
|
readonly BETH: "Beth";
|
|
@@ -237,7 +302,7 @@ declare const HEBREW_LETTERS: {
|
|
|
237
302
|
readonly SHIN: "Shin";
|
|
238
303
|
readonly TAV: "Tav";
|
|
239
304
|
};
|
|
240
|
-
declare const HEBREW_LETTERS_DATA: Record<keyof typeof HEBREW_LETTERS, NodeData<
|
|
305
|
+
declare const HEBREW_LETTERS_DATA: Record<keyof typeof HEBREW_LETTERS, NodeData<LetterTypes.HEBREW_LETTER>>;
|
|
241
306
|
declare const TAROT_SUITS: {
|
|
242
307
|
readonly WANDS: "Wands";
|
|
243
308
|
readonly CUPS: "Cups";
|
|
@@ -271,64 +336,64 @@ declare const TAROT_ARKANNUS: {
|
|
|
271
336
|
readonly QUEEN_OF_WANDS: "Queen of Wands";
|
|
272
337
|
readonly KNIGHT_OF_WANDS: "Knight of Wands";
|
|
273
338
|
readonly PAGE_OF_WANDS: "Page of Wands";
|
|
274
|
-
readonly ACE_OF_WANDS: "Ace of Wands";
|
|
275
|
-
readonly TWO_OF_WANDS: "Two of Wands";
|
|
276
|
-
readonly THREE_OF_WANDS: "Three of Wands";
|
|
277
|
-
readonly FOUR_OF_WANDS: "Four of Wands";
|
|
278
|
-
readonly FIVE_OF_WANDS: "Five of Wands";
|
|
279
|
-
readonly SIX_OF_WANDS: "Six of Wands";
|
|
280
|
-
readonly SEVEN_OF_WANDS: "Seven of Wands";
|
|
281
|
-
readonly EIGHT_OF_WANDS: "Eight of Wands";
|
|
282
|
-
readonly NINE_OF_WANDS: "Nine of Wands";
|
|
283
339
|
readonly TEN_OF_WANDS: "Ten of Wands";
|
|
340
|
+
readonly NINE_OF_WANDS: "Nine of Wands";
|
|
341
|
+
readonly EIGHT_OF_WANDS: "Eight of Wands";
|
|
342
|
+
readonly SEVEN_OF_WANDS: "Seven of Wands";
|
|
343
|
+
readonly SIX_OF_WANDS: "Six of Wands";
|
|
344
|
+
readonly FIVE_OF_WANDS: "Five of Wands";
|
|
345
|
+
readonly FOUR_OF_WANDS: "Four of Wands";
|
|
346
|
+
readonly THREE_OF_WANDS: "Three of Wands";
|
|
347
|
+
readonly TWO_OF_WANDS: "Two of Wands";
|
|
348
|
+
readonly ACE_OF_WANDS: "Ace of Wands";
|
|
284
349
|
readonly KING_OF_CUPS: "King of Cups";
|
|
285
350
|
readonly QUEEN_OF_CUPS: "Queen of Cups";
|
|
286
351
|
readonly KNIGHT_OF_CUPS: "Knight of Cups";
|
|
287
352
|
readonly PAGE_OF_CUPS: "Page of Cups";
|
|
288
|
-
readonly ACE_OF_CUPS: "Ace of Cups";
|
|
289
|
-
readonly TWO_OF_CUPS: "Two of Cups";
|
|
290
|
-
readonly THREE_OF_CUPS: "Three of Cups";
|
|
291
|
-
readonly FOUR_OF_CUPS: "Four of Cups";
|
|
292
|
-
readonly FIVE_OF_CUPS: "Five of Cups";
|
|
293
|
-
readonly SIX_OF_CUPS: "Six of Cups";
|
|
294
|
-
readonly SEVEN_OF_CUPS: "Seven of Cups";
|
|
295
|
-
readonly EIGHT_OF_CUPS: "Eight of Cups";
|
|
296
|
-
readonly NINE_OF_CUPS: "Nine of Cups";
|
|
297
353
|
readonly TEN_OF_CUPS: "Ten of Cups";
|
|
354
|
+
readonly NINE_OF_CUPS: "Nine of Cups";
|
|
355
|
+
readonly EIGHT_OF_CUPS: "Eight of Cups";
|
|
356
|
+
readonly SEVEN_OF_CUPS: "Seven of Cups";
|
|
357
|
+
readonly SIX_OF_CUPS: "Six of Cups";
|
|
358
|
+
readonly FIVE_OF_CUPS: "Five of Cups";
|
|
359
|
+
readonly FOUR_OF_CUPS: "Four of Cups";
|
|
360
|
+
readonly THREE_OF_CUPS: "Three of Cups";
|
|
361
|
+
readonly TWO_OF_CUPS: "Two of Cups";
|
|
362
|
+
readonly ACE_OF_CUPS: "Ace of Cups";
|
|
298
363
|
readonly KING_OF_SWORDS: "King of Swords";
|
|
299
364
|
readonly QUEEN_OF_SWORDS: "Queen of Swords";
|
|
300
365
|
readonly KNIGHT_OF_SWORDS: "Knight of Swords";
|
|
301
366
|
readonly PAGE_OF_SWORDS: "Page of Swords";
|
|
302
|
-
readonly ACE_OF_SWORDS: "Ace of Swords";
|
|
303
|
-
readonly TWO_OF_SWORDS: "Two of Swords";
|
|
304
|
-
readonly THREE_OF_SWORDS: "Three of Swords";
|
|
305
|
-
readonly FOUR_OF_SWORDS: "Four of Swords";
|
|
306
|
-
readonly FIVE_OF_SWORDS: "Five of Swords";
|
|
307
|
-
readonly SIX_OF_SWORDS: "Six of Swords";
|
|
308
|
-
readonly SEVEN_OF_SWORDS: "Seven of Swords";
|
|
309
|
-
readonly EIGHT_OF_SWORDS: "Eight of Swords";
|
|
310
|
-
readonly NINE_OF_SWORDS: "Nine of Swords";
|
|
311
367
|
readonly TEN_OF_SWORDS: "Ten of Swords";
|
|
368
|
+
readonly NINE_OF_SWORDS: "Nine of Swords";
|
|
369
|
+
readonly EIGHT_OF_SWORDS: "Eight of Swords";
|
|
370
|
+
readonly SEVEN_OF_SWORDS: "Seven of Swords";
|
|
371
|
+
readonly SIX_OF_SWORDS: "Six of Swords";
|
|
372
|
+
readonly FIVE_OF_SWORDS: "Five of Swords";
|
|
373
|
+
readonly FOUR_OF_SWORDS: "Four of Swords";
|
|
374
|
+
readonly THREE_OF_SWORDS: "Three of Swords";
|
|
375
|
+
readonly TWO_OF_SWORDS: "Two of Swords";
|
|
376
|
+
readonly ACE_OF_SWORDS: "Ace of Swords";
|
|
312
377
|
readonly KING_OF_PENTACLES: "King of Pentacles";
|
|
313
378
|
readonly QUEEN_OF_PENTACLES: "Queen of Pentacles";
|
|
314
379
|
readonly KNIGHT_OF_PENTACLES: "Knight of Pentacles";
|
|
315
380
|
readonly PAGE_OF_PENTACLES: "Page of Pentacles";
|
|
316
|
-
readonly ACE_OF_PENTACLES: "Ace of Pentacles";
|
|
317
|
-
readonly TWO_OF_PENTACLES: "Two of Pentacles";
|
|
318
|
-
readonly THREE_OF_PENTACLES: "Three of Pentacles";
|
|
319
|
-
readonly FOUR_OF_PENTACLES: "Four of Pentacles";
|
|
320
|
-
readonly FIVE_OF_PENTACLES: "Five of Pentacles";
|
|
321
|
-
readonly SIX_OF_PENTACLES: "Six of Pentacles";
|
|
322
|
-
readonly SEVEN_OF_PENTACLES: "Seven of Pentacles";
|
|
323
|
-
readonly EIGHT_OF_PENTACLES: "Eight of Pentacles";
|
|
324
|
-
readonly NINE_OF_PENTACLES: "Nine of Pentacles";
|
|
325
381
|
readonly TEN_OF_PENTACLES: "Ten of Pentacles";
|
|
382
|
+
readonly NINE_OF_PENTACLES: "Nine of Pentacles";
|
|
383
|
+
readonly EIGHT_OF_PENTACLES: "Eight of Pentacles";
|
|
384
|
+
readonly SEVEN_OF_PENTACLES: "Seven of Pentacles";
|
|
385
|
+
readonly SIX_OF_PENTACLES: "Six of Pentacles";
|
|
386
|
+
readonly FIVE_OF_PENTACLES: "Five of Pentacles";
|
|
387
|
+
readonly FOUR_OF_PENTACLES: "Four of Pentacles";
|
|
388
|
+
readonly THREE_OF_PENTACLES: "Three of Pentacles";
|
|
389
|
+
readonly TWO_OF_PENTACLES: "Two of Pentacles";
|
|
390
|
+
readonly ACE_OF_PENTACLES: "Ace of Pentacles";
|
|
326
391
|
};
|
|
327
392
|
declare const TAROT_DECKS: {
|
|
328
393
|
readonly PAPUS_KAABALISTIC: "Papus Kaabalistic";
|
|
329
394
|
readonly KIER_EGYPTIAN: "Kier Egyptian";
|
|
330
395
|
};
|
|
331
|
-
declare const TAROT_ARKANNUS_DATA: Record<keyof typeof TAROT_ARKANNUS, NodeData<
|
|
396
|
+
declare const TAROT_ARKANNUS_DATA: Record<keyof typeof TAROT_ARKANNUS, NodeData<TarotTypes.TAROT_ARK_ANNU>>;
|
|
332
397
|
declare const MUSICAL_NOTES: {
|
|
333
398
|
readonly DO: "DO";
|
|
334
399
|
readonly DO_SHARP: "DO_SHARP";
|
|
@@ -393,28 +458,35 @@ declare class TreeOfLife {
|
|
|
393
458
|
* @param node - the node to upsert
|
|
394
459
|
* @returns the id of the added node
|
|
395
460
|
*/
|
|
396
|
-
upsertNode<T extends NodeType>(node: Node<T>):
|
|
397
|
-
getNode(id: NodeId): Node<
|
|
461
|
+
upsertNode<T extends NodeType>(node: Node<T>): NodeId<T>;
|
|
462
|
+
getNode<T extends NodeType>(id: NodeId<T>): Node<T> | undefined;
|
|
398
463
|
getNodes(): Node<NodeType>[];
|
|
399
464
|
/**
|
|
400
465
|
* Links two nodes bi-directionally
|
|
401
466
|
* @param firstNode - the id of the first node
|
|
402
467
|
* @param secondNode - the id of the second node
|
|
403
468
|
*/
|
|
404
|
-
link(firstNode: NodeId
|
|
469
|
+
link(firstNode: NodeId<NodeType>, secondNode: NodeId<NodeType>): void;
|
|
405
470
|
/**
|
|
406
471
|
* Gets the current node and all its direct relations, or, when filtered by node type, only the direct relations of that type.
|
|
407
472
|
* @param id - the id of the node to get the relations for
|
|
408
473
|
* @param nodeType - the node type to filter the relations by
|
|
409
474
|
* @returns the current node and all its direct relations
|
|
410
475
|
*/
|
|
411
|
-
related(id: NodeId
|
|
476
|
+
related<T extends NodeType, U extends NodeType>(id: NodeId<T>, nodeType?: U): Node<U>[];
|
|
477
|
+
/**
|
|
478
|
+
* Sugar for `related(id, type)[0]`
|
|
479
|
+
* @param id - the id of the node to get the related node for
|
|
480
|
+
* @param type - the type of the node to get the related node for
|
|
481
|
+
* @returns the related node
|
|
482
|
+
*/
|
|
483
|
+
relatedFirst<T extends NodeType, U extends NodeType>(id: NodeId<T>, type: U): Node<U> | undefined;
|
|
412
484
|
/**
|
|
413
485
|
* Gets all the types of nodes that are directly connected to the given node
|
|
414
486
|
* @param id - the id of the node to get related types for
|
|
415
487
|
* @returns array of node types that are directly connected
|
|
416
488
|
*/
|
|
417
|
-
relatedTypes(id: NodeId):
|
|
489
|
+
relatedTypes<T extends NodeType>(id: NodeId<T>): T[];
|
|
418
490
|
/**
|
|
419
491
|
* BFS up to depth k, optional type filter for the result set
|
|
420
492
|
* @param id - the id of the node to get the extended relations for
|
|
@@ -422,27 +494,27 @@ declare class TreeOfLife {
|
|
|
422
494
|
* @param type - the type of the nodes to filter the result set by
|
|
423
495
|
* @returns the current node and all its extended relations
|
|
424
496
|
*/
|
|
425
|
-
walk(id: NodeId
|
|
497
|
+
walk<T extends NodeType, U extends NodeType>(id: NodeId<T>, depth?: number, type?: U): Node<U>[];
|
|
426
498
|
/**
|
|
427
499
|
* Removes a node and all its relations from the graph, cleaning up adjacency sets.
|
|
428
500
|
* @param id - the id of the node to remove
|
|
429
501
|
*/
|
|
430
|
-
removeNode(id: NodeId): void;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
* @param targetType - the type of the target node
|
|
436
|
-
* @returns the target node
|
|
437
|
-
*/
|
|
438
|
-
correspond<T extends NodeType>(source: NodeId, target: NodeId, targetType: T, data?: NodeData<T>): string;
|
|
502
|
+
removeNode(id: NodeId<NodeType>): void;
|
|
503
|
+
addNumber({ number, nodeId }: {
|
|
504
|
+
number: number;
|
|
505
|
+
nodeId?: NodeId<NodeType>;
|
|
506
|
+
}): NodeId<NumerologyTypes>;
|
|
439
507
|
/**
|
|
440
508
|
* Adds a sphere (sephirah) to the tree with its Hebrew and English names
|
|
441
509
|
* @param sphere - the identifier for the sphere
|
|
442
510
|
* @param data - the sphere's Hebrew and English names
|
|
443
511
|
* @returns the sphere's id
|
|
444
512
|
*/
|
|
445
|
-
addSphere(sphere
|
|
513
|
+
addSphere({ sphere, data, relatedNumber, }: {
|
|
514
|
+
sphere: string;
|
|
515
|
+
data: NodeData<KaabalahTypes.SPHERE>;
|
|
516
|
+
relatedNumber: number;
|
|
517
|
+
}): NodeId<KaabalahTypes.SPHERE>;
|
|
446
518
|
/**
|
|
447
519
|
* Adds a path between two spheres with its associated number
|
|
448
520
|
* @param leftSphere - the id of the first sphere
|
|
@@ -450,21 +522,33 @@ declare class TreeOfLife {
|
|
|
450
522
|
* @param relatedNumber - the number associated with this path
|
|
451
523
|
* @returns the path's id
|
|
452
524
|
*/
|
|
453
|
-
addPath(leftSphere
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
data?: NodeData<
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
525
|
+
addPath({ leftSphere, rightSphere, relatedNumber, data, }: {
|
|
526
|
+
leftSphere: NodeId<KaabalahTypes.SPHERE>;
|
|
527
|
+
rightSphere: NodeId<KaabalahTypes.SPHERE>;
|
|
528
|
+
relatedNumber: number;
|
|
529
|
+
data?: Omit<NodeData<KaabalahTypes.PATH>, "from" | "to">;
|
|
530
|
+
}): NodeId<KaabalahTypes.PATH>;
|
|
531
|
+
addLetters({ path, letters, }: {
|
|
532
|
+
path: NodeId<KaabalahTypes.PATH>;
|
|
533
|
+
letters: {
|
|
534
|
+
letter: string;
|
|
535
|
+
type: NodeType;
|
|
536
|
+
data?: NodeData<NodeType>;
|
|
537
|
+
}[];
|
|
538
|
+
}): void;
|
|
539
|
+
addWesternAstrologySign({ path, sign, data, relatedNumber, }: {
|
|
540
|
+
path: NodeId<KaabalahTypes.PATH>;
|
|
541
|
+
sign: string;
|
|
542
|
+
data: NodeData<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;
|
|
543
|
+
relatedNumber: number;
|
|
544
|
+
}): NodeId<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;
|
|
545
|
+
addTarotArkAnnu({ node, tarotArkAnnu, data, relatedNumber, suit, }: {
|
|
546
|
+
node: NodeId<NodeType>;
|
|
547
|
+
tarotArkAnnu: string;
|
|
548
|
+
data: NodeData<TarotTypes.TAROT_ARK_ANNU>;
|
|
549
|
+
relatedNumber: number;
|
|
550
|
+
suit?: string;
|
|
551
|
+
}): NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
468
552
|
}
|
|
469
553
|
|
|
470
554
|
/**
|
|
@@ -513,4 +597,4 @@ type Bridge = {
|
|
|
513
597
|
run: (t: TreeOfLife) => void;
|
|
514
598
|
};
|
|
515
599
|
|
|
516
|
-
export { type Loader as A, type Bridge as B, type ColorData as C, TreeOfLife as D, FOUR_WORLDS as F, type HebrewLetterData as H,
|
|
600
|
+
export { type Loader as A, type Bridge as B, type ColorData as C, TreeOfLife as D, LetterTypes as E, FOUR_WORLDS as F, WesternAstrologyTypes as G, type HebrewLetterData as H, TarotTypes as I, TantraTypes as J, KaabalahTypes as K, type LatinLetterData as L, type MusicalNoteData as M, NumerologyTypes as N, MiscTypes as O, type PathData as P, type NodeType as Q, type NodeId as R, type SphereData as S, type TarotArkAnnuData as T, type Unloader as U, id as V, type WorldData as W, parseId as X, type NodeData as Y, type Node as Z, BaseNode as _, type WesternZodiacSignData as a, FOUR_WORLDS_DATA as b, SPHERES as c, SPHERES_DATA as d, PLANETS as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_ZODIAC_SIGNS_DATA as h, MELKITZEDEKI_PATHS as i, LURIANIC_PATHS as j, LATIN_LETTERS as k, LATIN_LETTERS_DATA as l, HEBREW_LETTERS as m, HEBREW_LETTERS_DATA as n, TAROT_SUITS as o, TAROT_ARKANNUS as p, TAROT_DECKS as q, TAROT_ARKANNUS_DATA as r, MUSICAL_NOTES as s, MUSICAL_NOTES_DATA as t, COLORS as u, COLORS_DATA as v, type System as w, SYSTEMS as x, type SystemKey as y, type PartKey as z };
|