@devopness/sdk-js
Advanced tools
Comparing version 1.18.3 to 1.19.0
@@ -12,2 +12,3 @@ /** | ||
*/ | ||
import { EnvironmentLinkItem } from './environment-link-item'; | ||
/** | ||
@@ -20,13 +21,13 @@ * | ||
/** | ||
* The command line to be executed when running the cron job | ||
* The name of the cron job | ||
* @type {string} | ||
* @memberof CronJobCreate | ||
*/ | ||
command: string; | ||
name: string; | ||
/** | ||
* The name of the cron job | ||
* The command line to be executed when running the cron job | ||
* @type {string} | ||
* @memberof CronJobCreate | ||
*/ | ||
name: string; | ||
command: string; | ||
/** | ||
@@ -39,3 +40,3 @@ * A cron expression consisting of Minute, Hour, Day of Month, Month and Day of Week subexpressions | ||
/** | ||
* The name of the Unix user on behalf of which the cron job will be executed | ||
* The name of the system user on behalf of which the cron job will be executed | ||
* @type {string} | ||
@@ -46,7 +47,7 @@ * @memberof CronJobCreate | ||
/** | ||
* Indicates if the cron job was auto_generated by `devopness` itself | ||
* @type {boolean} | ||
* | ||
* @type {Array<EnvironmentLinkItem>} | ||
* @memberof CronJobCreate | ||
*/ | ||
auto_generated?: boolean; | ||
environments?: Array<EnvironmentLinkItem>; | ||
} |
@@ -12,2 +12,3 @@ /** | ||
*/ | ||
import { EnvironmentType } from './environment-type'; | ||
/** | ||
@@ -26,16 +27,7 @@ * | ||
/** | ||
* The type of the deployment being triggred | ||
* @type {string} | ||
* | ||
* @type {EnvironmentType} | ||
* @memberof EnvironmentCreate | ||
*/ | ||
type: EnvironmentCreateTypeEnum; | ||
type: EnvironmentType; | ||
} | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum EnvironmentCreateTypeEnum { | ||
Testing = "testing", | ||
Staging = "staging", | ||
Production = "production" | ||
} |
@@ -15,12 +15,1 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EnvironmentCreateTypeEnum = void 0; | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var EnvironmentCreateTypeEnum; | ||
(function (EnvironmentCreateTypeEnum) { | ||
EnvironmentCreateTypeEnum["Testing"] = "testing"; | ||
EnvironmentCreateTypeEnum["Staging"] = "staging"; | ||
EnvironmentCreateTypeEnum["Production"] = "production"; | ||
})(EnvironmentCreateTypeEnum = exports.EnvironmentCreateTypeEnum || (exports.EnvironmentCreateTypeEnum = {})); |
@@ -19,15 +19,15 @@ /** | ||
/** | ||
* The environment\'s unique id | ||
* Environment\'s unique id | ||
* @type {number} | ||
* @memberof EnvironmentLinkItem | ||
*/ | ||
id?: number; | ||
id: number; | ||
/** | ||
* The environment\'s name | ||
* Environment\'s name | ||
* @type {string} | ||
* @memberof EnvironmentLinkItem | ||
*/ | ||
name?: string; | ||
name?: string | null; | ||
/** | ||
* The list of IDs of servers to which the action must be performed | ||
* A list of server IDs to which the item link/unlink operations must be performed | ||
* @type {Array<number>} | ||
@@ -34,0 +34,0 @@ * @memberof EnvironmentLinkItem |
@@ -12,2 +12,3 @@ /** | ||
*/ | ||
import { EnvironmentType } from './environment-type'; | ||
import { Server } from './server'; | ||
@@ -21,3 +22,9 @@ /** | ||
/** | ||
* The environment\'s name | ||
* Unique id of the given record | ||
* @type {number} | ||
* @memberof Environment | ||
*/ | ||
id?: number; | ||
/** | ||
* Environment\'s name | ||
* @type {string} | ||
@@ -28,7 +35,7 @@ * @memberof Environment | ||
/** | ||
* The type of the deployment being triggred | ||
* @type {string} | ||
* | ||
* @type {EnvironmentType} | ||
* @memberof Environment | ||
*/ | ||
type: EnvironmentTypeEnum; | ||
type: EnvironmentType; | ||
/** | ||
@@ -53,10 +60,1 @@ * | ||
} | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum EnvironmentTypeEnum { | ||
Testing = "testing", | ||
Staging = "staging", | ||
Production = "production" | ||
} |
@@ -15,12 +15,1 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EnvironmentTypeEnum = void 0; | ||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var EnvironmentTypeEnum; | ||
(function (EnvironmentTypeEnum) { | ||
EnvironmentTypeEnum["Testing"] = "testing"; | ||
EnvironmentTypeEnum["Staging"] = "staging"; | ||
EnvironmentTypeEnum["Production"] = "production"; | ||
})(EnvironmentTypeEnum = exports.EnvironmentTypeEnum || (exports.EnvironmentTypeEnum = {})); |
@@ -22,2 +22,3 @@ export * from './action'; | ||
export * from './environment-link-item'; | ||
export * from './environment-type'; | ||
export * from './extra-body-params'; | ||
@@ -24,0 +25,0 @@ export * from './language-runtime'; |
@@ -34,2 +34,3 @@ "use strict"; | ||
__exportStar(require("./environment-link-item"), exports); | ||
__exportStar(require("./environment-type"), exports); | ||
__exportStar(require("./extra-body-params"), exports); | ||
@@ -36,0 +37,0 @@ __exportStar(require("./language-runtime"), exports); |
@@ -20,19 +20,19 @@ /** | ||
/** | ||
* The list of databases that must be installed on the server | ||
* `self-hosted` if connecting to an existing server instance. May also be a list of cloud providers to which the server spec will be used to launch instances. | ||
* @type {Array<BlueprintItem>} | ||
* @memberof ServerBlueprint | ||
*/ | ||
databases?: Array<BlueprintItem>; | ||
providers: Array<BlueprintItem>; | ||
/** | ||
* The list of tools that must be made available on the server | ||
* The list of databases services that must be installed on the server | ||
* @type {Array<BlueprintItem>} | ||
* @memberof ServerBlueprint | ||
*/ | ||
providers: Array<BlueprintItem>; | ||
databases?: Array<BlueprintItem> | null; | ||
/** | ||
* The list of tools that must be made available on the server | ||
* A list of tools that must be made available on the server | ||
* @type {Array<BlueprintItem>} | ||
* @memberof ServerBlueprint | ||
*/ | ||
tools?: Array<BlueprintItem>; | ||
tools?: Array<BlueprintItem> | null; | ||
} |
@@ -12,4 +12,2 @@ /** | ||
*/ | ||
import { Action } from './action'; | ||
import { EnvironmentLinkItem } from './environment-link-item'; | ||
import { ServerBlueprint } from './server-blueprint'; | ||
@@ -47,13 +45,7 @@ /** | ||
/** | ||
* | ||
* @type {Array<EnvironmentLinkItem>} | ||
* A list of environment IDs to which the server will be linked to | ||
* @type {Array<number>} | ||
* @memberof ServerCreate | ||
*/ | ||
environments?: Array<EnvironmentLinkItem>; | ||
/** | ||
* The list of actions related to the server | ||
* @type {Array<Action>} | ||
* @memberof ServerCreate | ||
*/ | ||
actions?: Array<Action>; | ||
environments?: Array<number>; | ||
} |
{ | ||
"name": "@devopness/sdk-js", | ||
"version": "1.18.3", | ||
"version": "1.19.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
297003
211
7982