Create seedUserDefaults() helper in src/lib/db/seed-user-defaults.ts that inserts default annotation_types (break_up, break_down, line) and default span_label_types (bull_flag, bear_flag, etc.) scoped to a given user_id. Call it from POST /api/auth/register after user insert and from src/auth.ts Google signIn callback after new Google user creation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| changes | ||
| specs | ||
| config.yaml | ||