@lumiastream/lumia-types 1.0.7 → 1.0.9
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/activity.types.d.ts +11 -1
- package/dist/activity.types.js +10 -0
- package/dist/alert.types.js +60 -1
- package/dist/event.types.d.ts +1 -0
- package/dist/event.types.js +1 -0
- package/package.json +4 -4
package/dist/activity.types.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export declare enum LumiaAlertValues {
|
|
|
99
99
|
LUMIASTREAM_POLL_ENDED = "lumiastream-pollEnded",
|
|
100
100
|
LUMIASTREAM_VIEWERQUEUE_STARTED = "lumiastream-viewerqueueStarted",
|
|
101
101
|
LUMIASTREAM_VIEWERQUEUE_ENDED = "lumiastream-viewerqueueEnded",
|
|
102
|
+
LUMIASTREAM_ROULETTE_WINNER = "lumiastream-rouletteWinner",
|
|
102
103
|
TWITCH_EXTENSION = "twitch-extension",
|
|
103
104
|
TWITCH_POINTS = "twitch-points",
|
|
104
105
|
TWITCH_STREAM_LIVE = "twitch-streamLive",
|
|
@@ -254,7 +255,11 @@ export declare enum LumiaAlertValues {
|
|
|
254
255
|
VTUBESTUDIO_ANIMATION_END = "vtubestudio-animationEnd",
|
|
255
256
|
VTUBESTUDIO_ITEM_ADDED = "vtubestudio-itemAdded",
|
|
256
257
|
VTUBESTUDIO_ITEM_REMOVED = "vtubestudio-itemRemoved",
|
|
257
|
-
VTUBESTUDIO_BACKGROUND_CHANGED = "vtubestudio-backgroundChanged"
|
|
258
|
+
VTUBESTUDIO_BACKGROUND_CHANGED = "vtubestudio-backgroundChanged",
|
|
259
|
+
MELD_STREAM_STARTING = "meld-streamStarting",
|
|
260
|
+
MELD_STREAM_STOPPING = "meld-streamStopping",
|
|
261
|
+
MELD_RECORDING_STARTING = "meld-recordingStarting",
|
|
262
|
+
MELD_RECORDING_STOPPING = "meld-recordingStopping"
|
|
258
263
|
}
|
|
259
264
|
export declare const LumiaAlertFriendlyValues: {
|
|
260
265
|
"lumiastream-lumiaOpened": string;
|
|
@@ -271,6 +276,7 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
271
276
|
"lumiastream-pollEnded": string;
|
|
272
277
|
"lumiastream-viewerqueueStarted": string;
|
|
273
278
|
"lumiastream-viewerqueueEnded": string;
|
|
279
|
+
"lumiastream-rouletteWinner": string;
|
|
274
280
|
"twitch-extension": string;
|
|
275
281
|
"twitch-points": string;
|
|
276
282
|
"twitch-streamLive": string;
|
|
@@ -425,6 +431,10 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
425
431
|
"vtubestudio-itemAdded": string;
|
|
426
432
|
"vtubestudio-itemRemoved": string;
|
|
427
433
|
"vtubestudio-backgroundChanged": string;
|
|
434
|
+
"meld-streamStarting": string;
|
|
435
|
+
"meld-streamStopping": string;
|
|
436
|
+
"meld-recordingStarting": string;
|
|
437
|
+
"meld-recordingStopping": string;
|
|
428
438
|
};
|
|
429
439
|
export declare enum LumiaActivityOriginTypes {
|
|
430
440
|
SYSTEM = "system",// Settings, Shortcut, or API
|
package/dist/activity.types.js
CHANGED
|
@@ -110,6 +110,7 @@ var LumiaAlertValues;
|
|
|
110
110
|
LumiaAlertValues["LUMIASTREAM_POLL_ENDED"] = "lumiastream-pollEnded";
|
|
111
111
|
LumiaAlertValues["LUMIASTREAM_VIEWERQUEUE_STARTED"] = "lumiastream-viewerqueueStarted";
|
|
112
112
|
LumiaAlertValues["LUMIASTREAM_VIEWERQUEUE_ENDED"] = "lumiastream-viewerqueueEnded";
|
|
113
|
+
LumiaAlertValues["LUMIASTREAM_ROULETTE_WINNER"] = "lumiastream-rouletteWinner";
|
|
113
114
|
LumiaAlertValues["TWITCH_EXTENSION"] = "twitch-extension";
|
|
114
115
|
LumiaAlertValues["TWITCH_POINTS"] = "twitch-points";
|
|
115
116
|
LumiaAlertValues["TWITCH_STREAM_LIVE"] = "twitch-streamLive";
|
|
@@ -268,6 +269,10 @@ var LumiaAlertValues;
|
|
|
268
269
|
LumiaAlertValues["VTUBESTUDIO_ITEM_ADDED"] = "vtubestudio-itemAdded";
|
|
269
270
|
LumiaAlertValues["VTUBESTUDIO_ITEM_REMOVED"] = "vtubestudio-itemRemoved";
|
|
270
271
|
LumiaAlertValues["VTUBESTUDIO_BACKGROUND_CHANGED"] = "vtubestudio-backgroundChanged";
|
|
272
|
+
LumiaAlertValues["MELD_STREAM_STARTING"] = "meld-streamStarting";
|
|
273
|
+
LumiaAlertValues["MELD_STREAM_STOPPING"] = "meld-streamStopping";
|
|
274
|
+
LumiaAlertValues["MELD_RECORDING_STARTING"] = "meld-recordingStarting";
|
|
275
|
+
LumiaAlertValues["MELD_RECORDING_STOPPING"] = "meld-recordingStopping";
|
|
271
276
|
})(LumiaAlertValues || (exports.LumiaAlertValues = LumiaAlertValues = {}));
|
|
272
277
|
exports.LumiaAlertFriendlyValues = {
|
|
273
278
|
[LumiaAlertValues.LUMIASTREAM_LUMIA_OPENED]: 'Lumia Opened',
|
|
@@ -284,6 +289,7 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
284
289
|
[LumiaAlertValues.LUMIASTREAM_POLL_ENDED]: 'Poll Ended',
|
|
285
290
|
[LumiaAlertValues.LUMIASTREAM_VIEWERQUEUE_STARTED]: 'Viewer Queue Started',
|
|
286
291
|
[LumiaAlertValues.LUMIASTREAM_VIEWERQUEUE_ENDED]: 'Viewer Queue Ended',
|
|
292
|
+
[LumiaAlertValues.LUMIASTREAM_ROULETTE_WINNER]: 'Roulette Winner',
|
|
287
293
|
[LumiaAlertValues.TWITCH_EXTENSION]: 'Twitch Extension',
|
|
288
294
|
[LumiaAlertValues.TWITCH_POINTS]: 'Twitch Points',
|
|
289
295
|
[LumiaAlertValues.TWITCH_STREAM_LIVE]: 'Twitch Stream Live',
|
|
@@ -440,6 +446,10 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
440
446
|
[LumiaAlertValues.VTUBESTUDIO_ITEM_ADDED]: 'Vtube Item Added',
|
|
441
447
|
[LumiaAlertValues.VTUBESTUDIO_ITEM_REMOVED]: 'Vtube Item Removed',
|
|
442
448
|
[LumiaAlertValues.VTUBESTUDIO_BACKGROUND_CHANGED]: 'Vtube Background Changed',
|
|
449
|
+
[LumiaAlertValues.MELD_STREAM_STARTING]: 'Meld Stream Starting',
|
|
450
|
+
[LumiaAlertValues.MELD_STREAM_STOPPING]: 'Meld Stream Stopping',
|
|
451
|
+
[LumiaAlertValues.MELD_RECORDING_STARTING]: 'Meld Recording Starting',
|
|
452
|
+
[LumiaAlertValues.MELD_RECORDING_STOPPING]: 'Meld Recording Stopping',
|
|
443
453
|
};
|
|
444
454
|
// Where did the Activity Originate from: Chat, alerts, shortcut, api, etc.
|
|
445
455
|
var LumiaActivityOriginTypes;
|
package/dist/alert.types.js
CHANGED
|
@@ -276,7 +276,7 @@ exports.LumiaAlertConfigs = {
|
|
|
276
276
|
[activity_types_1.LumiaAlertValues.LUMIASTREAM_RAFFLE_WINNER]: {
|
|
277
277
|
connection: event_types_1.LumiaIntegrations.LUMIASTREAM,
|
|
278
278
|
message: 'Congratulations {{raffle_winner}} for being selected in this raffle!',
|
|
279
|
-
eventlistMessage: 'Raffle
|
|
279
|
+
eventlistMessage: 'Raffle Winner',
|
|
280
280
|
eventlistDetailedMessage: 'Congratulations {{raffle_winner}} for being selected in this raffle!',
|
|
281
281
|
acceptedVariables: ['raffle_title', 'description', 'type', 'raffle_winner', 'raffle_winner_avatar', 'raffle_winners', 'raffle_entry_command', 'duration'],
|
|
282
282
|
quickActions: [
|
|
@@ -551,6 +551,17 @@ exports.LumiaAlertConfigs = {
|
|
|
551
551
|
inputFields: [],
|
|
552
552
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
553
553
|
},
|
|
554
|
+
[activity_types_1.LumiaAlertValues.LUMIASTREAM_ROULETTE_WINNER]: {
|
|
555
|
+
connection: event_types_1.LumiaIntegrations.LUMIASTREAM,
|
|
556
|
+
message: 'Congratulations {{username}} for winning {{outcome_amount}} {{loyalty_currency_name}}',
|
|
557
|
+
eventlistSpecialUsername: 'lumiastream',
|
|
558
|
+
eventlistMessage: 'Roulette Winner',
|
|
559
|
+
eventlistDetailedMessage: 'Congratulations {{username}} for winning {{outcome_amount}} {{loyalty_currency_name}}',
|
|
560
|
+
acceptedVariables: ['username', 'outcome_amount', 'ball_position'],
|
|
561
|
+
quickActions: [],
|
|
562
|
+
inputFields: [],
|
|
563
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_NUMBER }],
|
|
564
|
+
},
|
|
554
565
|
// twitch: {
|
|
555
566
|
[activity_types_1.LumiaAlertValues.TWITCH_EXTENSION]: {
|
|
556
567
|
connection: event_types_1.LumiaIntegrations.TWITCH,
|
|
@@ -6870,4 +6881,52 @@ exports.LumiaAlertConfigs = {
|
|
|
6870
6881
|
},
|
|
6871
6882
|
],
|
|
6872
6883
|
},
|
|
6884
|
+
[activity_types_1.LumiaAlertValues.MELD_STREAM_STARTING]: {
|
|
6885
|
+
connection: event_types_1.LumiaIntegrations.MELD,
|
|
6886
|
+
message: '{{name}} is starting',
|
|
6887
|
+
acceptedVariables: ['name'],
|
|
6888
|
+
quickActions: [
|
|
6889
|
+
{
|
|
6890
|
+
label: 'Stream Starting',
|
|
6891
|
+
dynamic: { value: 'Go Bright' },
|
|
6892
|
+
},
|
|
6893
|
+
],
|
|
6894
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
6895
|
+
},
|
|
6896
|
+
[activity_types_1.LumiaAlertValues.MELD_STREAM_STOPPING]: {
|
|
6897
|
+
connection: event_types_1.LumiaIntegrations.MELD,
|
|
6898
|
+
message: '{{name}} is stopping',
|
|
6899
|
+
acceptedVariables: ['name'],
|
|
6900
|
+
quickActions: [
|
|
6901
|
+
{
|
|
6902
|
+
label: 'Stream Stop',
|
|
6903
|
+
dynamic: { value: 'Go Bright' },
|
|
6904
|
+
},
|
|
6905
|
+
],
|
|
6906
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
6907
|
+
},
|
|
6908
|
+
[activity_types_1.LumiaAlertValues.MELD_RECORDING_STARTING]: {
|
|
6909
|
+
connection: event_types_1.LumiaIntegrations.MELD,
|
|
6910
|
+
message: '{{name}} is starting',
|
|
6911
|
+
acceptedVariables: ['name'],
|
|
6912
|
+
quickActions: [
|
|
6913
|
+
{
|
|
6914
|
+
label: 'Recording Started',
|
|
6915
|
+
dynamic: { value: 'Go Bright' },
|
|
6916
|
+
},
|
|
6917
|
+
],
|
|
6918
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
6919
|
+
},
|
|
6920
|
+
[activity_types_1.LumiaAlertValues.MELD_RECORDING_STOPPING]: {
|
|
6921
|
+
connection: event_types_1.LumiaIntegrations.MELD,
|
|
6922
|
+
message: '{{name}} is stopping',
|
|
6923
|
+
acceptedVariables: ['name'],
|
|
6924
|
+
quickActions: [
|
|
6925
|
+
{
|
|
6926
|
+
label: 'Recording Stop',
|
|
6927
|
+
dynamic: { value: 'Go Bright' },
|
|
6928
|
+
},
|
|
6929
|
+
],
|
|
6930
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
6931
|
+
},
|
|
6873
6932
|
};
|
package/dist/event.types.d.ts
CHANGED
package/dist/event.types.js
CHANGED
|
@@ -38,6 +38,7 @@ var LumiaIntegrations;
|
|
|
38
38
|
LumiaIntegrations["FOURTHWALL"] = "fourthwall";
|
|
39
39
|
LumiaIntegrations["CROWDCONTROL"] = "crowdcontrol";
|
|
40
40
|
LumiaIntegrations["VTUBESTUDIO"] = "vtubestudio";
|
|
41
|
+
LumiaIntegrations["MELD"] = "meld";
|
|
41
42
|
LumiaIntegrations["GAMESGLOW"] = "gamesglow";
|
|
42
43
|
})(LumiaIntegrations || (exports.LumiaIntegrations = LumiaIntegrations = {}));
|
|
43
44
|
var LumiaEventTypes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumiastream/lumia-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/node": "^20.
|
|
21
|
-
"tslib": "^2.
|
|
22
|
-
"typescript": "^5.
|
|
20
|
+
"@types/node": "^20.17.9",
|
|
21
|
+
"tslib": "^2.8.1",
|
|
22
|
+
"typescript": "^5.7.2"
|
|
23
23
|
}
|
|
24
24
|
}
|