From 79d5caf994edd87ad721994490f10677be277497 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Nov 2017 15:52:26 +0100 Subject: Fix lint --- shared/models/activitypub/activity.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'shared/models') diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts index 2e6feeb16..255cdd43c 100644 --- a/shared/models/activitypub/activity.ts +++ b/shared/models/activitypub/activity.ts @@ -2,11 +2,11 @@ import { VideoChannelObject, VideoTorrentObject } from './objects' import { ActivityPubSignature } from './activitypub-signature' import { VideoAbuseObject } from './objects/video-abuse-object' -export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate | ActivityFlag | +export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate | ActivityDelete | ActivityFollow | ActivityAccept | ActivityAnnounce // Flag -> report abuse -export type ActivityType = 'Create' | 'Add' | 'Update' | 'Flag' | 'Delete' | 'Follow' | 'Accept' | 'Announce' +export type ActivityType = 'Create' | 'Add' | 'Update' | 'Delete' | 'Follow' | 'Accept' | 'Announce' export interface BaseActivity { '@context'?: any[] @@ -34,11 +34,6 @@ export interface ActivityUpdate extends BaseActivity { object: VideoTorrentObject | VideoChannelObject } -export interface ActivityFlag extends BaseActivity { - type: 'Flag' - object: string -} - export interface ActivityDelete extends BaseActivity { type: 'Delete' } -- cgit v1.2.3