kaabalah 2.0.0 → 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.
@@ -1,3 +1,71 @@
1
+ declare enum KaabalahTypes {
2
+ SPHERE = "sphere",
3
+ PATH = "path",
4
+ WORLD = "world"
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
+
1
69
  interface HermeticQabalahSphereData {
2
70
  /**
3
71
  * In Atziluth
@@ -68,6 +136,27 @@ type TarotArkAnnuData = {
68
136
  keywords?: string[];
69
137
  }[];
70
138
  };
139
+ declare const FOUR_WORLDS: {
140
+ readonly ATZILUTH: "Atziluth";
141
+ readonly BRIAH: "Briah";
142
+ readonly YETZIRAH: "Yetzirah";
143
+ readonly ASSIAH: "Assiah";
144
+ };
145
+ declare const FOUR_WORLDS_DATA: Record<keyof typeof FOUR_WORLDS, NodeData<KaabalahTypes.WORLD>>;
146
+ declare const SPHERES: {
147
+ readonly KETHER: "Kether";
148
+ readonly CHOKHMAH: "Chokhmah";
149
+ readonly BINAH: "Binah";
150
+ readonly DAATH: "Daath";
151
+ readonly CHESED: "Chesed";
152
+ readonly GEBURAH: "Geburah";
153
+ readonly TIPHARETH: "Tiphareth";
154
+ readonly NETZACH: "Netzach";
155
+ readonly HOD: "Hod";
156
+ readonly YESOD: "Yesod";
157
+ readonly MALKUTH: "Malkuth";
158
+ };
159
+ declare const SPHERES_DATA: Record<keyof typeof SPHERES, NodeData<KaabalahTypes.SPHERE>>;
71
160
  declare const PLANETS: {
72
161
  readonly EARTH: "Earth";
73
162
  readonly MOON: "Moon";
@@ -81,6 +170,20 @@ declare const PLANETS: {
81
170
  readonly NEPTUNE: "Neptune";
82
171
  readonly PLUTO: "Pluto";
83
172
  };
173
+ declare const WESTERN_ZODIAC_SIGNS: {
174
+ readonly ARIES: "Aries";
175
+ readonly TAURUS: "Taurus";
176
+ readonly GEMINI: "Gemini";
177
+ readonly CANCER: "Cancer";
178
+ readonly LEO: "Leo";
179
+ readonly VIRGO: "Virgo";
180
+ readonly LIBRA: "Libra";
181
+ readonly SCORPIO: "Scorpio";
182
+ readonly SAGITTARIUS: "Sagittarius";
183
+ readonly CAPRICORN: "Capricorn";
184
+ readonly AQUARIUS: "Aquarius";
185
+ readonly PISCES: "Pisces";
186
+ };
84
187
  declare const WESTERN_ELEMENTS: {
85
188
  readonly FIRE: "Fire";
86
189
  readonly AIR: "Air";
@@ -88,80 +191,239 @@ declare const WESTERN_ELEMENTS: {
88
191
  readonly EARTH: "Earth";
89
192
  readonly ETHER: "Ether";
90
193
  };
194
+ declare const WESTERN_ZODIAC_SIGNS_DATA: Record<keyof typeof WESTERN_ZODIAC_SIGNS, NodeData<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>>;
195
+ declare const MELKITZEDEKI_PATHS: {
196
+ readonly KETHER_CHOKHMAH: 1;
197
+ readonly KETHER_BINAH: 2;
198
+ readonly KETHER_TIPHARETH: 3;
199
+ readonly CHOKHMAH_BINAH: 4;
200
+ readonly CHOKHMAH_TIPHARETH: 5;
201
+ readonly CHOKHMAH_CHESED: 6;
202
+ readonly BINAH_TIPHARETH: 7;
203
+ readonly BINAH_GEBURAH: 8;
204
+ readonly CHESED_GEBURAH: 9;
205
+ readonly CHESED_TIPHARETH: 10;
206
+ readonly CHESED_NETZACH: 11;
207
+ readonly GEBURAH_TIPHARETH: 12;
208
+ readonly GEBURAH_HOD: 13;
209
+ readonly TIPHARETH_NETZACH: 14;
210
+ readonly TIPHARETH_YESOD: 15;
211
+ readonly TIPHARETH_HOD: 16;
212
+ readonly NETZACH_HOD: 17;
213
+ readonly NETZACH_YESOD: 18;
214
+ readonly NETZACH_MALKUTH: 19;
215
+ readonly HOD_YESOD: 20;
216
+ readonly HOD_MALKUTH: 21;
217
+ readonly YESOD_MALKUTH: 22;
218
+ };
219
+ declare const LURIANIC_PATHS: {
220
+ readonly KETHER_CHOKHMAH: 1;
221
+ readonly KETHER_BINAH: 2;
222
+ readonly KETHER_TIPHARETH: 3;
223
+ readonly CHOKHMAH_BINAH: 4;
224
+ readonly CHOKHMAH_GEBURAH: 5;
225
+ readonly CHOKHMAH_TIPHARETH: 6;
226
+ readonly CHOKHMAH_CHESED: 7;
227
+ readonly BINAH_CHESED: 8;
228
+ readonly BINAH_TIPHARETH: 9;
229
+ readonly BINAH_GEBURAH: 10;
230
+ readonly CHESED_GEBURAH: 11;
231
+ readonly CHESED_TIPHARETH: 12;
232
+ readonly CHESED_NETZACH: 13;
233
+ readonly GEBURAH_TIPHARETH: 14;
234
+ readonly GEBURAH_HOD: 15;
235
+ readonly TIPHARETH_NETZACH: 16;
236
+ readonly TIPHARETH_YESOD: 17;
237
+ readonly TIPHARETH_HOD: 18;
238
+ readonly NETZACH_HOD: 19;
239
+ readonly NETZACH_YESOD: 20;
240
+ readonly HOD_YESOD: 21;
241
+ readonly YESOD_MALKUTH: 22;
242
+ };
243
+ declare const LATIN_LETTERS: {
244
+ readonly A: "A";
245
+ readonly B: "B";
246
+ readonly C: "C";
247
+ readonly D: "D";
248
+ readonly E: "E";
249
+ readonly F: "F";
250
+ readonly G: "G";
251
+ readonly H: "H";
252
+ readonly I: "I";
253
+ readonly J: "J";
254
+ readonly K: "K";
255
+ readonly L: "L";
256
+ readonly M: "M";
257
+ readonly N: "N";
258
+ readonly O: "O";
259
+ readonly P: "P";
260
+ readonly Q: "Q";
261
+ readonly R: "R";
262
+ readonly S: "S";
263
+ readonly T: "T";
264
+ readonly U: "U";
265
+ readonly V: "V";
266
+ readonly W: "W";
267
+ readonly X: "X";
268
+ readonly Y: "Y";
269
+ readonly Z: "Z";
270
+ readonly PH: "Ph";
271
+ readonly TS: "Ts";
272
+ readonly TZ: "Tz";
273
+ readonly TH: "Th";
274
+ readonly CH: "Ch";
275
+ readonly SH: "Sh";
276
+ readonly KH: "Kh";
277
+ readonly Ç: "Ç";
278
+ readonly Ã: "Ã";
279
+ };
280
+ declare const LATIN_LETTERS_DATA: Record<keyof typeof LATIN_LETTERS, NodeData<LetterTypes.LATIN_LETTER>>;
281
+ declare const HEBREW_LETTERS: {
282
+ readonly ALEPH: "Aleph";
283
+ readonly BETH: "Beth";
284
+ readonly GIMEL: "Gimel";
285
+ readonly DALET: "Dalet";
286
+ readonly HE: "He";
287
+ readonly VAV: "Vav";
288
+ readonly ZAYIN: "Zayin";
289
+ readonly HET: "Het";
290
+ readonly TET: "Tet";
291
+ readonly YOD: "Yod";
292
+ readonly KAPH: "Kaph";
293
+ readonly LAMED: "Lamed";
294
+ readonly MEM: "Mem";
295
+ readonly NUN: "Nun";
296
+ readonly SAMEKH: "Samekh";
297
+ readonly AYIN: "Ayin";
298
+ readonly PE: "Pe";
299
+ readonly TSADI: "Tsadi";
300
+ readonly QOPH: "Qoph";
301
+ readonly RESH: "Resh";
302
+ readonly SHIN: "Shin";
303
+ readonly TAV: "Tav";
304
+ };
305
+ declare const HEBREW_LETTERS_DATA: Record<keyof typeof HEBREW_LETTERS, NodeData<LetterTypes.HEBREW_LETTER>>;
91
306
  declare const TAROT_SUITS: {
92
307
  readonly WANDS: "Wands";
93
308
  readonly CUPS: "Cups";
94
309
  readonly SWORDS: "Swords";
95
310
  readonly PENTACLES: "Pentacles";
96
311
  };
97
-
98
- declare enum KaabalahTypes {
99
- SPHERE = "sphere",
100
- PATH = "path",
101
- WORLD = "world"
102
- }
103
- declare enum LetterTypes {
104
- HEBREW_LETTER = "hebrewLetter",
105
- LATIN_LETTER = "latinLetter",
106
- SANSKRIT_LETTER = "sanskritLetter",
107
- ARCHEOMETER_LETTER = "archeometerLetter"
108
- }
109
- declare enum WesternAstrologyTypes {
110
- PLANET = "planet",
111
- WESTERN_ZODIAC_SIGN = "westernZodiacSign",
112
- WESTERN_ELEMENT = "westernElement"
113
- }
114
- declare enum TarotTypes {
115
- TAROT_ARK_ANNU = "tarotArkAnnu",
116
- TAROT_SUIT = "tarotSuit"
117
- }
118
- declare enum TantraTypes {
119
- CHAKRA = "chakra",
120
- SUBTLE_BODY = "subtleBody"
121
- }
122
- declare enum NumerologyTypes {
123
- NUMBER = "number"
124
- }
125
- declare enum MiscTypes {
126
- COLOR = "color",
127
- MUSICAL_NOTE = "musicalNote",
128
- UNCATEGORIZED = "uncategorized"
129
- }
130
- 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];
131
- type Branded<T, B> = T & {
132
- readonly __brand: B;
312
+ declare const TAROT_ARKANNUS: {
313
+ readonly THE_MAGICIAN: "The Magician";
314
+ readonly THE_HIGH_PRIESTESS: "The High Priestess";
315
+ readonly THE_EMPRESS: "The Empress";
316
+ readonly THE_EMPEROR: "The Emperor";
317
+ readonly THE_HIEROPHANT: "The Hierophant";
318
+ readonly THE_LOVER: "The Lover";
319
+ readonly THE_CHARIOT: "The Chariot";
320
+ readonly JUSTICE: "Justice";
321
+ readonly THE_HERMIT: "The Hermit";
322
+ readonly THE_WHEEL_OF_FORTUNE: "The Wheel of Fortune";
323
+ readonly STRENGTH: "Strength";
324
+ readonly THE_HANGED_MAN: "The Hanged Man";
325
+ readonly DEATH: "Death";
326
+ readonly TEMPERANCE: "Temperance";
327
+ readonly THE_DEVIL: "The Devil";
328
+ readonly THE_TOWER: "The Tower";
329
+ readonly THE_STAR: "The Star";
330
+ readonly THE_MOON: "The Moon";
331
+ readonly THE_SUN: "The Sun";
332
+ readonly JUDGMENT: "Judgment";
333
+ readonly THE_FOOL: "The Fool";
334
+ readonly THE_WORLD: "The World";
335
+ readonly KING_OF_WANDS: "King of Wands";
336
+ readonly QUEEN_OF_WANDS: "Queen of Wands";
337
+ readonly KNIGHT_OF_WANDS: "Knight of Wands";
338
+ readonly PAGE_OF_WANDS: "Page of Wands";
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";
349
+ readonly KING_OF_CUPS: "King of Cups";
350
+ readonly QUEEN_OF_CUPS: "Queen of Cups";
351
+ readonly KNIGHT_OF_CUPS: "Knight of Cups";
352
+ readonly PAGE_OF_CUPS: "Page of Cups";
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";
363
+ readonly KING_OF_SWORDS: "King of Swords";
364
+ readonly QUEEN_OF_SWORDS: "Queen of Swords";
365
+ readonly KNIGHT_OF_SWORDS: "Knight of Swords";
366
+ readonly PAGE_OF_SWORDS: "Page of Swords";
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";
377
+ readonly KING_OF_PENTACLES: "King of Pentacles";
378
+ readonly QUEEN_OF_PENTACLES: "Queen of Pentacles";
379
+ readonly KNIGHT_OF_PENTACLES: "Knight of Pentacles";
380
+ readonly PAGE_OF_PENTACLES: "Page of Pentacles";
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";
133
391
  };
134
- type NodeId<T extends NodeType> = Branded<`${T}:${string}`, T>;
135
- declare const id: <T extends NodeType>(type: T, value: string | number) => NodeId<T>;
136
- declare const parseId: <T extends NodeType>(nodeId: NodeId<T>) => string;
137
- interface DataMap {
138
- sphere: SphereData;
139
- path: PathData;
140
- world: WorldData;
141
- hebrewLetter: HebrewLetterData;
142
- latinLetter: LatinLetterData;
143
- color: ColorData;
144
- musicalNote: MusicalNoteData;
145
- westernZodiacSign: WesternZodiacSignData;
146
- tarotArkAnnu: TarotArkAnnuData;
147
- }
148
- type NodeData<T extends NodeType> = T extends keyof DataMap ? DataMap[T] : never;
149
- interface Node<T extends NodeType> {
150
- id: NodeId<T>;
151
- type: T;
152
- data?: NodeData<T>;
153
- name?: string;
154
- }
155
- declare class BaseNode<T extends NodeType> implements Node<T> {
156
- id: NodeId<T>;
157
- type: T;
158
- data?: NodeData<T>;
159
- _name?: string;
160
- constructor({ id: idValue, type, data, name }: Omit<Node<T>, "id"> & {
161
- id: string | number;
162
- });
163
- get name(): string;
164
- }
392
+ declare const TAROT_DECKS: {
393
+ readonly PAPUS_KAABALISTIC: "Papus Kaabalistic";
394
+ readonly KIER_EGYPTIAN: "Kier Egyptian";
395
+ };
396
+ declare const TAROT_ARKANNUS_DATA: Record<keyof typeof TAROT_ARKANNUS, NodeData<TarotTypes.TAROT_ARK_ANNU>>;
397
+ declare const MUSICAL_NOTES: {
398
+ readonly DO: "DO";
399
+ readonly DO_SHARP: "DO_SHARP";
400
+ readonly RE: "RE";
401
+ readonly RE_SHARP: "RE_SHARP";
402
+ readonly MI: "MI";
403
+ readonly FA: "FA";
404
+ readonly FA_SHARP: "FA_SHARP";
405
+ readonly SOL: "SOL";
406
+ readonly SOL_SHARP: "SOL_SHARP";
407
+ readonly LA: "LA";
408
+ readonly LA_SHARP: "LA_SHARP";
409
+ readonly SI: "SI";
410
+ };
411
+ declare const MUSICAL_NOTES_DATA: Record<keyof typeof MUSICAL_NOTES, MusicalNoteData>;
412
+ declare const COLORS: {
413
+ readonly RED: "RED";
414
+ readonly ORANGE: "ORANGE";
415
+ readonly YELLOW: "YELLOW";
416
+ readonly CHARTREUSE_GREEN: "CHARTREUSE_GREEN";
417
+ readonly GREEN: "GREEN";
418
+ readonly SPRING_GREEN: "SPRING_GREEN";
419
+ readonly CYAN: "CYAN";
420
+ readonly AZURE: "AZURE";
421
+ readonly BLUE: "BLUE";
422
+ readonly VIOLET: "VIOLET";
423
+ readonly MAGENTA: "MAGENTA";
424
+ readonly ROSE: "ROSE";
425
+ };
426
+ declare const COLORS_DATA: Record<keyof typeof COLORS, ColorData>;
165
427
 
166
428
  /**
167
429
  * TreeOfLife represents a graph structure for mapping Kaabalah, Tarot, Astrology and other
@@ -335,4 +597,4 @@ type Bridge = {
335
597
  run: (t: TreeOfLife) => void;
336
598
  };
337
599
 
338
- export { type Bridge as B, KaabalahTypes as K, type Loader as L, MiscTypes as M, NumerologyTypes as N, type PartKey as P, type System as S, TreeOfLife as T, type Unloader as U, WesternAstrologyTypes as W, SYSTEMS as a, type SystemKey as b, LetterTypes as c, TarotTypes as d, TantraTypes as e, type NodeType as f, type NodeId as g, type NodeData as h, id as i, type Node as j, BaseNode as k, parseId as p };
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 };