Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
14 lines
279 B
TypeScript
14 lines
279 B
TypeScript
export interface SendEventProps {
|
|
name: string;
|
|
email: string;
|
|
id: string;
|
|
eventName: string;
|
|
externalId?: string;
|
|
}
|
|
|
|
export interface AnalyticsService {
|
|
sendEvent(props: SendEventProps): Promise<void>;
|
|
}
|
|
|
|
export type AnalyticsServiceClass = Class<AnalyticsService>;
|