import { makeService } from "@ethicdevs/react-monolith";
import type { AuthServiceAPI, AuthServiceDeps } from "./types";
import { default as makeComparePasswordHashes } from "./comparePasswordHashes";
import { default as makeIsExistingUsername } from "./isExistingUsername";
export const makeAuthService = makeService<AuthServiceAPI, AuthServiceDeps>({
comparePasswordHashes: makeComparePasswordHashes,
isExistingUsername: makeIsExistingUsername,
isExistingUserUid: () => () => undefined,
findUserByUid: () => () => undefined,
findUserByUsername: () => () => undefined,
sendUserEmailAddressV8nEmail: () => () => undefined,
validateUserEmailAddress: () => () => Promise.resolve(undefined),
});