feat(marketing-pages): subscribe to auth.user.signed-up
Generated handler + Payload event-task via gen event consume,
threaded through symbols / both binders / cms re-export at the
configured anchors. bus.subscribe wires the in-memory delivery in
dev-seed; the __events.auth.user.signed-up.marketing-pages Payload
task closes the production-bus loop.
Also fixes two generator-level issues found during Phase 8:
- Drop publisher prompt's `when` clause so --args can supply the
4th positional argument (Plop limitation: --args cannot bypass
conditional prompts). Validate runs only in consume mode.
- Switch event-task.ts.hbs from TaskConfig<"slug-string"> to
TaskConfig<{ input: ...; output: object }> since runtime-generated
event slugs are not keys of TypedJobs['tasks'].
This commit is contained in:
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -775,6 +775,9 @@ importers:
|
||||
|
||||
packages/marketing-pages:
|
||||
dependencies:
|
||||
'@repo/auth':
|
||||
specifier: workspace:*
|
||||
version: link:../auth
|
||||
'@repo/core-events':
|
||||
specifier: workspace:*
|
||||
version: link:../core-events
|
||||
|
||||
Reference in New Issue
Block a user