@astro-api/n8n-nodes-astrology 0.1.2 → 0.1.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.
@@ -208,6 +208,16 @@ const activePointsPresetField = {
208
208
  value: "basic",
209
209
  description: "Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Ascendant, MC",
210
210
  },
211
+ {
212
+ name: "Custom",
213
+ value: "custom",
214
+ description: "Select specific points manually",
215
+ },
216
+ {
217
+ name: "Full (54 Points)",
218
+ value: "full",
219
+ description: "All available celestial bodies including asteroids and fixed stars",
220
+ },
211
221
  {
212
222
  name: "Modern (12 Points)",
213
223
  value: "modern",
@@ -218,16 +228,6 @@ const activePointsPresetField = {
218
228
  value: "traditional",
219
229
  description: "Classical planets + lunar nodes, Part of Fortune",
220
230
  },
221
- {
222
- name: "Full (54 Points)",
223
- value: "full",
224
- description: "All available celestial bodies including asteroids and fixed stars",
225
- },
226
- {
227
- name: "Custom",
228
- value: "custom",
229
- description: "Select specific points manually",
230
- },
231
231
  ],
232
232
  default: "modern",
233
233
  description: "Predefined set of celestial points to include in the chart",
@@ -16,36 +16,36 @@ const dataOperationField = {
16
16
  },
17
17
  },
18
18
  options: [
19
+ {
20
+ name: "Aspects",
21
+ value: "aspects",
22
+ description: "Calculate angular relationships between celestial bodies",
23
+ action: "Get aspects data",
24
+ },
19
25
  {
20
26
  name: "Current Time",
21
27
  value: "now",
22
28
  description: "Get current UTC time data for astrological calculations",
23
29
  action: "Get current time data",
24
30
  },
25
- {
26
- name: "Planetary Positions",
27
- value: "positions",
28
- description: "Calculate planetary positions with zodiac signs and degrees",
29
- action: "Get planetary positions data",
30
- },
31
31
  {
32
32
  name: "House Cusps",
33
33
  value: "houseCusps",
34
34
  description: "Calculate astrological house boundaries",
35
35
  action: "Get house cusps data",
36
36
  },
37
- {
38
- name: "Aspects",
39
- value: "aspects",
40
- description: "Calculate angular relationships between celestial bodies",
41
- action: "Get aspects data",
42
- },
43
37
  {
44
38
  name: "Lunar Metrics",
45
39
  value: "lunarMetrics",
46
40
  description: "Calculate moon phase cycles and illumination",
47
41
  action: "Get lunar metrics data",
48
42
  },
43
+ {
44
+ name: "Planetary Positions",
45
+ value: "positions",
46
+ description: "Calculate planetary positions with zodiac signs and degrees",
47
+ action: "Get planetary positions data",
48
+ },
49
49
  ],
50
50
  default: "positions",
51
51
  };
@@ -47,56 +47,12 @@ exports.horoscopeOperations = [
47
47
  },
48
48
  },
49
49
  options: [
50
- // Sign-based (8)
51
50
  {
52
- name: "Sign Daily",
53
- value: "signDaily",
54
- description: "Get daily sun sign horoscope",
55
- action: "Get daily sign horoscope",
56
- },
57
- {
58
- name: "Sign Daily Text",
59
- value: "signDailyText",
60
- description: "Get daily sun sign horoscope as formatted text",
61
- action: "Get daily sign horoscope text",
62
- },
63
- {
64
- name: "Sign Weekly",
65
- value: "signWeekly",
66
- description: "Get weekly sun sign horoscope",
67
- action: "Get weekly sign horoscope",
68
- },
69
- {
70
- name: "Sign Weekly Text",
71
- value: "signWeeklyText",
72
- description: "Get weekly sun sign horoscope as formatted text",
73
- action: "Get weekly sign horoscope text",
74
- },
75
- {
76
- name: "Sign Monthly",
77
- value: "signMonthly",
78
- description: "Get monthly sun sign horoscope",
79
- action: "Get monthly sign horoscope",
80
- },
81
- {
82
- name: "Sign Monthly Text",
83
- value: "signMonthlyText",
84
- description: "Get monthly sun sign horoscope as formatted text",
85
- action: "Get monthly sign horoscope text",
86
- },
87
- {
88
- name: "Sign Yearly",
89
- value: "signYearly",
90
- description: "Get yearly sun sign horoscope",
91
- action: "Get yearly sign horoscope",
92
- },
93
- {
94
- name: "Sign Yearly Text",
95
- value: "signYearlyText",
96
- description: "Get yearly sun sign horoscope as formatted text",
97
- action: "Get yearly sign horoscope text",
51
+ name: "Chinese Bazi",
52
+ value: "chineseBazi",
53
+ description: "Get Chinese Bazi (Four Pillars) horoscope",
54
+ action: "Get chinese bazi horoscope",
98
55
  },
99
- // Personal (8)
100
56
  {
101
57
  name: "Personal Daily",
102
58
  value: "personalDaily",
@@ -109,18 +65,6 @@ exports.horoscopeOperations = [
109
65
  description: "Get personalized daily horoscope as formatted text",
110
66
  action: "Get personalized daily horoscope text",
111
67
  },
112
- {
113
- name: "Personal Weekly",
114
- value: "personalWeekly",
115
- description: "Get personalized weekly horoscope based on birth data",
116
- action: "Get personalized weekly horoscope",
117
- },
118
- {
119
- name: "Personal Weekly Text",
120
- value: "personalWeeklyText",
121
- description: "Get personalized weekly horoscope as formatted text",
122
- action: "Get personalized weekly horoscope text",
123
- },
124
68
  {
125
69
  name: "Personal Monthly",
126
70
  value: "personalMonthly",
@@ -133,6 +77,18 @@ exports.horoscopeOperations = [
133
77
  description: "Get personalized monthly horoscope as formatted text",
134
78
  action: "Get personalized monthly horoscope text",
135
79
  },
80
+ {
81
+ name: "Personal Weekly",
82
+ value: "personalWeekly",
83
+ description: "Get personalized weekly horoscope based on birth data",
84
+ action: "Get personalized weekly horoscope",
85
+ },
86
+ {
87
+ name: "Personal Weekly Text",
88
+ value: "personalWeeklyText",
89
+ description: "Get personalized weekly horoscope as formatted text",
90
+ action: "Get personalized weekly horoscope text",
91
+ },
136
92
  {
137
93
  name: "Personal Yearly",
138
94
  value: "personalYearly",
@@ -145,12 +101,53 @@ exports.horoscopeOperations = [
145
101
  description: "Get personalized yearly horoscope as formatted text",
146
102
  action: "Get personalized yearly horoscope text",
147
103
  },
148
- // Chinese (1)
149
104
  {
150
- name: "Chinese Bazi",
151
- value: "chineseBazi",
152
- description: "Get Chinese Bazi (Four Pillars) horoscope",
153
- action: "Get Chinese Bazi horoscope",
105
+ name: "Sign Daily",
106
+ value: "signDaily",
107
+ description: "Get daily sun sign horoscope",
108
+ action: "Get daily sign horoscope",
109
+ },
110
+ {
111
+ name: "Sign Daily Text",
112
+ value: "signDailyText",
113
+ description: "Get daily sun sign horoscope as formatted text",
114
+ action: "Get daily sign horoscope text",
115
+ },
116
+ {
117
+ name: "Sign Monthly",
118
+ value: "signMonthly",
119
+ description: "Get monthly sun sign horoscope",
120
+ action: "Get monthly sign horoscope",
121
+ },
122
+ {
123
+ name: "Sign Monthly Text",
124
+ value: "signMonthlyText",
125
+ description: "Get monthly sun sign horoscope as formatted text",
126
+ action: "Get monthly sign horoscope text",
127
+ },
128
+ {
129
+ name: "Sign Weekly",
130
+ value: "signWeekly",
131
+ description: "Get weekly sun sign horoscope",
132
+ action: "Get weekly sign horoscope",
133
+ },
134
+ {
135
+ name: "Sign Weekly Text",
136
+ value: "signWeeklyText",
137
+ description: "Get weekly sun sign horoscope as formatted text",
138
+ action: "Get weekly sign horoscope text",
139
+ },
140
+ {
141
+ name: "Sign Yearly",
142
+ value: "signYearly",
143
+ description: "Get yearly sun sign horoscope",
144
+ action: "Get yearly sign horoscope",
145
+ },
146
+ {
147
+ name: "Sign Yearly Text",
148
+ value: "signYearlyText",
149
+ description: "Get yearly sun sign horoscope as formatted text",
150
+ action: "Get yearly sign horoscope text",
154
151
  },
155
152
  ],
156
153
  default: "signDaily",
@@ -167,18 +164,18 @@ exports.horoscopeOperations = [
167
164
  },
168
165
  },
169
166
  options: [
167
+ { name: "Aquarius", value: "aquarius" },
170
168
  { name: "Aries", value: "aries" },
171
- { name: "Taurus", value: "taurus" },
172
- { name: "Gemini", value: "gemini" },
173
169
  { name: "Cancer", value: "cancer" },
170
+ { name: "Capricorn", value: "capricorn" },
171
+ { name: "Gemini", value: "gemini" },
174
172
  { name: "Leo", value: "leo" },
175
- { name: "Virgo", value: "virgo" },
176
173
  { name: "Libra", value: "libra" },
177
- { name: "Scorpio", value: "scorpio" },
178
- { name: "Sagittarius", value: "sagittarius" },
179
- { name: "Capricorn", value: "capricorn" },
180
- { name: "Aquarius", value: "aquarius" },
181
174
  { name: "Pisces", value: "pisces" },
175
+ { name: "Sagittarius", value: "sagittarius" },
176
+ { name: "Scorpio", value: "scorpio" },
177
+ { name: "Taurus", value: "taurus" },
178
+ { name: "Virgo", value: "virgo" },
182
179
  ],
183
180
  default: "aries",
184
181
  description: "The zodiac sign for the horoscope",
@@ -435,12 +432,12 @@ exports.horoscopeOperations = [
435
432
  },
436
433
  },
437
434
  options: [
438
- { name: "Universal", value: "universal" },
435
+ { name: "Chinese", value: "chinese" },
439
436
  { name: "Classical", value: "classical" },
440
- { name: "Psychological", value: "psychological" },
441
437
  { name: "Event Oriented", value: "event_oriented" },
438
+ { name: "Psychological", value: "psychological" },
439
+ { name: "Universal", value: "universal" },
442
440
  { name: "Vedic", value: "vedic" },
443
- { name: "Chinese", value: "chinese" },
444
441
  ],
445
442
  default: "universal",
446
443
  description: "Astrological tradition to use",
@@ -457,11 +454,11 @@ exports.horoscopeOperations = [
457
454
  },
458
455
  },
459
456
  options: [
460
- { name: "Short", value: "short" },
461
- { name: "Paragraph", value: "paragraph" },
462
457
  { name: "Bullets", value: "bullets" },
463
- { name: "Structured", value: "structured" },
464
458
  { name: "Long", value: "long" },
459
+ { name: "Paragraph", value: "paragraph" },
460
+ { name: "Short", value: "short" },
461
+ { name: "Structured", value: "structured" },
465
462
  ],
466
463
  default: "paragraph",
467
464
  description: "Text output style",
@@ -12,7 +12,7 @@ exports.resourceField = {
12
12
  noDataExpression: true,
13
13
  options: [
14
14
  {
15
- name: "Charts",
15
+ name: "Chart",
16
16
  value: "charts",
17
17
  description: "Generate astrological charts (natal, transit, etc.)",
18
18
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astro-api/n8n-nodes-astrology",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "n8n community node for Astrology API - professional astrological calculations, charts, horoscopes, and interpretations",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -78,6 +78,7 @@
78
78
  "@typescript-eslint/eslint-plugin": "8.16.0",
79
79
  "@typescript-eslint/parser": "8.16.0",
80
80
  "eslint": "9.15.0",
81
+ "eslint-plugin-n8n-nodes-base": "^1.16.5",
81
82
  "husky": "^9.1.7",
82
83
  "lint-staged": "^16.2.7",
83
84
  "n8n-workflow": "1.55.0",