@adminide-stack/core
Advanced tools
Comparing version 0.0.15-50 to 0.0.15-51
@@ -40,7 +40,3 @@ module.exports = | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { | ||
/******/ configurable: false, | ||
/******/ enumerable: true, | ||
/******/ get: getter | ||
/******/ }); | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
@@ -51,5 +47,24 @@ /******/ }; | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
@@ -199,2 +214,8 @@ /******/ __webpack_require__.n = function(module) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var IStackType; | ||
(function (IStackType) { | ||
IStackType["IDE_STACK"] = "IDE_STACK"; | ||
IStackType["MONOCULAR_STACK"] = "MONOCULAR_STACK"; | ||
IStackType["CUSTOM_STACK"] = "CUSTOM_STACK"; | ||
})(IStackType = exports.IStackType || (exports.IStackType = {})); | ||
var ISourceProviders; | ||
@@ -201,0 +222,0 @@ (function (ISourceProviders) { |
@@ -6,11 +6,11 @@ import { WorkspaceStatus } from '../constants'; | ||
language: string; | ||
description: string; | ||
description?: string; | ||
iconUrl: string; | ||
status: WorkspaceStatus; | ||
config: IWorkspaceConfig; | ||
status?: WorkspaceStatus; | ||
config?: IWorkspaceConfig; | ||
token?: string; | ||
url?: string; | ||
ownerId: string; | ||
namespace: string; | ||
temporary: string; | ||
namespace?: string; | ||
temporary?: string; | ||
projects: IProject[]; | ||
@@ -34,4 +34,32 @@ stacks: IStack[]; | ||
} | ||
export interface IWorkspaceCreateRequest { | ||
name: string; | ||
language?: string; | ||
description?: string; | ||
iconUrl?: string; | ||
projects: IProject[]; | ||
stacks?: IStack[]; | ||
} | ||
export interface IStack { | ||
id?: string; | ||
connectionId?: string; | ||
type: IStackType; | ||
repository?: string; | ||
releaseName: string; | ||
chartName: string; | ||
chartVersion?: string; | ||
namespace?: string; | ||
cluster?: string; | ||
tillerNamespace?: string; | ||
valuesFile?: any; | ||
overrideSetVariables?: { | ||
[key: string]: string; | ||
}; | ||
variables?: IEnvironmentVariable[]; | ||
} | ||
export declare enum IStackType { | ||
IDE_STACK = "IDE_STACK", | ||
MONOCULAR_STACK = "MONOCULAR_STACK", | ||
CUSTOM_STACK = "CUSTOM_STACK", | ||
} | ||
export declare enum ISourceProviders { | ||
@@ -51,3 +79,3 @@ GITHUB = "GITHUB", | ||
id?: string; | ||
name: String; | ||
name: string; | ||
defaultEnv: string; | ||
@@ -58,3 +86,3 @@ description: string; | ||
ports?: IWorkspacePorts; | ||
variables: IEnvironmentVariable[]; | ||
globalVariables: IEnvironmentVariable[]; | ||
} | ||
@@ -91,9 +119,2 @@ export interface IEnvironmentVariable { | ||
} | ||
export interface IWorkspaceCreateRequest { | ||
name: string; | ||
language?: string; | ||
description?: string; | ||
icon_url?: string; | ||
os_vesion?: string; | ||
} | ||
export interface IGiturlCreateRequest { | ||
@@ -104,12 +125,20 @@ gitUrl: string; | ||
id: string; | ||
name?: string; | ||
language?: string; | ||
description?: string; | ||
icon_url?: string; | ||
os_version?: string; | ||
status?: WorkspaceStatus; | ||
requestedUserId?: string; | ||
stacks?: IStack[]; | ||
} | ||
export interface IWorkspaceRemoveRequest { | ||
id: string; | ||
requestedUserId?: string; | ||
stacks?: IStack[]; | ||
} | ||
export interface IWorkspaceStartRequest { | ||
id: string; | ||
requestedUserId?: string; | ||
stacks?: IStack[]; | ||
} | ||
export interface IWorkspaceStopRequest { | ||
id: string; | ||
requestedUserId?: string; | ||
stacks?: IStack[]; | ||
} | ||
export interface IWorkspaceConfigPayload { | ||
@@ -116,0 +145,0 @@ repositoryUrl?: string; |
{ | ||
"name": "@adminide-stack/core", | ||
"version": "0.0.15-50", | ||
"version": "0.0.15-51", | ||
"description": "AdminIDE core for higher packages to depend on", | ||
@@ -45,3 +45,3 @@ "main": "lib/index.js", | ||
"rimraf": "^2.6.1", | ||
"webpack": "^4.7.0" | ||
"webpack": "^4.10.2" | ||
}, | ||
@@ -48,0 +48,0 @@ "typings": "lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
28234
391