kaabalah 5.6.0 → 6.1.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.
- package/README.md +72 -0
- package/dist/astrology/index.d.mts +16 -1
- package/dist/astrology/index.d.ts +16 -1
- package/dist/astrology/index.js +55 -51
- package/dist/astrology/index.mjs +1 -1
- package/dist/{chunk-HGEWHDIX.js → chunk-3JSPGVX3.js} +176 -10
- package/dist/chunk-3JSPGVX3.js.map +1 -0
- package/dist/{chunk-3SFBJHP2.mjs → chunk-G76K6OVQ.mjs} +3 -3
- package/dist/{chunk-3SFBJHP2.mjs.map → chunk-G76K6OVQ.mjs.map} +1 -1
- package/dist/{chunk-U3JFWP24.mjs → chunk-GJB3CZPN.mjs} +1080 -5
- package/dist/chunk-GJB3CZPN.mjs.map +1 -0
- package/dist/{chunk-3HYK4Q4B.js → chunk-HAMDOCS5.js} +273 -2
- package/dist/chunk-HAMDOCS5.js.map +1 -0
- package/dist/chunk-JL7CWPRG.js +850 -0
- package/dist/chunk-JL7CWPRG.js.map +1 -0
- package/dist/chunk-L6M533N6.mjs +843 -0
- package/dist/chunk-L6M533N6.mjs.map +1 -0
- package/dist/{chunk-4NMXTZX4.mjs → chunk-NBP75BAH.mjs} +3 -3
- package/dist/{chunk-4NMXTZX4.mjs.map → chunk-NBP75BAH.mjs.map} +1 -1
- package/dist/{chunk-OGWTKRJK.js → chunk-NPCXF6RV.js} +1089 -10
- package/dist/chunk-NPCXF6RV.js.map +1 -0
- package/dist/{chunk-EVQ432JA.js → chunk-O3ZBG566.js} +23 -23
- package/dist/{chunk-EVQ432JA.js.map → chunk-O3ZBG566.js.map} +1 -1
- package/dist/{chunk-IHQPXEB7.mjs → chunk-RZBVUDBM.mjs} +273 -2
- package/dist/chunk-RZBVUDBM.mjs.map +1 -0
- package/dist/{chunk-S6BFRUJQ.mjs → chunk-S4EJ3ZY7.mjs} +3 -3
- package/dist/{chunk-S6BFRUJQ.mjs.map → chunk-S4EJ3ZY7.mjs.map} +1 -1
- package/dist/{chunk-XB6PXEKO.js → chunk-TMN4PYVG.js} +9 -9
- package/dist/{chunk-XB6PXEKO.js.map → chunk-TMN4PYVG.js.map} +1 -1
- package/dist/{chunk-T6Y4DLMA.mjs → chunk-TZJU6SRX.mjs} +176 -11
- package/dist/chunk-TZJU6SRX.mjs.map +1 -0
- package/dist/{chunk-XTVGQXCL.js → chunk-Y4PTMABP.js} +4 -4
- package/dist/{chunk-XTVGQXCL.js.map → chunk-Y4PTMABP.js.map} +1 -1
- package/dist/cli.js +1213 -52
- package/dist/cli.js.map +1 -1
- package/dist/{constants-DbFwuCjR.d.mts → constants-C0XjrYIG.d.mts} +2 -0
- package/dist/{constants-DbFwuCjR.d.ts → constants-C0XjrYIG.d.ts} +2 -0
- package/dist/core/index.d.mts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +43 -43
- package/dist/core/index.mjs +2 -2
- package/dist/{correspondence-model-D8c42J4c.d.mts → correspondence-model-BrtIu5tW.d.mts} +1 -1
- package/dist/{correspondence-model-DhmBYoMf.d.ts → correspondence-model-CpFOWeBr.d.ts} +1 -1
- package/dist/gematria/index.d.mts +2 -2
- package/dist/gematria/index.d.ts +2 -2
- package/dist/gematria/index.js +5 -5
- package/dist/gematria/index.mjs +2 -2
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +169 -124
- package/dist/index.mjs +7 -6
- package/dist/numerology/index.js +18 -18
- package/dist/numerology/index.mjs +3 -3
- package/dist/semantic/index.d.mts +83 -0
- package/dist/semantic/index.d.ts +83 -0
- package/dist/semantic/index.js +36 -0
- package/dist/semantic/index.js.map +1 -0
- package/dist/semantic/index.mjs +7 -0
- package/dist/semantic/index.mjs.map +1 -0
- package/dist/tarot/index.d.mts +95 -2
- package/dist/tarot/index.d.ts +95 -2
- package/dist/tarot/index.js +28 -12
- package/dist/tarot/index.mjs +3 -3
- package/package.json +6 -1
- package/dist/chunk-3HYK4Q4B.js.map +0 -1
- package/dist/chunk-HGEWHDIX.js.map +0 -1
- package/dist/chunk-IHQPXEB7.mjs.map +0 -1
- package/dist/chunk-OGWTKRJK.js.map +0 -1
- package/dist/chunk-T6Y4DLMA.mjs.map +0 -1
- package/dist/chunk-U3JFWP24.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { ASTROCARTOGRAPHY_DEFAULT_PLANETS, CalcFlag, DEFAULT_ASPECT_SPECS, DOMICILE_RULERS, EXALTATIONS, HouseSystem, PLANET_AND_NODE_NAMES, Planet, RiseTransitFlag, SIGNS, SLOW_PLANETS, VirtualNodes, closeSwissEph, computeAspects, computeAstrocartographyMap, computeEquatorialPositions, computeGMST, computeHorizonLongitude, computeICLongitude, computeMCLongitude, computeMidpoints, computeSynastryAspects, computeTransitAspects, findHouseOf, findParansAtLatitude, formatDegreeMinutes, geographicAngularDifference, getAnnualProfection, getAspectMatch, getBirthChart, getCompositeChart, getDecan, getDetriment, getDodecatemoria, getDomicileRuler, getEssentialDignity, getExaltation, getFall, getFirdaria, getMonthlyProfections, getOppositeSign, getSolarReturnChart, getSwissEph, getSynastryChart, getTransitChart, getTransitRange, getZodiacPosition, normalizeAngle, queryAstrocartographyLocation, shorterArcMidpoint } from './chunk-
|
|
1
|
+
export { ASTROCARTOGRAPHY_DEFAULT_PLANETS, CalcFlag, DEFAULT_ASPECT_SPECS, DOMICILE_RULERS, EXALTATIONS, HouseSystem, PLANET_AND_NODE_NAMES, Planet, RiseTransitFlag, SIGNS, SLOW_PLANETS, VirtualNodes, closeSwissEph, computeAspects, computeAstrocartographyMap, computeEquatorialPositions, computeGMST, computeHorizonLongitude, computeICLongitude, computeMCLongitude, computeMidpoints, computeSynastryAspects, computeTransitAspects, findHouseOf, findParansAtLatitude, formatDegreeMinutes, geographicAngularDifference, getAnnualProfection, getAspectMatch, getBirthChart, getCompositeChart, getDecan, getDetriment, getDodecatemoria, getDomicileRuler, getEssentialDignity, getExaltation, getFall, getFirdaria, getMonthlyProfections, getOppositeSign, getSolarReturnChart, getSwissEph, getSynastryChart, getTransitChart, getTransitRange, getZodiacPosition, normalizeAngle, queryAstrocartographyLocation, resolveSwissEphRuntimeAssets, shorterArcMidpoint } from './chunk-TZJU6SRX.mjs';
|
|
2
2
|
export { calculateOdu } from './chunk-YTZCZRJG.mjs';
|
|
3
|
-
export { MASTER_NUMBERS, data_exports as NumerologyData, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from './chunk-
|
|
4
|
-
export { data_exports as GematriaData, calculateGematria, reverseGematria } from './chunk-
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
3
|
+
export { MASTER_NUMBERS, data_exports as NumerologyData, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from './chunk-S4EJ3ZY7.mjs';
|
|
4
|
+
export { data_exports as GematriaData, calculateGematria, reverseGematria } from './chunk-G76K6OVQ.mjs';
|
|
5
|
+
export { OCCULT_THEME_STOPWORDS, getHouseThemeProfile, getTarotThemeProfile, listHouseThemeProfiles, listTarotThemeProfiles, tokenizeOccultThemeText } from './chunk-L6M533N6.mjs';
|
|
6
|
+
export { ARKANNUS, TAROT_IMAGE_BASE_URL, drawTarotSpread, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, getTarotSpread, listTarotDecks, listTarotSpreads, majorArcana, resolveTarotImageUrl, shuffleTarotDeck, validateTarotSpreadSelection } from './chunk-GJB3CZPN.mjs';
|
|
7
|
+
export { TreeWorkspace, createTreeWorkspace, getCanonicalTree } from './chunk-NBP75BAH.mjs';
|
|
8
|
+
export { BaseNode, COLORS, COLORS_DATA, FOUR_WORLDS, FOUR_WORLDS_DATA, HEBREW_LETTERS, HEBREW_LETTERS_DATA, KaabalahTypes, LATIN_LETTERS, LATIN_LETTERS_DATA, LURIANIC_PATHS, LetterTypes, MELKITZEDEKI_PATHS, MODALITIES, MUSICAL_NOTES, MUSICAL_NOTES_DATA, MiscTypes, NumerologyTypes, PLANETS, SPHERES, SPHERES_DATA, SYSTEMS, TAROT_ARKANNUS, TAROT_ARKANNUS_DATA, TAROT_DECKS, TAROT_SUITS, TantraTypes, TarotTypes, TreeOfLife, WESTERN_ASPECTS, WESTERN_ELEMENTS, WESTERN_HOUSES, WESTERN_ZODIAC_SIGNS, WesternAstrologyTypes, createTree, id, makeCorrespondenceId, parseId } from './chunk-RZBVUDBM.mjs';
|
|
8
9
|
import './chunk-WY6NIR2V.mjs';
|
|
9
10
|
//# sourceMappingURL=index.mjs.map
|
|
10
11
|
//# sourceMappingURL=index.mjs.map
|
package/dist/numerology/index.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkY4PTMABP_js = require('../chunk-Y4PTMABP.js');
|
|
4
|
+
require('../chunk-O3ZBG566.js');
|
|
5
|
+
require('../chunk-HAMDOCS5.js');
|
|
6
6
|
require('../chunk-FM7WUVZV.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MASTER_NUMBERS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkY4PTMABP_js.MASTER_NUMBERS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "NumerologyData", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkY4PTMABP_js.data_exports; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "calculateChallenges", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkY4PTMABP_js.calculateChallenges; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "calculateCycles", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkY4PTMABP_js.calculateCycles; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "calculateFibonacciCycle", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkY4PTMABP_js.calculateFibonacciCycle; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "calculateKaabalisticLifePath", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkY4PTMABP_js.calculateKaabalisticLifePath; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "calculatePersonalCycles", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkY4PTMABP_js.calculatePersonalCycles; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "calculatePersonalMonths", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkY4PTMABP_js.calculatePersonalMonths; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "calculatePersonalPeriods", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkY4PTMABP_js.calculatePersonalPeriods; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "calculatePersonalYear", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkY4PTMABP_js.calculatePersonalYear; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "calculateStraightAcrossReductionLifePath", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkY4PTMABP_js.calculateStraightAcrossReductionLifePath; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "getDateEnergies", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkY4PTMABP_js.getDateEnergies; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "isMasterNumber", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkY4PTMABP_js.isMasterNumber; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "reduceToSingle", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkY4PTMABP_js.reduceToSingle; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "reduceToSingleWithSteps", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkY4PTMABP_js.reduceToSingleWithSteps; }
|
|
69
69
|
});
|
|
70
70
|
//# sourceMappingURL=index.js.map
|
|
71
71
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { MASTER_NUMBERS, data_exports as NumerologyData, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { MASTER_NUMBERS, data_exports as NumerologyData, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from '../chunk-S4EJ3ZY7.mjs';
|
|
2
|
+
import '../chunk-G76K6OVQ.mjs';
|
|
3
|
+
import '../chunk-RZBVUDBM.mjs';
|
|
4
4
|
import '../chunk-WY6NIR2V.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { D as NodeType, E as NodeId, y as WesternAstrologyTypes, K as KaabalahTypes, z as TarotTypes } from '../constants-C0XjrYIG.mjs';
|
|
2
|
+
import { TarotCard } from '../tarot/index.mjs';
|
|
3
|
+
|
|
4
|
+
declare const OCCULT_THEME_STOPWORDS: readonly ["the", "and", "for", "with", "that", "this", "was", "were", "been", "have", "has", "had", "just", "from", "into", "about", "over", "under", "very", "more", "less", "then", "than", "when", "what", "where", "which", "while", "would", "could", "should", "again", "still", "really", "gotta", "lota", "lotta", "para", "com", "sem", "por", "uma", "um", "uns", "das", "dos", "del", "que", "não", "nao", "isso", "essa", "este", "esta", "como", "mais", "menos", "muito", "muita", "their", "your", "mine", "ours", "onto", "sobre", "entre", "depois", "antes"];
|
|
5
|
+
interface TokenizeOccultThemeTextOptions {
|
|
6
|
+
minTokenLength?: number;
|
|
7
|
+
stopwords?: readonly string[];
|
|
8
|
+
}
|
|
9
|
+
interface OccultThemeCorrespondence<T extends NodeType> {
|
|
10
|
+
id: NodeId<T>;
|
|
11
|
+
label: string;
|
|
12
|
+
distance: number;
|
|
13
|
+
}
|
|
14
|
+
interface OccultThemeCorrespondences {
|
|
15
|
+
planets: readonly OccultThemeCorrespondence<WesternAstrologyTypes.PLANET>[];
|
|
16
|
+
signs: readonly OccultThemeCorrespondence<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>[];
|
|
17
|
+
elements: readonly OccultThemeCorrespondence<WesternAstrologyTypes.WESTERN_ELEMENT>[];
|
|
18
|
+
spheres: readonly OccultThemeCorrespondence<KaabalahTypes.SPHERE>[];
|
|
19
|
+
paths: readonly OccultThemeCorrespondence<KaabalahTypes.PATH>[];
|
|
20
|
+
}
|
|
21
|
+
type HouseThemeScope = "personal" | "transition" | "transpersonal";
|
|
22
|
+
interface HouseThemeAxis {
|
|
23
|
+
key: "self-other" | "resources-initiation" | "communication-journey" | "private-public" | "pleasure-friendship" | "health-occult";
|
|
24
|
+
label: string;
|
|
25
|
+
oppositeHouseNumber: HouseNumber;
|
|
26
|
+
}
|
|
27
|
+
type HouseNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
28
|
+
type HouseThemeLookup = HouseNumber | NodeId<WesternAstrologyTypes.HOUSE>;
|
|
29
|
+
interface HouseThemeProfile {
|
|
30
|
+
kind: "house";
|
|
31
|
+
id: NodeId<WesternAstrologyTypes.HOUSE>;
|
|
32
|
+
houseNumber: HouseNumber;
|
|
33
|
+
houseLabel: string;
|
|
34
|
+
primaryLabel: string;
|
|
35
|
+
scope: HouseThemeScope;
|
|
36
|
+
axis: HouseThemeAxis;
|
|
37
|
+
aliases: readonly string[];
|
|
38
|
+
keywords: readonly string[];
|
|
39
|
+
tokens: readonly string[];
|
|
40
|
+
correspondences: OccultThemeCorrespondences;
|
|
41
|
+
}
|
|
42
|
+
interface TarotMajorArchetypeReference {
|
|
43
|
+
pathId: NodeId<KaabalahTypes.PATH>;
|
|
44
|
+
pathNumber: number;
|
|
45
|
+
pathSlug: string;
|
|
46
|
+
hebrewLetter: string;
|
|
47
|
+
}
|
|
48
|
+
interface TarotThemeCorrespondences extends OccultThemeCorrespondences {
|
|
49
|
+
suits: readonly OccultThemeCorrespondence<TarotTypes.TAROT_SUIT>[];
|
|
50
|
+
}
|
|
51
|
+
type TarotThemeLookup = number | string | {
|
|
52
|
+
tarotCardNumber: number;
|
|
53
|
+
} | {
|
|
54
|
+
tarotCardFilename: string;
|
|
55
|
+
} | {
|
|
56
|
+
tarotCardName: string;
|
|
57
|
+
} | {
|
|
58
|
+
tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
59
|
+
} | {
|
|
60
|
+
pathId: NodeId<KaabalahTypes.PATH>;
|
|
61
|
+
} | {
|
|
62
|
+
pathSlug: string;
|
|
63
|
+
};
|
|
64
|
+
interface TarotThemeProfile {
|
|
65
|
+
kind: "tarot";
|
|
66
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
67
|
+
cardNumber: number;
|
|
68
|
+
cardType: TarotCard["type"];
|
|
69
|
+
tarotCardFilename: string;
|
|
70
|
+
primaryLabel: string;
|
|
71
|
+
aliases: readonly string[];
|
|
72
|
+
keywords: readonly string[];
|
|
73
|
+
tokens: readonly string[];
|
|
74
|
+
correspondences: TarotThemeCorrespondences;
|
|
75
|
+
majorArchetype?: TarotMajorArchetypeReference;
|
|
76
|
+
}
|
|
77
|
+
declare function tokenizeOccultThemeText(input: string | null | undefined | readonly (string | null | undefined)[], options?: TokenizeOccultThemeTextOptions): string[];
|
|
78
|
+
declare function listHouseThemeProfiles(): readonly HouseThemeProfile[];
|
|
79
|
+
declare function getHouseThemeProfile(lookup: HouseThemeLookup): HouseThemeProfile | undefined;
|
|
80
|
+
declare function listTarotThemeProfiles(): readonly TarotThemeProfile[];
|
|
81
|
+
declare function getTarotThemeProfile(lookup: TarotThemeLookup): TarotThemeProfile | undefined;
|
|
82
|
+
|
|
83
|
+
export { type HouseNumber, type HouseThemeAxis, type HouseThemeLookup, type HouseThemeProfile, type HouseThemeScope, OCCULT_THEME_STOPWORDS, type OccultThemeCorrespondence, type OccultThemeCorrespondences, type TarotMajorArchetypeReference, type TarotThemeCorrespondences, type TarotThemeLookup, type TarotThemeProfile, type TokenizeOccultThemeTextOptions, getHouseThemeProfile, getTarotThemeProfile, listHouseThemeProfiles, listTarotThemeProfiles, tokenizeOccultThemeText };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { D as NodeType, E as NodeId, y as WesternAstrologyTypes, K as KaabalahTypes, z as TarotTypes } from '../constants-C0XjrYIG.js';
|
|
2
|
+
import { TarotCard } from '../tarot/index.js';
|
|
3
|
+
|
|
4
|
+
declare const OCCULT_THEME_STOPWORDS: readonly ["the", "and", "for", "with", "that", "this", "was", "were", "been", "have", "has", "had", "just", "from", "into", "about", "over", "under", "very", "more", "less", "then", "than", "when", "what", "where", "which", "while", "would", "could", "should", "again", "still", "really", "gotta", "lota", "lotta", "para", "com", "sem", "por", "uma", "um", "uns", "das", "dos", "del", "que", "não", "nao", "isso", "essa", "este", "esta", "como", "mais", "menos", "muito", "muita", "their", "your", "mine", "ours", "onto", "sobre", "entre", "depois", "antes"];
|
|
5
|
+
interface TokenizeOccultThemeTextOptions {
|
|
6
|
+
minTokenLength?: number;
|
|
7
|
+
stopwords?: readonly string[];
|
|
8
|
+
}
|
|
9
|
+
interface OccultThemeCorrespondence<T extends NodeType> {
|
|
10
|
+
id: NodeId<T>;
|
|
11
|
+
label: string;
|
|
12
|
+
distance: number;
|
|
13
|
+
}
|
|
14
|
+
interface OccultThemeCorrespondences {
|
|
15
|
+
planets: readonly OccultThemeCorrespondence<WesternAstrologyTypes.PLANET>[];
|
|
16
|
+
signs: readonly OccultThemeCorrespondence<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>[];
|
|
17
|
+
elements: readonly OccultThemeCorrespondence<WesternAstrologyTypes.WESTERN_ELEMENT>[];
|
|
18
|
+
spheres: readonly OccultThemeCorrespondence<KaabalahTypes.SPHERE>[];
|
|
19
|
+
paths: readonly OccultThemeCorrespondence<KaabalahTypes.PATH>[];
|
|
20
|
+
}
|
|
21
|
+
type HouseThemeScope = "personal" | "transition" | "transpersonal";
|
|
22
|
+
interface HouseThemeAxis {
|
|
23
|
+
key: "self-other" | "resources-initiation" | "communication-journey" | "private-public" | "pleasure-friendship" | "health-occult";
|
|
24
|
+
label: string;
|
|
25
|
+
oppositeHouseNumber: HouseNumber;
|
|
26
|
+
}
|
|
27
|
+
type HouseNumber = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
28
|
+
type HouseThemeLookup = HouseNumber | NodeId<WesternAstrologyTypes.HOUSE>;
|
|
29
|
+
interface HouseThemeProfile {
|
|
30
|
+
kind: "house";
|
|
31
|
+
id: NodeId<WesternAstrologyTypes.HOUSE>;
|
|
32
|
+
houseNumber: HouseNumber;
|
|
33
|
+
houseLabel: string;
|
|
34
|
+
primaryLabel: string;
|
|
35
|
+
scope: HouseThemeScope;
|
|
36
|
+
axis: HouseThemeAxis;
|
|
37
|
+
aliases: readonly string[];
|
|
38
|
+
keywords: readonly string[];
|
|
39
|
+
tokens: readonly string[];
|
|
40
|
+
correspondences: OccultThemeCorrespondences;
|
|
41
|
+
}
|
|
42
|
+
interface TarotMajorArchetypeReference {
|
|
43
|
+
pathId: NodeId<KaabalahTypes.PATH>;
|
|
44
|
+
pathNumber: number;
|
|
45
|
+
pathSlug: string;
|
|
46
|
+
hebrewLetter: string;
|
|
47
|
+
}
|
|
48
|
+
interface TarotThemeCorrespondences extends OccultThemeCorrespondences {
|
|
49
|
+
suits: readonly OccultThemeCorrespondence<TarotTypes.TAROT_SUIT>[];
|
|
50
|
+
}
|
|
51
|
+
type TarotThemeLookup = number | string | {
|
|
52
|
+
tarotCardNumber: number;
|
|
53
|
+
} | {
|
|
54
|
+
tarotCardFilename: string;
|
|
55
|
+
} | {
|
|
56
|
+
tarotCardName: string;
|
|
57
|
+
} | {
|
|
58
|
+
tarotArkAnnuId: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
59
|
+
} | {
|
|
60
|
+
pathId: NodeId<KaabalahTypes.PATH>;
|
|
61
|
+
} | {
|
|
62
|
+
pathSlug: string;
|
|
63
|
+
};
|
|
64
|
+
interface TarotThemeProfile {
|
|
65
|
+
kind: "tarot";
|
|
66
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
67
|
+
cardNumber: number;
|
|
68
|
+
cardType: TarotCard["type"];
|
|
69
|
+
tarotCardFilename: string;
|
|
70
|
+
primaryLabel: string;
|
|
71
|
+
aliases: readonly string[];
|
|
72
|
+
keywords: readonly string[];
|
|
73
|
+
tokens: readonly string[];
|
|
74
|
+
correspondences: TarotThemeCorrespondences;
|
|
75
|
+
majorArchetype?: TarotMajorArchetypeReference;
|
|
76
|
+
}
|
|
77
|
+
declare function tokenizeOccultThemeText(input: string | null | undefined | readonly (string | null | undefined)[], options?: TokenizeOccultThemeTextOptions): string[];
|
|
78
|
+
declare function listHouseThemeProfiles(): readonly HouseThemeProfile[];
|
|
79
|
+
declare function getHouseThemeProfile(lookup: HouseThemeLookup): HouseThemeProfile | undefined;
|
|
80
|
+
declare function listTarotThemeProfiles(): readonly TarotThemeProfile[];
|
|
81
|
+
declare function getTarotThemeProfile(lookup: TarotThemeLookup): TarotThemeProfile | undefined;
|
|
82
|
+
|
|
83
|
+
export { type HouseNumber, type HouseThemeAxis, type HouseThemeLookup, type HouseThemeProfile, type HouseThemeScope, OCCULT_THEME_STOPWORDS, type OccultThemeCorrespondence, type OccultThemeCorrespondences, type TarotMajorArchetypeReference, type TarotThemeCorrespondences, type TarotThemeLookup, type TarotThemeProfile, type TokenizeOccultThemeTextOptions, getHouseThemeProfile, getTarotThemeProfile, listHouseThemeProfiles, listTarotThemeProfiles, tokenizeOccultThemeText };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJL7CWPRG_js = require('../chunk-JL7CWPRG.js');
|
|
4
|
+
require('../chunk-NPCXF6RV.js');
|
|
5
|
+
require('../chunk-TMN4PYVG.js');
|
|
6
|
+
require('../chunk-HAMDOCS5.js');
|
|
7
|
+
require('../chunk-FM7WUVZV.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "OCCULT_THEME_STOPWORDS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkJL7CWPRG_js.OCCULT_THEME_STOPWORDS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "getHouseThemeProfile", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkJL7CWPRG_js.getHouseThemeProfile; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getTarotThemeProfile", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkJL7CWPRG_js.getTarotThemeProfile; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "listHouseThemeProfiles", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkJL7CWPRG_js.listHouseThemeProfiles; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "listTarotThemeProfiles", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkJL7CWPRG_js.listTarotThemeProfiles; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "tokenizeOccultThemeText", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkJL7CWPRG_js.tokenizeOccultThemeText; }
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { OCCULT_THEME_STOPWORDS, getHouseThemeProfile, getTarotThemeProfile, listHouseThemeProfiles, listTarotThemeProfiles, tokenizeOccultThemeText } from '../chunk-L6M533N6.mjs';
|
|
2
|
+
import '../chunk-GJB3CZPN.mjs';
|
|
3
|
+
import '../chunk-NBP75BAH.mjs';
|
|
4
|
+
import '../chunk-RZBVUDBM.mjs';
|
|
5
|
+
import '../chunk-WY6NIR2V.mjs';
|
|
6
|
+
//# sourceMappingURL=index.mjs.map
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/tarot/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as WesternAstrologyTypes, E as NodeId, K as KaabalahTypes, x as LetterTypes, z as TarotTypes } from '../constants-
|
|
1
|
+
import { y as WesternAstrologyTypes, E as NodeId, K as KaabalahTypes, x as LetterTypes, z as TarotTypes } from '../constants-C0XjrYIG.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Tarot interpretation functions
|
|
@@ -88,5 +88,98 @@ declare function getTarotArchetype(lookup: TarotArchetypeLookup): TarotArchetype
|
|
|
88
88
|
declare function getTarotRepresentations(lookup: TarotArchetypeLookup): TarotRepresentation[];
|
|
89
89
|
declare function getTarotRepresentation(lookup: TarotArchetypeLookup, deckId: TarotDeckId): TarotRepresentation | undefined;
|
|
90
90
|
declare function resolveTarotImageUrl(lookup: TarotArchetypeLookup, deckId: TarotDeckId): string | undefined;
|
|
91
|
+
type TarotSpreadId = "quick-insight" | "conscious-reading" | "time-reading" | "dialectic-reading" | "tree-of-life-reading" | "celtic-cross" | "event-reading";
|
|
92
|
+
type TarotSpreadContextKey = "inquirerGender";
|
|
93
|
+
type TarotInquirerGender = "man" | "woman";
|
|
94
|
+
type TarotSpreadCardType = TarotCard["type"];
|
|
95
|
+
type TarotSpreadMinorRank = "ace" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
|
|
96
|
+
interface TarotSpreadCardConstraint {
|
|
97
|
+
allowedTypes?: TarotSpreadCardType[];
|
|
98
|
+
requiredRank?: TarotSpreadMinorRank;
|
|
99
|
+
allowedCardFilenames?: string[];
|
|
100
|
+
excludedCardFilenames?: string[];
|
|
101
|
+
}
|
|
102
|
+
interface TarotSpreadSlotMetadata {
|
|
103
|
+
displayLabel?: string;
|
|
104
|
+
groupKey?: string;
|
|
105
|
+
note?: string;
|
|
106
|
+
orientation?: "upright" | "sideways";
|
|
107
|
+
temporalPhase?: "past" | "present" | "future";
|
|
108
|
+
}
|
|
109
|
+
interface TarotSpreadSlotDefinition {
|
|
110
|
+
slotKey: string;
|
|
111
|
+
label: string;
|
|
112
|
+
order: number;
|
|
113
|
+
minCards: number;
|
|
114
|
+
maxCards: number;
|
|
115
|
+
validationRules?: TarotSpreadCardConstraint;
|
|
116
|
+
manualSelectionRules?: TarotSpreadCardConstraint;
|
|
117
|
+
drawRules?: TarotSpreadCardConstraint;
|
|
118
|
+
metadata?: TarotSpreadSlotMetadata;
|
|
119
|
+
}
|
|
120
|
+
interface TarotSpreadInquirerRule {
|
|
121
|
+
slotKey: string;
|
|
122
|
+
sourceSlotKeys: string[];
|
|
123
|
+
cardNumbersByGender: Record<TarotInquirerGender, number>;
|
|
124
|
+
}
|
|
125
|
+
interface TarotSpreadDefinition {
|
|
126
|
+
spreadId: TarotSpreadId;
|
|
127
|
+
label: string;
|
|
128
|
+
description?: string;
|
|
129
|
+
contextRequirements?: TarotSpreadContextKey[];
|
|
130
|
+
slots: TarotSpreadSlotDefinition[];
|
|
131
|
+
specialRules?: {
|
|
132
|
+
inquirerCard?: TarotSpreadInquirerRule;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
interface TarotSpreadSelectionContext {
|
|
136
|
+
inquirerGender?: TarotInquirerGender;
|
|
137
|
+
}
|
|
138
|
+
interface TarotSpreadSelectionCard {
|
|
139
|
+
slotKey: string;
|
|
140
|
+
cardNumber: number;
|
|
141
|
+
isInverted?: boolean;
|
|
142
|
+
}
|
|
143
|
+
interface TarotSpreadResolvedSelectionCard extends TarotSpreadSelectionCard {
|
|
144
|
+
card: TarotCard;
|
|
145
|
+
slot: TarotSpreadSlotDefinition;
|
|
146
|
+
}
|
|
147
|
+
type TarotSpreadValidationErrorCode = "UNKNOWN_SPREAD" | "UNKNOWN_SLOT" | "CARD_NOT_FOUND" | "DUPLICATE_CARD" | "MISSING_REQUIRED_CARDS" | "TOO_MANY_CARDS" | "INVALID_CARD_TYPE" | "INVALID_CARD_RANK" | "DISALLOWED_CARD" | "MISSING_CONTEXT" | "INVALID_INQUIRER_CARD";
|
|
148
|
+
interface TarotSpreadValidationIssue {
|
|
149
|
+
code: TarotSpreadValidationErrorCode;
|
|
150
|
+
message: string;
|
|
151
|
+
slotKey?: string;
|
|
152
|
+
cardNumber?: number;
|
|
153
|
+
}
|
|
154
|
+
interface TarotSpreadValidationResult {
|
|
155
|
+
ok: boolean;
|
|
156
|
+
isComplete: boolean;
|
|
157
|
+
spread?: TarotSpreadDefinition;
|
|
158
|
+
resolvedCards: TarotSpreadResolvedSelectionCard[];
|
|
159
|
+
errors: TarotSpreadValidationIssue[];
|
|
160
|
+
}
|
|
161
|
+
interface TarotSpreadValidationInput {
|
|
162
|
+
spreadId: TarotSpreadId;
|
|
163
|
+
cards: TarotSpreadSelectionCard[];
|
|
164
|
+
context?: TarotSpreadSelectionContext;
|
|
165
|
+
allowPartial?: boolean;
|
|
166
|
+
}
|
|
167
|
+
interface DrawTarotSpreadOptions {
|
|
168
|
+
spreadId: TarotSpreadId;
|
|
169
|
+
deckId?: TarotDeckId;
|
|
170
|
+
includeInverted?: boolean;
|
|
171
|
+
rng?: () => number;
|
|
172
|
+
context?: TarotSpreadSelectionContext;
|
|
173
|
+
}
|
|
174
|
+
interface TarotSpreadDrawResult {
|
|
175
|
+
spread: TarotSpreadDefinition;
|
|
176
|
+
deckId: TarotDeckId;
|
|
177
|
+
context?: TarotSpreadSelectionContext;
|
|
178
|
+
cards: TarotSpreadResolvedSelectionCard[];
|
|
179
|
+
}
|
|
180
|
+
declare function listTarotSpreads(): TarotSpreadDefinition[];
|
|
181
|
+
declare function getTarotSpread(spreadId: TarotSpreadId): TarotSpreadDefinition | undefined;
|
|
182
|
+
declare function validateTarotSpreadSelection(input: TarotSpreadValidationInput): TarotSpreadValidationResult;
|
|
183
|
+
declare function drawTarotSpread(options: DrawTarotSpreadOptions): TarotSpreadDrawResult;
|
|
91
184
|
|
|
92
|
-
export { ARKANNUS, type Deck, type MajorArcana, TAROT_IMAGE_BASE_URL, type TarotArchetype, type TarotArchetypeLookup, type TarotAstrologyCorrespondence, type TarotAstrologyCorrespondenceType, type TarotCard, type TarotDeckDescription, type TarotDeckId, type TarotDeckMetadata, type TarotRepresentation, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, listTarotDecks, majorArcana, resolveTarotImageUrl, shuffleTarotDeck };
|
|
185
|
+
export { ARKANNUS, type Deck, type DrawTarotSpreadOptions, type MajorArcana, TAROT_IMAGE_BASE_URL, type TarotArchetype, type TarotArchetypeLookup, type TarotAstrologyCorrespondence, type TarotAstrologyCorrespondenceType, type TarotCard, type TarotDeckDescription, type TarotDeckId, type TarotDeckMetadata, type TarotInquirerGender, type TarotRepresentation, type TarotSpreadCardConstraint, type TarotSpreadCardType, type TarotSpreadContextKey, type TarotSpreadDefinition, type TarotSpreadDrawResult, type TarotSpreadId, type TarotSpreadInquirerRule, type TarotSpreadMinorRank, type TarotSpreadResolvedSelectionCard, type TarotSpreadSelectionCard, type TarotSpreadSelectionContext, type TarotSpreadSlotDefinition, type TarotSpreadSlotMetadata, type TarotSpreadValidationErrorCode, type TarotSpreadValidationInput, type TarotSpreadValidationIssue, type TarotSpreadValidationResult, drawTarotSpread, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, getTarotSpread, listTarotDecks, listTarotSpreads, majorArcana, resolveTarotImageUrl, shuffleTarotDeck, validateTarotSpreadSelection };
|
package/dist/tarot/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as WesternAstrologyTypes, E as NodeId, K as KaabalahTypes, x as LetterTypes, z as TarotTypes } from '../constants-
|
|
1
|
+
import { y as WesternAstrologyTypes, E as NodeId, K as KaabalahTypes, x as LetterTypes, z as TarotTypes } from '../constants-C0XjrYIG.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Tarot interpretation functions
|
|
@@ -88,5 +88,98 @@ declare function getTarotArchetype(lookup: TarotArchetypeLookup): TarotArchetype
|
|
|
88
88
|
declare function getTarotRepresentations(lookup: TarotArchetypeLookup): TarotRepresentation[];
|
|
89
89
|
declare function getTarotRepresentation(lookup: TarotArchetypeLookup, deckId: TarotDeckId): TarotRepresentation | undefined;
|
|
90
90
|
declare function resolveTarotImageUrl(lookup: TarotArchetypeLookup, deckId: TarotDeckId): string | undefined;
|
|
91
|
+
type TarotSpreadId = "quick-insight" | "conscious-reading" | "time-reading" | "dialectic-reading" | "tree-of-life-reading" | "celtic-cross" | "event-reading";
|
|
92
|
+
type TarotSpreadContextKey = "inquirerGender";
|
|
93
|
+
type TarotInquirerGender = "man" | "woman";
|
|
94
|
+
type TarotSpreadCardType = TarotCard["type"];
|
|
95
|
+
type TarotSpreadMinorRank = "ace" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
|
|
96
|
+
interface TarotSpreadCardConstraint {
|
|
97
|
+
allowedTypes?: TarotSpreadCardType[];
|
|
98
|
+
requiredRank?: TarotSpreadMinorRank;
|
|
99
|
+
allowedCardFilenames?: string[];
|
|
100
|
+
excludedCardFilenames?: string[];
|
|
101
|
+
}
|
|
102
|
+
interface TarotSpreadSlotMetadata {
|
|
103
|
+
displayLabel?: string;
|
|
104
|
+
groupKey?: string;
|
|
105
|
+
note?: string;
|
|
106
|
+
orientation?: "upright" | "sideways";
|
|
107
|
+
temporalPhase?: "past" | "present" | "future";
|
|
108
|
+
}
|
|
109
|
+
interface TarotSpreadSlotDefinition {
|
|
110
|
+
slotKey: string;
|
|
111
|
+
label: string;
|
|
112
|
+
order: number;
|
|
113
|
+
minCards: number;
|
|
114
|
+
maxCards: number;
|
|
115
|
+
validationRules?: TarotSpreadCardConstraint;
|
|
116
|
+
manualSelectionRules?: TarotSpreadCardConstraint;
|
|
117
|
+
drawRules?: TarotSpreadCardConstraint;
|
|
118
|
+
metadata?: TarotSpreadSlotMetadata;
|
|
119
|
+
}
|
|
120
|
+
interface TarotSpreadInquirerRule {
|
|
121
|
+
slotKey: string;
|
|
122
|
+
sourceSlotKeys: string[];
|
|
123
|
+
cardNumbersByGender: Record<TarotInquirerGender, number>;
|
|
124
|
+
}
|
|
125
|
+
interface TarotSpreadDefinition {
|
|
126
|
+
spreadId: TarotSpreadId;
|
|
127
|
+
label: string;
|
|
128
|
+
description?: string;
|
|
129
|
+
contextRequirements?: TarotSpreadContextKey[];
|
|
130
|
+
slots: TarotSpreadSlotDefinition[];
|
|
131
|
+
specialRules?: {
|
|
132
|
+
inquirerCard?: TarotSpreadInquirerRule;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
interface TarotSpreadSelectionContext {
|
|
136
|
+
inquirerGender?: TarotInquirerGender;
|
|
137
|
+
}
|
|
138
|
+
interface TarotSpreadSelectionCard {
|
|
139
|
+
slotKey: string;
|
|
140
|
+
cardNumber: number;
|
|
141
|
+
isInverted?: boolean;
|
|
142
|
+
}
|
|
143
|
+
interface TarotSpreadResolvedSelectionCard extends TarotSpreadSelectionCard {
|
|
144
|
+
card: TarotCard;
|
|
145
|
+
slot: TarotSpreadSlotDefinition;
|
|
146
|
+
}
|
|
147
|
+
type TarotSpreadValidationErrorCode = "UNKNOWN_SPREAD" | "UNKNOWN_SLOT" | "CARD_NOT_FOUND" | "DUPLICATE_CARD" | "MISSING_REQUIRED_CARDS" | "TOO_MANY_CARDS" | "INVALID_CARD_TYPE" | "INVALID_CARD_RANK" | "DISALLOWED_CARD" | "MISSING_CONTEXT" | "INVALID_INQUIRER_CARD";
|
|
148
|
+
interface TarotSpreadValidationIssue {
|
|
149
|
+
code: TarotSpreadValidationErrorCode;
|
|
150
|
+
message: string;
|
|
151
|
+
slotKey?: string;
|
|
152
|
+
cardNumber?: number;
|
|
153
|
+
}
|
|
154
|
+
interface TarotSpreadValidationResult {
|
|
155
|
+
ok: boolean;
|
|
156
|
+
isComplete: boolean;
|
|
157
|
+
spread?: TarotSpreadDefinition;
|
|
158
|
+
resolvedCards: TarotSpreadResolvedSelectionCard[];
|
|
159
|
+
errors: TarotSpreadValidationIssue[];
|
|
160
|
+
}
|
|
161
|
+
interface TarotSpreadValidationInput {
|
|
162
|
+
spreadId: TarotSpreadId;
|
|
163
|
+
cards: TarotSpreadSelectionCard[];
|
|
164
|
+
context?: TarotSpreadSelectionContext;
|
|
165
|
+
allowPartial?: boolean;
|
|
166
|
+
}
|
|
167
|
+
interface DrawTarotSpreadOptions {
|
|
168
|
+
spreadId: TarotSpreadId;
|
|
169
|
+
deckId?: TarotDeckId;
|
|
170
|
+
includeInverted?: boolean;
|
|
171
|
+
rng?: () => number;
|
|
172
|
+
context?: TarotSpreadSelectionContext;
|
|
173
|
+
}
|
|
174
|
+
interface TarotSpreadDrawResult {
|
|
175
|
+
spread: TarotSpreadDefinition;
|
|
176
|
+
deckId: TarotDeckId;
|
|
177
|
+
context?: TarotSpreadSelectionContext;
|
|
178
|
+
cards: TarotSpreadResolvedSelectionCard[];
|
|
179
|
+
}
|
|
180
|
+
declare function listTarotSpreads(): TarotSpreadDefinition[];
|
|
181
|
+
declare function getTarotSpread(spreadId: TarotSpreadId): TarotSpreadDefinition | undefined;
|
|
182
|
+
declare function validateTarotSpreadSelection(input: TarotSpreadValidationInput): TarotSpreadValidationResult;
|
|
183
|
+
declare function drawTarotSpread(options: DrawTarotSpreadOptions): TarotSpreadDrawResult;
|
|
91
184
|
|
|
92
|
-
export { ARKANNUS, type Deck, type MajorArcana, TAROT_IMAGE_BASE_URL, type TarotArchetype, type TarotArchetypeLookup, type TarotAstrologyCorrespondence, type TarotAstrologyCorrespondenceType, type TarotCard, type TarotDeckDescription, type TarotDeckId, type TarotDeckMetadata, type TarotRepresentation, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, listTarotDecks, majorArcana, resolveTarotImageUrl, shuffleTarotDeck };
|
|
185
|
+
export { ARKANNUS, type Deck, type DrawTarotSpreadOptions, type MajorArcana, TAROT_IMAGE_BASE_URL, type TarotArchetype, type TarotArchetypeLookup, type TarotAstrologyCorrespondence, type TarotAstrologyCorrespondenceType, type TarotCard, type TarotDeckDescription, type TarotDeckId, type TarotDeckMetadata, type TarotInquirerGender, type TarotRepresentation, type TarotSpreadCardConstraint, type TarotSpreadCardType, type TarotSpreadContextKey, type TarotSpreadDefinition, type TarotSpreadDrawResult, type TarotSpreadId, type TarotSpreadInquirerRule, type TarotSpreadMinorRank, type TarotSpreadResolvedSelectionCard, type TarotSpreadSelectionCard, type TarotSpreadSelectionContext, type TarotSpreadSlotDefinition, type TarotSpreadSlotMetadata, type TarotSpreadValidationErrorCode, type TarotSpreadValidationInput, type TarotSpreadValidationIssue, type TarotSpreadValidationResult, drawTarotSpread, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, getTarotSpread, listTarotDecks, listTarotSpreads, majorArcana, resolveTarotImageUrl, shuffleTarotDeck, validateTarotSpreadSelection };
|
package/dist/tarot/index.js
CHANGED
|
@@ -1,47 +1,63 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkNPCXF6RV_js = require('../chunk-NPCXF6RV.js');
|
|
4
|
+
require('../chunk-TMN4PYVG.js');
|
|
5
|
+
require('../chunk-HAMDOCS5.js');
|
|
6
6
|
require('../chunk-FM7WUVZV.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ARKANNUS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkNPCXF6RV_js.ARKANNUS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "TAROT_IMAGE_BASE_URL", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkNPCXF6RV_js.TAROT_IMAGE_BASE_URL; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "drawTarotSpread", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkNPCXF6RV_js.drawTarotSpread; }
|
|
17
21
|
});
|
|
18
22
|
Object.defineProperty(exports, "getTarotArchetype", {
|
|
19
23
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkNPCXF6RV_js.getTarotArchetype; }
|
|
21
25
|
});
|
|
22
26
|
Object.defineProperty(exports, "getTarotRepresentation", {
|
|
23
27
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkNPCXF6RV_js.getTarotRepresentation; }
|
|
25
29
|
});
|
|
26
30
|
Object.defineProperty(exports, "getTarotRepresentations", {
|
|
27
31
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkNPCXF6RV_js.getTarotRepresentations; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "getTarotSpread", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkNPCXF6RV_js.getTarotSpread; }
|
|
29
37
|
});
|
|
30
38
|
Object.defineProperty(exports, "listTarotDecks", {
|
|
31
39
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkNPCXF6RV_js.listTarotDecks; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "listTarotSpreads", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkNPCXF6RV_js.listTarotSpreads; }
|
|
33
45
|
});
|
|
34
46
|
Object.defineProperty(exports, "majorArcana", {
|
|
35
47
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkNPCXF6RV_js.majorArcana; }
|
|
37
49
|
});
|
|
38
50
|
Object.defineProperty(exports, "resolveTarotImageUrl", {
|
|
39
51
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkNPCXF6RV_js.resolveTarotImageUrl; }
|
|
41
53
|
});
|
|
42
54
|
Object.defineProperty(exports, "shuffleTarotDeck", {
|
|
43
55
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkNPCXF6RV_js.shuffleTarotDeck; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "validateTarotSpreadSelection", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunkNPCXF6RV_js.validateTarotSpreadSelection; }
|
|
45
61
|
});
|
|
46
62
|
//# sourceMappingURL=index.js.map
|
|
47
63
|
//# sourceMappingURL=index.js.map
|
package/dist/tarot/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ARKANNUS, TAROT_IMAGE_BASE_URL, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, listTarotDecks, majorArcana, resolveTarotImageUrl, shuffleTarotDeck } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ARKANNUS, TAROT_IMAGE_BASE_URL, drawTarotSpread, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, getTarotSpread, listTarotDecks, listTarotSpreads, majorArcana, resolveTarotImageUrl, shuffleTarotDeck, validateTarotSpreadSelection } from '../chunk-GJB3CZPN.mjs';
|
|
2
|
+
import '../chunk-NBP75BAH.mjs';
|
|
3
|
+
import '../chunk-RZBVUDBM.mjs';
|
|
4
4
|
import '../chunk-WY6NIR2V.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|