trypost/app/Http
Paulo Castellano efe49c34de Make AspectRatio the single source for crop math; fill test gaps
Review follow-ups:
- AspectRatio::toFloat() now owns the crop ratio math; CropsImageForAspectRatio
  delegates to it so the enum is the single source of truth for both validation
  and cropping (no more parallel literal map).
- API update controller now reloads postPlatforms before returning, so the
  update response reflects the persisted platform meta/content_type (was stale).
- Tests: AspectRatio enum unit test; API valid-update read-back + 'original'
  on create; MCP response read-back + valid update.
2026-06-10 15:52:41 -03:00
..
Controllers Make AspectRatio the single source for crop math; fill test gaps 2026-06-10 15:52:41 -03:00
Middleware feat(billing): make trial card requirement configurable 2026-05-21 10:02:38 -03:00
Requests Bring post platform meta (aspect ratio) to parity across API and MCP 2026-06-10 15:36:47 -03:00
Resources Bring post platform meta (aspect ratio) to parity across API and MCP 2026-06-10 15:36:47 -03:00