MCPcopy Index your code
hub / github.com/21st-dev/1code / getCommonProperties

Function getCommonProperties

src/renderer/lib/analytics.ts:40–47  ·  view source on GitHub ↗

* Get common properties for all events

()

Source from the content-addressed store, hash-verified

38 * Get common properties for all events
39 */
40function getCommonProperties() {
41 return {
42 app_version: appVersion,
43 platform: appPlatform,
44 arch: appArch,
45 source: "desktop_renderer",
46 }
47}
48
49/**
50 * Initialize PostHog for renderer process

Callers 2

captureFunction · 0.70
identifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected