Skip to content

Commit

Permalink
mark 'VideoDeletedByModerator' & 'ChannelDeletedByModerator' events d…
Browse files Browse the repository at this point in the history
…eprecated (#193)
  • Loading branch information
zeeshanakram3 authored Sep 28, 2023
1 parent 5ce1be7 commit c9f6e5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c9f6e5a

Please sign in to comment.