const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();

async function main() {
    const conns = await prisma.calendarConnection.findMany({ where: { provider: 'synology' } });
    console.log(JSON.stringify(conns, null, 2));
}

main().catch(console.error).finally(() => prisma.$disconnect());
