Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Update Zero docs with server actions and per-route middleware#8

Merged
vitbokisch merged 1 commit into
mainfrom
docs/update-zero-docs
Mar 19, 2026
Merged

Update Zero docs with server actions and per-route middleware#8
vitbokisch merged 1 commit into
mainfrom
docs/update-zero-docs

Conversation

@vitbokisch
Copy link
Copy Markdown
Contributor

Summary

  • Add Server Actions section documenting defineAction, ActionContext, and createActionMiddleware
  • Add Per-Route Middleware section documenting route-level middleware exports and virtual:zero/route-middleware
  • Fix scaffolding command: bun create zerobun create @pyreon/zero
  • Add routeMiddleware to createServer example
  • Add ./actions to subpath exports table
  • Add new type exports: ActionContext, Action, ActionHandler, RouteMiddlewareEntry

🤖 Generated with Claude Code

- Add Server Actions section (defineAction, ActionContext, createActionMiddleware)
- Add Per-Route Middleware section (middleware export, virtual:zero/route-middleware)
- Fix create command: bun create zero → bun create @pyreon/zero
- Add routeMiddleware to createServer example
- Add ./actions subpath export to tables
- Add new type exports (ActionContext, Action, ActionHandler, RouteMiddlewareEntry)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vitbokisch vitbokisch merged commit f1473fa into main Mar 19, 2026
6 checks passed
@vitbokisch vitbokisch deleted the docs/update-zero-docs branch March 19, 2026 12:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant