@lumiastream/lumia-types 0.7.0 → 0.7.2

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.
@@ -772,7 +772,7 @@ exports.LumiaAlertConfigs = {
772
772
  message: '{{username}} just subscribed!',
773
773
  eventlistMessage: 'Subscribed',
774
774
  eventlistDetailedMessage: 'became a subscriber',
775
- acceptedVariables: ['username', 'avatar', 'tier', 'giftAmount', 'totalGifts', 'gifter', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
775
+ acceptedVariables: ['username', 'avatar', 'subPlanName', 'giftAmount', 'totalGifts', 'gifter', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan'],
776
776
  quickActions: [
777
777
  {
778
778
  label: 'Tier 1 Sub',
@@ -875,15 +875,15 @@ exports.LumiaAlertConfigs = {
875
875
  },
876
876
  {
877
877
  type: 'selection',
878
- label: 'Tier',
878
+ label: 'Sub Plan Name',
879
879
  dynamicField: 'value',
880
- variableField: 'subPlan',
881
- default: 1000,
880
+ variableField: 'subPlanName',
881
+ default: 'Tier 1',
882
882
  required: true,
883
883
  selections: [
884
- { label: 'Tier 1', value: 1000 },
885
- { label: 'Tier 2', value: 2000 },
886
- { label: 'Tier 3', value: 3000 },
884
+ { label: 'Tier 1', value: 'Tier 1' },
885
+ { label: 'Tier 2', value: 'Tier 2' },
886
+ { label: 'Tier 3', value: 'Tier 3' },
887
887
  { label: 'Prime', value: 'Prime' },
888
888
  ],
889
889
  },
@@ -931,7 +931,7 @@ exports.LumiaAlertConfigs = {
931
931
  message: '{{gifter}} gifted {{giftAmount}} subs!',
932
932
  eventlistMessage: 'Gifted subscription',
933
933
  eventlistDetailedMessage: 'gifted {{recipient}} a subscription',
934
- acceptedVariables: ['username', 'avatar', 'tier', 'giftAmount', 'totalGifts', 'gifter', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
934
+ acceptedVariables: ['username', 'avatar', 'subPlanName', 'giftAmount', 'totalGifts', 'gifter', 'recipient', 'subMonths', 'streakMonths', 'message', 'subPlan'],
935
935
  quickActions: [
936
936
  {
937
937
  label: 'Gift 1 Sub',
@@ -2692,7 +2692,7 @@ exports.LumiaAlertConfigs = {
2692
2692
  message: 'ad stopped',
2693
2693
  eventlistMessage: 'Ad Stopped',
2694
2694
  eventlistDetailedMessage: 'ad stopped',
2695
- acceptedVariables: ['length', 'is_automatic', 'started_at'],
2695
+ acceptedVariables: ['length', 'is_automatic', 'started_at', 'next_ad_starts', 'next_ad_starts_date'],
2696
2696
  quickActions: [
2697
2697
  {
2698
2698
  label: 'Ad Stopped',
@@ -2701,6 +2701,8 @@ exports.LumiaAlertConfigs = {
2701
2701
  length: '60',
2702
2702
  is_automatic: false,
2703
2703
  started_at: '2022-07-26T17:00:03.17106713Z',
2704
+ next_ad_starts: '1 hour, 5 minutes, 20 seconds',
2705
+ next_ad_starts_date: '2022-07-26T17:00:05.17106713Z',
2704
2706
  },
2705
2707
  },
2706
2708
  ],
@@ -130,9 +130,9 @@ export interface ILumiaLight {
130
130
  type: LightBrands;
131
131
  id: string | number;
132
132
  }
133
- export declare type LumiaPlatforms = 'twitch' | 'youtube' | 'facebook' | 'trovo';
134
- declare type LightBrands = 'hue' | 'nanoleaf' | 'nanoleaf2' | 'lifx' | 'tplink' | 'tapo' | 'yeelight' | 'cololight' | 'tuya' | 'smartlife' | 'wyze' | 'wiz' | 'homeassistant' | 'govee' | 'wled' | 'magichome' | 'logitech' | 'razer' | 'corsair' | 'steelseries' | 'overlay' | 'elgato';
135
- export declare type LumiaAlertBrands = 'lumiastream' | 'twitch' | 'facebook' | 'trovo' | 'youtube' | 'streamlabs' | 'streamelements' | 'extralife' | 'donordrive' | 'tiltify' | 'patreon' | 'tipeeestream' | 'treatstream' | 'obs' | 'slobs' | 'spotify' | 'nowplaying' | 'vlc' | 'twitter' | 'woocommerce' | 'kofi' | 'tiktok' | 'kick' | 'streamerbot' | 'discord' | 'pulse' | 'youtubemusic';
133
+ export type LumiaPlatforms = 'twitch' | 'youtube' | 'facebook' | 'trovo';
134
+ type LightBrands = 'hue' | 'nanoleaf' | 'nanoleaf2' | 'lifx' | 'tplink' | 'tapo' | 'yeelight' | 'cololight' | 'tuya' | 'smartlife' | 'wyze' | 'wiz' | 'homeassistant' | 'govee' | 'wled' | 'magichome' | 'logitech' | 'razer' | 'corsair' | 'steelseries' | 'overlay' | 'elgato';
135
+ export type LumiaAlertBrands = 'lumiastream' | 'twitch' | 'facebook' | 'trovo' | 'youtube' | 'streamlabs' | 'streamelements' | 'extralife' | 'donordrive' | 'tiltify' | 'patreon' | 'tipeeestream' | 'treatstream' | 'obs' | 'slobs' | 'spotify' | 'nowplaying' | 'vlc' | 'twitter' | 'woocommerce' | 'kofi' | 'tiktok' | 'kick' | 'streamerbot' | 'discord' | 'pulse' | 'youtubemusic';
136
136
  export declare enum LumiaEventTypes {
137
137
  STATES = "states",
138
138
  CHAT = "chat",
@@ -146,5 +146,5 @@ export declare enum LumiaEventTypes {
146
146
  GAMESGLOW_COMMAND = "gamesglow_command",
147
147
  GAMESGLOW_VIRTUALLIGHT = "gamesglow_virtuallight"
148
148
  }
149
- declare type EventOrigins = 'lumia' | 'twitch' | 'youtube' | 'facebook' | 'trovo' | 'streamlabs' | 'streamelements' | 'extralife' | 'donordrive' | 'tiltify' | 'patreon' | 'tipeeestream' | 'treatstream' | 'discord' | 'obs' | 'slobs' | 'pulse' | 'pulsoid' | 'hyperate' | 'ableton' | 'streamerbot' | 'paypal';
149
+ type EventOrigins = 'lumia' | 'twitch' | 'youtube' | 'facebook' | 'trovo' | 'streamlabs' | 'streamelements' | 'extralife' | 'donordrive' | 'tiltify' | 'patreon' | 'tipeeestream' | 'treatstream' | 'discord' | 'obs' | 'slobs' | 'pulse' | 'pulsoid' | 'hyperate' | 'ableton' | 'streamerbot' | 'paypal';
150
150
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
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": "^16.11.10",
21
- "tslib": "^2.3.1",
22
- "typescript": "^4.5.2"
20
+ "@types/node": "^16.18.68",
21
+ "tslib": "^2.6.2",
22
+ "typescript": "^4.9.5"
23
23
  }
24
24
  }