🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@cloudquery/plugin-config-ui-connector

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudquery/plugin-config-ui-connector

Plugin configuration UI connector for CloudQuery Cloud App

1.1.0
latest
Version published
Weekly downloads
1.6K
-13.75%
Maintainers
3
Weekly downloads
 
Created

@cloudquery/plugin-config-ui-connector

Plugin configuration UI connector for CloudQuery Cloud App.

Description

@cloudquery/plugin-config-ui-connector is a library designed to establish communication between CloudQuery Cloud App form and Plugin UI.

Installation

To install the library, you can use npm:

npm install @cloudquery/plugin-config-ui-connector

Usage

Below is an example of how to use the getPluginUiMessageHandler function provided by the library.

Example

import { getPluginUiMessageHandler } from '@cloudquery/plugin-config-ui-connector';

// Create a message handler instance
const messageHandler = getPluginUiMessageHandler();

// Example of sending a message to the CloudQuery Cloud App form
messageHandler.sendMessage('height_changed', { height: 200 });

// Example of receiving a message from the CloudQuery Cloud App form
messageHandler.subscribeToMessage('init', function (payload) {
  customCallback(payload);
});

Development

Building the Library

To build the library, run:

npm run build

Running Tests

To run the test suite, execute:

npm test

Contributing

If you encounter any issues or have feature requests, please feel free to open an issue on the GitHub repository.

License

This project is licensed under the Mozilla Public License..

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts