Change labels type in all MergeRequestOptions types (#1355)

Co-authored-by: Omar Awamry <omar.awamry@vodafone.com>
This commit is contained in:
Omar Awamry 2020-11-29 17:37:55 +02:00 committed by GitHub
parent 2b5495494d
commit d91ffb8f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ export interface CreateMergeRequestOptions {
assigneeId?: number;
description?: string;
targetProjectId?: number;
labels?: string;
labels?: string | Array<string>;
milestoneId?: number;
removeSourceBranch?: boolean;
allowCollaboration?: boolean;
@ -38,7 +38,7 @@ export interface UpdateMergeRequestOptions {
title?: string;
assigneeId?: number;
milestoneId?: number;
labels?: string;
labels?: string | Array<string>;
description?: string;
stateEvent?: string;
removeSourceBranch?: boolean;
@ -54,7 +54,7 @@ export interface AllMergeRequestsOptions {
sort?: 'asc' | 'desc';
milestone?: 'None' | string;
view?: string;
labels?: string;
labels?: string | Array<string>;
withLabelsDetails?: boolean;
createdAfter?: string;
createdBefore?: string;