6 Commits
Author SHA1 Message Date
chrnx bff8778112 refactor(mesh): @Provider's options no longer advertise export
The framework's public type offered an option whose only behaviour is to
throw at boot. Removing the field from the options type means a TypeScript
caller gets a compile error at the decorator, where the mistake is, instead
of a boot error a deploy away.

The runtime throw in collectProviders stays as the JavaScript backstop, so
ProviderMeta keeps the field and the decorator still records it through a
cast — a JS caller reaches the error naming the provider and its replacement
rather than having the option silently ignored.

The `as any` in the boot-throw test is now genuinely load-bearing, since no
TypeScript caller can write that decorator at all, and says so.

test/metadata.test.ts asserted the flag was stored for a provider. That half
described the option working, which is the message being removed, and the
boot throw it fed is already covered end to end in test/mesh/failure.test.ts.
The default is a different claim and stays: collectProviders throws on
anything truthy, so every plain provider recording `false` is what keeps
ordinary apps booting.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-12 15:40:25 -05:00
chrnx 63be0ef8f7 feat(router): expose HEAD and OPTIONS decorators
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:40:02 -05:00
chrnx e1a2c3253b feat(views): @Html decorator and metadata
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-10 14:31:12 -05:00
chrnx ec1214e9e5 feat(mesh): export flag on providers, steps, and routes
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 20:25:53 -05:00
chrnx 732e1eb636 feat: Sse/Ws/Stream/Post route decorators with transport metadata
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-06-27 15:17:08 -05:00
chrnx e7187eb673 feat: decorators and reflect-metadata readers for providers/steps/modules/routes 2026-06-26 00:42:18 -05:00