Domain layer — input validation for POST /api/analyze.
Validates that the supplied URL is a Google Drive share link before any
adapter touches it. Defence-in-depth: extractFileId in the Drive adapter
does a deeper structural check, but this Zod refinement closes the gap
between the declared validation boundary and the actual constraint.
Domain layer — input validation for
POST /api/analyze.Validates that the supplied URL is a Google Drive share link before any adapter touches it. Defence-in-depth: extractFileId in the Drive adapter does a deeper structural check, but this Zod refinement closes the gap between the declared validation boundary and the actual constraint.