mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-27 03:09:10 -06:00
* fix prisma errors * add new database build process * fix js widget needing @prisma/client
19 lines
529 B
TypeScript
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 },
|
|
],
|
|
},
|
|
};
|