You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After making changes to component functions, run codegen with:
5
+
```bash
6
+
cd example/ && npm run dev -- --once
7
+
```
8
+
9
+
## Adding New Component Functions Pattern
10
+
11
+
When adding new functions to this Convex component:
12
+
13
+
1.**Client function** (`src/client/index.ts`):
14
+
- Add method to `PushNotifications` class that calls `ctx.runMutation(this.component.public.functionName, { ...args, logLevel: this.config.logLevel })`
15
+
- Follow existing patterns for argument types and return types
0 commit comments