(session: Session, path: string)
| 10 | : null; |
| 11 | |
| 12 | export const capturePath = (session: Session, path: string) => { |
| 13 | if (!session.user || !posthogServerClient) return; |
| 14 | posthogServerClient?.capture({ distinctId: session.user.id, event: path }); |
| 15 | }; |
| 16 | |
| 17 | export const captureFineTuneTrainingFinished = ( |
| 18 | projectId: string, |