aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/job.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-23 16:14:33 +0100
committerChocobozzz <me@florianbigard.com>2022-03-24 09:40:46 +0100
commita219c9100b3ce8774d454497d46be87465bf664e (patch)
treecaa869e47919a9e23cc86dcece1100e239683b8c /shared/models/server/job.model.ts
parent7e98a7df7d04e19ba67163a86c7b876d78d76839 (diff)
downloadPeerTube-a219c9100b3ce8774d454497d46be87465bf664e.tar.gz
PeerTube-a219c9100b3ce8774d454497d46be87465bf664e.tar.zst
PeerTube-a219c9100b3ce8774d454497d46be87465bf664e.zip
Refactor AP context builder
Diffstat (limited to 'shared/models/server/job.model.ts')
-rw-r--r--shared/models/server/job.model.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index 91469d010..92d1b5698 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -40,9 +40,9 @@ export interface Job {
40 40
41export type ActivitypubHttpBroadcastPayload = { 41export type ActivitypubHttpBroadcastPayload = {
42 uris: string[] 42 uris: string[]
43 signatureActorId?: number 43 contextType: ContextType
44 body: any 44 body: any
45 contextType?: ContextType 45 signatureActorId?: number
46} 46}
47 47
48export type ActivitypubFollowPayload = { 48export type ActivitypubFollowPayload = {
@@ -62,9 +62,9 @@ export type ActivitypubHttpFetcherPayload = {
62 62
63export type ActivitypubHttpUnicastPayload = { 63export type ActivitypubHttpUnicastPayload = {
64 uri: string 64 uri: string
65 contextType: ContextType
65 signatureActorId?: number 66 signatureActorId?: number
66 body: object 67 body: object
67 contextType?: ContextType
68} 68}
69 69
70export type RefreshPayload = { 70export type RefreshPayload = {