Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c3e5cabe3d | |||
| bcc18e3511 | |||
| 3b6cbe7ca8 | |||
| 41e1893d2d | |||
| 1ce31c52ec | |||
| 3bc9c0fc79 |
18
changelog.md
18
changelog.md
@@ -1,5 +1,23 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-03-24 - 1.8.1 - fix(build)
|
||||
migrate build tool config to .smartconfig.json and bump tooling dependencies
|
||||
|
||||
- Move tsbundle, tsdocker, and tswatch configuration from npmextra.json to .smartconfig.json
|
||||
- Update @git.zone/tsbundle, @git.zone/tsdocker, and @git.zone/tswatch devDependencies
|
||||
- Bump @aws-sdk/client-s3 import to ^3.1016.0
|
||||
|
||||
## 2026-03-24 - 1.8.0 - feat(docs,web)
|
||||
document cluster and erasure coding support and align UI storage provider naming
|
||||
|
||||
- expand the README with cluster mode, erasure coding, multi-drive configuration, and multi-node Docker Compose examples
|
||||
- update web storage integration to use the renamed storage data provider interface and browser component
|
||||
- bump runtime, UI, and tooling dependencies to newer compatible versions
|
||||
|
||||
## 2026-03-22 - 1.7.1 - fix(repo)
|
||||
no changes to commit
|
||||
|
||||
|
||||
## 2026-03-22 - 1.7.0 - feat(cluster)
|
||||
add cluster configuration support across server, CLI, and admin UI
|
||||
|
||||
|
||||
12
deno.json
12
deno.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lossless.zone/objectstorage",
|
||||
"version": "1.7.0",
|
||||
"version": "1.8.1",
|
||||
"exports": "./mod.ts",
|
||||
"nodeModulesDir": "auto",
|
||||
"tasks": {
|
||||
@@ -8,12 +8,12 @@
|
||||
"dev": "pnpm run watch"
|
||||
},
|
||||
"imports": {
|
||||
"@push.rocks/smartstorage": "npm:@push.rocks/smartstorage@^6.3.1",
|
||||
"@push.rocks/smartbucket": "npm:@push.rocks/smartbucket@^4.3.0",
|
||||
"@aws-sdk/client-s3": "npm:@aws-sdk/client-s3@^3.937.0",
|
||||
"@push.rocks/smartstorage": "npm:@push.rocks/smartstorage@^6.3.2",
|
||||
"@push.rocks/smartbucket": "npm:@push.rocks/smartbucket@^4.5.1",
|
||||
"@aws-sdk/client-s3": "npm:@aws-sdk/client-s3@^3.1016.0",
|
||||
"@api.global/typedrequest-interfaces": "npm:@api.global/typedrequest-interfaces@^3.0.19",
|
||||
"@api.global/typedrequest": "npm:@api.global/typedrequest@^3.2.6",
|
||||
"@api.global/typedserver": "npm:@api.global/typedserver@^8.3.1",
|
||||
"@api.global/typedrequest": "npm:@api.global/typedrequest@^3.3.0",
|
||||
"@api.global/typedserver": "npm:@api.global/typedserver@^8.4.6",
|
||||
"@push.rocks/smartguard": "npm:@push.rocks/smartguard@^3.1.0",
|
||||
"@push.rocks/smartjwt": "npm:@push.rocks/smartjwt@^2.2.1"
|
||||
},
|
||||
|
||||
12
package.json
12
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lossless.zone/objectstorage",
|
||||
"version": "1.7.0",
|
||||
"version": "1.8.1",
|
||||
"description": "object storage server with management UI powered by smartstorage",
|
||||
"main": "mod.ts",
|
||||
"type": "module",
|
||||
@@ -17,13 +17,13 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@api.global/typedrequest-interfaces": "^3.0.19",
|
||||
"@design.estate/dees-catalog": "^3.48.0",
|
||||
"@design.estate/dees-element": "^2.2.2"
|
||||
"@design.estate/dees-catalog": "^3.49.0",
|
||||
"@design.estate/dees-element": "^2.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbundle": "^2.9.0",
|
||||
"@git.zone/tsdocker": "^2.0.0",
|
||||
"@git.zone/tswatch": "^3.2.0"
|
||||
"@git.zone/tsbundle": "^2.10.0",
|
||||
"@git.zone/tsdocker": "^2.2.4",
|
||||
"@git.zone/tswatch": "^3.3.2"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
|
||||
825
pnpm-lock.yaml
generated
825
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
17
readme.hints.md
Normal file
17
readme.hints.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Project Hints
|
||||
|
||||
## Architecture
|
||||
- Deno-based backend with `deno.json` for imports and tasks
|
||||
- Frontend bundled with `@git.zone/tsbundle` (esbuild, base64ts output mode)
|
||||
- Config in `.smartconfig.json` (renamed from npmextra.json as of 2026-03-24)
|
||||
- Tests run with `deno task test` (not tstest)
|
||||
- Docker image built with `@git.zone/tsdocker`
|
||||
|
||||
## Build Tools Config
|
||||
- `.smartconfig.json` contains config for `@git.zone/tsbundle`, `@git.zone/tswatch`, and `@git.zone/tsdocker`
|
||||
- tsbundle uses base64ts output mode for Deno compile embedding
|
||||
- tswatch runs backend watcher with `deno run --allow-all mod.ts server --ephemeral`
|
||||
|
||||
## Dependencies (as of 2026-03-24)
|
||||
- devDependencies: tsbundle@2.10.0, tsdocker@2.2.4, tswatch@3.3.2
|
||||
- No tsconfig.json — uses compilerOptions in deno.json
|
||||
231
readme.md
231
readme.md
@@ -1,10 +1,10 @@
|
||||
# @lossless.zone/objectstorage
|
||||
|
||||
> 🚀 S3-compatible object storage server with a slick management UI — powered by [`smartstorage`](https://code.foss.global/push.rocks/smartstorage).
|
||||
> 🚀 S3-compatible object storage server with clustering, erasure coding, and a slick management UI — powered by [`smartstorage`](https://code.foss.global/push.rocks/smartstorage).
|
||||
|
||||
**objectstorage** gives you a fully featured, self-hosted S3-compatible storage server with a beautiful web-based management interface — all in a single Docker image. No Java, no bloat, no fuss.
|
||||
|
||||
Built on Deno for the backend and [`@design.estate/dees-catalog`](https://code.foss.global/design.estate/dees-catalog) for a polished UI, it speaks the S3 protocol out of the box while adding powerful management features on top.
|
||||
Built on Deno for the backend and [`@design.estate/dees-catalog`](https://code.foss.global/design.estate/dees-catalog) for a polished UI, it speaks the S3 protocol out of the box while adding powerful management features on top. Scale from a single node to a distributed cluster with erasure coding and multi-drive support.
|
||||
|
||||
## Issue Reporting and Security
|
||||
|
||||
@@ -13,14 +13,18 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
|
||||
## ✨ Features
|
||||
|
||||
- **Full S3 API compatibility** — Works with any S3 client, SDK, or tool (AWS CLI, boto3, etc.)
|
||||
- **Management UI** — Web dashboard for buckets, objects, policies, credentials, and server config
|
||||
- **🔗 Cluster mode** — Distribute storage across multiple nodes with QUIC transport, automatic discovery, and quorum writes/reads
|
||||
- **🛡️ Erasure coding** — Reed-Solomon erasure coding (default 4+2) for data durability with minimal overhead
|
||||
- **💾 Multi-drive support** — Stripe data across multiple disks per node with per-drive health monitoring
|
||||
- **🔄 Self-healing** — Background scanner detects and reconstructs missing or corrupt shards automatically
|
||||
- **Management UI** — Web dashboard for buckets, objects, policies, credentials, cluster config, and storage drives
|
||||
- **Finder-style object browser** — Column view with file preview, drag-and-drop upload, move/rename, context menus
|
||||
- **Inline code editing** — Built-in Monaco editor with syntax highlighting and save-back-to-storage
|
||||
- **PDF viewer** — Render PDFs inline with page navigation, zoom, and thumbnails
|
||||
- **Named policy management** — Create reusable IAM-style policies, attach them to multiple buckets
|
||||
- **Credential management** — Add/remove access keys through the UI with live-reload
|
||||
- **Single Docker image** — Multi-arch (`amd64` + `arm64`), tiny Alpine-based image
|
||||
- **Fast** — Rust-powered storage engine via `smartstorage`, Deno runtime for management layer
|
||||
- **Fast** — Rust-powered storage engine via `smartstorage`, streaming I/O with zero-copy and backpressure
|
||||
- **Secure by default** — JWT-based admin auth, S3 SigV4 authentication, bucket policies
|
||||
- **🌙 Dark theme** — Automatic dark mode following your system preference
|
||||
|
||||
@@ -59,7 +63,7 @@ deno run --allow-all mod.ts server --ephemeral
|
||||
|
||||
objectstorage is configured through environment variables, CLI flags, or programmatic config. **Environment variables take precedence** over CLI flags.
|
||||
|
||||
### Environment Variables
|
||||
### Server Environment Variables
|
||||
|
||||
| Variable | Description | Default |
|
||||
|---|---|---|
|
||||
@@ -71,18 +75,86 @@ objectstorage is configured through environment variables, CLI flags, or program
|
||||
| `OBJST_ADMIN_PASSWORD` | Admin UI password | `admin` |
|
||||
| `OBJST_REGION` | Storage region identifier | `us-east-1` |
|
||||
|
||||
### Cluster Environment Variables
|
||||
|
||||
| Variable | Description | Default |
|
||||
|---|---|---|
|
||||
| `OBJST_CLUSTER_ENABLED` | Enable cluster mode (`true`/`false`) | `false` |
|
||||
| `OBJST_CLUSTER_NODE_ID` | Unique node identifier | auto-generated |
|
||||
| `OBJST_CLUSTER_QUIC_PORT` | QUIC transport port | `4433` |
|
||||
| `OBJST_CLUSTER_SEED_NODES` | Comma-separated seed node addresses | _(empty)_ |
|
||||
| `OBJST_DRIVE_PATHS` | Comma-separated drive mount paths | storage dir |
|
||||
| `OBJST_ERASURE_DATA_SHARDS` | Erasure coding data shards | `4` |
|
||||
| `OBJST_ERASURE_PARITY_SHARDS` | Erasure coding parity shards | `2` |
|
||||
| `OBJST_ERASURE_CHUNK_SIZE` | Erasure chunk size in bytes | `4194304` (4 MB) |
|
||||
| `OBJST_HEARTBEAT_INTERVAL_MS` | Cluster heartbeat interval | `5000` |
|
||||
| `OBJST_HEARTBEAT_TIMEOUT_MS` | Cluster heartbeat timeout | `30000` |
|
||||
|
||||
### CLI Flags
|
||||
|
||||
```bash
|
||||
deno run --allow-all mod.ts server [options]
|
||||
|
||||
Options:
|
||||
--storage-port <port> Storage API port (default: 9000)
|
||||
--ui-port <port> Management UI port (default: 3000)
|
||||
--storage-dir <path> Storage directory (default: /data)
|
||||
--ephemeral Use ./.nogit/objstdata for storage (dev mode)
|
||||
Server Options:
|
||||
--storage-port <port> Storage API port (default: 9000)
|
||||
--ui-port <port> Management UI port (default: 3000)
|
||||
--storage-dir <path> Storage directory (default: /data)
|
||||
--ephemeral Use ./.nogit/objstdata for storage (dev mode)
|
||||
|
||||
Clustering Options:
|
||||
--cluster-enabled Enable cluster mode
|
||||
--cluster-node-id <id> Unique node identifier
|
||||
--cluster-quic-port <port> QUIC transport port (default: 4433)
|
||||
--cluster-seed-nodes <list> Comma-separated seed node addresses
|
||||
--drive-paths <list> Comma-separated drive mount paths
|
||||
--erasure-data-shards <n> Erasure coding data shards (default: 4)
|
||||
--erasure-parity-shards <n> Erasure coding parity shards (default: 2)
|
||||
```
|
||||
|
||||
## 🔗 Cluster Mode
|
||||
|
||||
objectstorage supports distributed storage across multiple nodes with automatic failover and data redundancy.
|
||||
|
||||
### How it works
|
||||
|
||||
1. **Enable clustering** on each node with `OBJST_CLUSTER_ENABLED=true`
|
||||
2. **Point nodes at each other** using `OBJST_CLUSTER_SEED_NODES` — nodes discover the full cluster from any seed
|
||||
3. **Configure drives** per node with `OBJST_DRIVE_PATHS` — each drive is independently managed
|
||||
4. **Erasure coding** splits objects into data + parity shards across drives and nodes
|
||||
|
||||
### Example: 3-node cluster
|
||||
|
||||
```bash
|
||||
# Node 1
|
||||
docker run -d --name objst-node1 \
|
||||
-p 9000:9000 -p 3000:3000 -p 4433:4433/udp \
|
||||
-v /mnt/disk1:/drive1 -v /mnt/disk2:/drive2 \
|
||||
-e OBJST_CLUSTER_ENABLED=true \
|
||||
-e OBJST_CLUSTER_NODE_ID=node-1 \
|
||||
-e OBJST_CLUSTER_SEED_NODES=node2:4433,node3:4433 \
|
||||
-e OBJST_DRIVE_PATHS=/drive1,/drive2 \
|
||||
-e OBJST_ACCESS_KEY=myadminkey \
|
||||
-e OBJST_SECRET_KEY=mysupersecret \
|
||||
code.foss.global/lossless.zone/objectstorage:latest
|
||||
|
||||
# Node 2 and Node 3 — same pattern, different node IDs and seed nodes
|
||||
```
|
||||
|
||||
### Erasure coding presets
|
||||
|
||||
| Config | Data Shards | Parity Shards | Overhead | Fault Tolerance |
|
||||
|---|---|---|---|---|
|
||||
| Default | 4 | 2 | 50% | 2 failures |
|
||||
| High durability | 6 | 3 | 50% | 3 failures |
|
||||
| Minimal | 2 | 1 | 50% | 1 failure |
|
||||
|
||||
### Inter-node transport
|
||||
|
||||
Cluster communication uses **QUIC** (UDP port 4433 by default) with:
|
||||
- Auto-generated TLS certificates
|
||||
- Multiplexed streams with flow-control backpressure
|
||||
- Heartbeat-based failure detection (default: 5s interval, 30s timeout)
|
||||
|
||||
## 🖥️ Management UI
|
||||
|
||||
The web-based management UI is served on the UI port (default: `3000`). Log in with username `admin` and the configured admin password.
|
||||
@@ -147,7 +219,7 @@ Click "Add Key" to create new access credentials. They're immediately available
|
||||
|
||||
### Configuration
|
||||
|
||||
View your server's current configuration at a glance — ports, region, storage directory, and auth/CORS status.
|
||||
View your server's current configuration at a glance — ports, region, storage directory, auth/CORS status, cluster configuration, erasure coding settings, and storage drive paths. The config view also includes an environment variable reference guide for cluster setup.
|
||||
|
||||

|
||||
|
||||
@@ -279,7 +351,7 @@ pnpm run build:docker
|
||||
pnpm run start:docker
|
||||
```
|
||||
|
||||
### Docker Compose
|
||||
### Docker Compose (standalone)
|
||||
|
||||
```yaml
|
||||
services:
|
||||
@@ -299,45 +371,117 @@ volumes:
|
||||
objstdata:
|
||||
```
|
||||
|
||||
### Docker Compose (3-node cluster)
|
||||
|
||||
```yaml
|
||||
services:
|
||||
node1:
|
||||
image: code.foss.global/lossless.zone/objectstorage:latest
|
||||
ports:
|
||||
- "9001:9000"
|
||||
- "3001:3000"
|
||||
- "4433:4433/udp"
|
||||
volumes:
|
||||
- node1-drive1:/drive1
|
||||
- node1-drive2:/drive2
|
||||
environment:
|
||||
OBJST_CLUSTER_ENABLED: "true"
|
||||
OBJST_CLUSTER_NODE_ID: node-1
|
||||
OBJST_CLUSTER_QUIC_PORT: "4433"
|
||||
OBJST_CLUSTER_SEED_NODES: node2:4433,node3:4433
|
||||
OBJST_DRIVE_PATHS: /drive1,/drive2
|
||||
OBJST_ACCESS_KEY: myadminkey
|
||||
OBJST_SECRET_KEY: mysupersecret
|
||||
|
||||
node2:
|
||||
image: code.foss.global/lossless.zone/objectstorage:latest
|
||||
ports:
|
||||
- "9002:9000"
|
||||
- "3002:3000"
|
||||
- "4434:4433/udp"
|
||||
volumes:
|
||||
- node2-drive1:/drive1
|
||||
- node2-drive2:/drive2
|
||||
environment:
|
||||
OBJST_CLUSTER_ENABLED: "true"
|
||||
OBJST_CLUSTER_NODE_ID: node-2
|
||||
OBJST_CLUSTER_QUIC_PORT: "4433"
|
||||
OBJST_CLUSTER_SEED_NODES: node1:4433,node3:4433
|
||||
OBJST_DRIVE_PATHS: /drive1,/drive2
|
||||
OBJST_ACCESS_KEY: myadminkey
|
||||
OBJST_SECRET_KEY: mysupersecret
|
||||
|
||||
node3:
|
||||
image: code.foss.global/lossless.zone/objectstorage:latest
|
||||
ports:
|
||||
- "9003:9000"
|
||||
- "3003:3000"
|
||||
- "4435:4433/udp"
|
||||
volumes:
|
||||
- node3-drive1:/drive1
|
||||
- node3-drive2:/drive2
|
||||
environment:
|
||||
OBJST_CLUSTER_ENABLED: "true"
|
||||
OBJST_CLUSTER_NODE_ID: node-3
|
||||
OBJST_CLUSTER_QUIC_PORT: "4433"
|
||||
OBJST_CLUSTER_SEED_NODES: node1:4433,node2:4433
|
||||
OBJST_DRIVE_PATHS: /drive1,/drive2
|
||||
OBJST_ACCESS_KEY: myadminkey
|
||||
OBJST_SECRET_KEY: mysupersecret
|
||||
|
||||
volumes:
|
||||
node1-drive1:
|
||||
node1-drive2:
|
||||
node2-drive1:
|
||||
node2-drive2:
|
||||
node3-drive1:
|
||||
node3-drive2:
|
||||
```
|
||||
|
||||
### Image Details
|
||||
|
||||
- **Base**: `alpine:edge` with Deno runtime
|
||||
- **Architectures**: `linux/amd64`, `linux/arm64`
|
||||
- **Size**: ~150 MB compressed
|
||||
- **Init system**: `tini` for proper signal handling
|
||||
- **Exposed ports**: `9000` (S3), `3000` (UI)
|
||||
- **Exposed ports**: `9000` (S3), `3000` (UI), `4433` (QUIC cluster transport)
|
||||
- **Volume**: `/data` — all bucket data and config persisted here
|
||||
|
||||
## 🏗️ Architecture
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────┐
|
||||
│ objectstorage │
|
||||
│ │
|
||||
│ ┌──────────────┐ ┌───────────────────────┐ │
|
||||
│ │ Management │ │ Storage Engine │ │
|
||||
│ │ UI (port │ │ (smartstorage/ │ │
|
||||
│ │ 3000) │ │ ruststorage) │ │
|
||||
│ │ │ │ (port 9000) │ │
|
||||
│ │ dees-catalog │ │ • S3 API compat │ │
|
||||
│ │ SPA bundle │ │ • SigV4 auth │ │
|
||||
│ └──────┬───────┘ │ • Bucket policies │ │
|
||||
│ │ │ • Rust binary engine │ │
|
||||
│ ┌──────▼───────┐ └───────────────────────┘ │
|
||||
│ │ OpsServer │ │
|
||||
│ │ (TypedReq │──── AWS SDK S3 Client ────────│
|
||||
│ │ handlers) │ (manages own storage) │
|
||||
│ │ │ │
|
||||
│ │ • Admin auth │ │
|
||||
│ │ • CRUD APIs │ │
|
||||
│ │ • Policy mgr │ │
|
||||
│ └──────────────┘ │
|
||||
│ │
|
||||
│ ┌──────────────────────────────────────────────┐│
|
||||
│ │ /data (persistent volume) ││
|
||||
│ │ buckets/ .policies/ .objectstorage/ ││
|
||||
│ └──────────────────────────────────────────────┘│
|
||||
└─────────────────────────────────────────────────┘
|
||||
┌──────────────────────────────────────────────────────────────┐
|
||||
│ objectstorage │
|
||||
│ │
|
||||
│ ┌──────────────┐ ┌────────────────────────────────────┐ │
|
||||
│ │ Management │ │ Storage Engine (smartstorage) │ │
|
||||
│ │ UI (port │ │ Rust binary via ruststorage │ │
|
||||
│ │ 3000) │ │ (port 9000) │ │
|
||||
│ │ │ │ │ │
|
||||
│ │ dees-catalog │ │ • S3 API (path-style routing) │ │
|
||||
│ │ SPA bundle │ │ • SigV4 authentication │ │
|
||||
│ └──────┬───────┘ │ • Bucket policies │ │
|
||||
│ │ │ • Streaming I/O (zero-copy) │ │
|
||||
│ ┌──────▼───────┐ │ • Multipart upload support │ │
|
||||
│ │ OpsServer │ └─────────────┬──────────────────────┘ │
|
||||
│ │ (TypedReq │ │ │
|
||||
│ │ handlers) │── S3 Client ──────┘ │
|
||||
│ │ │ │
|
||||
│ │ • Admin auth │ ┌────────────────────────────────────┐ │
|
||||
│ │ • CRUD APIs │ │ Cluster Layer (optional) │ │
|
||||
│ │ • Policy mgr │ │ │ │
|
||||
│ └──────────────┘ │ • QUIC transport (port 4433) │ │
|
||||
│ │ • Reed-Solomon erasure coding │ │
|
||||
│ │ • Quorum writes / reads │ │
|
||||
│ │ • Heartbeat failure detection │ │
|
||||
│ │ • Self-healing shard repair │ │
|
||||
│ └────────────────────────────────────┘ │
|
||||
│ │
|
||||
│ ┌──────────────────────────────────────────────────────────┐ │
|
||||
│ │ Storage Drives │ │
|
||||
│ │ /drive1 /drive2 /drive3 ... (or single /data) │ │
|
||||
│ └──────────────────────────────────────────────────────────┘ │
|
||||
└──────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
### Tech Stack
|
||||
@@ -345,6 +489,8 @@ volumes:
|
||||
| Layer | Technology |
|
||||
|---|---|
|
||||
| **Storage Engine** | [`@push.rocks/smartstorage`](https://code.foss.global/push.rocks/smartstorage) (Rust binary via `ruststorage`) |
|
||||
| **Cluster Transport** | QUIC via `quinn` (auto-TLS, multiplexed streams, backpressure) |
|
||||
| **Erasure Coding** | Reed-Solomon (configurable data + parity shards) |
|
||||
| **Runtime** | Deno |
|
||||
| **Management API** | [`@api.global/typedrequest`](https://code.foss.global/api.global/typedrequest) + [`@api.global/typedserver`](https://code.foss.global/api.global/typedserver) |
|
||||
| **Auth** | JWT via [`@push.rocks/smartjwt`](https://code.foss.global/push.rocks/smartjwt), S3 SigV4 |
|
||||
@@ -367,13 +513,16 @@ pnpm run build
|
||||
# Type check backend
|
||||
deno check mod.ts
|
||||
|
||||
# Run tests
|
||||
pnpm test
|
||||
|
||||
# Run in development mode
|
||||
deno run --allow-all mod.ts server --ephemeral
|
||||
```
|
||||
|
||||
## License and Legal Information
|
||||
|
||||
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
|
||||
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license) file.
|
||||
|
||||
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@lossless.zone/objectstorage',
|
||||
version: '1.7.0',
|
||||
version: '1.8.1',
|
||||
description: 'object storage server with management UI powered by smartstorage'
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@lossless.zone/objectstorage',
|
||||
version: '1.7.0',
|
||||
version: '1.8.1',
|
||||
description: 'object storage server with management UI powered by smartstorage'
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import * as plugins from './plugins.js';
|
||||
import * as appstate from './appstate.js';
|
||||
import * as interfaces from '../ts_interfaces/index.js';
|
||||
import type { IS3DataProvider } from '@design.estate/dees-catalog';
|
||||
import * as plugins from './plugins.ts';
|
||||
import * as appstate from './appstate.ts';
|
||||
import * as interfaces from '../ts_interfaces/index.ts';
|
||||
import type { IStorageDataProvider } from '@design.estate/dees-catalog';
|
||||
|
||||
const getIdentity = (): interfaces.data.IIdentity => {
|
||||
return appstate.loginStatePart.getState().identity!;
|
||||
};
|
||||
|
||||
export const createDataProvider = (): IS3DataProvider => ({
|
||||
export const createDataProvider = (): IStorageDataProvider => ({
|
||||
async listObjects(bucket: string, prefix?: string, delimiter?: string) {
|
||||
const typedRequest = new plugins.domtools.plugins.typedrequest.TypedRequest<
|
||||
interfaces.requests.IReq_ListObjects
|
||||
|
||||
@@ -123,10 +123,10 @@ export class ObjstViewObjects extends DeesElement {
|
||||
${this.selectedBucket
|
||||
? html`
|
||||
<div class="browser-container">
|
||||
<dees-s3-browser
|
||||
<dees-storage-browser
|
||||
.dataProvider=${this.dataProvider}
|
||||
.bucketName=${this.selectedBucket}
|
||||
></dees-s3-browser>
|
||||
></dees-storage-browser>
|
||||
</div>
|
||||
`
|
||||
: html`
|
||||
|
||||
Reference in New Issue
Block a user