diff options
Diffstat (limited to 'shared/models/activitypub/objects')
-rw-r--r-- | shared/models/activitypub/objects/index.ts | 1 | ||||
-rw-r--r-- | shared/models/activitypub/objects/view-object.ts | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/index.ts b/shared/models/activitypub/objects/index.ts index cd772b28d..d92f772e2 100644 --- a/shared/models/activitypub/objects/index.ts +++ b/shared/models/activitypub/objects/index.ts | |||
@@ -2,3 +2,4 @@ export * from './common-objects' | |||
2 | export * from './video-abuse-object' | 2 | export * from './video-abuse-object' |
3 | export * from './video-channel-object' | 3 | export * from './video-channel-object' |
4 | export * from './video-torrent-object' | 4 | export * from './video-torrent-object' |
5 | export * from './view-object' | ||
diff --git a/shared/models/activitypub/objects/view-object.ts b/shared/models/activitypub/objects/view-object.ts new file mode 100644 index 000000000..00348116a --- /dev/null +++ b/shared/models/activitypub/objects/view-object.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface ViewObject { | ||
2 | type: 'View', | ||
3 | actor: string | ||
4 | object: string | ||
5 | } | ||