Skip to content

Commit

Permalink
Add missing types to PipelineTriggerTokenSchema (#3318)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple authored Jun 26, 2023
1 parent 98111ea commit 71db47b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/resources/PipelineTriggerTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@ import { BaseResource } from '@gitbeaker/requester-utils';
import { RequestHelper, endpoint } from '../infrastructure';
import type {
GitlabAPIResponse,
MappedOmit,
PaginationRequestOptions,
PaginationTypes,
ShowExpanded,
Sudo,
} from '../infrastructure';
import type { ExpandedPipelineSchema } from './Pipelines';
import type { UserSchema } from './Users';

export interface PipelineTriggerTokenSchema extends Record<string, unknown> {
id: number;
description: string;
created_at: string;
last_used?: null;
last_used: string | null;
token: string;
updated_at: string;
owner?: null;
owner: MappedOmit<UserSchema, 'created_at'> | null;
}

export class PipelineTriggerTokens<C extends boolean = false> extends BaseResource<C> {
Expand Down

0 comments on commit 71db47b

Please sign in to comment.