mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-18 12:30:04 -06:00
* use new services for server-side data retrieval in survey responses & summary * fix build errors * add notes to response schema * add response notes * fix type conflicts * add tag functionality * run pnpm format * fix tag state not updating correctly
29 lines
826 B
TypeScript
29 lines
826 B
TypeScript
import { EventType } from "@prisma/client";
|
|
export const populateEnvironment = {
|
|
eventClasses: {
|
|
create: [
|
|
{
|
|
name: "New Session",
|
|
description: "Gets fired when a new session is created",
|
|
type: EventType.automatic,
|
|
},
|
|
{
|
|
name: "Exit Intent (Desktop)",
|
|
description: "A user on Desktop leaves the website with the cursor.",
|
|
type: EventType.automatic,
|
|
},
|
|
{
|
|
name: "50% Scroll",
|
|
description: "A user scrolled 50% of the current page",
|
|
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 },
|
|
],
|
|
},
|
|
};
|