mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Speed up activity pub http requests
This commit is contained in:
@@ -11,10 +11,10 @@ export type ActivityType = 'Create' | 'Add' | 'Update' | 'Flag' | 'Delete' | 'Fo
|
||||
export interface BaseActivity {
|
||||
'@context'?: any[]
|
||||
id: string
|
||||
to: string[]
|
||||
to?: string[]
|
||||
actor: string
|
||||
type: ActivityType
|
||||
signature: ActivityPubSignature
|
||||
signature?: ActivityPubSignature
|
||||
}
|
||||
|
||||
export interface ActivityCreate extends BaseActivity {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export type JobState = 'pending' | 'processing' | 'error' | 'success'
|
||||
export type JobCategory = 'transcoding' | 'http-request'
|
||||
export type JobCategory = 'transcoding' | 'activitypub-http'
|
||||
|
||||
Reference in New Issue
Block a user