Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitlab-api-helper

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-api-helper - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

lib/Gitlab.d.ts

@@ -21,4 +21,5 @@ import { CreateMergeRequestOptions } from "gitlab";

/**
* getProjectUsers
* Get All Group Members
*/
getAllGroupMembers(groupId: number | string, includeInherited?: boolean | undefined): Promise<import("gitlab/dist/types/core/infrastructure").GetResponse>;
getLabels(projectId: string | number, options?: PaginatedRequestOptions): Promise<ILabelDetails[] | [] | {}>;

@@ -25,0 +26,0 @@ getAllBranches({ projectId, options }: IBranchesListRequest): Promise<IBranch[] | [] | {}>;

@@ -61,10 +61,14 @@ "use strict";

/**
* getProjectUsers
* Get All Group Members
*/
// public getProjectUsers() {
// try {
// return await this.api.Projects.show()
// } catch (error) {
// }
// }
getAllGroupMembers(groupId, includeInherited) {
return __awaiter(this, void 0, void 0, function* () {
try {
return yield this.api.GroupMembers.all(groupId, includeInherited);
}
catch (error) {
throw new GitlabError_1.GitlabError(error);
}
});
}
getLabels(projectId, options) {

@@ -71,0 +75,0 @@ return __awaiter(this, void 0, void 0, function* () {

@@ -105,17 +105,7 @@ export interface IProjectDetails {

last_activity_at: string;
namespace: INamespace1;
namespace: INamespace;
}
export interface INamespace1 {
id: number;
name: string;
path: string;
kind: string;
full_path: string;
parent_id?: null;
avatar_url?: null;
web_url: string;
}
export interface IPermissions {
project_access?: IProjectAccessOrGroupAccess | null;
group_access?: IProjectAccessOrGroupAccess1 | null;
group_access?: IProjectAccessOrGroupAccess | null;
}

@@ -126,5 +116,1 @@ export interface IProjectAccessOrGroupAccess {

}
export interface IProjectAccessOrGroupAccess1 {
access_level: number;
notification_level: number;
}
{
"name": "gitlab-api-helper",
"version": "1.0.5",
"version": "1.0.6",
"description": "A project with more support in gitlab, inspired by node-gitlab",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc