super-productivity/eslint-local-rules
Johannes Millan 58372626f1 refactor(sync): centralize entity configuration in single registry
Create central entity registry to eliminate scattered configuration
across 7+ files. This reduces technical debt and makes adding new
entity types easier.

Changes:
- Create entity-registry.ts with ENTITY_CONFIGS containing all 17
  entity types with their adapters, selectors, and dependencies
- Document storage patterns (adapter, singleton, map, array, virtual)
- Migrate lww-update.meta-reducer.ts to use registry
- Migrate dependency-resolver.service.ts to use registry
- Migrate conflict-resolution.service.ts to use registry (removes
  80-line switch statement)
- Migrate validate-operation-payload.ts to use getAllPayloadKeys()
- Add ESLint rule require-entity-registry to detect missing entity
  types and typos in entityType properties

Net reduction: 112 lines of code
2025-12-23 16:15:17 +01:00
..
rules refactor(sync): centralize entity configuration in single registry 2025-12-23 16:15:17 +01:00
index.js refactor(sync): centralize entity configuration in single registry 2025-12-23 16:15:17 +01:00