Socket
Socket
Sign inDemoInstall

@gitbeaker/core

Package Overview
Dependencies
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitbeaker/core - npm Package Compare versions

Comparing version 15.0.3 to 15.1.0

README.md

24

dist/types/templates/ResourceVariables.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc