Get the verified registration for an email address, or null if that email is not verified.
const verifiedRegistration = await registrationRepo.getVerifiedRegistration(
'dalya@example.com'
)
Create an unverified registration.
await registrationRepo.register({
name: 'Chloe Smith',
email: 'chloe@example.com',
language: 'EN',
country: 'GB',
affiliation: 'Open Lab',
userData: { marketingConsent: false },
})
Generated using TypeDoc
RegistrationRepository is a repository that provides SQL queries for registration.