We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e1d89 commit 009a9b4Copy full SHA for 009a9b4
packages/logging/src/analytics-helpers.ts
@@ -2,9 +2,9 @@ import fs from 'fs';
2
import path from 'path';
3
import type { IdentifyParams as SegmentIdentity } from '@segment/analytics-node';
4
5
-export type MongoshAnalyticsIdentity = Omit<
+export type MongoshAnalyticsIdentity = Pick<
6
SegmentIdentity,
7
- 'context' | 'traits' | 'timestamp'
+ 'userId' | 'anonymousId'
8
>;
9
10
export type AnalyticsIdentifyMessage = MongoshAnalyticsIdentity & {
0 commit comments