Build Transactions

Build a feature's ecs transaction-database — atomic mutations over the store.

Adobe 48336ab 587 B Updated 142 repo stars

File contents

Create ecs/transaction-database/: transaction-database.ts (extends IndexDatabase, adds transactions from ./transactions/index.js) plus a transactions/ folder — one mutation per file + barrel. Type the store param CoreDatabase.Store (entities/resources/archetypes) or IndexDatabase.Store (reads an index).

Comes after index-database (or core-database if no indexes).

The how is in the auto-loading features/ecs/transactions.md rule.

adobe/data/tree/main/.agents/skills/adobe-data-ai/build-transactions commit 48336ab2b0

Frequently asked questions

npx skillmds@latest add adobe/build-transactions-2