deepspace 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/cli.js +97 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +50 -5
- package/dist/server.js +95 -12
- package/dist/server.js.map +1 -1
- package/dist/worker.d.ts +46 -1
- package/dist/worker.js +95 -12
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3537,6 +3537,13 @@ function planUploadParts(totalBytes, partSize) {
|
|
|
3537
3537
|
}
|
|
3538
3538
|
return parts;
|
|
3539
3539
|
}
|
|
3540
|
+
var APP_STORAGE_LIMIT_BYTES = {
|
|
3541
|
+
test: 0,
|
|
3542
|
+
free: 128 * 1024 * 1024,
|
|
3543
|
+
starter: 512 * 1024 * 1024,
|
|
3544
|
+
premium: 2 * 1024 * 1024 * 1024,
|
|
3545
|
+
admin: 10 * 1024 * 1024 * 1024
|
|
3546
|
+
};
|
|
3540
3547
|
var MAX_DEPLOY_ASSET_FILE_BYTES = 25 * 1024 * 1024;
|
|
3541
3548
|
function formatBytes(bytes) {
|
|
3542
3549
|
if (bytes >= 1024 * 1024 * 1024) return `${(bytes / (1024 * 1024 * 1024)).toFixed(1)} GiB`;
|