Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adminide-stack/core

Package Overview
Dependencies
Maintainers
1
Versions
797
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adminide-stack/core - npm Package Compare versions

Comparing version 0.0.6 to 0.0.9

38

lib/constants/constants.d.ts

@@ -1,12 +0,26 @@

export declare const WORKSPACE_STATUS_DISCONNECTED = "WORKSPACE_STATUS_DISCONNECTED";
export declare const WORKSPACE_STATUS_CONNECTED = "WORKSPACE_STATUS_CONNECTED";
export declare const WORKSPACE_STATUS_PENDING = "WORKSPACE_STATUS_PENDING";
export declare const WORKSPACE_STATUS_CREATED = "WORKSPACE_STATUS_CREATED";
export declare const WORKSPACE_STATUS_REMOVED = "WORKSPACE_STATUS_REMOVED";
export declare const WORKSPACE_STATUS_DISABLED = "WORKSPACE_STATUS_DISABLED";
export declare const WORKSPACE_STATUS_ACTIVE = "WORKSPACE_STATUS_ACTIVE";
export declare const WORKSPACE_CREATED_EVENT = "WORKSPACE_CREATED_EVENT";
export declare const WORKSPACE_UPDATED_EVENT = "WORKSPACE_UPDATED_EVENT";
export declare const WORKSPACE_REMOVED_EVENT = "WORKSPACE_REMOVED_EVENT";
export declare const WORKSPACE_STOPPED_EVENT = "WORKSPACE_STOPPED_EVENT";
export declare const WORKSPACE_STARTED_EVENT = "WORKSPACE_STARTED_EVENT";
export declare enum WorkspaceStatus {
WORKSPACE_STATUS_DISCONNECTED = "WORKSPACE_STATUS_DISCONNECTED",
WORKSPACE_STATUS_CONNECTED = "WORKSPACE_STATUS_CONNECTED",
WORKSPACE_STATUS_PENDING = "WORKSPACE_STATUS_PENDING",
WORKSPACE_STATUS_CREATED = "WORKSPACE_STATUS_CREATED",
WORKSPACE_STATUS_REMOVED = "WORKSPACE_STATUS_REMOVED",
WORKSPACE_STATUS_DISABLED = "WORKSPACE_STATUS_DISABLED",
WORKSPACE_STATUS_STOPPED = "WORKSPACE_STATUS_STOPPED",
WORKSPACE_STATUS_ACTIVE = "WORKSPACE_STATUS_ACTIVE",
WORKSPACE_STATUS_STARTED = "WORKSPACE_STATUS_STARTED",
WORKSPACE_STATUS_ERRORED = "WORKSPACE_STATUS_ERRORED",
}
export declare enum WorkspaceServerEvents {
WORKSPACE_CREATED_EVENT = "WORKSPACE_CREATED_EVENT",
WORKSPACE_REMOVED_EVENT = "WORKSPACE_REMOVED_EVENT",
WORKSPACE_STARTED_EVENT = "WORKSPACE_STARTED_EVENT",
WORKSPACE_STOPPED_EVENT = "WORKSPACE_STOPPED_EVENT",
WORKSPACE_UPDATED_EVENT = "WORKSPACE_UPDATED_EVENT",
}
export declare enum WorkspaceCommands {
CREATE_WORKSPACE = "CREATE_WORKSPACE",
REMOVE_WORKSPACE = "REMOVE_WORKSPACE",
START_WORKSPACE = "START_WORKSPACE",
STOP_WORKSPACE = "STOP_WORKSPACE",
UPDATE_WORKSPACE = "UPDATE_WORKSPACE",
}

@@ -67,3 +67,3 @@ module.exports =

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 3);
/******/ return __webpack_require__(__webpack_require__.s = 2);
/******/ })

@@ -81,3 +81,3 @@ /************************************************************************/

Object.defineProperty(exports, "__esModule", { value: true });
__export(__webpack_require__(2));
__export(__webpack_require__(1));

@@ -91,7 +91,32 @@

function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(__webpack_require__(4));
var WorkspaceStatus;
(function (WorkspaceStatus) {
WorkspaceStatus["WORKSPACE_STATUS_DISCONNECTED"] = "WORKSPACE_STATUS_DISCONNECTED";
WorkspaceStatus["WORKSPACE_STATUS_CONNECTED"] = "WORKSPACE_STATUS_CONNECTED";
WorkspaceStatus["WORKSPACE_STATUS_PENDING"] = "WORKSPACE_STATUS_PENDING";
WorkspaceStatus["WORKSPACE_STATUS_CREATED"] = "WORKSPACE_STATUS_CREATED";
WorkspaceStatus["WORKSPACE_STATUS_REMOVED"] = "WORKSPACE_STATUS_REMOVED";
WorkspaceStatus["WORKSPACE_STATUS_DISABLED"] = "WORKSPACE_STATUS_DISABLED";
WorkspaceStatus["WORKSPACE_STATUS_STOPPED"] = "WORKSPACE_STATUS_STOPPED";
WorkspaceStatus["WORKSPACE_STATUS_ACTIVE"] = "WORKSPACE_STATUS_ACTIVE";
WorkspaceStatus["WORKSPACE_STATUS_STARTED"] = "WORKSPACE_STATUS_STARTED";
WorkspaceStatus["WORKSPACE_STATUS_ERRORED"] = "WORKSPACE_STATUS_ERRORED";
})(WorkspaceStatus = exports.WorkspaceStatus || (exports.WorkspaceStatus = {}));
var WorkspaceServerEvents;
(function (WorkspaceServerEvents) {
WorkspaceServerEvents["WORKSPACE_CREATED_EVENT"] = "WORKSPACE_CREATED_EVENT";
WorkspaceServerEvents["WORKSPACE_REMOVED_EVENT"] = "WORKSPACE_REMOVED_EVENT";
WorkspaceServerEvents["WORKSPACE_STARTED_EVENT"] = "WORKSPACE_STARTED_EVENT";
WorkspaceServerEvents["WORKSPACE_STOPPED_EVENT"] = "WORKSPACE_STOPPED_EVENT";
WorkspaceServerEvents["WORKSPACE_UPDATED_EVENT"] = "WORKSPACE_UPDATED_EVENT";
})(WorkspaceServerEvents = exports.WorkspaceServerEvents || (exports.WorkspaceServerEvents = {}));
var WorkspaceCommands;
(function (WorkspaceCommands) {
WorkspaceCommands["CREATE_WORKSPACE"] = "CREATE_WORKSPACE";
WorkspaceCommands["REMOVE_WORKSPACE"] = "REMOVE_WORKSPACE";
WorkspaceCommands["START_WORKSPACE"] = "START_WORKSPACE";
WorkspaceCommands["STOP_WORKSPACE"] = "STOP_WORKSPACE";
WorkspaceCommands["UPDATE_WORKSPACE"] = "UPDATE_WORKSPACE";
})(WorkspaceCommands = exports.WorkspaceCommands || (exports.WorkspaceCommands = {}));

@@ -105,23 +130,2 @@

Object.defineProperty(exports, "__esModule", { value: true });
exports.WORKSPACE_STATUS_DISCONNECTED = 'WORKSPACE_STATUS_DISCONNECTED';
exports.WORKSPACE_STATUS_CONNECTED = 'WORKSPACE_STATUS_CONNECTED';
exports.WORKSPACE_STATUS_PENDING = 'WORKSPACE_STATUS_PENDING';
exports.WORKSPACE_STATUS_CREATED = 'WORKSPACE_STATUS_CREATED';
exports.WORKSPACE_STATUS_REMOVED = 'WORKSPACE_STATUS_REMOVED';
exports.WORKSPACE_STATUS_DISABLED = 'WORKSPACE_STATUS_DISABLED';
exports.WORKSPACE_STATUS_ACTIVE = 'WORKSPACE_STATUS_ACTIVE';
exports.WORKSPACE_CREATED_EVENT = 'WORKSPACE_CREATED_EVENT';
exports.WORKSPACE_UPDATED_EVENT = 'WORKSPACE_UPDATED_EVENT';
exports.WORKSPACE_REMOVED_EVENT = 'WORKSPACE_REMOVED_EVENT';
exports.WORKSPACE_STOPPED_EVENT = 'WORKSPACE_STOPPED_EVENT';
exports.WORKSPACE_STARTED_EVENT = 'WORKSPACE_STARTED_EVENT';
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function __export(m) {

@@ -132,25 +136,6 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];

__export(__webpack_require__(0));
__export(__webpack_require__(1));
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var IWorkspaceStatus;
(function (IWorkspaceStatus) {
IWorkspaceStatus[IWorkspaceStatus["WORKSPACE_STATUS_CONNECTED"] = 0] = "WORKSPACE_STATUS_CONNECTED";
IWorkspaceStatus[IWorkspaceStatus["WORKSPACE_STATUS_CREATED"] = 1] = "WORKSPACE_STATUS_CREATED";
IWorkspaceStatus[IWorkspaceStatus["WORKSPACE_STATUS_DISCONNECTED"] = 2] = "WORKSPACE_STATUS_DISCONNECTED";
IWorkspaceStatus[IWorkspaceStatus["WORKSPACE_STATUS_PENDING"] = 3] = "WORKSPACE_STATUS_PENDING";
IWorkspaceStatus[IWorkspaceStatus["WORKSPACE_STATUS_REMOVED"] = 4] = "WORKSPACE_STATUS_REMOVED";
IWorkspaceStatus[IWorkspaceStatus["WORKSPACE_STATUS_DISABLED"] = 5] = "WORKSPACE_STATUS_DISABLED";
})(IWorkspaceStatus = exports.IWorkspaceStatus || (exports.IWorkspaceStatus = {}));
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map

@@ -0,7 +1,8 @@

import { WorkspaceStatus } from '../constants';
export interface IWorkspace {
id: string;
id?: string;
name: string;
language: string;
description: string;
status: IWorkspaceStatus;
status: WorkspaceStatus;
spec: IWorkspaceSpec;

@@ -20,3 +21,3 @@ config: IWorkspaceConfig;

description?: string;
status?: IWorkspaceStatus;
status?: WorkspaceStatus;
}

@@ -36,23 +37,16 @@ export interface IWorkspaceRemoveRequest {

dnsId?: string;
container: string;
containerId: string;
ports?: IWorkspacePorts;
}
export interface IWorkspaceConfigPayload {
container?: string;
containerId?: string;
dnsId?: string;
dnsName?: string;
workspaceId?: string;
status?: IWorkspaceStatus;
status?: WorkspaceStatus;
}
export interface IWorkspacePorts {
application: string;
socket: string;
management: string;
worker: string;
}
export declare enum IWorkspaceStatus {
WORKSPACE_STATUS_CONNECTED = 0,
WORKSPACE_STATUS_CREATED = 1,
WORKSPACE_STATUS_DISCONNECTED = 2,
WORKSPACE_STATUS_PENDING = 3,
WORKSPACE_STATUS_REMOVED = 4,
WORKSPACE_STATUS_DISABLED = 5,
}
{
"name": "@adminide-stack/core",
"version": "0.0.6",
"version": "0.0.9",
"description": "AdminIDE core for higher packages to depend on",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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