MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / identify

Method identify

packages/cli/src/telemetry/telemetry.ts:24–41  ·  view source on GitHub ↗
(organizationId: string, projectId: string, userId?: string)

Source from the content-addressed store, hash-verified

22 }
23
24 identify(organizationId: string, projectId: string, userId?: string) {
25 if (userId) {
26 this.#client.alias({
27 distinctId: userId,
28 alias: this.#sessionId,
29 });
30 }
31
32 this.#client.groupIdentify({
33 groupType: "organization",
34 groupKey: organizationId,
35 });
36
37 this.#client.groupIdentify({
38 groupType: "project",
39 groupKey: projectId,
40 });
41 }
42
43 init = {
44 started: (options: InitCommandOptions) => {

Callers 7

initCommandFunction · 0.80
startIndexingFunction · 0.80
loaderFunction · 0.80
postAuthenticationFunction · 0.80
TelemetryClass · 0.80
usePostHogFunction · 0.80
useHighlightFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected