@redhat-cloud-services/types 1.0.20 → 1.0.22

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.
Files changed (2) hide show
  1. package/index.d.ts +11 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -118,6 +118,17 @@ export type ChromeWsPayload<T> = {
118
118
  export type ChromeWsEventListener<T> = (event: ChromeWsPayload<T>) => void;
119
119
  export type UnSubscribeFromChromeWsEvent = () => void;
120
120
  export type AddChromeWsEventListener = <T>(type: ChromeWsEventTypes, listener: ChromeWsEventListener<T>) => UnSubscribeFromChromeWsEvent;
121
+ export type DrawerPanelActions = {
122
+ setDrawerPanelContent: (data: {
123
+ scope: string;
124
+ module: string;
125
+ } & Record<string, unknown>) => void;
126
+ toggleDrawerPanel: () => void;
127
+ toggleDrawerContent: (data: {
128
+ scope: string;
129
+ module: string;
130
+ } & Record<string, unknown>) => void;
131
+ };
121
132
  export interface ChromeAPI {
122
133
  $internal: any;
123
134
  addWsEventListener: AddChromeWsEventListener;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/types",
3
3
  "description": "TypeScript definitions for @redhat-cloud-services common typings.",
4
- "version": "1.0.20",
4
+ "version": "1.0.22",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",
7
7
  "publishConfig": {