[CORL-1077] Rudderstack Integration (#2987)

* feat: added rudderstack support with events

- Added events for
  - Comment Moderated
  - Comment Created
  - Story Created
  - Comment Reaction Created
  - User Flagged Comment

* fix: added logging to event tracking
This commit is contained in:
Wyatt Johnson
2020-06-11 22:10:52 +00:00
committed by GitHub
parent 2f03b788a4
commit 21cd47f6ed
23 changed files with 693 additions and 193 deletions
@@ -10,6 +10,7 @@ import {
export interface CommentReplyCreatedInput extends SubscriptionPayload {
ancestorIDs: string[];
commentID: string;
storyID: string;
}
export type CommentReplyCreatedSubscription = SubscriptionType<
@@ -16,6 +16,7 @@ export interface CommentStatusUpdatedInput extends SubscriptionPayload {
moderatorID: string | null;
commentID: string;
commentRevisionID: string;
storyID: string;
}
export type CommentStatusUpdatedSubscription = SubscriptionType<