Skip to content

Commit 4c601da

Browse files
committed
feat: update Hono server adapter and MSW plugin documentation with enhanced feature descriptions and unified runtime details
1 parent 9139b1b commit 4c601da

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

content/docs/references/packages.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ ObjectStack is distributed as a monorepo containing **10 packages** organized in
301301
**Purpose:** Production HTTP server adapter using the Hono framework.
302302

303303
**Key Features:**
304+
- **Standard Runtime**: Uses the unified `HttpDispatcher` and standard Hono adapter via `@objectstack/hono`
305+
- **Full Protocol Support**: Automatically provides all ObjectStack Runtime endpoints (Auth, Data, Metadata, Storage)
304306
- **Fast HTTP Server**: Uses Hono framework for high performance
305307
- **Port Configuration**: Configurable port with conflict detection
306308
- **Static File Serving**: Built-in static file support
307-
- **REST Endpoint Auto-registration**: Configurable via restConfig
308-
- **CRUD Endpoint Generation**: Automatic standard endpoint creation
309309
- **API Registry Integration**: Centralized endpoint management
310310
- **Metadata Caching**: ETag-based caching for metadata endpoints
311311
- **Edge Runtime Compatible**: Can run on edge environments
@@ -324,13 +324,14 @@ ObjectStack is distributed as a monorepo containing **10 packages** organized in
324324

325325
**Description:** Mock Service Worker (MSW) Plugin for ObjectStack Testing
326326

327-
**Purpose:** Testing plugin for mocking ObjectStack APIs in browser environments.
327+
**Purpose:** Testing plugin that mocks the entire ObjectStack backend in browser/node using the unified Runtime logic.
328328

329329
**Key Features:**
330-
- **Browser Testing**: HTTP request mocking in browser environment
330+
- **Unified Dispatcher**: Uses `@objectstack/runtime`'s `HttpDispatcher` to behave exactly like the real server
331+
- **Full Protocol Mocking**: Mocks Auth, Metadata, Data, Storage, Analytics, and Automation endpoints
332+
- **Browser Testing**: High-fidelity backend simulation in browser environments
331333
- **Custom Handlers**: Support for custom request handlers
332334
- **Request Logging**: Built-in request/response logging
333-
- **ObjectStackServer Mock**: Integrates with ObjectStackServer for testing
334335
- **Service Worker Based**: Uses MSW's service worker approach
335336

336337
**Use Cases:**

0 commit comments

Comments
 (0)