@lumiastream/lumia-types 2.0.6 → 2.0.7
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/alert.types.js +110 -11
- package/dist/variables.types.js +6 -6
- package/package.json +1 -1
package/dist/alert.types.js
CHANGED
|
@@ -2897,7 +2897,12 @@ exports.LumiaAlertConfigs = {
|
|
|
2897
2897
|
{
|
|
2898
2898
|
label: 'Lumia subscribed',
|
|
2899
2899
|
dynamic: { value: 'lumiastream' },
|
|
2900
|
-
extraSettings: {
|
|
2900
|
+
extraSettings: {
|
|
2901
|
+
username: 'lumiastream',
|
|
2902
|
+
displayname: 'LumiaStream',
|
|
2903
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2904
|
+
userId: '1234',
|
|
2905
|
+
},
|
|
2901
2906
|
},
|
|
2902
2907
|
],
|
|
2903
2908
|
inputFields: [
|
|
@@ -2914,28 +2919,104 @@ exports.LumiaAlertConfigs = {
|
|
|
2914
2919
|
},
|
|
2915
2920
|
[activity_types_1.LumiaAlertValues.YOUTUBE_MEMBER]: {
|
|
2916
2921
|
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
2917
|
-
message: '{{username}} became a member!',
|
|
2918
|
-
eventlistMessage: 'Member',
|
|
2919
|
-
eventlistDetailedMessage: 'became a member',
|
|
2922
|
+
message: '{{username}} just became a member with {{subPlanName}}!',
|
|
2923
|
+
eventlistMessage: '{{subPlanName}} Member',
|
|
2924
|
+
eventlistDetailedMessage: 'just became a member with a {{subPlanName}} plan',
|
|
2920
2925
|
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.member,
|
|
2921
2926
|
quickActions: [
|
|
2922
2927
|
{
|
|
2923
|
-
label: 'Lumia became a member',
|
|
2928
|
+
label: 'Lumia became a Bronze member',
|
|
2924
2929
|
dynamic: { value: 'lumiastream' },
|
|
2925
|
-
extraSettings: {
|
|
2930
|
+
extraSettings: {
|
|
2931
|
+
username: 'lumiastream',
|
|
2932
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2933
|
+
message: 'Great Stream',
|
|
2934
|
+
tier: 'Bronze',
|
|
2935
|
+
subMonths: 1,
|
|
2936
|
+
subPlan: 'CC-1234567890',
|
|
2937
|
+
subPlanName: 'Bronze',
|
|
2938
|
+
streakMonths: 1,
|
|
2939
|
+
},
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
label: 'Lumia became a Silver member',
|
|
2943
|
+
dynamic: { value: 'lumiastream' },
|
|
2944
|
+
extraSettings: {
|
|
2945
|
+
username: 'lumiastream',
|
|
2946
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2947
|
+
message: 'Great Stream',
|
|
2948
|
+
tier: 'Silver',
|
|
2949
|
+
subMonths: 1,
|
|
2950
|
+
subPlan: 'CC-234567890',
|
|
2951
|
+
subPlanName: 'Silver',
|
|
2952
|
+
streakMonths: 1,
|
|
2953
|
+
},
|
|
2954
|
+
},
|
|
2955
|
+
{
|
|
2956
|
+
label: 'Lumia became a Gold member',
|
|
2957
|
+
dynamic: { value: 'lumiastream' },
|
|
2958
|
+
extraSettings: {
|
|
2959
|
+
username: 'lumiastream',
|
|
2960
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2961
|
+
message: 'Great Stream',
|
|
2962
|
+
tier: 'Gold',
|
|
2963
|
+
subMonths: 1,
|
|
2964
|
+
subPlan: 'CC-34567890',
|
|
2965
|
+
subPlanName: 'Gold',
|
|
2966
|
+
streakMonths: 1,
|
|
2967
|
+
},
|
|
2926
2968
|
},
|
|
2927
2969
|
],
|
|
2928
2970
|
inputFields: [
|
|
2929
2971
|
{
|
|
2930
2972
|
type: 'text',
|
|
2931
2973
|
label: 'Username',
|
|
2932
|
-
dynamicField: 'value',
|
|
2933
2974
|
variableField: 'username',
|
|
2934
2975
|
required: false,
|
|
2935
2976
|
default: 'lumiastream',
|
|
2936
2977
|
},
|
|
2978
|
+
{
|
|
2979
|
+
type: 'number',
|
|
2980
|
+
label: 'Months subscribed',
|
|
2981
|
+
dynamicField: 'subMonths',
|
|
2982
|
+
variableField: 'subMonths',
|
|
2983
|
+
required: false,
|
|
2984
|
+
default: 1,
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
type: 'selection',
|
|
2988
|
+
label: 'Sub Plan Name',
|
|
2989
|
+
dynamicField: 'value',
|
|
2990
|
+
variableField: 'subPlanName',
|
|
2991
|
+
default: 'Bronze',
|
|
2992
|
+
required: true,
|
|
2993
|
+
selections: [
|
|
2994
|
+
{ label: 'Bronze', value: 'Bronze' },
|
|
2995
|
+
{ label: 'Silver', value: 'Silver' },
|
|
2996
|
+
{ label: 'Gold', value: 'Gold' },
|
|
2997
|
+
],
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
type: 'text',
|
|
3001
|
+
label: 'Message',
|
|
3002
|
+
variableField: 'message',
|
|
3003
|
+
required: false,
|
|
3004
|
+
default: 'Great stream',
|
|
3005
|
+
},
|
|
3006
|
+
],
|
|
3007
|
+
LumiaVariationConditions: [
|
|
3008
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
3009
|
+
{
|
|
3010
|
+
type: LumiaVariationConditions.EQUAL_STRING,
|
|
3011
|
+
description: 'Plan Name',
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
type: LumiaVariationConditions.SUBSCRIBED_MONTHS_EQUAL,
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
type: LumiaVariationConditions.SUBSCRIBED_MONTHS_GREATER,
|
|
3018
|
+
},
|
|
2937
3019
|
],
|
|
2938
|
-
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
2939
3020
|
},
|
|
2940
3021
|
[activity_types_1.LumiaAlertValues.YOUTUBE_SUPERCHAT]: {
|
|
2941
3022
|
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
@@ -2949,6 +3030,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2949
3030
|
dynamic: { value: 100, currency: LumiaVariationCurrency.USD },
|
|
2950
3031
|
extraSettings: {
|
|
2951
3032
|
username: 'lumiastream',
|
|
3033
|
+
displayname: 'LumiaStream',
|
|
2952
3034
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2953
3035
|
amount: 100,
|
|
2954
3036
|
currency: LumiaVariationCurrency.USD,
|
|
@@ -2959,6 +3041,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2959
3041
|
dynamic: { value: 200, currency: LumiaVariationCurrency.USD },
|
|
2960
3042
|
extraSettings: {
|
|
2961
3043
|
username: 'lumiastream',
|
|
3044
|
+
displayname: 'LumiaStream',
|
|
2962
3045
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2963
3046
|
amount: 200,
|
|
2964
3047
|
currency: LumiaVariationCurrency.USD,
|
|
@@ -2969,6 +3052,7 @@ exports.LumiaAlertConfigs = {
|
|
|
2969
3052
|
dynamic: { value: 300, currency: LumiaVariationCurrency.USD },
|
|
2970
3053
|
extraSettings: {
|
|
2971
3054
|
username: 'lumiastream',
|
|
3055
|
+
displayname: 'LumiaStream',
|
|
2972
3056
|
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2973
3057
|
amount: 300,
|
|
2974
3058
|
currency: LumiaVariationCurrency.USD,
|
|
@@ -3017,17 +3101,32 @@ exports.LumiaAlertConfigs = {
|
|
|
3017
3101
|
{
|
|
3018
3102
|
label: '100',
|
|
3019
3103
|
dynamic: { value: 100 },
|
|
3020
|
-
extraSettings: {
|
|
3104
|
+
extraSettings: {
|
|
3105
|
+
username: 'lumiastream',
|
|
3106
|
+
displayname: 'LumiaStream',
|
|
3107
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3108
|
+
amount: 100,
|
|
3109
|
+
},
|
|
3021
3110
|
},
|
|
3022
3111
|
{
|
|
3023
3112
|
label: '200',
|
|
3024
3113
|
dynamic: { value: 200 },
|
|
3025
|
-
extraSettings: {
|
|
3114
|
+
extraSettings: {
|
|
3115
|
+
username: 'lumiastream',
|
|
3116
|
+
displayname: 'LumiaStream',
|
|
3117
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3118
|
+
amount: 200,
|
|
3119
|
+
},
|
|
3026
3120
|
},
|
|
3027
3121
|
{
|
|
3028
3122
|
label: '300',
|
|
3029
3123
|
dynamic: { value: 300 },
|
|
3030
|
-
extraSettings: {
|
|
3124
|
+
extraSettings: {
|
|
3125
|
+
username: 'lumiastream',
|
|
3126
|
+
displayname: 'LumiaStream',
|
|
3127
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3128
|
+
amount: 300,
|
|
3129
|
+
},
|
|
3031
3130
|
},
|
|
3032
3131
|
],
|
|
3033
3132
|
inputFields: [
|
package/dist/variables.types.js
CHANGED
|
@@ -1504,12 +1504,12 @@ exports.AllVariables = {
|
|
|
1504
1504
|
alerts: {
|
|
1505
1505
|
streamLive: ['eventTime'],
|
|
1506
1506
|
streamOffline: [],
|
|
1507
|
-
firstChatter: ['username', 'userId', 'avatar', 'first_count', 'message'],
|
|
1508
|
-
entrance: ['username', '
|
|
1509
|
-
subscriber: ['username', 'avatar', 'userId'],
|
|
1510
|
-
member: ['username', 'avatar', '
|
|
1511
|
-
superchat: ['username', 'currency', 'amount', 'message'],
|
|
1512
|
-
supersticker: ['username', 'amount'],
|
|
1507
|
+
firstChatter: ['username', 'displayname', 'userId', 'avatar', 'first_count', 'message'],
|
|
1508
|
+
entrance: ['username', 'displayname', 'userId', 'avatar', 'message'],
|
|
1509
|
+
subscriber: ['username', 'displayname', 'avatar', 'userId'],
|
|
1510
|
+
member: ['username', 'displayname', 'avatar', 'tier', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName'],
|
|
1511
|
+
superchat: ['username', 'displayname', 'currency', 'amount', 'message'],
|
|
1512
|
+
supersticker: ['username', 'displayname', 'amount'],
|
|
1513
1513
|
},
|
|
1514
1514
|
},
|
|
1515
1515
|
youtubemusic: {
|