mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
* created new create-display and updated display endpoints with zod, db service-layer, and next.js route handlers * changed the api URL and changed few type definations * new getTeamDetails service is created which will be further used by display and response endpoints * changed the prisma call with getTeamDetails service * created display services and zod validation schema * removed envId from func parameter * fix build error by adding a type annotation * Moved the return inside try block * Removed comments * changed the update display service name to markDisplayResponded * Update route.ts * reference person type in display, check response code first then transform to json * add createdAt & updatedAt to person when query display * pnpm format * small optimizations --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>