Skip to content

feat: persistent expressions - #20

Merged
thedevyashsaini merged 3 commits into
mainfrom
feature/persistent-expressions
May 12, 2026
Merged

feat: persistent expressions#20
thedevyashsaini merged 3 commits into
mainfrom
feature/persistent-expressions

Conversation

@thedevyashsaini

Copy link
Copy Markdown
Member

No description provided.

- Add ExprRef type to PriceExpr union (kind: exprRef)
- Add standalone expr() builder function
- Add biller.expr() method with type-safe overloads (persisted ref + passthrough)
- Update Scrawn class to accept TExprs generic parameter
- Update createScrawn() with const inference for expressions array
- Add exprRef case to serialization, validation, resolveTokens
- Add exprRef to ALL_EXPR_KINDS in event schemas
…upport

- Rename scrawn/tags.ts to scrawn/pricerefs.ts
- Add EXPRESSIONS array + ScrawnExpr type to pricerefs.ts
- Update biller.ts to import from ./pricerefs.ts and pass expressions to createScrawn
Signed-off-by: Devyash Saini <dysaini2004@gmail.com>
@thedevyashsaini
thedevyashsaini merged commit cd6b920 into main May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant