kaabalah 6.12.1 → 6.13.0

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.
Files changed (51) hide show
  1. package/README.md +18 -2
  2. package/dist/chunk-5PZ7EB2E.js +3659 -0
  3. package/dist/chunk-5PZ7EB2E.js.map +1 -0
  4. package/dist/{chunk-4XS3UZEI.js → chunk-MWHMP3LI.js} +2 -2
  5. package/dist/{chunk-KYYS4GHH.mjs → chunk-V5KXYFHZ.mjs} +2 -2
  6. package/dist/chunk-ZE2KPCHT.mjs +3625 -0
  7. package/dist/chunk-ZE2KPCHT.mjs.map +1 -0
  8. package/dist/cli.js +3949 -218
  9. package/dist/cli.js.map +1 -1
  10. package/dist/{correspondence-model-JSyDWwmn.d.mts → constants-C0XjrYIG.d.mts} +1 -297
  11. package/dist/{correspondence-model-JSyDWwmn.d.ts → constants-C0XjrYIG.d.ts} +1 -297
  12. package/dist/core/index.d.mts +5 -3
  13. package/dist/core/index.d.ts +5 -3
  14. package/dist/correspondence-model-5JQwAX16.d.ts +299 -0
  15. package/dist/correspondence-model-QJK8AilM.d.mts +299 -0
  16. package/dist/{data-CdjlIcAo.d.mts → data-2Hp_b3BD.d.mts} +1 -1
  17. package/dist/{data-_b06lgY6.d.ts → data-BXhkIF1M.d.ts} +1 -1
  18. package/dist/gematria/index.d.mts +2 -1
  19. package/dist/gematria/index.d.ts +2 -1
  20. package/dist/iching/index.d.mts +912 -0
  21. package/dist/iching/index.d.ts +912 -0
  22. package/dist/iching/index.js +143 -0
  23. package/dist/iching/index.js.map +1 -0
  24. package/dist/iching/index.mjs +6 -0
  25. package/dist/iching/index.mjs.map +1 -0
  26. package/dist/index.d.mts +5 -3
  27. package/dist/index.d.ts +5 -3
  28. package/dist/index.js +242 -109
  29. package/dist/index.mjs +3 -2
  30. package/dist/semantic/index.d.mts +3 -2
  31. package/dist/semantic/index.d.ts +3 -2
  32. package/dist/semantic/index.js +21 -21
  33. package/dist/semantic/index.mjs +2 -2
  34. package/dist/swisseph.node.js +0 -0
  35. package/dist/swisseph.web.js +0 -0
  36. package/dist/tarot/index.d.mts +4 -3
  37. package/dist/tarot/index.d.ts +4 -3
  38. package/dist/{topology-CH3hsIqO.d.mts → topology-C8PdKGeK.d.ts} +2 -1
  39. package/dist/{topology-DXYTpDvj.d.ts → topology-sytcjXkx.d.mts} +2 -1
  40. package/dist/visual/index.d.mts +3 -2
  41. package/dist/visual/index.d.ts +3 -2
  42. package/dist/wasm/build/swisseph.node.js +0 -0
  43. package/dist/wasm/build/swisseph.web.js +0 -0
  44. package/ephe/seas_18.se1 +0 -0
  45. package/ephe/semo_18.se1 +0 -0
  46. package/ephe/sepl_18.se1 +0 -0
  47. package/package.json +6 -1
  48. package/wasm/build/swisseph.node.js +0 -0
  49. package/wasm/build/swisseph.web.js +0 -0
  50. /package/dist/{chunk-4XS3UZEI.js.map → chunk-MWHMP3LI.js.map} +0 -0
  51. /package/dist/{chunk-KYYS4GHH.mjs.map → chunk-V5KXYFHZ.mjs.map} +0 -0
@@ -453,300 +453,4 @@ declare const COLORS: {
453
453
  };
454
454
  declare const COLORS_DATA: Record<keyof typeof COLORS, ColorData>;
455
455
 
456
- /**
457
- * TreeOfLife represents a graph structure for mapping Kaabalah, Tarot, Astrology and other
458
- * esoteric correspondences. It can be used to create multiple independent instances
459
- * for different use cases or to isolate different sets of correspondences.
460
- */
461
- declare class TreeOfLife {
462
- private nodes;
463
- private adjacent;
464
- private edges;
465
- private mutationSources;
466
- private modules;
467
- private getCurrentMutationSource;
468
- runWithMutationSource<T>(source: CorrespondenceSource, fn: () => T): T;
469
- /**
470
- * Loads the tree of life system to be used
471
- * @param systemKey - the key of the system to load
472
- */
473
- loadSystem(systemKey: SystemKey): void;
474
- /**
475
- * Loads a part of a system into the tree of life
476
- * @param partKey - the key of the part to load
477
- */
478
- loadPart(partKey: PartKey): void;
479
- /**
480
- * Unloads the tree of life system and all its parts
481
- */
482
- unloadSystem(): void;
483
- get activeSystem(): SystemKey | null;
484
- get availableParts(): string[];
485
- get loadedParts(): PartKey[];
486
- get availableBridges(): Bridge[];
487
- get bridgedParts(): string[];
488
- /**
489
- * Upserts a node to the tree
490
- * @param node - the node to upsert
491
- * @returns the id of the added node
492
- */
493
- upsertNode<T extends NodeType>(node: Node<T>): NodeId<T>;
494
- getNode<T extends NodeType>(id: NodeId<T>): Node<T> | undefined;
495
- getNodes(): Node<NodeType>[];
496
- getEdge(left: NodeId<NodeType>, right: NodeId<NodeType>): CorrespondenceEdge | undefined;
497
- getEdges(nodeId?: NodeId<NodeType>): CorrespondenceEdge[];
498
- /**
499
- * Links two nodes bi-directionally
500
- * @param firstNode - the id of the first node
501
- * @param secondNode - the id of the second node
502
- */
503
- link(firstNode: NodeId<NodeType>, secondNode: NodeId<NodeType>, options?: {
504
- metadata?: CorrespondenceMetadata;
505
- source?: CorrespondenceSource;
506
- }): void;
507
- /**
508
- * Gets the current node and all its direct relations, or, when filtered by node type, only the direct relations of that type.
509
- * @param id - the id of the node to get the relations for
510
- * @param nodeType - the node type to filter the relations by
511
- * @returns the current node and all its direct relations
512
- */
513
- related<T extends NodeType, U extends NodeType>(id: NodeId<T>, nodeType?: U): Node<U>[];
514
- /**
515
- * Sugar for `related(id, type)[0]`
516
- * @param id - the id of the node to get the related node for
517
- * @param type - the type of the node to get the related node for
518
- * @returns the related node
519
- */
520
- relatedFirst<T extends NodeType, U extends NodeType>(id: NodeId<T>, type: U): Node<U> | undefined;
521
- /**
522
- * Gets all the types of nodes that are directly connected to the given node
523
- * @param id - the id of the node to get related types for
524
- * @returns array of node types that are directly connected
525
- */
526
- relatedTypes<T extends NodeType>(id: NodeId<T>): T[];
527
- /**
528
- * BFS up to depth k, optional type filter for the result set
529
- * @param id - the id of the node to get the extended relations for
530
- * @param depth - the depth of the walk
531
- * @param type - the type of the nodes to filter the result set by
532
- * @returns the current node and all its extended relations
533
- */
534
- walk<T extends NodeType, U extends NodeType>(id: NodeId<T>, depth?: number, type?: U): Node<U>[];
535
- /**
536
- * Removes a node and all its relations from the graph, cleaning up adjacency sets.
537
- * @param id - the id of the node to remove
538
- */
539
- removeNode(id: NodeId<NodeType>): void;
540
- addNumber({ number, nodeId }: {
541
- number: number;
542
- nodeId?: NodeId<NodeType>;
543
- }): NodeId<NumerologyTypes>;
544
- /**
545
- * Adds a sphere (sephirah) to the tree with its Hebrew and English names
546
- * @param sphere - the identifier for the sphere
547
- * @param data - the sphere's Hebrew and English names
548
- * @returns the sphere's id
549
- */
550
- addSphere({ sphere, data, relatedNumber, }: {
551
- sphere: string;
552
- data: NodeData<KaabalahTypes.SPHERE>;
553
- relatedNumber: number;
554
- }): NodeId<KaabalahTypes.SPHERE>;
555
- /**
556
- * Adds a path between two spheres with its associated number
557
- * @param leftSphere - the id of the first sphere
558
- * @param rightSphere - the id of the second sphere
559
- * @param relatedNumber - the number associated with this path
560
- * @returns the path's id
561
- */
562
- addPath({ leftSphere, rightSphere, relatedNumber, data, }: {
563
- leftSphere: NodeId<KaabalahTypes.SPHERE>;
564
- rightSphere: NodeId<KaabalahTypes.SPHERE>;
565
- relatedNumber: number;
566
- data?: Omit<NodeData<KaabalahTypes.PATH>, "from" | "to">;
567
- }): NodeId<KaabalahTypes.PATH>;
568
- addLetters({ path, letters, }: {
569
- path: NodeId<KaabalahTypes.PATH>;
570
- letters: {
571
- letter: string;
572
- type: NodeType;
573
- data?: NodeData<NodeType>;
574
- }[];
575
- }): void;
576
- addWesternAstrologySign({ spheres, path, house, planets, element, modality, sign, relatedNumber, }: {
577
- spheres: NodeId<KaabalahTypes.SPHERE>[];
578
- path: NodeId<KaabalahTypes.PATH>;
579
- house: NodeId<WesternAstrologyTypes.HOUSE>;
580
- planets: NodeId<WesternAstrologyTypes.PLANET>[];
581
- element: NodeId<WesternAstrologyTypes.WESTERN_ELEMENT>;
582
- modality: NodeId<WesternAstrologyTypes.MODALITIES>;
583
- sign: string;
584
- relatedNumber: number;
585
- }): NodeId<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;
586
- addTarotArkAnnu({ node, tarotArkAnnu, data, relatedNumber, suit, }: {
587
- node: NodeId<NodeType>;
588
- tarotArkAnnu: string;
589
- data: NodeData<TarotTypes.TAROT_ARK_ANNU>;
590
- relatedNumber: number;
591
- suit?: string;
592
- }): NodeId<TarotTypes.TAROT_ARK_ANNU>;
593
- }
594
-
595
- /**
596
- * Loads the Hermetic Qabalah system into the tree of life
597
- */
598
- declare function loadHermeticQabalah(tree: TreeOfLife): TreeOfLife;
599
- declare function loadColors(tree: TreeOfLife): TreeOfLife;
600
- declare function loadMusicalNotes(tree: TreeOfLife): TreeOfLife;
601
- declare const LOADERS$2: {
602
- base: typeof loadHermeticQabalah;
603
- colors: typeof loadColors;
604
- music: typeof loadMusicalNotes;
605
- westernAstrology: Loader;
606
- };
607
-
608
- declare const LOADERS$1: {
609
- base: Loader;
610
- colors: Loader;
611
- music: Loader;
612
- westernAstrology: Loader;
613
- tarot: Loader;
614
- };
615
-
616
- /**
617
- * Loads the Lurianic Kabbalah system into the tree of life
618
- */
619
- declare function loadLurianicKabbalah(tree: TreeOfLife): TreeOfLife;
620
- declare const LOADERS: {
621
- base: typeof loadLurianicKabbalah;
622
- };
623
-
624
- type System = {
625
- SYSTEM: "kaabalah" | "hermetic-qabalah" | "lurianic-kabbalah";
626
- LOADERS: Record<string, Loader>;
627
- UNLOADERS: Record<string, Unloader>;
628
- BRIDGES: Bridge[];
629
- };
630
- declare const SYSTEMS: System[];
631
- type SystemKey = (typeof SYSTEMS)[number]["SYSTEM"];
632
- type PartKey = keyof typeof LOADERS$1 | keyof typeof LOADERS$2 | keyof typeof LOADERS;
633
- type Loader = (t: TreeOfLife) => TreeOfLife;
634
- type Unloader = (t: TreeOfLife) => void;
635
- type Bridge = {
636
- id: string;
637
- needs: PartKey[];
638
- run: (t: TreeOfLife) => void;
639
- };
640
-
641
- type CorrespondenceSource = {
642
- kind: "manual";
643
- } | {
644
- kind: "system";
645
- system: SystemKey;
646
- } | {
647
- kind: "part";
648
- system: SystemKey;
649
- part: PartKey;
650
- } | {
651
- kind: "bridge";
652
- system: SystemKey;
653
- bridgeId: string;
654
- parts: PartKey[];
655
- } | {
656
- kind: "overlay";
657
- overlayId: string;
658
- label?: string;
659
- };
660
- interface CorrespondenceMetadata {
661
- kind?: string;
662
- label?: string;
663
- tags?: string[];
664
- attributes?: Record<string, unknown>;
665
- }
666
- interface CorrespondenceEdge {
667
- id: string;
668
- left: NodeId<NodeType>;
669
- right: NodeId<NodeType>;
670
- metadata?: CorrespondenceMetadata;
671
- sources: readonly CorrespondenceSource[];
672
- }
673
- type TreeNoteTarget = {
674
- kind: "node";
675
- nodeId: NodeId<NodeType>;
676
- } | {
677
- kind: "correspondence";
678
- left: NodeId<NodeType>;
679
- right: NodeId<NodeType>;
680
- };
681
- interface TreeNote {
682
- id: string;
683
- text: string;
684
- kind?: string;
685
- target: TreeNoteTarget;
686
- metadata?: Record<string, unknown>;
687
- }
688
- type TreeOverlayCorrespondence = {
689
- op: "add";
690
- left: NodeId<NodeType>;
691
- right: NodeId<NodeType>;
692
- metadata?: CorrespondenceMetadata;
693
- } | {
694
- op: "remove";
695
- left: NodeId<NodeType>;
696
- right: NodeId<NodeType>;
697
- } | {
698
- op: "annotate";
699
- left: NodeId<NodeType>;
700
- right: NodeId<NodeType>;
701
- metadata?: CorrespondenceMetadata;
702
- };
703
- interface TreeOverlay {
704
- id: string;
705
- name?: string;
706
- version?: string;
707
- nodes?: Node<NodeType>[];
708
- correspondences?: TreeOverlayCorrespondence[];
709
- notes?: TreeNote[];
710
- }
711
- interface TreeWorkspaceDescriptor {
712
- id?: string;
713
- name?: string;
714
- version?: string;
715
- system?: SystemKey;
716
- parts?: readonly string[];
717
- cacheKey?: string;
718
- }
719
- interface CorrespondenceStep {
720
- from: NodeId<NodeType>;
721
- to: NodeId<NodeType>;
722
- edge: CorrespondenceEdge;
723
- }
724
- interface CorrespondenceMatch<T extends NodeType = NodeType> {
725
- node: Node<T>;
726
- distance: number;
727
- path: readonly CorrespondenceStep[];
728
- }
729
- type CorrespondenceMap = Partial<{
730
- [K in NodeType]: CorrespondenceMatch<K>[];
731
- }>;
732
- declare function makeCorrespondenceId(left: NodeId<NodeType>, right: NodeId<NodeType>): string;
733
- declare function cloneMetadata(metadata?: CorrespondenceMetadata): {
734
- tags: string[] | undefined;
735
- attributes: {
736
- [x: string]: unknown;
737
- } | undefined;
738
- kind?: string | undefined;
739
- label?: string | undefined;
740
- } | undefined;
741
- declare function cloneSource(source: CorrespondenceSource): CorrespondenceSource;
742
- declare function mergeMetadata(current?: CorrespondenceMetadata, next?: CorrespondenceMetadata): {
743
- tags: string[] | undefined;
744
- attributes: {
745
- [x: string]: unknown;
746
- } | undefined;
747
- kind?: string | undefined;
748
- label?: string | undefined;
749
- } | undefined;
750
- declare function mergeSources(current: readonly CorrespondenceSource[], next: CorrespondenceSource): CorrespondenceSource[];
751
-
752
- export { type Unloader as $, type TreeNoteTarget as A, type TreeNote as B, type ColorData as C, type TreeOverlayCorrespondence as D, type TreeOverlay as E, FOUR_WORLDS as F, type TreeWorkspaceDescriptor as G, type HebrewLetterData as H, type CorrespondenceStep as I, type CorrespondenceMatch as J, type CorrespondenceMap as K, type LatinLetterData as L, type MusicalNoteData as M, makeCorrespondenceId as N, cloneMetadata as O, type PathData as P, cloneSource as Q, mergeMetadata as R, type SphereData as S, type TarotArkAnnuData as T, mergeSources as U, type System as V, type WorldData as W, SYSTEMS as X, type SystemKey as Y, type PartKey as Z, type Loader as _, FOUR_WORLDS_DATA as a, type Bridge as a0, TreeOfLife as a1, KaabalahTypes as a2, LetterTypes as a3, WesternAstrologyTypes as a4, TarotTypes as a5, TantraTypes as a6, NumerologyTypes as a7, MiscTypes as a8, type NodeType as a9, type NodeId as aa, id as ab, parseId as ac, type NodeData as ad, type Node as ae, BaseNode as af, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, type CorrespondenceSource as x, type CorrespondenceMetadata as y, type CorrespondenceEdge as z };
456
+ export { TantraTypes as A, MiscTypes as B, type ColorData as C, type NodeType as D, type NodeId as E, FOUR_WORLDS as F, id as G, type HebrewLetterData as H, parseId as I, type NodeData as J, KaabalahTypes as K, type LatinLetterData as L, type MusicalNoteData as M, NumerologyTypes as N, type Node as O, type PathData as P, BaseNode as Q, type SphereData as S, type TarotArkAnnuData as T, type WorldData as W, FOUR_WORLDS_DATA as a, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, LetterTypes as x, WesternAstrologyTypes as y, TarotTypes as z };
@@ -453,300 +453,4 @@ declare const COLORS: {
453
453
  };
454
454
  declare const COLORS_DATA: Record<keyof typeof COLORS, ColorData>;
455
455
 
456
- /**
457
- * TreeOfLife represents a graph structure for mapping Kaabalah, Tarot, Astrology and other
458
- * esoteric correspondences. It can be used to create multiple independent instances
459
- * for different use cases or to isolate different sets of correspondences.
460
- */
461
- declare class TreeOfLife {
462
- private nodes;
463
- private adjacent;
464
- private edges;
465
- private mutationSources;
466
- private modules;
467
- private getCurrentMutationSource;
468
- runWithMutationSource<T>(source: CorrespondenceSource, fn: () => T): T;
469
- /**
470
- * Loads the tree of life system to be used
471
- * @param systemKey - the key of the system to load
472
- */
473
- loadSystem(systemKey: SystemKey): void;
474
- /**
475
- * Loads a part of a system into the tree of life
476
- * @param partKey - the key of the part to load
477
- */
478
- loadPart(partKey: PartKey): void;
479
- /**
480
- * Unloads the tree of life system and all its parts
481
- */
482
- unloadSystem(): void;
483
- get activeSystem(): SystemKey | null;
484
- get availableParts(): string[];
485
- get loadedParts(): PartKey[];
486
- get availableBridges(): Bridge[];
487
- get bridgedParts(): string[];
488
- /**
489
- * Upserts a node to the tree
490
- * @param node - the node to upsert
491
- * @returns the id of the added node
492
- */
493
- upsertNode<T extends NodeType>(node: Node<T>): NodeId<T>;
494
- getNode<T extends NodeType>(id: NodeId<T>): Node<T> | undefined;
495
- getNodes(): Node<NodeType>[];
496
- getEdge(left: NodeId<NodeType>, right: NodeId<NodeType>): CorrespondenceEdge | undefined;
497
- getEdges(nodeId?: NodeId<NodeType>): CorrespondenceEdge[];
498
- /**
499
- * Links two nodes bi-directionally
500
- * @param firstNode - the id of the first node
501
- * @param secondNode - the id of the second node
502
- */
503
- link(firstNode: NodeId<NodeType>, secondNode: NodeId<NodeType>, options?: {
504
- metadata?: CorrespondenceMetadata;
505
- source?: CorrespondenceSource;
506
- }): void;
507
- /**
508
- * Gets the current node and all its direct relations, or, when filtered by node type, only the direct relations of that type.
509
- * @param id - the id of the node to get the relations for
510
- * @param nodeType - the node type to filter the relations by
511
- * @returns the current node and all its direct relations
512
- */
513
- related<T extends NodeType, U extends NodeType>(id: NodeId<T>, nodeType?: U): Node<U>[];
514
- /**
515
- * Sugar for `related(id, type)[0]`
516
- * @param id - the id of the node to get the related node for
517
- * @param type - the type of the node to get the related node for
518
- * @returns the related node
519
- */
520
- relatedFirst<T extends NodeType, U extends NodeType>(id: NodeId<T>, type: U): Node<U> | undefined;
521
- /**
522
- * Gets all the types of nodes that are directly connected to the given node
523
- * @param id - the id of the node to get related types for
524
- * @returns array of node types that are directly connected
525
- */
526
- relatedTypes<T extends NodeType>(id: NodeId<T>): T[];
527
- /**
528
- * BFS up to depth k, optional type filter for the result set
529
- * @param id - the id of the node to get the extended relations for
530
- * @param depth - the depth of the walk
531
- * @param type - the type of the nodes to filter the result set by
532
- * @returns the current node and all its extended relations
533
- */
534
- walk<T extends NodeType, U extends NodeType>(id: NodeId<T>, depth?: number, type?: U): Node<U>[];
535
- /**
536
- * Removes a node and all its relations from the graph, cleaning up adjacency sets.
537
- * @param id - the id of the node to remove
538
- */
539
- removeNode(id: NodeId<NodeType>): void;
540
- addNumber({ number, nodeId }: {
541
- number: number;
542
- nodeId?: NodeId<NodeType>;
543
- }): NodeId<NumerologyTypes>;
544
- /**
545
- * Adds a sphere (sephirah) to the tree with its Hebrew and English names
546
- * @param sphere - the identifier for the sphere
547
- * @param data - the sphere's Hebrew and English names
548
- * @returns the sphere's id
549
- */
550
- addSphere({ sphere, data, relatedNumber, }: {
551
- sphere: string;
552
- data: NodeData<KaabalahTypes.SPHERE>;
553
- relatedNumber: number;
554
- }): NodeId<KaabalahTypes.SPHERE>;
555
- /**
556
- * Adds a path between two spheres with its associated number
557
- * @param leftSphere - the id of the first sphere
558
- * @param rightSphere - the id of the second sphere
559
- * @param relatedNumber - the number associated with this path
560
- * @returns the path's id
561
- */
562
- addPath({ leftSphere, rightSphere, relatedNumber, data, }: {
563
- leftSphere: NodeId<KaabalahTypes.SPHERE>;
564
- rightSphere: NodeId<KaabalahTypes.SPHERE>;
565
- relatedNumber: number;
566
- data?: Omit<NodeData<KaabalahTypes.PATH>, "from" | "to">;
567
- }): NodeId<KaabalahTypes.PATH>;
568
- addLetters({ path, letters, }: {
569
- path: NodeId<KaabalahTypes.PATH>;
570
- letters: {
571
- letter: string;
572
- type: NodeType;
573
- data?: NodeData<NodeType>;
574
- }[];
575
- }): void;
576
- addWesternAstrologySign({ spheres, path, house, planets, element, modality, sign, relatedNumber, }: {
577
- spheres: NodeId<KaabalahTypes.SPHERE>[];
578
- path: NodeId<KaabalahTypes.PATH>;
579
- house: NodeId<WesternAstrologyTypes.HOUSE>;
580
- planets: NodeId<WesternAstrologyTypes.PLANET>[];
581
- element: NodeId<WesternAstrologyTypes.WESTERN_ELEMENT>;
582
- modality: NodeId<WesternAstrologyTypes.MODALITIES>;
583
- sign: string;
584
- relatedNumber: number;
585
- }): NodeId<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;
586
- addTarotArkAnnu({ node, tarotArkAnnu, data, relatedNumber, suit, }: {
587
- node: NodeId<NodeType>;
588
- tarotArkAnnu: string;
589
- data: NodeData<TarotTypes.TAROT_ARK_ANNU>;
590
- relatedNumber: number;
591
- suit?: string;
592
- }): NodeId<TarotTypes.TAROT_ARK_ANNU>;
593
- }
594
-
595
- /**
596
- * Loads the Hermetic Qabalah system into the tree of life
597
- */
598
- declare function loadHermeticQabalah(tree: TreeOfLife): TreeOfLife;
599
- declare function loadColors(tree: TreeOfLife): TreeOfLife;
600
- declare function loadMusicalNotes(tree: TreeOfLife): TreeOfLife;
601
- declare const LOADERS$2: {
602
- base: typeof loadHermeticQabalah;
603
- colors: typeof loadColors;
604
- music: typeof loadMusicalNotes;
605
- westernAstrology: Loader;
606
- };
607
-
608
- declare const LOADERS$1: {
609
- base: Loader;
610
- colors: Loader;
611
- music: Loader;
612
- westernAstrology: Loader;
613
- tarot: Loader;
614
- };
615
-
616
- /**
617
- * Loads the Lurianic Kabbalah system into the tree of life
618
- */
619
- declare function loadLurianicKabbalah(tree: TreeOfLife): TreeOfLife;
620
- declare const LOADERS: {
621
- base: typeof loadLurianicKabbalah;
622
- };
623
-
624
- type System = {
625
- SYSTEM: "kaabalah" | "hermetic-qabalah" | "lurianic-kabbalah";
626
- LOADERS: Record<string, Loader>;
627
- UNLOADERS: Record<string, Unloader>;
628
- BRIDGES: Bridge[];
629
- };
630
- declare const SYSTEMS: System[];
631
- type SystemKey = (typeof SYSTEMS)[number]["SYSTEM"];
632
- type PartKey = keyof typeof LOADERS$1 | keyof typeof LOADERS$2 | keyof typeof LOADERS;
633
- type Loader = (t: TreeOfLife) => TreeOfLife;
634
- type Unloader = (t: TreeOfLife) => void;
635
- type Bridge = {
636
- id: string;
637
- needs: PartKey[];
638
- run: (t: TreeOfLife) => void;
639
- };
640
-
641
- type CorrespondenceSource = {
642
- kind: "manual";
643
- } | {
644
- kind: "system";
645
- system: SystemKey;
646
- } | {
647
- kind: "part";
648
- system: SystemKey;
649
- part: PartKey;
650
- } | {
651
- kind: "bridge";
652
- system: SystemKey;
653
- bridgeId: string;
654
- parts: PartKey[];
655
- } | {
656
- kind: "overlay";
657
- overlayId: string;
658
- label?: string;
659
- };
660
- interface CorrespondenceMetadata {
661
- kind?: string;
662
- label?: string;
663
- tags?: string[];
664
- attributes?: Record<string, unknown>;
665
- }
666
- interface CorrespondenceEdge {
667
- id: string;
668
- left: NodeId<NodeType>;
669
- right: NodeId<NodeType>;
670
- metadata?: CorrespondenceMetadata;
671
- sources: readonly CorrespondenceSource[];
672
- }
673
- type TreeNoteTarget = {
674
- kind: "node";
675
- nodeId: NodeId<NodeType>;
676
- } | {
677
- kind: "correspondence";
678
- left: NodeId<NodeType>;
679
- right: NodeId<NodeType>;
680
- };
681
- interface TreeNote {
682
- id: string;
683
- text: string;
684
- kind?: string;
685
- target: TreeNoteTarget;
686
- metadata?: Record<string, unknown>;
687
- }
688
- type TreeOverlayCorrespondence = {
689
- op: "add";
690
- left: NodeId<NodeType>;
691
- right: NodeId<NodeType>;
692
- metadata?: CorrespondenceMetadata;
693
- } | {
694
- op: "remove";
695
- left: NodeId<NodeType>;
696
- right: NodeId<NodeType>;
697
- } | {
698
- op: "annotate";
699
- left: NodeId<NodeType>;
700
- right: NodeId<NodeType>;
701
- metadata?: CorrespondenceMetadata;
702
- };
703
- interface TreeOverlay {
704
- id: string;
705
- name?: string;
706
- version?: string;
707
- nodes?: Node<NodeType>[];
708
- correspondences?: TreeOverlayCorrespondence[];
709
- notes?: TreeNote[];
710
- }
711
- interface TreeWorkspaceDescriptor {
712
- id?: string;
713
- name?: string;
714
- version?: string;
715
- system?: SystemKey;
716
- parts?: readonly string[];
717
- cacheKey?: string;
718
- }
719
- interface CorrespondenceStep {
720
- from: NodeId<NodeType>;
721
- to: NodeId<NodeType>;
722
- edge: CorrespondenceEdge;
723
- }
724
- interface CorrespondenceMatch<T extends NodeType = NodeType> {
725
- node: Node<T>;
726
- distance: number;
727
- path: readonly CorrespondenceStep[];
728
- }
729
- type CorrespondenceMap = Partial<{
730
- [K in NodeType]: CorrespondenceMatch<K>[];
731
- }>;
732
- declare function makeCorrespondenceId(left: NodeId<NodeType>, right: NodeId<NodeType>): string;
733
- declare function cloneMetadata(metadata?: CorrespondenceMetadata): {
734
- tags: string[] | undefined;
735
- attributes: {
736
- [x: string]: unknown;
737
- } | undefined;
738
- kind?: string | undefined;
739
- label?: string | undefined;
740
- } | undefined;
741
- declare function cloneSource(source: CorrespondenceSource): CorrespondenceSource;
742
- declare function mergeMetadata(current?: CorrespondenceMetadata, next?: CorrespondenceMetadata): {
743
- tags: string[] | undefined;
744
- attributes: {
745
- [x: string]: unknown;
746
- } | undefined;
747
- kind?: string | undefined;
748
- label?: string | undefined;
749
- } | undefined;
750
- declare function mergeSources(current: readonly CorrespondenceSource[], next: CorrespondenceSource): CorrespondenceSource[];
751
-
752
- export { type Unloader as $, type TreeNoteTarget as A, type TreeNote as B, type ColorData as C, type TreeOverlayCorrespondence as D, type TreeOverlay as E, FOUR_WORLDS as F, type TreeWorkspaceDescriptor as G, type HebrewLetterData as H, type CorrespondenceStep as I, type CorrespondenceMatch as J, type CorrespondenceMap as K, type LatinLetterData as L, type MusicalNoteData as M, makeCorrespondenceId as N, cloneMetadata as O, type PathData as P, cloneSource as Q, mergeMetadata as R, type SphereData as S, type TarotArkAnnuData as T, mergeSources as U, type System as V, type WorldData as W, SYSTEMS as X, type SystemKey as Y, type PartKey as Z, type Loader as _, FOUR_WORLDS_DATA as a, type Bridge as a0, TreeOfLife as a1, KaabalahTypes as a2, LetterTypes as a3, WesternAstrologyTypes as a4, TarotTypes as a5, TantraTypes as a6, NumerologyTypes as a7, MiscTypes as a8, type NodeType as a9, type NodeId as aa, id as ab, parseId as ac, type NodeData as ad, type Node as ae, BaseNode as af, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, type CorrespondenceSource as x, type CorrespondenceMetadata as y, type CorrespondenceEdge as z };
456
+ export { TantraTypes as A, MiscTypes as B, type ColorData as C, type NodeType as D, type NodeId as E, FOUR_WORLDS as F, id as G, type HebrewLetterData as H, parseId as I, type NodeData as J, KaabalahTypes as K, type LatinLetterData as L, type MusicalNoteData as M, NumerologyTypes as N, type Node as O, type PathData as P, BaseNode as Q, type SphereData as S, type TarotArkAnnuData as T, type WorldData as W, FOUR_WORLDS_DATA as a, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, LetterTypes as x, WesternAstrologyTypes as y, TarotTypes as z };
@@ -1,6 +1,8 @@
1
- import { Y as SystemKey, Z as PartKey, a1 as TreeOfLife, a9 as NodeType, aa as NodeId, ae as Node, G as TreeWorkspaceDescriptor, z as CorrespondenceEdge, B as TreeNote, A as TreeNoteTarget, J as CorrespondenceMatch, K as CorrespondenceMap, E as TreeOverlay } from '../correspondence-model-JSyDWwmn.mjs';
2
- export { af as BaseNode, a0 as Bridge, v as COLORS, w as COLORS_DATA, C as ColorData, y as CorrespondenceMetadata, x as CorrespondenceSource, I as CorrespondenceStep, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, a2 as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, a3 as LetterTypes, _ as Loader, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, a8 as MiscTypes, M as MusicalNoteData, ad as NodeData, a7 as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, X as SYSTEMS, S as SphereData, V as System, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, a6 as TantraTypes, T as TarotArkAnnuData, a5 as TarotTypes, D as TreeOverlayCorrespondence, $ as Unloader, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, a4 as WesternAstrologyTypes, W as WorldData, O as cloneMetadata, Q as cloneSource, ab as id, N as makeCorrespondenceId, R as mergeMetadata, U as mergeSources, ac as parseId } from '../correspondence-model-JSyDWwmn.mjs';
3
- export { G as GetTreeTopologySpheresOptions, i as TREE_TOPOLOGY_LIGHTNING_SPHERE_NAMES, h as TREE_TOPOLOGY_PATH_IDS, g as TREE_TOPOLOGY_SPHERE_IDS, f as TREE_TOPOLOGY_SPHERE_NAMES, s as TreeTopology, l as TreeTopologyAdjacentSphere, r as TreeTopologyOptions, k as TreeTopologyPath, b as TreeTopologyPathId, q as TreeTopologyPathLookup, o as TreeTopologyRoute, e as TreeTopologyRouteDirection, d as TreeTopologyRouteKey, m as TreeTopologyRouteSegment, n as TreeTopologyRouteTarget, j as TreeTopologySphere, a as TreeTopologySphereId, p as TreeTopologySphereLookup, T as TreeTopologySphereName, c as TreeTopologySphereRole, t as getTreeTopology } from '../topology-CH3hsIqO.mjs';
1
+ import { D as NodeType, E as NodeId, O as Node } from '../constants-C0XjrYIG.mjs';
2
+ export { Q as BaseNode, v as COLORS, w as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, x as LetterTypes, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, B as MiscTypes, M as MusicalNoteData, J as NodeData, N as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, S as SphereData, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, A as TantraTypes, T as TarotArkAnnuData, z as TarotTypes, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, y as WesternAstrologyTypes, W as WorldData, G as id, I as parseId } from '../constants-C0XjrYIG.mjs';
3
+ import { p as SystemKey, P as PartKey, q as TreeOfLife, f as TreeWorkspaceDescriptor, b as CorrespondenceEdge, c as TreeNote, T as TreeNoteTarget, h as CorrespondenceMatch, i as CorrespondenceMap, e as TreeOverlay } from '../correspondence-model-QJK8AilM.mjs';
4
+ export { B as Bridge, a as CorrespondenceMetadata, C as CorrespondenceSource, g as CorrespondenceStep, L as Loader, o as SYSTEMS, S as System, d as TreeOverlayCorrespondence, U as Unloader, j as cloneMetadata, k as cloneSource, m as makeCorrespondenceId, l as mergeMetadata, n as mergeSources } from '../correspondence-model-QJK8AilM.mjs';
5
+ export { G as GetTreeTopologySpheresOptions, i as TREE_TOPOLOGY_LIGHTNING_SPHERE_NAMES, h as TREE_TOPOLOGY_PATH_IDS, g as TREE_TOPOLOGY_SPHERE_IDS, f as TREE_TOPOLOGY_SPHERE_NAMES, s as TreeTopology, l as TreeTopologyAdjacentSphere, r as TreeTopologyOptions, k as TreeTopologyPath, b as TreeTopologyPathId, q as TreeTopologyPathLookup, o as TreeTopologyRoute, e as TreeTopologyRouteDirection, d as TreeTopologyRouteKey, m as TreeTopologyRouteSegment, n as TreeTopologyRouteTarget, j as TreeTopologySphere, a as TreeTopologySphereId, p as TreeTopologySphereLookup, T as TreeTopologySphereName, c as TreeTopologySphereRole, t as getTreeTopology } from '../topology-sytcjXkx.mjs';
4
6
 
5
7
  interface TreeOptions {
6
8
  system: SystemKey;
@@ -1,6 +1,8 @@
1
- import { Y as SystemKey, Z as PartKey, a1 as TreeOfLife, a9 as NodeType, aa as NodeId, ae as Node, G as TreeWorkspaceDescriptor, z as CorrespondenceEdge, B as TreeNote, A as TreeNoteTarget, J as CorrespondenceMatch, K as CorrespondenceMap, E as TreeOverlay } from '../correspondence-model-JSyDWwmn.js';
2
- export { af as BaseNode, a0 as Bridge, v as COLORS, w as COLORS_DATA, C as ColorData, y as CorrespondenceMetadata, x as CorrespondenceSource, I as CorrespondenceStep, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, a2 as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, a3 as LetterTypes, _ as Loader, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, a8 as MiscTypes, M as MusicalNoteData, ad as NodeData, a7 as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, X as SYSTEMS, S as SphereData, V as System, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, a6 as TantraTypes, T as TarotArkAnnuData, a5 as TarotTypes, D as TreeOverlayCorrespondence, $ as Unloader, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, a4 as WesternAstrologyTypes, W as WorldData, O as cloneMetadata, Q as cloneSource, ab as id, N as makeCorrespondenceId, R as mergeMetadata, U as mergeSources, ac as parseId } from '../correspondence-model-JSyDWwmn.js';
3
- export { G as GetTreeTopologySpheresOptions, i as TREE_TOPOLOGY_LIGHTNING_SPHERE_NAMES, h as TREE_TOPOLOGY_PATH_IDS, g as TREE_TOPOLOGY_SPHERE_IDS, f as TREE_TOPOLOGY_SPHERE_NAMES, s as TreeTopology, l as TreeTopologyAdjacentSphere, r as TreeTopologyOptions, k as TreeTopologyPath, b as TreeTopologyPathId, q as TreeTopologyPathLookup, o as TreeTopologyRoute, e as TreeTopologyRouteDirection, d as TreeTopologyRouteKey, m as TreeTopologyRouteSegment, n as TreeTopologyRouteTarget, j as TreeTopologySphere, a as TreeTopologySphereId, p as TreeTopologySphereLookup, T as TreeTopologySphereName, c as TreeTopologySphereRole, t as getTreeTopology } from '../topology-DXYTpDvj.js';
1
+ import { D as NodeType, E as NodeId, O as Node } from '../constants-C0XjrYIG.js';
2
+ export { Q as BaseNode, v as COLORS, w as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, x as LetterTypes, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, B as MiscTypes, M as MusicalNoteData, J as NodeData, N as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, S as SphereData, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, A as TantraTypes, T as TarotArkAnnuData, z as TarotTypes, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, y as WesternAstrologyTypes, W as WorldData, G as id, I as parseId } from '../constants-C0XjrYIG.js';
3
+ import { p as SystemKey, P as PartKey, q as TreeOfLife, f as TreeWorkspaceDescriptor, b as CorrespondenceEdge, c as TreeNote, T as TreeNoteTarget, h as CorrespondenceMatch, i as CorrespondenceMap, e as TreeOverlay } from '../correspondence-model-5JQwAX16.js';
4
+ export { B as Bridge, a as CorrespondenceMetadata, C as CorrespondenceSource, g as CorrespondenceStep, L as Loader, o as SYSTEMS, S as System, d as TreeOverlayCorrespondence, U as Unloader, j as cloneMetadata, k as cloneSource, m as makeCorrespondenceId, l as mergeMetadata, n as mergeSources } from '../correspondence-model-5JQwAX16.js';
5
+ export { G as GetTreeTopologySpheresOptions, i as TREE_TOPOLOGY_LIGHTNING_SPHERE_NAMES, h as TREE_TOPOLOGY_PATH_IDS, g as TREE_TOPOLOGY_SPHERE_IDS, f as TREE_TOPOLOGY_SPHERE_NAMES, s as TreeTopology, l as TreeTopologyAdjacentSphere, r as TreeTopologyOptions, k as TreeTopologyPath, b as TreeTopologyPathId, q as TreeTopologyPathLookup, o as TreeTopologyRoute, e as TreeTopologyRouteDirection, d as TreeTopologyRouteKey, m as TreeTopologyRouteSegment, n as TreeTopologyRouteTarget, j as TreeTopologySphere, a as TreeTopologySphereId, p as TreeTopologySphereLookup, T as TreeTopologySphereName, c as TreeTopologySphereRole, t as getTreeTopology } from '../topology-C8PdKGeK.js';
4
6
 
5
7
  interface TreeOptions {
6
8
  system: SystemKey;