Skip to content

Tags: keajs/kea-typegen

Tags

v3.8.3

Toggle v3.8.3's commit message
3.8.3

v3.8.2

Toggle v3.8.2's commit message

Verified

This commit was signed with the committer’s verified signature.
mariusandra Marius Andra
feat: friendlier inline marker, sort inline values/actions by source …

…logic

- The inline block marker is now "Generated by kea-typegen. Update if
  you're an agent, ignore if you're human." Old blocks with the previous
  marker are still recognized (detection matches on 'kea-typegen') and get
  upgraded on the next write.
- Inline Values and Actions interfaces are sorted: connected entries first,
  grouped by source logic (groups alphabetical, entries alphabetical within
  each group), then the logic's own entries alphabetically.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

v3.8.1

Toggle v3.8.1's commit message

Verified

This commit was signed with the committer’s verified signature.
mariusandra Marius Andra
fix: connected actions from MakeLogicType logics, source comments, fo…

…rmatter-proof blocks

- visitConnect: resolve connected actions semantically (via
  signatureToSignatureDeclaration) when the other logic's actionCreators is
  not a walkable type literal - e.g. a MakeLogicType-typed inline logic,
  where it is a mapped type. Previously those actions were silently dropped.
- Inline blocks mark connected values/actions with their source logic, e.g.
  `user: UserType | null // userLogic`.
- The kea-typegen marker comment now sits above every generated interface
  (Values, Actions, Props), not just the first statement of the block.
- Inline block comparison ignores formatting (semicolons, trailing commas,
  quotes, whitespace, leading union pipes), so a formatter like oxfmt
  reflowing the block no longer causes endless rewrites.
- Insert inline blocks above the logic's leading comments, keeping doc
  comments attached to the kea() call.
- getParameterDeclaration no longer calls .getText() on synthetic parameter
  names.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

v3.8.0

Toggle v3.8.0's commit message

Verified

This commit was signed with the committer’s verified signature.
mariusandra Marius Andra
3.8.0

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

v3.7.0

Toggle v3.7.0's commit message
3.7.0

v3.6.6

Toggle v3.6.6's commit message
3.6.6

v3.6.5

Toggle v3.6.5's commit message
3.6.5

v3.6.4

Toggle v3.6.4's commit message
3.6.4

v3.6.3

Toggle v3.6.3's commit message
3.6.3

v3.6.2

Toggle v3.6.2's commit message
3.6.2