* lock users on signup if their email is in blacklist * add to turbo env list * prevent locked user or blocked email domain from using API * Refactored to only run 1 query to find the user * Fixing tests * WIP * WIP * WIP * Discard changes to turbo.json * Fixed tests * Update isLockedOrBlocked.test.ts * Update isAdmin.integration-test.ts * Update tsconfig.json * chore: rename to watchlist Signed-off-by: Omar López <[email protected]> --------- Signed-off-by: Omar López <[email protected]> Co-authored-by: sean-brydon <[email protected]> Co-authored-by: Keith Williams <[email protected]> Co-authored-by: sean-brydon <[email protected]>
6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
import type { Watchlist } from "./watchlist.model";
|
|
|
|
export interface IWatchlistRepository {
|
|
getEmailInWatchlist(email: string): Promise<Watchlist | null>;
|
|
}
|