Files
calendar/packages/features/users/users.repository.interface.ts
T
Syed Ali ShahbazandGitHub 4115eaacbd chore: Add initial webhook wiring (TRPC handlers) to the new architecture (#27170)
* --init

* clean up

* unnecessary comment

* remove comment

* fix factory resolver

* Add active filter to webhook query
2026-01-23 16:50:34 +04:00

12 lines
348 B
TypeScript

import type { User } from "@calcom/prisma/client";
export interface IUsersRepository {
updateLastActiveAt(userId: number): Promise<User>;
/**
* @param userId - The user ID to query
* @returns User with team memberships, or null if user not found
*/
findUserTeams(userId: number): Promise<{ teams: { teamId: number }[] } | null>;
}