flex-plugins-api-toolkit
Advanced tools
Comparing version 0.11.0 to 0.12.0
import { Realm } from 'flex-plugins-api-utils/dist/env'; | ||
import { CreateConfigurationScript, DeployScript, DescribeConfigurationScript, DescribePluginScript, DescribePluginVersionScript, DescribeReleaseScript, ReleaseScript } from './scripts'; | ||
import { CreateConfigurationScript, DeployScript, DescribeConfigurationScript, DescribePluginScript, DescribePluginVersionScript, DescribeReleaseScript, ListConfigurationsScript, ListPluginsScripts, ListPluginVersionsScripts, ListReleasesScript, ReleaseScript } from './scripts'; | ||
interface FlexPluginsAPIToolkitOptions { | ||
@@ -11,5 +11,9 @@ realm?: Realm; | ||
readonly release: ReleaseScript; | ||
readonly listPlugins: ListPluginsScripts; | ||
readonly describePlugin: DescribePluginScript; | ||
readonly listPluginVersions: ListPluginVersionsScripts; | ||
readonly describePluginVersion: DescribePluginVersionScript; | ||
readonly listConfigurations: ListConfigurationsScript; | ||
readonly describeConfiguration: DescribeConfigurationScript; | ||
readonly listReleases: ListReleasesScript; | ||
readonly describeRelease: DescribeReleaseScript; | ||
@@ -16,0 +20,0 @@ constructor(username: string, password: string, options?: FlexPluginsAPIToolkitOptions); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -63,5 +64,9 @@ }); | ||
this.release = this.cloneArgs(scripts_1.releaseScript(releasesClient)); | ||
this.listPlugins = this.cloneArgs(scripts_1.listPluginsScript(pluginClient, configuredPluginsClient, releasesClient)); | ||
this.describePlugin = this.cloneArgs(scripts_1.describePluginScript(pluginClient, pluginVersionsClient, configuredPluginsClient, releasesClient)); | ||
this.listPluginVersions = this.cloneArgs(scripts_1.listPluginVersionsScript(pluginVersionsClient, configuredPluginsClient, releasesClient)); | ||
this.describePluginVersion = this.cloneArgs(scripts_1.describePluginVersionScript(pluginClient, pluginVersionsClient, configuredPluginsClient, releasesClient)); | ||
this.listConfigurations = this.cloneArgs(scripts_1.listConfigurationsScript(configurationsClient, releasesClient)); | ||
this.describeConfiguration = this.cloneArgs(scripts_1.describeConfigurationScript(pluginClient, pluginVersionsClient, configurationsClient, configuredPluginsClient, releasesClient)); | ||
this.listReleases = this.cloneArgs(scripts_1.listReleasesScript(releasesClient)); | ||
this.describeRelease = this.cloneArgs(scripts_1.describeReleaseScript(pluginClient, pluginVersionsClient, configurationsClient, configuredPluginsClient, releasesClient)); | ||
@@ -68,0 +73,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.release = exports.installedPlugin = exports.configuration = exports.version = exports.plugin = exports.meta = void 0; | ||
exports.meta = { | ||
@@ -4,0 +5,0 @@ page: 1, |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -54,2 +55,3 @@ }); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.internalDescribeConfiguration = void 0; | ||
var flex_plugins_api_utils_1 = require("flex-plugins-api-utils"); | ||
@@ -56,0 +58,0 @@ function internalDescribeConfiguration(pluginClient, pluginVersionClient, configurationClient, configuredPluginClient) { |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
@@ -5,5 +5,9 @@ export declare type Script<O, R> = (options: O) => Promise<R>; | ||
export { default as releaseScript, ReleaseScript, ReleaseOption, Release } from './release'; | ||
export { default as listPluginsScript, ListPluginsScripts, ListPlugins } from './listPlugins'; | ||
export { default as describePluginScript, DescribePluginScript, DescribePluginOption, DescribePlugin, } from './describePlugin'; | ||
export { default as listPluginVersionsScript, ListPluginVersionsScripts, ListPluginVersionsOption, ListPluginVersions, } from './listPluginVerions'; | ||
export { default as describePluginVersionScript, DescribePluginVersionScript, DescribePluginVersionOption, DescribePluginVersion, } from './describePluginVersion'; | ||
export { default as listConfigurationsScript, ListConfigurationsScript, ListConfigurations, } from './listConfigurations'; | ||
export { default as describeConfigurationScript, DescribeConfigurationScript, DescribeConfigurationOption, DescribeConfiguration, } from './describeConfiguration'; | ||
export { default as listReleasesScript, ListReleasesScript, ListReleases } from './listReleases'; | ||
export { default as describeReleaseScript, DescribeReleaseScript, DescribeReleaseOption, DescribeRelease, } from './describeRelease'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var deploy_1 = require("./deploy"); | ||
exports.deployScript = deploy_1.default; | ||
Object.defineProperty(exports, "deployScript", { enumerable: true, get: function () { return deploy_1.default; } }); | ||
var createConfiguration_1 = require("./createConfiguration"); | ||
exports.createConfigurationScript = createConfiguration_1.default; | ||
Object.defineProperty(exports, "createConfigurationScript", { enumerable: true, get: function () { return createConfiguration_1.default; } }); | ||
var release_1 = require("./release"); | ||
exports.releaseScript = release_1.default; | ||
Object.defineProperty(exports, "releaseScript", { enumerable: true, get: function () { return release_1.default; } }); | ||
var listPlugins_1 = require("./listPlugins"); | ||
Object.defineProperty(exports, "listPluginsScript", { enumerable: true, get: function () { return listPlugins_1.default; } }); | ||
var describePlugin_1 = require("./describePlugin"); | ||
exports.describePluginScript = describePlugin_1.default; | ||
Object.defineProperty(exports, "describePluginScript", { enumerable: true, get: function () { return describePlugin_1.default; } }); | ||
var listPluginVerions_1 = require("./listPluginVerions"); | ||
Object.defineProperty(exports, "listPluginVersionsScript", { enumerable: true, get: function () { return listPluginVerions_1.default; } }); | ||
var describePluginVersion_1 = require("./describePluginVersion"); | ||
exports.describePluginVersionScript = describePluginVersion_1.default; | ||
Object.defineProperty(exports, "describePluginVersionScript", { enumerable: true, get: function () { return describePluginVersion_1.default; } }); | ||
var listConfigurations_1 = require("./listConfigurations"); | ||
Object.defineProperty(exports, "listConfigurationsScript", { enumerable: true, get: function () { return listConfigurations_1.default; } }); | ||
var describeConfiguration_1 = require("./describeConfiguration"); | ||
exports.describeConfigurationScript = describeConfiguration_1.default; | ||
Object.defineProperty(exports, "describeConfigurationScript", { enumerable: true, get: function () { return describeConfiguration_1.default; } }); | ||
var listReleases_1 = require("./listReleases"); | ||
Object.defineProperty(exports, "listReleasesScript", { enumerable: true, get: function () { return listReleases_1.default; } }); | ||
var describeRelease_1 = require("./describeRelease"); | ||
exports.describeReleaseScript = describeRelease_1.default; | ||
Object.defineProperty(exports, "describeReleaseScript", { enumerable: true, get: function () { return describeRelease_1.default; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
{ | ||
"name": "flex-plugins-api-toolkit", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "Flex Plugins API Toolkit", | ||
@@ -31,2 +31,6 @@ "keywords": [ | ||
"types": "dist/index.d.ts", | ||
"directories": { | ||
"lib": "src", | ||
"test": "__tests__" | ||
}, | ||
"scripts": { | ||
@@ -42,9 +46,5 @@ "prebuild": "npm run clean", | ||
}, | ||
"directories": { | ||
"lib": "src", | ||
"test": "__tests__" | ||
}, | ||
"dependencies": { | ||
"flex-plugins-api-client": "^0.11.0", | ||
"flex-plugins-api-utils": "^0.11.0", | ||
"flex-plugins-api-client": "^0.12.0", | ||
"flex-plugins-api-utils": "^0.12.0", | ||
"lodash.clonedeep": "^4.5.0" | ||
@@ -55,3 +55,3 @@ }, | ||
}, | ||
"gitHead": "a8416182fb6021e50baae1e0005dc5d644410eac" | ||
"gitHead": "032cc31102fe7cc14a7d18a8969a1725a3584a10" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
108071
45
1440
+ Addedflex-plugins-api-client@0.12.1(transitive)
+ Addedflex-plugins-api-utils@0.12.1(transitive)
+ Addedflex-plugins-utils-env@0.10.0(transitive)
+ Addedflex-plugins-utils-exception@0.10.0(transitive)
+ Addedflex-plugins-utils-logger@0.10.1(transitive)
- Removedflex-plugins-api-client@0.11.0(transitive)
- Removedflex-plugins-api-utils@0.11.0(transitive)
- Removedflex-plugins-utils-env@0.9.0(transitive)
- Removedflex-plugins-utils-exception@0.9.0(transitive)
- Removedflex-plugins-utils-logger@0.9.0(transitive)