boundary.sx was mixing three concerns in one file:
- Core SX I/O primitives (the language contract)
- Deployment-specific layout I/O (app architecture)
- Per-service page helpers (fully app-specific)
Now split into three tiers:
1. shared/sx/ref/boundary.sx — core I/O only (frag, query, current-user, etc.)
2. shared/sx/ref/boundary-app.sx — deployment layout contexts (*-header-ctx, *-ctx)
3. {service}/sx/boundary.sx — per-service page helpers
The boundary parser loads all three tiers automatically. Validation error
messages now point to the correct file for each tier.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
464 B
Plaintext
22 lines
464 B
Plaintext
;; Market service — page helper declarations.
|
|
|
|
(define-page-helper "all-markets-data"
|
|
:params (&key)
|
|
:returns "dict"
|
|
:service "market")
|
|
|
|
(define-page-helper "page-markets-data"
|
|
:params (&key slug)
|
|
:returns "dict"
|
|
:service "market")
|
|
|
|
(define-page-helper "page-admin-data"
|
|
:params (&key slug)
|
|
:returns "dict"
|
|
:service "market")
|
|
|
|
(define-page-helper "market-home-data"
|
|
:params (&key page-slug market-slug)
|
|
:returns "dict"
|
|
:service "market")
|