MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / event

Function event

packages/db/src/services/chart-sql.test.ts:34–40  ·  view source on GitHub ↗
(overrides: Partial<IChartEvent> = {})

Source from the content-addressed store, hash-verified

32const END = '2026-05-15 00:00:00';
33
34const event = (overrides: Partial<IChartEvent> = {}): IChartEvent => ({
35 id: 'A',
36 name: 'screen_view',
37 segment: 'event',
38 filters: [],
39 ...overrides,
40});
41
42const breakdown = (name: string): IChartBreakdown => ({ id: name, name });
43

Callers 1

chart-sql.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected