diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/activitypub/activity.ts | 4 | ||||
-rw-r--r-- | shared/models/job.model.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts index f8e982fbb..6a05a1c39 100644 --- a/shared/models/activitypub/activity.ts +++ b/shared/models/activitypub/activity.ts | |||
@@ -11,10 +11,10 @@ export type ActivityType = 'Create' | 'Add' | 'Update' | 'Flag' | 'Delete' | 'Fo | |||
11 | export interface BaseActivity { | 11 | export interface BaseActivity { |
12 | '@context'?: any[] | 12 | '@context'?: any[] |
13 | id: string | 13 | id: string |
14 | to: string[] | 14 | to?: string[] |
15 | actor: string | 15 | actor: string |
16 | type: ActivityType | 16 | type: ActivityType |
17 | signature: ActivityPubSignature | 17 | signature?: ActivityPubSignature |
18 | } | 18 | } |
19 | 19 | ||
20 | export interface ActivityCreate extends BaseActivity { | 20 | export interface ActivityCreate extends BaseActivity { |
diff --git a/shared/models/job.model.ts b/shared/models/job.model.ts index ab723084a..10696e3f8 100644 --- a/shared/models/job.model.ts +++ b/shared/models/job.model.ts | |||
@@ -1,2 +1,2 @@ | |||
1 | export type JobState = 'pending' | 'processing' | 'error' | 'success' | 1 | export type JobState = 'pending' | 'processing' | 'error' | 'success' |
2 | export type JobCategory = 'transcoding' | 'http-request' | 2 | export type JobCategory = 'transcoding' | 'activitypub-http' |