Socket
Socket
Sign inDemoInstall

@dlenroc/testrail

Package Overview
Dependencies
13
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.0 to 1.7.1

2

package.json
{
"name": "@dlenroc/testrail",
"description": "TestRail API client with error handling and typing",
"version": "1.7.0",
"version": "1.7.1",
"author": "Corneliu Duplachi",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -166,2 +166,24 @@ # @dlenroc/testrail · [![NPM Version](https://img.shields.io/npm/v/@dlenroc/testrail)](https://www.npmjs.com/package/@dlenroc/testrail) [![Supported Node.js version](https://img.shields.io/node/v/@dlenroc/testrail)](https://github.com/dlenroc/node-testrail-api/actions?query=workflow%3A"Node.js+CI")

### Datasets
```typescript
getDataset(datasetId: number): Promise<Dataset>
```
```typescript
getDatasets(projectId: number, filters?: Pagination): Promise<Dataset[]>
```
```typescript
addDataset(projectId: number, payload: AddDataset): Promise<Group>
```
```typescript
updateDataset(datasetId: number, payload: AddDataset): Promise<Group>
```
```typescript
deleteDataset(datasetId: number): Promise<void>
```
### Groups

@@ -492,1 +514,19 @@

```
### Variables
```typescript
getVariables(projectId: number, filters?: Pagination): Promise<Variable[]>
```
```typescript
addVariable(projectId: number, payload: AddVariable): Promise<Variable>
```
```typescript
updateVariable(variableId: number, payload: AddVariable): Promise<Variable>
```
```typescript
deleteVariable(variableId: number): Promise<void>
```

@@ -547,5 +547,5 @@ import { Request, Response } from './payload';

// Users
// Variables
getVariables(projectId: number, filters?: Request.TestFilters): Promise<Response.Variable[]> {
getVariables(projectId: number, filters?: Request.Pagination): Promise<Response.Variable[]> {
return pagination('variables', filters, (filters) => {

@@ -552,0 +552,0 @@ return this._api('GET', `get_variables/${projectId}`, { query: filters });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc