cmd-control-client-lib 3.0.249 → 3.0.252
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/protocol/init.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ export interface IInitBackendPayload {
|
|
|
13
13
|
toyControls: any;
|
|
14
14
|
icons: any;
|
|
15
15
|
}
|
|
16
|
+
export declare type UploadMediaTus = {
|
|
17
|
+
endPoint: string;
|
|
18
|
+
chunkSize: number;
|
|
19
|
+
parallelUploads: number;
|
|
20
|
+
authHeader: string;
|
|
21
|
+
};
|
|
16
22
|
/**
|
|
17
23
|
* the initial command
|
|
18
24
|
*/
|
package/dist/protocol/login.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { EnumBooleanDigitized } from "../@types";
|
|
1
|
+
import { EnumBooleanDigitized, JSONString } from "../@types";
|
|
2
2
|
import { IBACKENDPAYLOAD } from "./backend";
|
|
3
3
|
import { ACTION } from "./command/action";
|
|
4
4
|
import { baseParamsType } from "./command/baseparams";
|
|
5
5
|
import { ICOMMAND, IRESPONSE, RESULT } from "./command/icommand";
|
|
6
6
|
import { SessionState } from "./sessionstate";
|
|
7
|
+
import { UploadMediaTus } from "./init";
|
|
7
8
|
/** web token format need for login with web token. obligatory fields in token-payload
|
|
8
9
|
* \{
|
|
9
10
|
* userPoolId: number \{10\}, - the id of your user pool
|
|
@@ -51,7 +52,9 @@ export declare class CMDP_LOGIN implements ICOMMAND, IBACKENDPAYLOAD {
|
|
|
51
52
|
export declare class CMDP_LOGIN_RESPONSE extends CMDP_LOGIN implements IRESPONSE, IBACKENDPAYLOAD {
|
|
52
53
|
result: RESULT;
|
|
53
54
|
commands: ICOMMAND[];
|
|
54
|
-
values: SessionState
|
|
55
|
+
values: SessionState & {
|
|
56
|
+
uploadMediaTus?: JSONString<UploadMediaTus>;
|
|
57
|
+
};
|
|
55
58
|
/** payload from backend */
|
|
56
59
|
payload?: ILoginBackendPayload;
|
|
57
60
|
}
|