Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

455 B
Raw Blame
import { Project } from './project.entity'
import { ProjectViewCustomEventEntity } from './project-view-custom-event.entity'

export enum ProjectViewType {
  TRAFFIC = 'traffic',
  PERFORMANCE = 'performance',
}

export class ProjectViewEntity {
  id: string

  projectId: string

  name: string

  type: ProjectViewType

  filters: string | null

  createdAt: Date

  updatedAt: Date

  project: Project

  customEvents: ProjectViewCustomEventEntity[]
}