cmd-control-client-lib 3.0.47 → 3.0.49

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.
@@ -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 {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.47",
4
+ "version": "3.0.49",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },