Comprehensive guide for building Convex backends with TypeScript. Covers function syntax, validators, schemas, queries, mutations, actions, scheduling, and file storage.
| Function Syntax | CRITICAL | New function syntax with args/returns/handler | | Validators | CRITICAL | Type-safe argument and return validation | | Schema Design | HIGH | Table definitions, indexes, system fields | | Query Patterns | HIGH | Efficient data fetching with indexes | | Mutation Patterns | MEDIUM | Database writes, patch vs replace |
| Action Patterns | MEDIUM | External API calls, Node.js runtime | | Scheduling | MEDIUM | Crons and delayed function execution | | File Storage | LOW | Blob storage and metadata |
Linee guida per lo sviluppo del backend convesso. Da utilizzare quando si scrivono funzioni, schemi, query, mutazioni, azioni Convex o qualsiasi codice backend in un progetto Convex. Trigger su attività che coinvolgono operazioni di database Convex, abbonamenti in tempo reale, archiviazione di file o funzioni serverless. Fonte: cloudai-x/claude-workflow-v2.