Socket
Socket
Sign inDemoInstall

@jetbrains/teamcity-api

Package Overview
Dependencies
0
Maintainers
6
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jetbrains/teamcity-api

This module contains typings for the updated TeamCity UI Plugin development guide. It provides typings for TypeScript and should be used as a helper in time you develop the Plugin for the TeamCity.


Version published
Weekly downloads
1.2K
increased by181.11%
Maintainers
6
Install size
47.3 kB
Created
Weekly downloads
 

Readme

Source

TeamCity UI Plugin definitions module

This module contains typings for the updated TeamCity UI Plugin development guide. It provides typings for TypeScript and should be used as a helper in time you develop the Plugin for the TeamCity.

Warning! This module is still under active development.

There are some useful resources for this repository:

  • JetBrains / TeamCity Blog post about the UI Plugins
  • JetBrains / TeamCity UI Plugin Development Documentation

Usage

To start using the package, import it as a module:

import TeamCityAPI from "@jetbrains/teamcity-api"

Module contains a bunch of useful items to assist you during plugin development. The set of items is not in a final version yet.

Components — set of reusable TeamCity Components.

React — exposed React instance. It's vital to use the same React library version to integrate your plugin into the TeamCity React vDOM tree (see the full explanation).

ReactDOM — exposed ReactDOM instance. It's vital to use the same React library version to integrate your plugin into the TeamCity React vDOM tree (see the full explanation).

utils — set of utilities

utils.requestJSON — function to request and parse a JSON from the server. It already contains all the headers for the request and automatically parses the response.

utils.requestTEXT — function to request and parse a TEXT from the server. It already contains all the headers for the request and automatically parses the response.

Plugin — plugin constructor. It expects you to specify PlaceID and content options as arguments (read more about controlled plugins).

pluginRegistry — plugin registry which you could use to find a certain instance of your plugin.

Feedback, feature-requests and bug-reports

There is a dedicated tag in YouTrack: SakuraUI-plugin. Using the Fix Version property you can filter the tasks, which are going to be released in the next Major / Minor version of TeamCity.

Feel free to write us a line, if you have any feedback about the Plugins and this Module.

Wish you a happy coding!

Keywords

FAQs

Last updated on 27 Jul 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc