import { User, ApiKey, Team, SelectedCalendar } from "@calcom/prisma/client"; // Base response, used for all responses export type BaseResponse = { message?: string; error?: Error; }; // User export type UserResponse = BaseResponse & { data?: Partial; }; export type UsersResponse = BaseResponse & { data?: Partial[]; }; // API Key export type ApiKeyResponse = BaseResponse & { data?: Partial; }; export type ApiKeysResponse = BaseResponse & { data?: Partial[]; }; // API Key export type TeamResponse = BaseResponse & { data?: Partial; }; export type TeamsResponse = BaseResponse & { data?: Partial[]; }; // API Key export type SelectedCalendarResponse = BaseResponse & { data?: Partial; }; export type SelectedCalendarsResponse = BaseResponse & { data?: Partial[]; };