@gitbeaker/core
Advanced tools
Comparing version 15.0.3 to 15.1.0
@@ -1,14 +0,28 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure'; | ||
export interface ResourceVariableSchema { | ||
key: string; | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare type ResourceVariableSchema = ResourceVariableSchemaDefault | ResourceVariableSchemaCamelized; | ||
export interface ResourceVariableSchemaDefault { | ||
variable_type: 'env_var' | 'file'; | ||
value: string; | ||
protected: boolean; | ||
masked: boolean; | ||
environment_scope?: string; | ||
key: string; | ||
} | ||
export interface ResourceVariableSchemaCamelizedNoKey { | ||
variableType: 'env_var' | 'file'; | ||
value: string; | ||
protected: boolean; | ||
masked: boolean; | ||
environmentScope?: string; | ||
} | ||
export interface ResourceVariableSchemaCamelized extends ResourceVariableSchemaCamelizedNoKey { | ||
key: string; | ||
} | ||
export declare class ResourceVariables extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema[]>; | ||
create(resourceId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(resourceId: string | number, keyId: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
create(resourceId: string | number, options?: ResourceVariableSchemaCamelized): Promise<ResourceVariableSchema>; | ||
edit(resourceId: string | number, keyId: string, options?: ResourceVariableSchemaCamelizedNoKey): Promise<ResourceVariableSchema>; | ||
show(resourceId: string | number, keyId: string, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema>; | ||
remove(resourceId: string | number, keyId: string, options?: PaginatedRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} |
{ | ||
"name": "@gitbeaker/core", | ||
"description": "Core API implementation of the GitLab API. Supports Promises, Async/Await.", | ||
"version": "15.0.3", | ||
"version": "15.1.0", | ||
"author": { | ||
@@ -12,3 +12,3 @@ "name": "Justin Dalrymple" | ||
"dependencies": { | ||
"@gitbeaker/requester-utils": "^15.0.2", | ||
"@gitbeaker/requester-utils": "^15.0.3", | ||
"form-data": "^3.0.0", | ||
@@ -15,0 +15,0 @@ "li": "^1.3.0", |
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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
290455
114
2342
0
41