diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/activitypub/activity.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts index cbfd6157a..37f5400b9 100644 --- a/shared/models/activitypub/activity.ts +++ b/shared/models/activitypub/activity.ts | |||
@@ -10,6 +10,11 @@ export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate | | |||
10 | 10 | ||
11 | export type ActivityType = 'Create' | 'Add' | 'Update' | 'Delete' | 'Follow' | 'Accept' | 'Announce' | 'Undo' | 'Like' | 11 | export type ActivityType = 'Create' | 'Add' | 'Update' | 'Delete' | 'Follow' | 'Accept' | 'Announce' | 'Undo' | 'Like' |
12 | 12 | ||
13 | export interface ActivityAudience { | ||
14 | to: string[] | ||
15 | cc: string[] | ||
16 | } | ||
17 | |||
13 | export interface BaseActivity { | 18 | export interface BaseActivity { |
14 | '@context'?: any[] | 19 | '@context'?: any[] |
15 | id: string | 20 | id: string |