From c9f6e5ae81382ddcf784f3bfced3591ab7eebb56 Mon Sep 17 00:00:00 2001 From: Zeeshan Akram <37098720+zeeshanakram3@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:16:56 +0500 Subject: [PATCH] mark 'VideoDeletedByModerator' & 'ChannelDeletedByModerator' events deprecated (#193) --- src/utils/events.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/events.ts b/src/utils/events.ts index 3db516538..3e1b6b172 100644 --- a/src/utils/events.ts +++ b/src/utils/events.ts @@ -78,11 +78,13 @@ export const eventConstructors = { 'Content.VideoCreated': ContentVideoCreatedEvent, 'Content.VideoUpdated': ContentVideoUpdatedEvent, 'Content.VideoDeleted': ContentVideoDeletedEvent, + // Deprecated in runtime spec version 2002 (nara), but still required for Orion processing from genesis block 'Content.VideoDeletedByModerator': ContentVideoDeletedByModeratorEvent, 'Content.VideoVisibilitySetByModerator': ContentVideoVisibilitySetByModeratorEvent, 'Content.ChannelCreated': ContentChannelCreatedEvent, 'Content.ChannelUpdated': ContentChannelUpdatedEvent, 'Content.ChannelDeleted': ContentChannelDeletedEvent, + // Deprecated in runtime spec version 2002 (nara), but still required for Orion processing from genesis block 'Content.ChannelDeletedByModerator': ContentChannelDeletedByModeratorEvent, 'Content.ChannelVisibilitySetByModerator': ContentChannelVisibilitySetByModeratorEvent, 'Content.ChannelOwnerRemarked': ContentChannelOwnerRemarkedEvent,