cmd-control-client-lib 3.0.47 → 3.0.58
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/@types/enum-query-backend-subaction.d.ts +9 -0
- package/dist/@types/index.d.ts +1 -0
- package/dist/cmd-control-client-lib.js +1 -1
- package/dist/cmd-control-client-lib.js.map +1 -1
- package/dist/protocol/backend.d.ts +6 -2
- package/dist/protocol/live/live-commands.d.ts +2 -1
- package/dist/protocol/sessionstate.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONString } from "../@types";
|
|
1
|
+
import { JSONString, EnumQueryBackendSubAction } from "../@types";
|
|
2
2
|
import { IMayHaveChannelId, usrKeyType } from "./channel";
|
|
3
3
|
import { ACTION } from "./command/action";
|
|
4
4
|
import { baseParamsType } from "./command/baseparams";
|
|
@@ -13,12 +13,15 @@ export interface IBackEndPayload {
|
|
|
13
13
|
export interface IBACKENDPAYLOAD {
|
|
14
14
|
payload?: unknown;
|
|
15
15
|
}
|
|
16
|
+
declare type TSubActionParams = {
|
|
17
|
+
subaction: EnumQueryBackendSubAction;
|
|
18
|
+
};
|
|
16
19
|
/**
|
|
17
20
|
* common command for take a backend action
|
|
18
21
|
*/
|
|
19
22
|
export declare class CMDP_QUERYBACKEND implements ICOMMAND, IBACKENDPAYLOAD {
|
|
20
23
|
action: ACTION;
|
|
21
|
-
params: baseParamsType;
|
|
24
|
+
params: TSubActionParams & baseParamsType;
|
|
22
25
|
/** if jwt-session, any json-payload for transport to backend */
|
|
23
26
|
payload?: JSONString<any>;
|
|
24
27
|
}
|
|
@@ -46,3 +49,4 @@ export declare class CMDP_BACKENDPAYLOAD implements ICOMMAND, IBACKENDPAYLOAD {
|
|
|
46
49
|
params: IMayHaveChannelId & usrKeyType & IKeyMaybeValue;
|
|
47
50
|
payload?: IBackEndPayload;
|
|
48
51
|
}
|
|
52
|
+
export {};
|
|
@@ -131,7 +131,8 @@ export declare enum ChatFlags {
|
|
|
131
131
|
TIP = "TIP",
|
|
132
132
|
GUESTCHAT = "GUESTCHAT",
|
|
133
133
|
MOBILE = "MOBILE",
|
|
134
|
-
FLATRATE = "FLATRATE"
|
|
134
|
+
FLATRATE = "FLATRATE",
|
|
135
|
+
SINGLEC2C = "SINGLEC2C"
|
|
135
136
|
}
|
|
136
137
|
export declare class SChatInfo implements IKeyMaybeValue {
|
|
137
138
|
[key: string]: string;
|
|
@@ -73,6 +73,8 @@ export interface SessionState extends IKeyMaybeValue {
|
|
|
73
73
|
livePreviewState?: EnumBooleanStringified;
|
|
74
74
|
/** */
|
|
75
75
|
babeStation24State?: EnumBooleanStringified;
|
|
76
|
+
canOpenLobby?: EnumBooleanStringified;
|
|
77
|
+
canSellSingleC2CTicket?: EnumBooleanStringified;
|
|
76
78
|
userLinks?: JSONString<IProductConfig["links"]>;
|
|
77
79
|
chatMotto?: string;
|
|
78
80
|
showInfoWizards?: ComaSeparatedValues<InfoWizard>;
|