Skip to content

Commit

Permalink
Updating missing expanded types from Issues.all (#3640)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple authored Oct 19, 2024
1 parent 561336d commit 68aa980
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/resources/Issues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,16 @@ export class Issues<C extends boolean = false> extends BaseResource<C> {
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(
options: OneOrNoneOf<{ projectId: string | number; groupId: string | number }> &
PaginationRequestOptions<P> &
Sudo &
ShowExpanded<E> &
AllIssuesOptions & { withLabelsDetails: true },
): Promise<GitlabAPIResponse<IssueSchemaWithExpandedLabels[], C, E, P>>;

all<E extends boolean = false, P extends PaginationTypes = 'offset'>(
options?: OneOrNoneOf<{ projectId: string | number; groupId: string | number }> &
PaginationRequestOptions<P> &
Sudo &
ShowExpanded<E> &
AllIssuesOptions &
BaseRequestOptions<E> & { withLabelsDetails?: false },
): Promise<GitlabAPIResponse<IssueSchemaWithBasicLabels[], C, E, P>>;
Expand All @@ -213,6 +217,8 @@ export class Issues<C extends boolean = false> extends BaseResource<C> {
...options
}: OneOrNoneOf<{ projectId: string | number; groupId: string | number }> &
PaginationRequestOptions<P> &
Sudo &
ShowExpanded<E> &
AllIssuesOptions &
BaseRequestOptions<E> = {} as any,
): Promise<GitlabAPIResponse<IssueSchema[], C, E, P>> {
Expand Down

0 comments on commit 68aa980

Please sign in to comment.