Files
formbricks/apps/web/lib/populate.ts
Matti Nannt ef4e5ed17a Fix Dev Environment Errors & Docker Deployment (#279)
* fix prisma errors
* add new database build process
* fix js widget needing @prisma/client
2023-05-09 20:12:48 +02:00

19 lines
529 B
TypeScript

import { EventType } from "@formbricks/database/generated";
export const populateEnvironment = {
eventClasses: {
create: [
{
name: "New Session",
description: "Gets fired when a new session is created",
type: EventType.automatic,
},
],
},
attributeClasses: {
create: [
{ name: "userId", description: "The internal ID of the person", type: EventType.automatic },
{ name: "email", description: "The email of the person", type: EventType.automatic },
],
},
};