@lumiastream/lumia-types 1.0.8 → 1.0.10

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.
@@ -100,6 +100,7 @@ export declare enum LumiaAlertValues {
100
100
  LUMIASTREAM_VIEWERQUEUE_STARTED = "lumiastream-viewerqueueStarted",
101
101
  LUMIASTREAM_VIEWERQUEUE_ENDED = "lumiastream-viewerqueueEnded",
102
102
  LUMIASTREAM_ROULETTE_WINNER = "lumiastream-rouletteWinner",
103
+ LUMIASTREAM_SLOTS_WINNER = "lumiastream-slotsWinner",
103
104
  TWITCH_EXTENSION = "twitch-extension",
104
105
  TWITCH_POINTS = "twitch-points",
105
106
  TWITCH_STREAM_LIVE = "twitch-streamLive",
@@ -255,7 +256,11 @@ export declare enum LumiaAlertValues {
255
256
  VTUBESTUDIO_ANIMATION_END = "vtubestudio-animationEnd",
256
257
  VTUBESTUDIO_ITEM_ADDED = "vtubestudio-itemAdded",
257
258
  VTUBESTUDIO_ITEM_REMOVED = "vtubestudio-itemRemoved",
258
- VTUBESTUDIO_BACKGROUND_CHANGED = "vtubestudio-backgroundChanged"
259
+ VTUBESTUDIO_BACKGROUND_CHANGED = "vtubestudio-backgroundChanged",
260
+ MELD_STREAM_STARTING = "meld-streamStarting",
261
+ MELD_STREAM_STOPPING = "meld-streamStopping",
262
+ MELD_RECORDING_STARTING = "meld-recordingStarting",
263
+ MELD_RECORDING_STOPPING = "meld-recordingStopping"
259
264
  }
260
265
  export declare const LumiaAlertFriendlyValues: {
261
266
  "lumiastream-lumiaOpened": string;
@@ -273,6 +278,7 @@ export declare const LumiaAlertFriendlyValues: {
273
278
  "lumiastream-viewerqueueStarted": string;
274
279
  "lumiastream-viewerqueueEnded": string;
275
280
  "lumiastream-rouletteWinner": string;
281
+ "lumiastream-slotsWinner": string;
276
282
  "twitch-extension": string;
277
283
  "twitch-points": string;
278
284
  "twitch-streamLive": string;
@@ -427,6 +433,10 @@ export declare const LumiaAlertFriendlyValues: {
427
433
  "vtubestudio-itemAdded": string;
428
434
  "vtubestudio-itemRemoved": string;
429
435
  "vtubestudio-backgroundChanged": string;
436
+ "meld-streamStarting": string;
437
+ "meld-streamStopping": string;
438
+ "meld-recordingStarting": string;
439
+ "meld-recordingStopping": string;
430
440
  };
431
441
  export declare enum LumiaActivityOriginTypes {
432
442
  SYSTEM = "system",// Settings, Shortcut, or API
@@ -111,6 +111,7 @@ var LumiaAlertValues;
111
111
  LumiaAlertValues["LUMIASTREAM_VIEWERQUEUE_STARTED"] = "lumiastream-viewerqueueStarted";
112
112
  LumiaAlertValues["LUMIASTREAM_VIEWERQUEUE_ENDED"] = "lumiastream-viewerqueueEnded";
113
113
  LumiaAlertValues["LUMIASTREAM_ROULETTE_WINNER"] = "lumiastream-rouletteWinner";
114
+ LumiaAlertValues["LUMIASTREAM_SLOTS_WINNER"] = "lumiastream-slotsWinner";
114
115
  LumiaAlertValues["TWITCH_EXTENSION"] = "twitch-extension";
115
116
  LumiaAlertValues["TWITCH_POINTS"] = "twitch-points";
116
117
  LumiaAlertValues["TWITCH_STREAM_LIVE"] = "twitch-streamLive";
@@ -269,6 +270,10 @@ var LumiaAlertValues;
269
270
  LumiaAlertValues["VTUBESTUDIO_ITEM_ADDED"] = "vtubestudio-itemAdded";
270
271
  LumiaAlertValues["VTUBESTUDIO_ITEM_REMOVED"] = "vtubestudio-itemRemoved";
271
272
  LumiaAlertValues["VTUBESTUDIO_BACKGROUND_CHANGED"] = "vtubestudio-backgroundChanged";
273
+ LumiaAlertValues["MELD_STREAM_STARTING"] = "meld-streamStarting";
274
+ LumiaAlertValues["MELD_STREAM_STOPPING"] = "meld-streamStopping";
275
+ LumiaAlertValues["MELD_RECORDING_STARTING"] = "meld-recordingStarting";
276
+ LumiaAlertValues["MELD_RECORDING_STOPPING"] = "meld-recordingStopping";
272
277
  })(LumiaAlertValues || (exports.LumiaAlertValues = LumiaAlertValues = {}));
273
278
  exports.LumiaAlertFriendlyValues = {
274
279
  [LumiaAlertValues.LUMIASTREAM_LUMIA_OPENED]: 'Lumia Opened',
@@ -286,6 +291,7 @@ exports.LumiaAlertFriendlyValues = {
286
291
  [LumiaAlertValues.LUMIASTREAM_VIEWERQUEUE_STARTED]: 'Viewer Queue Started',
287
292
  [LumiaAlertValues.LUMIASTREAM_VIEWERQUEUE_ENDED]: 'Viewer Queue Ended',
288
293
  [LumiaAlertValues.LUMIASTREAM_ROULETTE_WINNER]: 'Roulette Winner',
294
+ [LumiaAlertValues.LUMIASTREAM_SLOTS_WINNER]: 'Slots Winner',
289
295
  [LumiaAlertValues.TWITCH_EXTENSION]: 'Twitch Extension',
290
296
  [LumiaAlertValues.TWITCH_POINTS]: 'Twitch Points',
291
297
  [LumiaAlertValues.TWITCH_STREAM_LIVE]: 'Twitch Stream Live',
@@ -442,6 +448,10 @@ exports.LumiaAlertFriendlyValues = {
442
448
  [LumiaAlertValues.VTUBESTUDIO_ITEM_ADDED]: 'Vtube Item Added',
443
449
  [LumiaAlertValues.VTUBESTUDIO_ITEM_REMOVED]: 'Vtube Item Removed',
444
450
  [LumiaAlertValues.VTUBESTUDIO_BACKGROUND_CHANGED]: 'Vtube Background Changed',
451
+ [LumiaAlertValues.MELD_STREAM_STARTING]: 'Meld Stream Starting',
452
+ [LumiaAlertValues.MELD_STREAM_STOPPING]: 'Meld Stream Stopping',
453
+ [LumiaAlertValues.MELD_RECORDING_STARTING]: 'Meld Recording Starting',
454
+ [LumiaAlertValues.MELD_RECORDING_STOPPING]: 'Meld Recording Stopping',
445
455
  };
446
456
  // Where did the Activity Originate from: Chat, alerts, shortcut, api, etc.
447
457
  var LumiaActivityOriginTypes;
@@ -562,6 +562,17 @@ exports.LumiaAlertConfigs = {
562
562
  inputFields: [],
563
563
  LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_NUMBER }],
564
564
  },
565
+ [activity_types_1.LumiaAlertValues.LUMIASTREAM_SLOTS_WINNER]: {
566
+ connection: event_types_1.LumiaIntegrations.LUMIASTREAM,
567
+ message: 'Congratulations {{username}} for winning {{outcome_amount}} {{loyalty_currency_name}}',
568
+ eventlistSpecialUsername: 'lumiastream',
569
+ eventlistMessage: 'Slots Winner',
570
+ eventlistDetailedMessage: 'Congratulations {{username}} for winning {{outcome_amount}} {{loyalty_currency_name}}',
571
+ acceptedVariables: ['username', 'outcome_amount', 'slots_combo'],
572
+ quickActions: [],
573
+ inputFields: [],
574
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_NUMBER }, { type: LumiaVariationConditions.EQUAL_STRING }],
575
+ },
565
576
  // twitch: {
566
577
  [activity_types_1.LumiaAlertValues.TWITCH_EXTENSION]: {
567
578
  connection: event_types_1.LumiaIntegrations.TWITCH,
@@ -790,7 +801,7 @@ exports.LumiaAlertConfigs = {
790
801
  LumiaVariationConditions: [
791
802
  { type: LumiaVariationConditions.RANDOM },
792
803
  {
793
- type: LumiaVariationConditions.EQUAL_STRING,
804
+ type: LumiaVariationConditions.EQUAL_USERNAME,
794
805
  },
795
806
  ],
796
807
  },
@@ -2879,7 +2890,7 @@ exports.LumiaAlertConfigs = {
2879
2890
  LumiaVariationConditions: [
2880
2891
  { type: LumiaVariationConditions.RANDOM },
2881
2892
  {
2882
- type: LumiaVariationConditions.EQUAL_STRING,
2893
+ type: LumiaVariationConditions.EQUAL_USERNAME,
2883
2894
  },
2884
2895
  ],
2885
2896
  },
@@ -6881,4 +6892,52 @@ exports.LumiaAlertConfigs = {
6881
6892
  },
6882
6893
  ],
6883
6894
  },
6895
+ [activity_types_1.LumiaAlertValues.MELD_STREAM_STARTING]: {
6896
+ connection: event_types_1.LumiaIntegrations.MELD,
6897
+ message: '{{name}} is starting',
6898
+ acceptedVariables: ['name'],
6899
+ quickActions: [
6900
+ {
6901
+ label: 'Stream Starting',
6902
+ dynamic: { value: 'Go Bright' },
6903
+ },
6904
+ ],
6905
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
6906
+ },
6907
+ [activity_types_1.LumiaAlertValues.MELD_STREAM_STOPPING]: {
6908
+ connection: event_types_1.LumiaIntegrations.MELD,
6909
+ message: '{{name}} is stopping',
6910
+ acceptedVariables: ['name'],
6911
+ quickActions: [
6912
+ {
6913
+ label: 'Stream Stop',
6914
+ dynamic: { value: 'Go Bright' },
6915
+ },
6916
+ ],
6917
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
6918
+ },
6919
+ [activity_types_1.LumiaAlertValues.MELD_RECORDING_STARTING]: {
6920
+ connection: event_types_1.LumiaIntegrations.MELD,
6921
+ message: '{{name}} is starting',
6922
+ acceptedVariables: ['name'],
6923
+ quickActions: [
6924
+ {
6925
+ label: 'Recording Started',
6926
+ dynamic: { value: 'Go Bright' },
6927
+ },
6928
+ ],
6929
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
6930
+ },
6931
+ [activity_types_1.LumiaAlertValues.MELD_RECORDING_STOPPING]: {
6932
+ connection: event_types_1.LumiaIntegrations.MELD,
6933
+ message: '{{name}} is stopping',
6934
+ acceptedVariables: ['name'],
6935
+ quickActions: [
6936
+ {
6937
+ label: 'Recording Stop',
6938
+ dynamic: { value: 'Go Bright' },
6939
+ },
6940
+ ],
6941
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
6942
+ },
6884
6943
  };
@@ -166,6 +166,7 @@ export declare enum LumiaIntegrations {
166
166
  FOURTHWALL = "fourthwall",
167
167
  CROWDCONTROL = "crowdcontrol",
168
168
  VTUBESTUDIO = "vtubestudio",
169
+ MELD = "meld",
169
170
  GAMESGLOW = "gamesglow"
170
171
  }
171
172
  export declare enum LumiaEventTypes {
@@ -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.8",
3
+ "version": "1.0.10",
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.12.11",
21
- "tslib": "^2.6.2",
22
- "typescript": "^5.4.5"
20
+ "@types/node": "^20.17.9",
21
+ "tslib": "^2.8.1",
22
+ "typescript": "^5.7.2"
23
23
  }
24
24
  }