Skip to content

[codex] Add repeatable manifest node contract#79

Merged
artiphishle merged 1 commit into
mainfrom
issue-06-repeat-node-contracts
Jun 18, 2026
Merged

[codex] Add repeatable manifest node contract#79
artiphishle merged 1 commit into
mainfrom
issue-06-repeat-node-contracts

Conversation

@artiphishle

Copy link
Copy Markdown
Contributor

What changed

  • added a generic UiNodeRepeatSpec contract with source, itemAlias, and keyPath
  • extended UiNode with optional repeat support
  • added a serialization test covering a repeated container, item-context prop bindings, and generic navigate event bindings
  • added a patch changeset for @ankhorage/contracts

Why

Issue 06 needs a manifest-level primitive for repeated child rendering so starter templates can bind live collections without introducing product- or scanner-specific contract types.

Impact

  • contracts can now describe repeated direct-child rendering from existing binding sources
  • repeated item context can stay generic via context.<itemAlias>.*
  • existing dataBindings.events semantics remain unchanged

Validation

  • bun test src/bindings.test.ts src/contracts.test.ts
  • bun run lint:fix

@artiphishle artiphishle self-assigned this Jun 18, 2026
@artiphishle artiphishle marked this pull request as ready for review June 18, 2026 00:38
@artiphishle artiphishle merged commit ece9644 into main Jun 18, 2026
1 check passed
@artiphishle artiphishle deleted the issue-06-repeat-node-contracts branch June 18, 2026 00:40
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