The petProfileSummary mock's sql tag returned a plain string instead of
a proper Drizzle SQL object, so count(*) queries via .as("count") failed.
Also added Symbol.asyncIterator support for for-await-of patterns used
in the pets router.
Fixes: GRO-1917
Co-Authored-By: Paperclip <noreply@paperclip.ing>
TS2749: enumValues is a value, not a type — wrap with typeof before
indexing.
Also extends Lint & Typecheck CI job to run pnpm --filter @groombook/db
typecheck so this class of error is caught at lint time rather than
Docker build time.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>