Prisma, Authorization, Typescript, Web Development.
be able to create a resource const res = await emilyDb.resource.create({ data: { name: 'resource1' } }); console.log('Resource created by Emily:', inspect(res)); // Adam should be able to read the resource const resByAdam = await adamDb.resource.findUnique({ where: { id: res.id } });