├── convex (re-export functions here to maintain a clean generated api structure)
│ ├── _generated
│ ├── convex.config.ts
│ ├── http.ts
│ ├── schema.ts (reexport from resources/schemas, etc)
│ └── tsconfig.json
├── package.json
├── resources (my defined tables, split into schema, queries, mutations files)
├── services (interacting with 3rd parties)
│ └── R2
│ └── index.ts
├── shared
│ ├── errors.ts (frontends use this file)
│ ├── types.ts
│ └── utils.ts (convex-helpers custom queries)
└── tsconfig.json
├── convex (re-export functions here to maintain a clean generated api structure)
│ ├── _generated
│ ├── convex.config.ts
│ ├── http.ts
│ ├── schema.ts (reexport from resources/schemas, etc)
│ └── tsconfig.json
├── package.json
├── resources (my defined tables, split into schema, queries, mutations files)
├── services (interacting with 3rd parties)
│ └── R2
│ └── index.ts
├── shared
│ ├── errors.ts (frontends use this file)
│ ├── types.ts
│ └── utils.ts (convex-helpers custom queries)
└── tsconfig.json