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

@gitbeaker/core

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitbeaker/core - npm Package Compare versions

Comparing version 19.0.0 to 19.1.0

13

CHANGELOG.md

@@ -0,1 +1,14 @@

# v19.1.0 (Mon Apr 27 2020)
#### 🚀 Enhancement
- feats: adds options interface for MergeRequest.all() [#606](https://github.com/jdalrymple/gitbeaker/pull/606) ([@AlvaroBernalG](https://github.com/AlvaroBernalG) [@jdalrymple](https://github.com/jdalrymple))
#### Authors: 2
- Alvaro ([@AlvaroBernalG](https://github.com/AlvaroBernalG))
- Justin Dalrymple ([@jdalrymple](https://github.com/jdalrymple))
---
# v19.0.0 (Thu Apr 23 2020)

@@ -2,0 +15,0 @@

67

dist/types/services/MergeRequests.d.ts
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface AcceptMergeRequestOptions {
merge_commit_message?: string;
squash_commit_message?: string;
mergeCommitMessage?: string;
squashCommitMessage?: string;
squash?: boolean;
should_remove_source_branch?: boolean;
merge_when_pipeline_succeeds?: boolean;
shouldRemoveSourceBranch?: boolean;
mergeWhenPipelineSucceeds?: boolean;
sha?: string;
}
export interface ShowMergeRequestOptions {
render_html?: boolean;
include_diverged_commits_count?: true;
include_rebase_in_progress?: boolean;
renderHtml?: boolean;
includeDivergedCommitsCount?: true;
includeRebaseInProgress?: boolean;
}
export interface CreateMergeRequestOptions {
assignee_id?: number;
assigneeId?: number;
description?: string;
target_project_id?: number;
targetProjectId?: number;
labels?: string;
milestone_id?: number;
remove_source_branch?: boolean;
allow_collaboration?: boolean;
allow_maintainer_to_push?: boolean;
milestoneId?: number;
removeSourceBranch?: boolean;
allowCollaboration?: boolean;
allowMaintainerToPush?: boolean;
squash?: boolean;
}
export interface UpdateMergeRequestOptions {
target_branch?: number;
targetBranch?: number;
title?: string;
assignee_id?: number;
milestone_id?: number;
assigneeId?: number;
milestoneId?: number;
labels?: string;
description?: string;
state_event?: string;
remove_source_branch?: boolean;
stateEvent?: string;
removeSourceBranch?: boolean;
squash?: boolean;
discussion_locked?: boolean;
allow_collaboration?: boolean;
allow_maintainer_to_push?: boolean;
discussionLocked?: boolean;
allowCollaboration?: boolean;
allowMaintainerToPush?: boolean;
}
export interface AllMergeRequestsOptions {
state?: 'opened' | 'closed' | 'locked' | 'merged';
orderBy?: 'created_at' | 'updated_at';
sort?: 'asc' | 'desc';
milestone?: 'None' | string;
view?: string;
labels?: string;
withLabelsDetails?: boolean;
createdAfter?: string;
createdBefore?: string;
updatedBefore?: string;
updatedAfter?: string;
scope?: 'created_by_me' | 'assigned_to_me' | 'all';
authorId?: number;
asigneeId?: number;
approverIds?: Array<number>;
approvedByIds?: Array<number>;
myReactionEmoji?: string;
sourceBranch?: string;
targetBranch?: string;
in?: string;
wip?: string;
}
export declare class MergeRequests extends BaseService {

@@ -48,3 +71,3 @@ accept(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>;

groupId: string | number;
} | {}) & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
}) & AllMergeRequestsOptions & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
approve(projectId: string | number, mergerequestIId: number, options?: {

@@ -51,0 +74,0 @@ sha?: string;

{
"name": "@gitbeaker/core",
"description": "Core API implementation of the GitLab API. Supports Promises, Async/Await.",
"version": "19.0.0",
"version": "19.1.0",
"author": {

@@ -12,3 +12,3 @@ "name": "Justin Dalrymple"

"dependencies": {
"@gitbeaker/requester-utils": "^19.0.0",
"@gitbeaker/requester-utils": "^19.1.0",
"form-data": "^3.0.0",

@@ -57,3 +57,3 @@ "li": "^1.3.0",

"types": "dist/types/index.d.ts",
"gitHead": "eb13b3498134fd07354bb77b786e176d69fe6463"
"gitHead": "6132395b2ccbab027a6c1966362dbeb73a18a27a"
}
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