@lumiastream/lumia-types 2.6.8 → 2.7.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/dist/index.d.ts CHANGED
@@ -4,4 +4,4 @@ export { ILumiaSendPack, ILumiaEvent, ILumiaEventChatCommandBody, ILumiaEventCha
4
4
  export { LumiaEventListTypes, LumiaMapAlertTypeToEventListType } from './eventlist.types';
5
5
  export { SystemVariables, ReservedVariables, AllVariables } from './variables.types';
6
6
  export { formatCondition } from './helpers';
7
- export { VIEWER_PROFILE_ACHIEVEMENTS, type ViewerProfileAchievementDefinition, type ViewerProfileAchievementMetric } from './viewer_profile_achievements';
7
+ export { VIEWER_PROFILE_ACHIEVEMENTS, type ViewerProfileAchievementColor, type ViewerProfileAchievementDefinition, type ViewerProfileAchievementMetric } from './viewer_profile_achievements';
@@ -1,4 +1,5 @@
1
1
  export type ViewerProfileAchievementMetric = 'totalCommands' | 'uniqueCommands' | 'totalChatbotCommands' | 'totalPointsCommands' | 'totalPointsSpent' | 'totalTwitchExtensionsCommands' | 'totalBitsSpent' | 'totalKicksSpent' | 'totalMoneySpent' | 'totalAlerts' | 'uniqueAlerts' | 'totalCommandsAndAlerts' | 'daysActive' | 'allRounder';
2
+ export type ViewerProfileAchievementColor = 'gold' | 'amber' | 'emerald' | 'sky' | 'rose' | 'orange' | 'teal' | 'cyan' | 'violet' | 'slate';
2
3
  export type ViewerProfileAchievementDefinition = {
3
4
  id: string;
4
5
  label: string;
@@ -6,5 +7,7 @@ export type ViewerProfileAchievementDefinition = {
6
7
  metric: ViewerProfileAchievementMetric;
7
8
  threshold: number;
8
9
  connectionKeys?: string[];
10
+ icon: string;
11
+ color: ViewerProfileAchievementColor;
9
12
  };
10
13
  export declare const VIEWER_PROFILE_ACHIEVEMENTS: ViewerProfileAchievementDefinition[];
@@ -9,6 +9,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
9
9
  description: 'Triggered 25 commands.',
10
10
  metric: 'totalCommands',
11
11
  threshold: 25,
12
+ icon: 'Bolt',
13
+ color: 'amber',
12
14
  },
13
15
  {
14
16
  id: 'commands-runner',
@@ -16,6 +18,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
16
18
  description: 'Triggered 50 commands.',
17
19
  metric: 'totalCommands',
18
20
  threshold: 50,
21
+ icon: 'Speed',
22
+ color: 'amber',
19
23
  },
20
24
  {
21
25
  id: 'commands-overdrive',
@@ -23,6 +27,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
23
27
  description: 'Triggered 100 commands.',
24
28
  metric: 'totalCommands',
25
29
  threshold: 100,
30
+ icon: 'FlashOn',
31
+ color: 'orange',
26
32
  },
27
33
  {
28
34
  id: 'commands-speedster',
@@ -30,6 +36,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
30
36
  description: 'Triggered 250 commands.',
31
37
  metric: 'totalCommands',
32
38
  threshold: 250,
39
+ icon: 'RocketLaunch',
40
+ color: 'orange',
33
41
  },
34
42
  {
35
43
  id: 'commands-blazer',
@@ -37,20 +45,26 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
37
45
  description: 'Triggered 500 commands.',
38
46
  metric: 'totalCommands',
39
47
  threshold: 500,
48
+ icon: 'Whatshot',
49
+ color: 'orange',
40
50
  },
41
51
  {
42
52
  id: 'commands-veteran',
43
53
  label: 'Commands Veteran',
44
- description: 'Triggered 1,000 commands.',
54
+ description: 'Triggered 1,500 commands.',
45
55
  metric: 'totalCommands',
46
- threshold: 1000,
56
+ threshold: 1500,
57
+ icon: 'MilitaryTech',
58
+ color: 'orange',
47
59
  },
48
60
  {
49
61
  id: 'commands-legend',
50
62
  label: 'Commands Legend',
51
- description: 'Triggered 5,000 commands.',
63
+ description: 'Triggered 7,500 commands.',
52
64
  metric: 'totalCommands',
53
- threshold: 5000,
65
+ threshold: 7500,
66
+ icon: 'EmojiEvents',
67
+ color: 'gold',
54
68
  },
55
69
  // ───────── Unique Commands ─────────
56
70
  {
@@ -59,13 +73,17 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
59
73
  description: 'Used 10 different commands.',
60
74
  metric: 'uniqueCommands',
61
75
  threshold: 10,
76
+ icon: 'AutoAwesome',
77
+ color: 'amber',
62
78
  },
63
79
  {
64
80
  id: 'commands-unique-adventurer',
65
81
  label: 'Commands Adventurer',
66
- description: 'Used 20 different commands.',
82
+ description: 'Used 30 different commands.',
67
83
  metric: 'uniqueCommands',
68
- threshold: 20,
84
+ threshold: 30,
85
+ icon: 'Stars',
86
+ color: 'orange',
69
87
  },
70
88
  // ───────── Channel Points ─────────
71
89
  {
@@ -75,6 +93,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
75
93
  metric: 'totalPointsCommands',
76
94
  threshold: 50,
77
95
  connectionKeys: ['twitch'],
96
+ icon: 'LocalActivity',
97
+ color: 'cyan',
78
98
  },
79
99
  {
80
100
  id: 'twitch-points-regular',
@@ -83,30 +103,38 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
83
103
  metric: 'totalPointsCommands',
84
104
  threshold: 200,
85
105
  connectionKeys: ['twitch'],
106
+ icon: 'StarRate',
107
+ color: 'teal',
86
108
  },
87
109
  {
88
110
  id: 'twitch-points-glow',
89
111
  label: 'Points Spender',
90
- description: 'Spent 5,000 channel points.',
112
+ description: 'Spent 7,500 channel points.',
91
113
  metric: 'totalPointsSpent',
92
- threshold: 5000,
114
+ threshold: 7500,
93
115
  connectionKeys: ['twitch'],
116
+ icon: 'AutoGraph',
117
+ color: 'emerald',
94
118
  },
95
119
  {
96
120
  id: 'twitch-points-beacon',
97
121
  label: 'Points Beacon',
98
- description: 'Spent 25,000 channel points.',
122
+ description: 'Spent 40,000 channel points.',
99
123
  metric: 'totalPointsSpent',
100
- threshold: 25000,
124
+ threshold: 40000,
101
125
  connectionKeys: ['twitch'],
126
+ icon: 'TrendingUp',
127
+ color: 'emerald',
102
128
  },
103
129
  {
104
130
  id: 'twitch-points-tycoon',
105
131
  label: 'Points Tycoon',
106
- description: 'Spent 100,000 channel points.',
132
+ description: 'Spent 150,000 channel points.',
107
133
  metric: 'totalPointsSpent',
108
- threshold: 100000,
134
+ threshold: 150000,
109
135
  connectionKeys: ['twitch'],
136
+ icon: 'WorkspacePremium',
137
+ color: 'gold',
110
138
  },
111
139
  // ───────── Twitch Extensions ─────────
112
140
  {
@@ -116,30 +144,38 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
116
144
  metric: 'totalTwitchExtensionsCommands',
117
145
  threshold: 5,
118
146
  connectionKeys: ['twitch'],
147
+ icon: 'Extension',
148
+ color: 'sky',
119
149
  },
120
150
  {
121
151
  id: 'twitch-extension-adventurer-ii',
122
152
  label: 'Twitch Extension Adventurer II',
123
- description: 'Used 10 extension commands.',
153
+ description: 'Used 15 extension commands.',
124
154
  metric: 'totalTwitchExtensionsCommands',
125
- threshold: 10,
155
+ threshold: 15,
126
156
  connectionKeys: ['twitch'],
157
+ icon: 'Extension',
158
+ color: 'teal',
127
159
  },
128
160
  {
129
161
  id: 'twitch-extension-adventurer',
130
162
  label: 'Twitch Extension Adventurer',
131
- description: 'Used 25 extension commands.',
163
+ description: 'Used 40 extension commands.',
132
164
  metric: 'totalTwitchExtensionsCommands',
133
- threshold: 25,
165
+ threshold: 40,
134
166
  connectionKeys: ['twitch'],
167
+ icon: 'Extension',
168
+ color: 'violet',
135
169
  },
136
170
  {
137
171
  id: 'twitch-extension-operator',
138
172
  label: 'Twitch Extension Operator',
139
- description: 'Used 100 extension commands.',
173
+ description: 'Used 150 extension commands.',
140
174
  metric: 'totalTwitchExtensionsCommands',
141
- threshold: 100,
175
+ threshold: 150,
142
176
  connectionKeys: ['twitch'],
177
+ icon: 'Extension',
178
+ color: 'gold',
143
179
  },
144
180
  // ───────── Bits ─────────
145
181
  {
@@ -149,6 +185,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
149
185
  metric: 'totalBitsSpent',
150
186
  threshold: 100,
151
187
  connectionKeys: ['twitch'],
188
+ icon: 'Diamond',
189
+ color: 'sky',
152
190
  },
153
191
  {
154
192
  id: 'bits-beam',
@@ -157,22 +195,28 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
157
195
  metric: 'totalBitsSpent',
158
196
  threshold: 500,
159
197
  connectionKeys: ['twitch'],
198
+ icon: 'Diamond',
199
+ color: 'teal',
160
200
  },
161
201
  {
162
202
  id: 'bits-glow',
163
203
  label: 'Bits Glow',
164
- description: 'Spent 1,000 bits.',
204
+ description: 'Spent 1,500 bits.',
165
205
  metric: 'totalBitsSpent',
166
- threshold: 1000,
206
+ threshold: 1500,
167
207
  connectionKeys: ['twitch'],
208
+ icon: 'Diamond',
209
+ color: 'teal',
168
210
  },
169
211
  {
170
212
  id: 'bits-supernova',
171
213
  label: 'Bits Supernova',
172
- description: 'Spent 5,000 bits.',
214
+ description: 'Spent 7,500 bits.',
173
215
  metric: 'totalBitsSpent',
174
- threshold: 5000,
216
+ threshold: 7500,
175
217
  connectionKeys: ['twitch'],
218
+ icon: 'Diamond',
219
+ color: 'gold',
176
220
  },
177
221
  // ───────── Kick ─────────
178
222
  {
@@ -182,6 +226,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
182
226
  metric: 'totalKicksSpent',
183
227
  threshold: 50,
184
228
  connectionKeys: ['kick'],
229
+ icon: 'LocalFireDepartment',
230
+ color: 'emerald',
185
231
  },
186
232
  {
187
233
  id: 'kick-glow',
@@ -190,22 +236,28 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
190
236
  metric: 'totalKicksSpent',
191
237
  threshold: 100,
192
238
  connectionKeys: ['kick'],
239
+ icon: 'LocalFireDepartment',
240
+ color: 'teal',
193
241
  },
194
242
  {
195
243
  id: 'kick-beam',
196
244
  label: 'Kick Power User',
197
- description: 'Spent 500 kicks.',
245
+ description: 'Spent 750 kicks.',
198
246
  metric: 'totalKicksSpent',
199
- threshold: 500,
247
+ threshold: 750,
200
248
  connectionKeys: ['kick'],
249
+ icon: 'LocalFireDepartment',
250
+ color: 'cyan',
201
251
  },
202
252
  {
203
253
  id: 'kick-supernova',
204
254
  label: 'Kick Superstar',
205
- description: 'Spent 1,000 kicks.',
255
+ description: 'Spent 1,500 kicks.',
206
256
  metric: 'totalKicksSpent',
207
- threshold: 1000,
257
+ threshold: 1500,
208
258
  connectionKeys: ['kick'],
259
+ icon: 'LocalFireDepartment',
260
+ color: 'gold',
209
261
  },
210
262
  // ───────── Donations ─────────
211
263
  {
@@ -214,6 +266,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
214
266
  description: 'Donated 5 in your default currency.',
215
267
  metric: 'totalMoneySpent',
216
268
  threshold: 5,
269
+ icon: 'Payments',
270
+ color: 'amber',
217
271
  },
218
272
  {
219
273
  id: 'light-backer',
@@ -221,6 +275,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
221
275
  description: 'Donated 25 in your default currency.',
222
276
  metric: 'totalMoneySpent',
223
277
  threshold: 25,
278
+ icon: 'Payments',
279
+ color: 'orange',
224
280
  },
225
281
  {
226
282
  id: 'light-advocate',
@@ -228,6 +284,8 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
228
284
  description: 'Donated 50 in your default currency.',
229
285
  metric: 'totalMoneySpent',
230
286
  threshold: 50,
287
+ icon: 'Payments',
288
+ color: 'orange',
231
289
  },
232
290
  {
233
291
  id: 'light-hero',
@@ -235,13 +293,17 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
235
293
  description: 'Donated 100 in your default currency.',
236
294
  metric: 'totalMoneySpent',
237
295
  threshold: 100,
296
+ icon: 'MonetizationOn',
297
+ color: 'gold',
238
298
  },
239
299
  {
240
300
  id: 'light-patron',
241
301
  label: 'Patron',
242
- description: 'Donated 100 in your default currency.',
302
+ description: 'Donated 250 in your default currency.',
243
303
  metric: 'totalMoneySpent',
244
- threshold: 100,
304
+ threshold: 250,
305
+ icon: 'MonetizationOn',
306
+ color: 'gold',
245
307
  },
246
308
  // ───────── Alerts ─────────
247
309
  {
@@ -250,42 +312,54 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
250
312
  description: 'Triggered 10 alerts.',
251
313
  metric: 'totalAlerts',
252
314
  threshold: 10,
315
+ icon: 'NotificationsActive',
316
+ color: 'orange',
253
317
  },
254
318
  {
255
319
  id: 'alert-enthusiast',
256
320
  label: 'Alert Enthusiast',
257
- description: 'Triggered 50 alerts.',
321
+ description: 'Triggered 75 alerts.',
258
322
  metric: 'totalAlerts',
259
- threshold: 50,
323
+ threshold: 75,
324
+ icon: 'Campaign',
325
+ color: 'orange',
260
326
  },
261
327
  {
262
328
  id: 'alert-curator',
263
- label: 'Alert Explorer',
329
+ label: 'Alert Curator',
264
330
  description: 'Triggered 10 different alerts.',
265
331
  metric: 'uniqueAlerts',
266
332
  threshold: 10,
333
+ icon: 'Notifications',
334
+ color: 'violet',
267
335
  },
268
336
  {
269
337
  id: 'alert-historian',
270
338
  label: 'Alert Historian',
271
- description: 'Triggered 25 different alerts.',
339
+ description: 'Triggered 35 different alerts.',
272
340
  metric: 'uniqueAlerts',
273
- threshold: 25,
341
+ threshold: 35,
342
+ icon: 'Notifications',
343
+ color: 'violet',
274
344
  },
275
345
  {
276
346
  id: 'alert-archivist',
277
347
  label: 'Alert Archivist',
278
- description: 'Triggered 50 different alerts.',
348
+ description: 'Triggered 75 different alerts.',
279
349
  metric: 'uniqueAlerts',
280
- threshold: 50,
350
+ threshold: 75,
351
+ icon: 'Notifications',
352
+ color: 'violet',
281
353
  },
282
354
  // ───────── Overall Engagement ─────────
283
355
  {
284
356
  id: 'livewire-operator',
285
357
  label: 'Livewire',
286
- description: 'Triggered 500 commands or alerts.',
358
+ description: 'Triggered 750 commands or alerts.',
287
359
  metric: 'totalCommandsAndAlerts',
288
- threshold: 500,
360
+ threshold: 750,
361
+ icon: 'Bolt',
362
+ color: 'violet',
289
363
  },
290
364
  {
291
365
  id: 'on-air-regular',
@@ -293,13 +367,17 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
293
367
  description: 'Active for 60 days or more.',
294
368
  metric: 'daysActive',
295
369
  threshold: 60,
370
+ icon: 'AccessTime',
371
+ color: 'emerald',
296
372
  },
297
373
  {
298
374
  id: 'yearlong-viewer',
299
375
  label: 'Year-Long Viewer',
300
- description: 'Active for 365 days or more.',
376
+ description: 'Active for 400 days or more.',
301
377
  metric: 'daysActive',
302
- threshold: 365,
378
+ threshold: 400,
379
+ icon: 'CalendarMonth',
380
+ color: 'gold',
303
381
  },
304
382
  // ───────── Ultimate ─────────
305
383
  {
@@ -308,5 +386,7 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
308
386
  description: 'Reached major milestones across commands, alerts, extensions, and support.',
309
387
  metric: 'allRounder',
310
388
  threshold: 1,
389
+ icon: 'EmojiObjects',
390
+ color: 'gold',
311
391
  },
312
392
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "2.6.8",
3
+ "version": "2.7.0",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [