Skip to main content
This page contains a proposed convex/schema.ts for MemberPulse V3. It is designed to satisfy:
  • normalization (tables for unbounded collections)
  • tenant scoping (clientId on tenant data)
  • practical indexes for list screens
File location in repo: convex/schema.ts (this doc page is under integrations/backend/convex/schema)

Features

schema.ts

Acceptance Criteria

Frontend
  • Developer-facing configuration and usage is documented and internally consistent.
Backend / API
  • Convex implementation matches the rules and contracts described on this page.
Permissions
  • Tenant scoping and access controls are enforced as described.
Business Rules
  • Domain rules/invariants are enforced as described.
Error Handling
  • Access violations and validation failures produce deterministic errors.