djbalinD
Convex Community11mo ago
3 replies
djbalin

Different functions and root folders?

Is it possible to specify a root folder (e.g. where
schema.ts
and convex.config.ts are) as well as a different functions folder (i.e. where functions on the api object will be found).

Am basically looking to achieve this folder structure:

convex/
  functions/
    video.ts
    channel.ts
  schema.ts
  convex.config.ts
  http.ts
  ... other root-level stuff


but I want to specify functions: convex/functions such that our api object stays like api.video.fn. As far as I can tell from the docs you can only specify functions in convex.json
Was this page helpful?