dryvPacks

@dryv/typeormv0.6.0

TypeORM entities with typed columns, relations, checks and indexes.

TypeORM EntitiesPersistenceInjectPublished 7 days ago2 downloads

dryv pack add @dryv/typeorm
981 BRaw ↗

Changelog

0.6.0

  • The entity integrity spec writes to a new test output slot.

0.5.0

  • Output moves under schema/: <group>/schema/entities/ and common/schema/entities/.

0.4.0

  • Generate common/entities/testing/entities.integrity.spec.ts (Vitest + pg-mem): schema synchronization plus per-entity table, column, key, index and NOT NULL checks against the contract.

0.3.0

  • Require property.enum.types and property.types (for example from inject/types/typescript) and stop generating enums; columns use the shared named types (date-like columns stay Date).

0.2.0

  • Name relation properties after their foreign-key field (actingAffiliationId → actingAffiliation), so two keys to the same entity no longer collide.
  • Place enums per IR group (<group>/entities/enums/) and remove the aggregate common/entities/index.ts barrel.

0.1.0

  • First release in dryvcode/packs, copied from the Dryv repository's example typeorm pack.