@sap/bas-sdk
Advanced tools
Comparing version 2.1.0 to 2.1.1
13
api.d.ts
@@ -265,1 +265,14 @@ import { URL } from "url"; | ||
} | ||
export declare namespace devspace { | ||
/** | ||
* Information about the current devspace | ||
*/ | ||
export interface DevspaceInfo { | ||
devspaceDisplayName: string; | ||
devspaceOrigin: string; | ||
pack: string; | ||
packDisplayName: string; | ||
} | ||
export function getDevspaceInfo(): Promise<DevspaceInfo>; | ||
} |
@@ -5,2 +5,3 @@ import * as publicApi from "../api"; | ||
export declare const destinations: typeof publicApi.destinations; | ||
export declare const devspace: typeof publicApi.devspace; | ||
export declare const hrtt: typeof publicApi.hrtt; |
@@ -22,3 +22,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hrtt = exports.destinations = exports.devspaceApi = exports.core = void 0; | ||
exports.hrtt = exports.devspace = exports.destinations = exports.devspaceApi = exports.core = void 0; | ||
const isAppStudio = __importStar(require("./apis/is-app-studio")); | ||
@@ -32,6 +32,8 @@ const headersHelper = __importStar(require("./apis/headers-helper")); | ||
const runCommand = __importStar(require("./apis/run-command")); | ||
const getDevspaceInfo = __importStar(require("./apis/get-devspace")); | ||
exports.core = Object.assign(Object.assign(Object.assign(Object.assign({}, isAppStudio), headersHelper), runCommand), getEnvValue); | ||
exports.devspaceApi = Object.assign({}, devspaceApiFactory); | ||
exports.destinations = Object.assign(Object.assign({}, getDestinations), createDestination); | ||
exports.devspace = Object.assign({}, getDevspaceInfo); | ||
exports.hrtt = Object.assign({}, hanaHrttHelper); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@sap/bas-sdk", | ||
"description": "SDK for SAP Business Application Studio", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"main": "dist/src/index.js", | ||
@@ -33,3 +33,3 @@ "license": "SAP", | ||
"devDependencies": { | ||
"@sap/bas-sdk-sinon-helper": "^2.1.0", | ||
"@sap/bas-sdk-sinon-helper": "^2.1.1", | ||
"@types/lodash": "^4.14.182", | ||
@@ -36,0 +36,0 @@ "@types/url-join": "^4.0.0", |
@@ -9,2 +9,3 @@ import * as isAppStudio from "./apis/is-app-studio"; | ||
import * as runCommand from "./apis/run-command"; | ||
import * as getDevspaceInfo from "./apis/get-devspace"; | ||
import * as publicApi from "../api"; | ||
@@ -25,2 +26,5 @@ | ||
}; | ||
export const devspace: typeof publicApi.devspace = { | ||
...getDevspaceInfo, | ||
}; | ||
export const hrtt: typeof publicApi.hrtt = { ...hanaHrttHelper }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
334795
102
3532