@lumiastream/lumia-types 0.2.14 → 0.2.17
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/event.types.d.ts +33 -33
- package/dist/event.types.js.map +1 -1
- package/package.json +1 -1
package/dist/event.types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { LumiaActivityCommandTypes } from
|
|
1
|
+
import { LumiaActivityCommandTypes } from './activity.types';
|
|
2
2
|
export interface ILumiaSendPack {
|
|
3
3
|
type: LumiaActivityCommandTypes;
|
|
4
4
|
gamesGlowId?: string;
|
|
5
5
|
gamesGlowKey?: string;
|
|
6
|
-
params
|
|
7
|
-
value: string | {
|
|
6
|
+
params?: {
|
|
7
|
+
value: string | boolean | {
|
|
8
8
|
r: number;
|
|
9
9
|
g: number;
|
|
10
10
|
b: number;
|
|
@@ -52,27 +52,27 @@ export interface ILumiaEventChatBody {
|
|
|
52
52
|
channel: string;
|
|
53
53
|
message: string;
|
|
54
54
|
user: {
|
|
55
|
-
|
|
55
|
+
'badge-info': Array<unknown>;
|
|
56
56
|
badges: Array<unknown>;
|
|
57
|
-
|
|
57
|
+
'client-nonce': string;
|
|
58
58
|
color: string;
|
|
59
|
-
|
|
59
|
+
'display-name': string;
|
|
60
60
|
emotes: string;
|
|
61
|
-
|
|
61
|
+
'first-msg': boolean;
|
|
62
62
|
flags: string;
|
|
63
63
|
id: string;
|
|
64
64
|
mod: boolean;
|
|
65
|
-
|
|
65
|
+
'room-id': string;
|
|
66
66
|
subscriber: boolean;
|
|
67
|
-
|
|
67
|
+
'tmi-sent-ts': string;
|
|
68
68
|
turbo: boolean;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
'user-id': string;
|
|
70
|
+
'user-type': string;
|
|
71
|
+
'emotes-raw': string;
|
|
72
|
+
'badge-info-raw': string;
|
|
73
|
+
'badges-raw': string;
|
|
74
74
|
username: string;
|
|
75
|
-
|
|
75
|
+
'message-type': string;
|
|
76
76
|
isSelf: boolean;
|
|
77
77
|
vip: boolean;
|
|
78
78
|
tier3: boolean;
|
|
@@ -85,27 +85,27 @@ export interface ILumiaEventChatBody {
|
|
|
85
85
|
channel: string;
|
|
86
86
|
message: string;
|
|
87
87
|
user: {
|
|
88
|
-
|
|
88
|
+
'badge-info': Array<unknown>;
|
|
89
89
|
badges: Array<unknown>;
|
|
90
|
-
|
|
90
|
+
'client-nonce': string;
|
|
91
91
|
color: string;
|
|
92
|
-
|
|
92
|
+
'display-name': string;
|
|
93
93
|
emotes: string;
|
|
94
|
-
|
|
94
|
+
'first-msg': boolean;
|
|
95
95
|
flags: string;
|
|
96
96
|
id: string;
|
|
97
97
|
mod: boolean;
|
|
98
|
-
|
|
98
|
+
'room-id': string;
|
|
99
99
|
subscriber: boolean;
|
|
100
|
-
|
|
100
|
+
'tmi-sent-ts': string;
|
|
101
101
|
turbo: boolean;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
'user-id': string;
|
|
103
|
+
'user-type': string;
|
|
104
|
+
'emotes-raw': string;
|
|
105
|
+
'badge-info-raw': string;
|
|
106
|
+
'badges-raw': string;
|
|
107
107
|
username: string;
|
|
108
|
-
|
|
108
|
+
'message-type': string;
|
|
109
109
|
isSelf: boolean;
|
|
110
110
|
vip: boolean;
|
|
111
111
|
tier3: boolean;
|
|
@@ -116,9 +116,9 @@ export interface ILumiaEventChatBody {
|
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
export interface ILumiaEventAlertBody {
|
|
119
|
-
type?:
|
|
119
|
+
type?: 'follow';
|
|
120
120
|
message?: unknown;
|
|
121
|
-
for?:
|
|
121
|
+
for?: 'twitch_account';
|
|
122
122
|
event_id?: string;
|
|
123
123
|
}
|
|
124
124
|
export interface ILumiaEventStateBody {
|
|
@@ -130,9 +130,9 @@ export interface ILumiaLight {
|
|
|
130
130
|
type: LightBrands;
|
|
131
131
|
id: string | number;
|
|
132
132
|
}
|
|
133
|
-
export declare type LumiaPlatforms =
|
|
134
|
-
declare type LightBrands =
|
|
135
|
-
export declare type LumiaAlertBrands =
|
|
133
|
+
export declare type LumiaPlatforms = 'twitch' | 'youtube' | 'facebook' | 'trovo' | 'glimesh';
|
|
134
|
+
declare type LightBrands = 'hue' | 'nanoleaf' | 'nanoleaf2' | 'lifx' | 'tplink' | 'yeelight' | 'cololight' | 'tuya' | 'smartlife' | 'wyze' | 'wiz' | 'homeassistant' | 'govee' | 'wled' | 'magichome' | 'logitech' | 'razer' | 'corsair' | 'steelseries' | 'overlay' | 'elgato';
|
|
135
|
+
export declare type LumiaAlertBrands = 'twitch' | 'facebook' | 'glimesh' | 'trovo' | 'youtube' | 'streamlabs' | 'streamelements' | 'extralife' | 'donordrive' | 'tiltify' | 'patreon' | 'tipeeestream' | 'treatstream' | 'obs' | 'slobs' | 'spotify' | 'vlc' | 'twitter' | 'woocommerce' | 'kofi' | 'tiktok' | 'streamerbot' | 'pulse';
|
|
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 =
|
|
149
|
+
declare type EventOrigins = 'lumia' | 'twitch' | 'youtube' | 'facebook' | 'glimesh' | 'trovo' | 'streamlabs' | 'streamelements' | 'extralife' | 'donordrive' | 'tiltify' | 'patreon' | 'tipeeestream' | 'treatstream' | 'discord' | 'obs' | 'slobs' | 'pulse' | 'pulsoid' | 'hyperate' | 'ableton' | 'streamerbot' | 'paypal';
|
|
150
150
|
export {};
|
package/dist/event.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.types.js","sourceRoot":"","sources":["../src/event.types.ts"],"names":[],"mappings":";AAAA,gEAAgE;;;
|
|
1
|
+
{"version":3,"file":"event.types.js","sourceRoot":"","sources":["../src/event.types.ts"],"names":[],"mappings":";AAAA,gEAAgE;;;AAgMhE,IAAY,eAYX;AAZD,WAAY,eAAe;IAC1B,oCAAiB,CAAA;IACjB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,iDAA8B,CAAA;IAC9B,yDAAsC,CAAA;IACtC,8CAA2B,CAAA;IAC3B,kCAAe,CAAA;IACf,mCAAgB,CAAA;IAChB,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IACvC,oEAAiD,CAAA;AAClD,CAAC,EAZW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAY1B"}
|