AjayA
Convex Community4mo ago
2 replies
Ajay

Polar components not found

🪲Bug ReportAdvice
Hi,

I've recently refactored my repo. Functions are now organized like this:

packages/convex
├── _generated
   ├── api.d.ts
   ├── api.js
   ├── dataModel.d.ts
   ├── server.d.ts
   └── server.js
├── analytics
   ├── mutations.ts
   └── queries.ts
├── auth.config.ts
├── convex.config.ts
├── http.ts
├── package.json
├── payments
   ├── actions.ts
   ├── mutations.ts
   ├── queries.ts
   └── utils.ts
├── polar.ts
├── preferences
   ├── mutations.ts
   └── queries.ts
├── schema.ts
├── tsconfig.json
└── users
    ├── mutations.ts
    └── queries.ts


These are successfully represented on Convex. Most are typed. Problem is, for
polar.ts
I can't seem to see these functions in a type safe way in my web application. In particular I'm looking for Registered functions like
listAllProducts()


Previously when there were no folders and there was a flat structure I was able to see
listAllProducts()
any ideas what happened here?
Screenshot_2025-11-30_at_15.50.33.png
Screenshot_2025-11-30_at_15.50.55.png
Was this page helpful?