New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@bimetal/forms-data

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bimetal/forms-data

Forms-domain event-sourcing: Form-as-Schema-Aggregate (a form DEFINITION — ordered fields, types, labels, per-kind validation rules — is ONE aggregate). Filling values is NOT a domain fact; the schema's validateField/validateForm are the single validation

latest
npmnpm
Version
0.42.0
Version published
Weekly downloads
3.5K
-24.5%
Maintainers
1
Weekly downloads
 
Created
Source

@bimetal/forms-data

Forms-domain event sourcing — Form-as-Schema-Aggregate: a form definition (ordered fields, kinds, labels, per-kind validation rules) is ONE aggregate.

Filling a form is deliberately not a domain fact. Values are transient and live in @bimetal/forms-headless; only the schema is event-sourced. The schema's validateField/validateForm are the single validation source, shared by the renderer so a binding can never invent its own rules.

Installation

npm install @bimetal/forms-data

What's Inside

  • Commands — AddField, UpdateField, RemoveField, MoveField, …
  • formAggregate — invariants: field-key uniqueness, no dangling visibleWhen/requiredWhen references after a removal.
  • formProjection / createFormStore — the read model and its facade.

Built on @bimetal/event-sourcing.

Keywords

forms

FAQs

Package last updated on 30 Oct 2026

Related posts