@cubejs-backend/cloud
Advanced tools
Comparing version 0.36.0 to 0.36.5
@@ -10,2 +10,4 @@ "use strict"; | ||
class CubeCloudClient { | ||
auth; | ||
livePreview; | ||
constructor(auth, livePreview) { | ||
@@ -12,0 +14,0 @@ this.auth = auth; |
@@ -15,6 +15,6 @@ "use strict"; | ||
class Config { | ||
directory = process.cwd(); | ||
home = os_1.default.homedir(); | ||
cubeCloudClient = new cloud_1.CubeCloudClient(); | ||
constructor(options = {}) { | ||
this.directory = process.cwd(); | ||
this.home = os_1.default.homedir(); | ||
this.cubeCloudClient = new cloud_1.CubeCloudClient(); | ||
this.directory = options.directory || this.directory; | ||
@@ -21,0 +21,0 @@ this.home = options.home || this.home; |
@@ -11,2 +11,3 @@ "use strict"; | ||
class DeployDirectory { | ||
options; | ||
constructor(options) { | ||
@@ -61,2 +62,4 @@ this.options = options; | ||
class DeployController { | ||
cubeCloudClient; | ||
hooks; | ||
constructor(cubeCloudClient, hooks = {}) { | ||
@@ -63,0 +66,0 @@ this.cubeCloudClient = cubeCloudClient; |
@@ -12,10 +12,9 @@ "use strict"; | ||
class LivePreviewWatcher { | ||
constructor() { | ||
this.watcher = null; | ||
this.handleQueueTimeout = null; | ||
this.cubeCloudClient = new cloud_1.CubeCloudClient(); | ||
this.auth = null; | ||
this.queue = []; | ||
this.uploading = false; | ||
} | ||
watcher = null; | ||
handleQueueTimeout = null; | ||
cubeCloudClient = new cloud_1.CubeCloudClient(); | ||
auth = null; | ||
queue = []; | ||
uploading = false; | ||
lastHash; | ||
log(message) { | ||
@@ -22,0 +21,0 @@ console.log('☁️ Live-preview:', message); |
{ | ||
"name": "@cubejs-backend/cloud", | ||
"version": "0.36.0", | ||
"version": "0.36.5", | ||
"description": "Cube Cloud package", | ||
@@ -35,3 +35,3 @@ "main": "dist/src/index.js", | ||
"@cubejs-backend/dotenv": "^9.0.2", | ||
"@cubejs-backend/shared": "^0.36.0", | ||
"@cubejs-backend/shared": "^0.36.5", | ||
"chokidar": "^3.5.1", | ||
@@ -62,3 +62,3 @@ "env-var": "^6.3.0", | ||
}, | ||
"gitHead": "84c176ca957c71efe09d2049acd863b68532cf88" | ||
"gitHead": "893004a135f6b009efa23d11232cc2e285a75330" | ||
} |
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
54234
638