@gitbeaker/core
Advanced tools
Comparing version 26.0.1 to 26.0.2-canary.1387.229458019.0
@@ -1,2 +0,2 @@ | ||
import * as FormData from 'form-data'; | ||
import FormData from 'form-data'; | ||
interface Constructor { | ||
@@ -3,0 +3,0 @@ new (...args: any): any; |
@@ -5,5 +5,5 @@ /// <reference types="node" /> | ||
import { CommitSchemaDefault, CommitSchemaCamelized } from './Commits'; | ||
import { PipelineSchemaDefault, PipelineSchemaCamelized } from './Pipelines'; | ||
import { RunnerSchemaDefault, RunnerSchemaCamelized } from './Runners'; | ||
import { UserSchemaDefault, UserSchemaCamelized } from './Users'; | ||
import { PipelineBase } from './Pipelines'; | ||
export declare type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual'; | ||
@@ -38,3 +38,3 @@ export interface ArtifactSchemaDefault { | ||
commit: CommitSchemaDefault; | ||
pipeline: PipelineSchemaDefault; | ||
pipeline: PipelineBase; | ||
web_url: string; | ||
@@ -60,3 +60,3 @@ artifacts: ArtifactSchemaDefault[]; | ||
commit: CommitSchemaCamelized; | ||
pipeline: PipelineSchemaCamelized; | ||
pipeline: PipelineBase; | ||
webUrl: string; | ||
@@ -63,0 +63,0 @@ artifacts: ArtifactSchemaCamelized[]; |
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { JobScope } from './Jobs'; | ||
export interface PipelineSchemaDefault { | ||
export declare type PipelineStatus = 'created' | 'waiting_for_resource' | 'preparing' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual' | 'scheduled'; | ||
export interface PipelineBase { | ||
id: number; | ||
sha: string; | ||
ref: string; | ||
status: string; | ||
status: PipelineStatus; | ||
} | ||
export interface PipelineSchemaDefault extends PipelineBase { | ||
created_at: Date; | ||
@@ -13,7 +15,3 @@ updated_at: Date; | ||
} | ||
export interface PipelineSchemaCamelized { | ||
id: number; | ||
sha: string; | ||
ref: string; | ||
status: string; | ||
export interface PipelineSchemaCamelized extends PipelineBase { | ||
createdAt: Date; | ||
@@ -31,6 +29,3 @@ updatedAt: Date; | ||
cancel(projectId: string | number, pipelineId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
showJobs(projectId: string | number, pipelineId: number, options?: { | ||
scope: JobScope; | ||
} & Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
allVariables(projectId: string | number, pipelineId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
{ | ||
"name": "@gitbeaker/core", | ||
"description": "Core API implementation of the GitLab API. Supports Promises, Async/Await.", | ||
"version": "26.0.1", | ||
"version": "26.0.2-canary.1387.229458019.0", | ||
"author": { | ||
@@ -12,3 +12,3 @@ "name": "Justin Dalrymple" | ||
"dependencies": { | ||
"@gitbeaker/requester-utils": "^26.0.1", | ||
"@gitbeaker/requester-utils": "26.0.2-canary.1387.229458019.0", | ||
"form-data": "^3.0.0", | ||
@@ -56,3 +56,3 @@ "li": "^1.3.0", | ||
}, | ||
"gitHead": "d78482a440258dcddf458bd159d87631e63fab0b" | ||
"gitHead": "5c8c18bf3a2a02a63d727bc32c2abc953f8ccc31" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
598507
8727
1
+ Added@gitbeaker/requester-utils@26.0.2-canary.1387.229458019.0(transitive)
- Removed@gitbeaker/requester-utils@26.0.1(transitive)
Updated@gitbeaker/requester-utils@26.0.2-canary.1387.229458019.0