diff options
author | Julien Maulny <julien.maulny@protonmail.com> | 2019-11-15 19:05:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-12-04 09:36:45 +0100 |
commit | 69222afac8f8c41d90295b33f0695bbff352851e (patch) | |
tree | 63fe1faea94dd3bfc54e633631eecb275c969e54 /shared/models/activitypub | |
parent | 69c7f7525ddf13b7ced787d8b72ac74b43665517 (diff) | |
download | PeerTube-69222afac8f8c41d90295b33f0695bbff352851e.tar.gz PeerTube-69222afac8f8c41d90295b33f0695bbff352851e.tar.zst PeerTube-69222afac8f8c41d90295b33f0695bbff352851e.zip |
Soft delete video comments instead of detroy
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r-- | shared/models/activitypub/objects/common-objects.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/common-objects.ts b/shared/models/activitypub/objects/common-objects.ts index 2a6529fed..df287d570 100644 --- a/shared/models/activitypub/objects/common-objects.ts +++ b/shared/models/activitypub/objects/common-objects.ts | |||
@@ -89,3 +89,14 @@ export interface ActivityPubAttributedTo { | |||
89 | type: 'Group' | 'Person' | 89 | type: 'Group' | 'Person' |
90 | id: string | 90 | id: string |
91 | } | 91 | } |
92 | |||
93 | export interface ActivityTombstoneObject { | ||
94 | '@context'?: any | ||
95 | id: string | ||
96 | type: 'Tombstone' | ||
97 | name?: string | ||
98 | formerType?: string | ||
99 | published: string | ||
100 | updated: string | ||
101 | deleted: string | ||
102 | } | ||