import { Injectable } from '@nestjs/common'; export interface WaitlistEntry { id: string; nickname: string; email: string; devices: string[]; interests: string[]; painpoint: string; willingBeta: boolean; createdAt: Date; } @Injectable() export class WaitlistRepository { private entries: WaitlistEntry[] = []; async findAll(): Promise { return this.entries; } async create(entry: WaitlistEntry): Promise { this.entries.push(entry); return entry; } }