kaabalah 2.0.1 → 2.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.
@@ -30,7 +30,7 @@ declare enum MiscTypes {
30
30
  MUSICAL_NOTE = "musicalNote",
31
31
  UNCATEGORIZED = "uncategorized"
32
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];
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
34
  type Branded<T, B> = T & {
35
35
  readonly __brand: B;
36
36
  };
@@ -60,7 +60,7 @@ declare class BaseNode<T extends NodeType> implements Node<T> {
60
60
  type: T;
61
61
  data?: NodeData<T>;
62
62
  _name?: string;
63
- constructor({ id: idValue, type, data, name }: Omit<Node<T>, "id"> & {
63
+ constructor({ id: idValue, type, data, name, }: Omit<Node<T>, "id"> & {
64
64
  id: string | number;
65
65
  });
66
66
  get name(): string;
@@ -128,13 +128,12 @@ type WesternZodiacSignData = {
128
128
  type TarotArkAnnuData = {
129
129
  type: "major" | "minor" | "court";
130
130
  suit?: (typeof TAROT_SUITS)[keyof typeof TAROT_SUITS];
131
- descriptiveData: {
132
- deck: string;
131
+ descriptiveData?: Partial<Record<keyof typeof TAROT_DECKS, {
133
132
  name?: string;
134
133
  meaning?: string;
135
134
  reversedMeaning?: string;
136
135
  keywords?: string[];
137
- }[];
136
+ }>>;
138
137
  };
139
138
  declare const FOUR_WORLDS: {
140
139
  readonly ATZILUTH: "Atziluth";
@@ -587,7 +586,7 @@ type System = {
587
586
  BRIDGES: Bridge[];
588
587
  };
589
588
  declare const SYSTEMS: System[];
590
- type SystemKey = typeof SYSTEMS[number]['SYSTEM'];
589
+ type SystemKey = (typeof SYSTEMS)[number]["SYSTEM"];
591
590
  type PartKey = keyof typeof LOADERS$1 | keyof typeof LOADERS$2 | keyof typeof LOADERS;
592
591
  type Loader = (t: TreeOfLife) => TreeOfLife;
593
592
  type Unloader = (t: TreeOfLife) => void;
@@ -30,7 +30,7 @@ declare enum MiscTypes {
30
30
  MUSICAL_NOTE = "musicalNote",
31
31
  UNCATEGORIZED = "uncategorized"
32
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];
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
34
  type Branded<T, B> = T & {
35
35
  readonly __brand: B;
36
36
  };
@@ -60,7 +60,7 @@ declare class BaseNode<T extends NodeType> implements Node<T> {
60
60
  type: T;
61
61
  data?: NodeData<T>;
62
62
  _name?: string;
63
- constructor({ id: idValue, type, data, name }: Omit<Node<T>, "id"> & {
63
+ constructor({ id: idValue, type, data, name, }: Omit<Node<T>, "id"> & {
64
64
  id: string | number;
65
65
  });
66
66
  get name(): string;
@@ -128,13 +128,12 @@ type WesternZodiacSignData = {
128
128
  type TarotArkAnnuData = {
129
129
  type: "major" | "minor" | "court";
130
130
  suit?: (typeof TAROT_SUITS)[keyof typeof TAROT_SUITS];
131
- descriptiveData: {
132
- deck: string;
131
+ descriptiveData?: Partial<Record<keyof typeof TAROT_DECKS, {
133
132
  name?: string;
134
133
  meaning?: string;
135
134
  reversedMeaning?: string;
136
135
  keywords?: string[];
137
- }[];
136
+ }>>;
138
137
  };
139
138
  declare const FOUR_WORLDS: {
140
139
  readonly ATZILUTH: "Atziluth";
@@ -587,7 +586,7 @@ type System = {
587
586
  BRIDGES: Bridge[];
588
587
  };
589
588
  declare const SYSTEMS: System[];
590
- type SystemKey = typeof SYSTEMS[number]['SYSTEM'];
589
+ type SystemKey = (typeof SYSTEMS)[number]["SYSTEM"];
591
590
  type PartKey = keyof typeof LOADERS$1 | keyof typeof LOADERS$2 | keyof typeof LOADERS;
592
591
  type Loader = (t: TreeOfLife) => TreeOfLife;
593
592
  type Unloader = (t: TreeOfLife) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaabalah",
3
- "version": "2.0.1",
3
+ "version": "2.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",