kaabalah 1.0.1 → 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.
@@ -322,6 +322,10 @@ declare const TAROT_ARKANNUS: {
322
322
  readonly NINE_OF_PENTACLES: "Nine of Pentacles";
323
323
  readonly TEN_OF_PENTACLES: "Ten of Pentacles";
324
324
  };
325
+ declare const TAROT_DECKS: {
326
+ readonly PAPUS_KAABALISTIC: "Papus Kaabalistic";
327
+ readonly KIER_EGYPTIAN: "Kier Egyptian";
328
+ };
325
329
  declare const TAROT_ARKANNUS_DATA: Record<keyof typeof TAROT_ARKANNUS, NodeData<"tarotArkAnnu">>;
326
330
 
327
331
  /**
@@ -333,7 +337,6 @@ declare class TreeOfLife {
333
337
  private nodes;
334
338
  private adjacent;
335
339
  private modules;
336
- activeSystem: SystemKey | null;
337
340
  /**
338
341
  * Loads the tree of life system to be used
339
342
  * @param systemKey - the key of the system to load
@@ -348,10 +351,11 @@ declare class TreeOfLife {
348
351
  * Unloads the tree of life system and all its parts
349
352
  */
350
353
  unloadSystem(): void;
351
- listAvailableParts(): string[];
352
- listLoadedParts(): PartKey[];
353
- listAvailableBridges(): Bridge[];
354
- listBridgedParts(): string[];
354
+ get activeSystem(): SystemKey | null;
355
+ get availableParts(): string[];
356
+ get loadedParts(): PartKey[];
357
+ get availableBridges(): Bridge[];
358
+ get bridgedParts(): string[];
355
359
  /**
356
360
  * Adds a node to the tree
357
361
  * @param node - the node to add
@@ -359,6 +363,7 @@ declare class TreeOfLife {
359
363
  */
360
364
  addNode<T extends NodeType>(node: Node<T>): string;
361
365
  getNode(id: NodeId): Node<NodeType> | undefined;
366
+ getNodes(): Node<NodeType>[];
362
367
  /**
363
368
  * Links two nodes bi-directionally
364
369
  * @param firstNode - the id of the first node
@@ -476,4 +481,4 @@ type Bridge = {
476
481
  run: (t: TreeOfLife) => void;
477
482
  };
478
483
 
479
- export { type Bridge as B, type ColorData as C, FOUR_WORLDS as F, type HebrewLetterData as H, LURIANIC_PATHS as L, type MusicalNoteData as M, type NodeId as N, type PathData as P, type SphereData as S, type TarotArkAnnuData as T, type Unloader as U, type WorldData as W, type NodeType as a, type NodeData as b, type Node as c, type WesternZodiacSignData as d, SPHERES as e, SPHERE_DATA as f, PLANETS as g, WESTERN_ZODIAC_SIGNS as h, WESTERN_ELEMENTS as i, WESTERN_ZODIAC_SIGNS_DATA as j, MELKITZEDEKI_PATHS as k, LATIN_LETTERS as l, HEBREW_LETTERS as m, HEBREW_LETTERS_DATA as n, TAROT_SUITS as o, TAROT_ARKANNUS as p, TAROT_ARKANNUS_DATA as q, type System as r, SYSTEMS as s, type SystemKey as t, type PartKey as u, type Loader as v, TreeOfLife as w };
484
+ export { type Bridge as B, type ColorData as C, FOUR_WORLDS as F, type HebrewLetterData as H, LURIANIC_PATHS as L, type MusicalNoteData as M, type NodeId as N, type PathData as P, type SphereData as S, type TarotArkAnnuData as T, type Unloader as U, type WorldData as W, type NodeType as a, type NodeData as b, type Node as c, type WesternZodiacSignData as d, SPHERES as e, SPHERE_DATA as f, PLANETS as g, WESTERN_ZODIAC_SIGNS as h, WESTERN_ELEMENTS as i, WESTERN_ZODIAC_SIGNS_DATA as j, MELKITZEDEKI_PATHS as k, LATIN_LETTERS 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, type System as s, SYSTEMS as t, type SystemKey as u, type PartKey as v, type Loader as w, TreeOfLife as x };
@@ -322,6 +322,10 @@ declare const TAROT_ARKANNUS: {
322
322
  readonly NINE_OF_PENTACLES: "Nine of Pentacles";
323
323
  readonly TEN_OF_PENTACLES: "Ten of Pentacles";
324
324
  };
325
+ declare const TAROT_DECKS: {
326
+ readonly PAPUS_KAABALISTIC: "Papus Kaabalistic";
327
+ readonly KIER_EGYPTIAN: "Kier Egyptian";
328
+ };
325
329
  declare const TAROT_ARKANNUS_DATA: Record<keyof typeof TAROT_ARKANNUS, NodeData<"tarotArkAnnu">>;
326
330
 
327
331
  /**
@@ -333,7 +337,6 @@ declare class TreeOfLife {
333
337
  private nodes;
334
338
  private adjacent;
335
339
  private modules;
336
- activeSystem: SystemKey | null;
337
340
  /**
338
341
  * Loads the tree of life system to be used
339
342
  * @param systemKey - the key of the system to load
@@ -348,10 +351,11 @@ declare class TreeOfLife {
348
351
  * Unloads the tree of life system and all its parts
349
352
  */
350
353
  unloadSystem(): void;
351
- listAvailableParts(): string[];
352
- listLoadedParts(): PartKey[];
353
- listAvailableBridges(): Bridge[];
354
- listBridgedParts(): string[];
354
+ get activeSystem(): SystemKey | null;
355
+ get availableParts(): string[];
356
+ get loadedParts(): PartKey[];
357
+ get availableBridges(): Bridge[];
358
+ get bridgedParts(): string[];
355
359
  /**
356
360
  * Adds a node to the tree
357
361
  * @param node - the node to add
@@ -359,6 +363,7 @@ declare class TreeOfLife {
359
363
  */
360
364
  addNode<T extends NodeType>(node: Node<T>): string;
361
365
  getNode(id: NodeId): Node<NodeType> | undefined;
366
+ getNodes(): Node<NodeType>[];
362
367
  /**
363
368
  * Links two nodes bi-directionally
364
369
  * @param firstNode - the id of the first node
@@ -476,4 +481,4 @@ type Bridge = {
476
481
  run: (t: TreeOfLife) => void;
477
482
  };
478
483
 
479
- export { type Bridge as B, type ColorData as C, FOUR_WORLDS as F, type HebrewLetterData as H, LURIANIC_PATHS as L, type MusicalNoteData as M, type NodeId as N, type PathData as P, type SphereData as S, type TarotArkAnnuData as T, type Unloader as U, type WorldData as W, type NodeType as a, type NodeData as b, type Node as c, type WesternZodiacSignData as d, SPHERES as e, SPHERE_DATA as f, PLANETS as g, WESTERN_ZODIAC_SIGNS as h, WESTERN_ELEMENTS as i, WESTERN_ZODIAC_SIGNS_DATA as j, MELKITZEDEKI_PATHS as k, LATIN_LETTERS as l, HEBREW_LETTERS as m, HEBREW_LETTERS_DATA as n, TAROT_SUITS as o, TAROT_ARKANNUS as p, TAROT_ARKANNUS_DATA as q, type System as r, SYSTEMS as s, type SystemKey as t, type PartKey as u, type Loader as v, TreeOfLife as w };
484
+ export { type Bridge as B, type ColorData as C, FOUR_WORLDS as F, type HebrewLetterData as H, LURIANIC_PATHS as L, type MusicalNoteData as M, type NodeId as N, type PathData as P, type SphereData as S, type TarotArkAnnuData as T, type Unloader as U, type WorldData as W, type NodeType as a, type NodeData as b, type Node as c, type WesternZodiacSignData as d, SPHERES as e, SPHERE_DATA as f, PLANETS as g, WESTERN_ZODIAC_SIGNS as h, WESTERN_ELEMENTS as i, WESTERN_ZODIAC_SIGNS_DATA as j, MELKITZEDEKI_PATHS as k, LATIN_LETTERS 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, type System as s, SYSTEMS as t, type SystemKey as u, type PartKey as v, type Loader as w, TreeOfLife as x };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaabalah",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "The de-facto library for any esoteric calculations and tooling",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",