@fedify/vocab 2.1.0-dev.536 → 2.1.0-dev.565
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +1 -1
- package/dist/accept.yaml +1 -0
- package/dist/activity.yaml +1 -0
- package/dist/actor.test.js +5 -5
- package/dist/add.yaml +1 -0
- package/dist/announce.yaml +1 -0
- package/dist/announceauthorization.yaml +40 -0
- package/dist/announcerequest.yaml +24 -0
- package/dist/application.yaml +1 -0
- package/dist/arrive.yaml +1 -0
- package/dist/article.yaml +1 -0
- package/dist/audio.yaml +1 -0
- package/dist/block.yaml +1 -0
- package/dist/chatmessage.yaml +1 -0
- package/dist/collection.yaml +1 -0
- package/dist/collectionpage.yaml +1 -0
- package/dist/create.yaml +1 -0
- package/dist/delete.yaml +1 -0
- package/dist/{deno-DtLTceue.js → deno-D6ZtKO2-.js} +2 -2
- package/dist/dislike.yaml +1 -0
- package/dist/document.yaml +1 -0
- package/dist/emojireact.yaml +1 -0
- package/dist/event.yaml +1 -0
- package/dist/flag.yaml +1 -0
- package/dist/follow.yaml +1 -0
- package/dist/group.yaml +1 -0
- package/dist/ignore.yaml +1 -0
- package/dist/image.yaml +4 -1
- package/dist/interactionpolicy.yaml +54 -0
- package/dist/interactionrule.yaml +50 -0
- package/dist/intransitiveactivity.yaml +1 -0
- package/dist/invite.yaml +1 -0
- package/dist/join.yaml +1 -0
- package/dist/leave.yaml +1 -0
- package/dist/like.yaml +1 -0
- package/dist/likeauthorization.yaml +39 -0
- package/dist/likerequest.yaml +23 -0
- package/dist/listen.yaml +1 -0
- package/dist/lookup.test.js +7 -6
- package/dist/mod.cjs +3924 -405
- package/dist/mod.d.cts +2154 -1
- package/dist/mod.d.ts +2154 -1
- package/dist/mod.js +3917 -406
- package/dist/move.yaml +1 -0
- package/dist/note.yaml +1 -0
- package/dist/object.yaml +61 -0
- package/dist/offer.yaml +1 -0
- package/dist/orderedcollection.yaml +1 -0
- package/dist/orderedcollectionpage.yaml +1 -0
- package/dist/organization.yaml +1 -0
- package/dist/page.yaml +1 -0
- package/dist/person.yaml +1 -0
- package/dist/place.yaml +1 -0
- package/dist/profile.yaml +1 -0
- package/dist/question.yaml +1 -0
- package/dist/read.yaml +1 -0
- package/dist/reject.yaml +1 -0
- package/dist/relationship.yaml +1 -0
- package/dist/remove.yaml +1 -0
- package/dist/replyauthorization.yaml +39 -0
- package/dist/replyrequest.yaml +23 -0
- package/dist/service.yaml +1 -0
- package/dist/tentativeaccept.yaml +1 -0
- package/dist/tentativereject.yaml +1 -0
- package/dist/tombstone.yaml +1 -0
- package/dist/travel.yaml +1 -0
- package/dist/type.test.js +3 -2
- package/dist/undo.yaml +1 -0
- package/dist/update.yaml +1 -0
- package/dist/video.yaml +1 -0
- package/dist/view.yaml +1 -0
- package/dist/{vocab-DNa6QysH.js → vocab-DErmegmL.js} +6904 -9618
- package/dist/vocab.test.js +15 -5
- package/package.json +4 -4
- package/src/__snapshots__/vocab.test.ts.snap +1756 -34
- package/src/accept.yaml +1 -0
- package/src/activity.yaml +1 -0
- package/src/add.yaml +1 -0
- package/src/announce.yaml +1 -0
- package/src/announceauthorization.yaml +40 -0
- package/src/announcerequest.yaml +24 -0
- package/src/application.yaml +1 -0
- package/src/arrive.yaml +1 -0
- package/src/article.yaml +1 -0
- package/src/audio.yaml +1 -0
- package/src/block.yaml +1 -0
- package/src/chatmessage.yaml +1 -0
- package/src/collection.yaml +1 -0
- package/src/collectionpage.yaml +1 -0
- package/src/create.yaml +1 -0
- package/src/delete.yaml +1 -0
- package/src/dislike.yaml +1 -0
- package/src/document.yaml +1 -0
- package/src/emojireact.yaml +1 -0
- package/src/event.yaml +1 -0
- package/src/flag.yaml +1 -0
- package/src/follow.yaml +1 -0
- package/src/group.yaml +1 -0
- package/src/ignore.yaml +1 -0
- package/src/image.yaml +4 -1
- package/src/interactionpolicy.yaml +54 -0
- package/src/interactionrule.yaml +50 -0
- package/src/intransitiveactivity.yaml +1 -0
- package/src/invite.yaml +1 -0
- package/src/join.yaml +1 -0
- package/src/leave.yaml +1 -0
- package/src/like.yaml +1 -0
- package/src/likeauthorization.yaml +39 -0
- package/src/likerequest.yaml +23 -0
- package/src/listen.yaml +1 -0
- package/src/move.yaml +1 -0
- package/src/note.yaml +1 -0
- package/src/object.yaml +61 -0
- package/src/offer.yaml +1 -0
- package/src/orderedcollection.yaml +1 -0
- package/src/orderedcollectionpage.yaml +1 -0
- package/src/organization.yaml +1 -0
- package/src/page.yaml +1 -0
- package/src/person.yaml +1 -0
- package/src/place.yaml +1 -0
- package/src/profile.yaml +1 -0
- package/src/question.yaml +1 -0
- package/src/read.yaml +1 -0
- package/src/reject.yaml +1 -0
- package/src/relationship.yaml +1 -0
- package/src/remove.yaml +1 -0
- package/src/replyauthorization.yaml +39 -0
- package/src/replyrequest.yaml +23 -0
- package/src/service.yaml +1 -0
- package/src/tentativeaccept.yaml +1 -0
- package/src/tentativereject.yaml +1 -0
- package/src/tombstone.yaml +1 -0
- package/src/travel.yaml +1 -0
- package/src/undo.yaml +1 -0
- package/src/update.yaml +1 -0
- package/src/video.yaml +1 -0
- package/src/view.yaml +1 -0
- package/src/vocab.test.ts +7 -1
- package/tsdown.config.ts +1 -1
- package/dist/chunk-BeeFIeNn.js +0 -45
- package/dist/execAsync-Bj-9hhe9.js +0 -17
- package/dist/getMachineId-bsd-JZpH2DVB.js +0 -34
- package/dist/getMachineId-darwin-CIJUQhqg.js +0 -30
- package/dist/getMachineId-linux-l0DNcix-.js +0 -27
- package/dist/getMachineId-unsupported-DFK1bZgt.js +0 -20
- package/dist/getMachineId-win-B0bq2tSf.js +0 -32
- /package/dist/{type-Dnf0m2yO.js → type-CNuABalk.js} +0 -0
- /package/dist/{utils-Dm0Onkcz.js → utils-BSWXlrig.js} +0 -0
package/dist/mod.d.cts
CHANGED
|
@@ -81,6 +81,11 @@ declare class Object$1 {
|
|
|
81
81
|
source?: Source | null;
|
|
82
82
|
proof?: DataIntegrityProof | URL | null;
|
|
83
83
|
proofs?: (DataIntegrityProof | URL)[];
|
|
84
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
85
|
+
approvedBy?: URL | null;
|
|
86
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
87
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
88
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
84
89
|
}, options?: {
|
|
85
90
|
documentLoader?: DocumentLoader$1;
|
|
86
91
|
contextLoader?: DocumentLoader$1;
|
|
@@ -142,6 +147,11 @@ declare class Object$1 {
|
|
|
142
147
|
source?: Source | null;
|
|
143
148
|
proof?: DataIntegrityProof | URL | null;
|
|
144
149
|
proofs?: (DataIntegrityProof | URL)[];
|
|
150
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
151
|
+
approvedBy?: URL | null;
|
|
152
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
153
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
154
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
145
155
|
}, options?: {
|
|
146
156
|
documentLoader?: DocumentLoader$1;
|
|
147
157
|
contextLoader?: DocumentLoader$1;
|
|
@@ -756,6 +766,71 @@ declare class Object$1 {
|
|
|
756
766
|
tracerProvider?: TracerProvider;
|
|
757
767
|
crossOrigin?: "ignore" | "throw" | "trust";
|
|
758
768
|
}): AsyncIterable<DataIntegrityProof>;
|
|
769
|
+
/** The interaction policy for this object, specifying who can like, reply to,
|
|
770
|
+
* or announce it. Contains sub-policies (`canLike`, `canReply`,
|
|
771
|
+
* `canAnnounce`) each defining `automaticApproval` and `manualApproval`
|
|
772
|
+
* lists.
|
|
773
|
+
*
|
|
774
|
+
* When absent, implementations should assume anyone can interact with
|
|
775
|
+
* the object. Setting this property signals that the server understands
|
|
776
|
+
* and will enforce interaction controls.
|
|
777
|
+
*
|
|
778
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
779
|
+
* for details.
|
|
780
|
+
*/
|
|
781
|
+
get interactionPolicy(): InteractionPolicy | null;
|
|
782
|
+
/** A URI referencing an authorization object that proves this interaction
|
|
783
|
+
* was approved by the target post's author.
|
|
784
|
+
*/
|
|
785
|
+
get approvedBy(): URL | null;
|
|
786
|
+
/**
|
|
787
|
+
* Similar to
|
|
788
|
+
* {@link Object.getLikeAuthorization},
|
|
789
|
+
* but returns its `@id` URL instead of the object itself.
|
|
790
|
+
*/
|
|
791
|
+
get likeAuthorizationId(): URL | null;
|
|
792
|
+
/** A {@link LikeAuthorization} object that proves this like interaction
|
|
793
|
+
* was approved by the target post's author.
|
|
794
|
+
*/
|
|
795
|
+
getLikeAuthorization(options?: {
|
|
796
|
+
documentLoader?: DocumentLoader$1;
|
|
797
|
+
contextLoader?: DocumentLoader$1;
|
|
798
|
+
suppressError?: boolean;
|
|
799
|
+
tracerProvider?: TracerProvider;
|
|
800
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
801
|
+
}): Promise<LikeAuthorization | null>;
|
|
802
|
+
/**
|
|
803
|
+
* Similar to
|
|
804
|
+
* {@link Object.getReplyAuthorization},
|
|
805
|
+
* but returns its `@id` URL instead of the object itself.
|
|
806
|
+
*/
|
|
807
|
+
get replyAuthorizationId(): URL | null;
|
|
808
|
+
/** A {@link ReplyAuthorization} object that proves this reply was approved
|
|
809
|
+
* by the target post's author.
|
|
810
|
+
*/
|
|
811
|
+
getReplyAuthorization(options?: {
|
|
812
|
+
documentLoader?: DocumentLoader$1;
|
|
813
|
+
contextLoader?: DocumentLoader$1;
|
|
814
|
+
suppressError?: boolean;
|
|
815
|
+
tracerProvider?: TracerProvider;
|
|
816
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
817
|
+
}): Promise<ReplyAuthorization | null>;
|
|
818
|
+
/**
|
|
819
|
+
* Similar to
|
|
820
|
+
* {@link Object.getAnnounceAuthorization},
|
|
821
|
+
* but returns its `@id` URL instead of the object itself.
|
|
822
|
+
*/
|
|
823
|
+
get announceAuthorizationId(): URL | null;
|
|
824
|
+
/** An {@link AnnounceAuthorization} object that proves this announce
|
|
825
|
+
* (boost) was approved by the target post's author.
|
|
826
|
+
*/
|
|
827
|
+
getAnnounceAuthorization(options?: {
|
|
828
|
+
documentLoader?: DocumentLoader$1;
|
|
829
|
+
contextLoader?: DocumentLoader$1;
|
|
830
|
+
suppressError?: boolean;
|
|
831
|
+
tracerProvider?: TracerProvider;
|
|
832
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
833
|
+
}): Promise<AnnounceAuthorization | null>;
|
|
759
834
|
/**
|
|
760
835
|
* Converts this object to a JSON-LD structure.
|
|
761
836
|
* @param options The options to use.
|
|
@@ -859,6 +934,11 @@ declare class Emoji extends Object$1 {
|
|
|
859
934
|
source?: Source | null;
|
|
860
935
|
proof?: DataIntegrityProof | URL | null;
|
|
861
936
|
proofs?: (DataIntegrityProof | URL)[];
|
|
937
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
938
|
+
approvedBy?: URL | null;
|
|
939
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
940
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
941
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
862
942
|
}, options?: {
|
|
863
943
|
documentLoader?: DocumentLoader$1;
|
|
864
944
|
contextLoader?: DocumentLoader$1;
|
|
@@ -920,6 +1000,11 @@ declare class Emoji extends Object$1 {
|
|
|
920
1000
|
source?: Source | null;
|
|
921
1001
|
proof?: DataIntegrityProof | URL | null;
|
|
922
1002
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1003
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1004
|
+
approvedBy?: URL | null;
|
|
1005
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1006
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1007
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
923
1008
|
}, options?: {
|
|
924
1009
|
documentLoader?: DocumentLoader$1;
|
|
925
1010
|
contextLoader?: DocumentLoader$1;
|
|
@@ -1032,6 +1117,11 @@ declare class ChatMessage extends Object$1 {
|
|
|
1032
1117
|
source?: Source | null;
|
|
1033
1118
|
proof?: DataIntegrityProof | URL | null;
|
|
1034
1119
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1120
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1121
|
+
approvedBy?: URL | null;
|
|
1122
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1123
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1124
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
1035
1125
|
quoteUrl?: URL | null;
|
|
1036
1126
|
}, options?: {
|
|
1037
1127
|
documentLoader?: DocumentLoader$1;
|
|
@@ -1094,6 +1184,11 @@ declare class ChatMessage extends Object$1 {
|
|
|
1094
1184
|
source?: Source | null;
|
|
1095
1185
|
proof?: DataIntegrityProof | URL | null;
|
|
1096
1186
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1187
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1188
|
+
approvedBy?: URL | null;
|
|
1189
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1190
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1191
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
1097
1192
|
quoteUrl?: URL | null;
|
|
1098
1193
|
}, options?: {
|
|
1099
1194
|
documentLoader?: DocumentLoader$1;
|
|
@@ -1219,6 +1314,11 @@ declare class Activity extends Object$1 {
|
|
|
1219
1314
|
source?: Source | null;
|
|
1220
1315
|
proof?: DataIntegrityProof | URL | null;
|
|
1221
1316
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1317
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1318
|
+
approvedBy?: URL | null;
|
|
1319
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1320
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1321
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
1222
1322
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
1223
1323
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
1224
1324
|
object?: Object$1 | URL | null;
|
|
@@ -1292,6 +1392,11 @@ declare class Activity extends Object$1 {
|
|
|
1292
1392
|
source?: Source | null;
|
|
1293
1393
|
proof?: DataIntegrityProof | URL | null;
|
|
1294
1394
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1395
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1396
|
+
approvedBy?: URL | null;
|
|
1397
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1398
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1399
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
1295
1400
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
1296
1401
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
1297
1402
|
object?: Object$1 | URL | null;
|
|
@@ -1621,6 +1726,11 @@ declare class EmojiReact extends Activity {
|
|
|
1621
1726
|
source?: Source | null;
|
|
1622
1727
|
proof?: DataIntegrityProof | URL | null;
|
|
1623
1728
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1729
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1730
|
+
approvedBy?: URL | null;
|
|
1731
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1732
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1733
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
1624
1734
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
1625
1735
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
1626
1736
|
object?: Object$1 | URL | null;
|
|
@@ -1694,6 +1804,11 @@ declare class EmojiReact extends Activity {
|
|
|
1694
1804
|
source?: Source | null;
|
|
1695
1805
|
proof?: DataIntegrityProof | URL | null;
|
|
1696
1806
|
proofs?: (DataIntegrityProof | URL)[];
|
|
1807
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
1808
|
+
approvedBy?: URL | null;
|
|
1809
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
1810
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
1811
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
1697
1812
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
1698
1813
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
1699
1814
|
object?: Object$1 | URL | null;
|
|
@@ -1845,6 +1960,1544 @@ declare class PropertyValue {
|
|
|
1845
1960
|
}): Promise<PropertyValue>;
|
|
1846
1961
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
1847
1962
|
}
|
|
1963
|
+
/** Proves that an {@link Announce} interaction has been approved by
|
|
1964
|
+
* the post author.
|
|
1965
|
+
*
|
|
1966
|
+
* This object is dereferenceable and is used by third parties to verify
|
|
1967
|
+
* that an announce (boost) was authorized. The `attributedTo` property
|
|
1968
|
+
* identifies the post author who granted the approval.
|
|
1969
|
+
*
|
|
1970
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
1971
|
+
* for details.
|
|
1972
|
+
*/
|
|
1973
|
+
declare class AnnounceAuthorization extends Object$1 {
|
|
1974
|
+
#private;
|
|
1975
|
+
/**
|
|
1976
|
+
* The type URI of {@link AnnounceAuthorization}: `https://gotosocial.org/ns#AnnounceAuthorization`.
|
|
1977
|
+
*/
|
|
1978
|
+
static get typeId(): URL;
|
|
1979
|
+
/**
|
|
1980
|
+
* Constructs a new instance of AnnounceAuthorization with the given values.
|
|
1981
|
+
* @param values The values to initialize the instance with.
|
|
1982
|
+
* @param options The options to use for initialization.
|
|
1983
|
+
*/
|
|
1984
|
+
constructor(values: {
|
|
1985
|
+
id?: URL | null;
|
|
1986
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
1987
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
1988
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
1989
|
+
audience?: Object$1 | URL | null;
|
|
1990
|
+
audiences?: (Object$1 | URL)[];
|
|
1991
|
+
content?: string | LanguageString$1 | null;
|
|
1992
|
+
contents?: ((string | LanguageString$1))[];
|
|
1993
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
1994
|
+
name?: string | LanguageString$1 | null;
|
|
1995
|
+
names?: ((string | LanguageString$1))[];
|
|
1996
|
+
endTime?: Temporal.Instant | null;
|
|
1997
|
+
generators?: (Object$1 | Link | URL)[];
|
|
1998
|
+
icon?: Image | URL | null;
|
|
1999
|
+
icons?: (Image | URL)[];
|
|
2000
|
+
image?: Image | URL | null;
|
|
2001
|
+
images?: (Image | URL)[];
|
|
2002
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2003
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2004
|
+
location?: Object$1 | Link | URL | null;
|
|
2005
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2006
|
+
preview?: Link | Object$1 | URL | null;
|
|
2007
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2008
|
+
published?: Temporal.Instant | null;
|
|
2009
|
+
replies?: Collection | URL | null;
|
|
2010
|
+
shares?: Collection | URL | null;
|
|
2011
|
+
likes?: Collection | URL | null;
|
|
2012
|
+
emojiReactions?: Collection | URL | null;
|
|
2013
|
+
startTime?: Temporal.Instant | null;
|
|
2014
|
+
summary?: string | LanguageString$1 | null;
|
|
2015
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2016
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2017
|
+
updated?: Temporal.Instant | null;
|
|
2018
|
+
url?: URL | Link | null;
|
|
2019
|
+
urls?: ((URL | Link))[];
|
|
2020
|
+
to?: Object$1 | URL | null;
|
|
2021
|
+
tos?: (Object$1 | URL)[];
|
|
2022
|
+
bto?: Object$1 | URL | null;
|
|
2023
|
+
btos?: (Object$1 | URL)[];
|
|
2024
|
+
cc?: Object$1 | URL | null;
|
|
2025
|
+
ccs?: (Object$1 | URL)[];
|
|
2026
|
+
bcc?: Object$1 | URL | null;
|
|
2027
|
+
bccs?: (Object$1 | URL)[];
|
|
2028
|
+
mediaType?: string | null;
|
|
2029
|
+
duration?: Temporal.Duration | null;
|
|
2030
|
+
sensitive?: boolean | null;
|
|
2031
|
+
source?: Source | null;
|
|
2032
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2033
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2034
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2035
|
+
approvedBy?: URL | null;
|
|
2036
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2037
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2038
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2039
|
+
interactingObject?: Object$1 | URL | null;
|
|
2040
|
+
interactionTarget?: Object$1 | URL | null;
|
|
2041
|
+
}, options?: {
|
|
2042
|
+
documentLoader?: DocumentLoader$1;
|
|
2043
|
+
contextLoader?: DocumentLoader$1;
|
|
2044
|
+
tracerProvider?: TracerProvider;
|
|
2045
|
+
});
|
|
2046
|
+
/**
|
|
2047
|
+
* Clones this instance, optionally updating it with the given values.
|
|
2048
|
+
* @param values The values to update the clone with.
|
|
2049
|
+
* @param options The options to use for cloning.
|
|
2050
|
+
* @returns The cloned instance.
|
|
2051
|
+
*/
|
|
2052
|
+
clone(values?: {
|
|
2053
|
+
id?: URL | null;
|
|
2054
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2055
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2056
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2057
|
+
audience?: Object$1 | URL | null;
|
|
2058
|
+
audiences?: (Object$1 | URL)[];
|
|
2059
|
+
content?: string | LanguageString$1 | null;
|
|
2060
|
+
contents?: ((string | LanguageString$1))[];
|
|
2061
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2062
|
+
name?: string | LanguageString$1 | null;
|
|
2063
|
+
names?: ((string | LanguageString$1))[];
|
|
2064
|
+
endTime?: Temporal.Instant | null;
|
|
2065
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2066
|
+
icon?: Image | URL | null;
|
|
2067
|
+
icons?: (Image | URL)[];
|
|
2068
|
+
image?: Image | URL | null;
|
|
2069
|
+
images?: (Image | URL)[];
|
|
2070
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2071
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2072
|
+
location?: Object$1 | Link | URL | null;
|
|
2073
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2074
|
+
preview?: Link | Object$1 | URL | null;
|
|
2075
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2076
|
+
published?: Temporal.Instant | null;
|
|
2077
|
+
replies?: Collection | URL | null;
|
|
2078
|
+
shares?: Collection | URL | null;
|
|
2079
|
+
likes?: Collection | URL | null;
|
|
2080
|
+
emojiReactions?: Collection | URL | null;
|
|
2081
|
+
startTime?: Temporal.Instant | null;
|
|
2082
|
+
summary?: string | LanguageString$1 | null;
|
|
2083
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2084
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2085
|
+
updated?: Temporal.Instant | null;
|
|
2086
|
+
url?: URL | Link | null;
|
|
2087
|
+
urls?: ((URL | Link))[];
|
|
2088
|
+
to?: Object$1 | URL | null;
|
|
2089
|
+
tos?: (Object$1 | URL)[];
|
|
2090
|
+
bto?: Object$1 | URL | null;
|
|
2091
|
+
btos?: (Object$1 | URL)[];
|
|
2092
|
+
cc?: Object$1 | URL | null;
|
|
2093
|
+
ccs?: (Object$1 | URL)[];
|
|
2094
|
+
bcc?: Object$1 | URL | null;
|
|
2095
|
+
bccs?: (Object$1 | URL)[];
|
|
2096
|
+
mediaType?: string | null;
|
|
2097
|
+
duration?: Temporal.Duration | null;
|
|
2098
|
+
sensitive?: boolean | null;
|
|
2099
|
+
source?: Source | null;
|
|
2100
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2101
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2102
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2103
|
+
approvedBy?: URL | null;
|
|
2104
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2105
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2106
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2107
|
+
interactingObject?: Object$1 | URL | null;
|
|
2108
|
+
interactionTarget?: Object$1 | URL | null;
|
|
2109
|
+
}, options?: {
|
|
2110
|
+
documentLoader?: DocumentLoader$1;
|
|
2111
|
+
contextLoader?: DocumentLoader$1;
|
|
2112
|
+
}): AnnounceAuthorization;
|
|
2113
|
+
/**
|
|
2114
|
+
* Similar to
|
|
2115
|
+
* {@link AnnounceAuthorization.getInteractingObject},
|
|
2116
|
+
* but returns its `@id` URL instead of the object itself.
|
|
2117
|
+
*/
|
|
2118
|
+
get interactingObjectId(): URL | null;
|
|
2119
|
+
/** The URI of the interaction (e.g., an {@link Announce} activity) that
|
|
2120
|
+
* has been authorized.
|
|
2121
|
+
*/
|
|
2122
|
+
getInteractingObject(options?: {
|
|
2123
|
+
documentLoader?: DocumentLoader$1;
|
|
2124
|
+
contextLoader?: DocumentLoader$1;
|
|
2125
|
+
suppressError?: boolean;
|
|
2126
|
+
tracerProvider?: TracerProvider;
|
|
2127
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
2128
|
+
}): Promise<Object$1 | null>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Similar to
|
|
2131
|
+
* {@link AnnounceAuthorization.getInteractionTarget},
|
|
2132
|
+
* but returns its `@id` URL instead of the object itself.
|
|
2133
|
+
*/
|
|
2134
|
+
get interactionTargetId(): URL | null;
|
|
2135
|
+
/** The URI of the post that is the target of the authorized announce.
|
|
2136
|
+
*/
|
|
2137
|
+
getInteractionTarget(options?: {
|
|
2138
|
+
documentLoader?: DocumentLoader$1;
|
|
2139
|
+
contextLoader?: DocumentLoader$1;
|
|
2140
|
+
suppressError?: boolean;
|
|
2141
|
+
tracerProvider?: TracerProvider;
|
|
2142
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
2143
|
+
}): Promise<Object$1 | null>;
|
|
2144
|
+
/**
|
|
2145
|
+
* Converts this object to a JSON-LD structure.
|
|
2146
|
+
* @param options The options to use.
|
|
2147
|
+
* - `format`: The format of the output: `compact` or
|
|
2148
|
+
`expand`.
|
|
2149
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2150
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
2151
|
+
when `format` is set to `'expand'`.
|
|
2152
|
+
* @returns The JSON-LD representation of this object.
|
|
2153
|
+
*/
|
|
2154
|
+
toJsonLd(options?: {
|
|
2155
|
+
format?: "compact" | "expand";
|
|
2156
|
+
contextLoader?: DocumentLoader$1;
|
|
2157
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2158
|
+
}): Promise<unknown>;
|
|
2159
|
+
protected isCompactable(): boolean;
|
|
2160
|
+
/**
|
|
2161
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
2162
|
+
* @param json The JSON-LD structure to convert.
|
|
2163
|
+
* @param options The options to use.
|
|
2164
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
2165
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2166
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
2167
|
+
* If omitted, the global tracer provider is used.
|
|
2168
|
+
* @returns The object of this type.
|
|
2169
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
2170
|
+
*/
|
|
2171
|
+
static fromJsonLd(json: unknown, options?: {
|
|
2172
|
+
documentLoader?: DocumentLoader$1;
|
|
2173
|
+
contextLoader?: DocumentLoader$1;
|
|
2174
|
+
tracerProvider?: TracerProvider;
|
|
2175
|
+
baseUrl?: URL;
|
|
2176
|
+
}): Promise<AnnounceAuthorization>;
|
|
2177
|
+
protected static __fromJsonLd__AnnounceAuthorization__(json: unknown, span: Span, options?: {
|
|
2178
|
+
documentLoader?: DocumentLoader$1;
|
|
2179
|
+
contextLoader?: DocumentLoader$1;
|
|
2180
|
+
tracerProvider?: TracerProvider;
|
|
2181
|
+
baseUrl?: URL;
|
|
2182
|
+
}): Promise<AnnounceAuthorization>;
|
|
2183
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2184
|
+
}
|
|
2185
|
+
/** A request to announce (boost) a post that requires approval from
|
|
2186
|
+
* the post author.
|
|
2187
|
+
*
|
|
2188
|
+
* The `object` property references the post to be announced, and
|
|
2189
|
+
* the `instrument` property contains the {@link Announce} activity itself.
|
|
2190
|
+
*
|
|
2191
|
+
* The post author responds with an {@link Accept} (with an
|
|
2192
|
+
* {@link AnnounceAuthorization} as `result`) or a {@link Reject}.
|
|
2193
|
+
*
|
|
2194
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
2195
|
+
* for details.
|
|
2196
|
+
*/
|
|
2197
|
+
declare class AnnounceRequest extends Activity {
|
|
2198
|
+
/**
|
|
2199
|
+
* The type URI of {@link AnnounceRequest}: `https://gotosocial.org/ns#AnnounceRequest`.
|
|
2200
|
+
*/
|
|
2201
|
+
static get typeId(): URL;
|
|
2202
|
+
/**
|
|
2203
|
+
* Constructs a new instance of AnnounceRequest with the given values.
|
|
2204
|
+
* @param values The values to initialize the instance with.
|
|
2205
|
+
* @param options The options to use for initialization.
|
|
2206
|
+
*/
|
|
2207
|
+
constructor(values: {
|
|
2208
|
+
id?: URL | null;
|
|
2209
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2210
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2211
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2212
|
+
audience?: Object$1 | URL | null;
|
|
2213
|
+
audiences?: (Object$1 | URL)[];
|
|
2214
|
+
content?: string | LanguageString$1 | null;
|
|
2215
|
+
contents?: ((string | LanguageString$1))[];
|
|
2216
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2217
|
+
name?: string | LanguageString$1 | null;
|
|
2218
|
+
names?: ((string | LanguageString$1))[];
|
|
2219
|
+
endTime?: Temporal.Instant | null;
|
|
2220
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2221
|
+
icon?: Image | URL | null;
|
|
2222
|
+
icons?: (Image | URL)[];
|
|
2223
|
+
image?: Image | URL | null;
|
|
2224
|
+
images?: (Image | URL)[];
|
|
2225
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2226
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2227
|
+
location?: Object$1 | Link | URL | null;
|
|
2228
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2229
|
+
preview?: Link | Object$1 | URL | null;
|
|
2230
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2231
|
+
published?: Temporal.Instant | null;
|
|
2232
|
+
replies?: Collection | URL | null;
|
|
2233
|
+
shares?: Collection | URL | null;
|
|
2234
|
+
likes?: Collection | URL | null;
|
|
2235
|
+
emojiReactions?: Collection | URL | null;
|
|
2236
|
+
startTime?: Temporal.Instant | null;
|
|
2237
|
+
summary?: string | LanguageString$1 | null;
|
|
2238
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2239
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2240
|
+
updated?: Temporal.Instant | null;
|
|
2241
|
+
url?: URL | Link | null;
|
|
2242
|
+
urls?: ((URL | Link))[];
|
|
2243
|
+
to?: Object$1 | URL | null;
|
|
2244
|
+
tos?: (Object$1 | URL)[];
|
|
2245
|
+
bto?: Object$1 | URL | null;
|
|
2246
|
+
btos?: (Object$1 | URL)[];
|
|
2247
|
+
cc?: Object$1 | URL | null;
|
|
2248
|
+
ccs?: (Object$1 | URL)[];
|
|
2249
|
+
bcc?: Object$1 | URL | null;
|
|
2250
|
+
bccs?: (Object$1 | URL)[];
|
|
2251
|
+
mediaType?: string | null;
|
|
2252
|
+
duration?: Temporal.Duration | null;
|
|
2253
|
+
sensitive?: boolean | null;
|
|
2254
|
+
source?: Source | null;
|
|
2255
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2256
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2257
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2258
|
+
approvedBy?: URL | null;
|
|
2259
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2260
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2261
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2262
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2263
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2264
|
+
object?: Object$1 | URL | null;
|
|
2265
|
+
objects?: (Object$1 | URL)[];
|
|
2266
|
+
target?: Object$1 | URL | null;
|
|
2267
|
+
targets?: (Object$1 | URL)[];
|
|
2268
|
+
result?: Object$1 | URL | null;
|
|
2269
|
+
results?: (Object$1 | URL)[];
|
|
2270
|
+
origin?: Object$1 | URL | null;
|
|
2271
|
+
origins?: (Object$1 | URL)[];
|
|
2272
|
+
instrument?: Object$1 | URL | null;
|
|
2273
|
+
instruments?: (Object$1 | URL)[];
|
|
2274
|
+
}, options?: {
|
|
2275
|
+
documentLoader?: DocumentLoader$1;
|
|
2276
|
+
contextLoader?: DocumentLoader$1;
|
|
2277
|
+
tracerProvider?: TracerProvider;
|
|
2278
|
+
});
|
|
2279
|
+
/**
|
|
2280
|
+
* Clones this instance, optionally updating it with the given values.
|
|
2281
|
+
* @param values The values to update the clone with.
|
|
2282
|
+
* @param options The options to use for cloning.
|
|
2283
|
+
* @returns The cloned instance.
|
|
2284
|
+
*/
|
|
2285
|
+
clone(values?: {
|
|
2286
|
+
id?: URL | null;
|
|
2287
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2288
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2289
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2290
|
+
audience?: Object$1 | URL | null;
|
|
2291
|
+
audiences?: (Object$1 | URL)[];
|
|
2292
|
+
content?: string | LanguageString$1 | null;
|
|
2293
|
+
contents?: ((string | LanguageString$1))[];
|
|
2294
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2295
|
+
name?: string | LanguageString$1 | null;
|
|
2296
|
+
names?: ((string | LanguageString$1))[];
|
|
2297
|
+
endTime?: Temporal.Instant | null;
|
|
2298
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2299
|
+
icon?: Image | URL | null;
|
|
2300
|
+
icons?: (Image | URL)[];
|
|
2301
|
+
image?: Image | URL | null;
|
|
2302
|
+
images?: (Image | URL)[];
|
|
2303
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2304
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2305
|
+
location?: Object$1 | Link | URL | null;
|
|
2306
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2307
|
+
preview?: Link | Object$1 | URL | null;
|
|
2308
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2309
|
+
published?: Temporal.Instant | null;
|
|
2310
|
+
replies?: Collection | URL | null;
|
|
2311
|
+
shares?: Collection | URL | null;
|
|
2312
|
+
likes?: Collection | URL | null;
|
|
2313
|
+
emojiReactions?: Collection | URL | null;
|
|
2314
|
+
startTime?: Temporal.Instant | null;
|
|
2315
|
+
summary?: string | LanguageString$1 | null;
|
|
2316
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2317
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2318
|
+
updated?: Temporal.Instant | null;
|
|
2319
|
+
url?: URL | Link | null;
|
|
2320
|
+
urls?: ((URL | Link))[];
|
|
2321
|
+
to?: Object$1 | URL | null;
|
|
2322
|
+
tos?: (Object$1 | URL)[];
|
|
2323
|
+
bto?: Object$1 | URL | null;
|
|
2324
|
+
btos?: (Object$1 | URL)[];
|
|
2325
|
+
cc?: Object$1 | URL | null;
|
|
2326
|
+
ccs?: (Object$1 | URL)[];
|
|
2327
|
+
bcc?: Object$1 | URL | null;
|
|
2328
|
+
bccs?: (Object$1 | URL)[];
|
|
2329
|
+
mediaType?: string | null;
|
|
2330
|
+
duration?: Temporal.Duration | null;
|
|
2331
|
+
sensitive?: boolean | null;
|
|
2332
|
+
source?: Source | null;
|
|
2333
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2334
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2335
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2336
|
+
approvedBy?: URL | null;
|
|
2337
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2338
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2339
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2340
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2341
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2342
|
+
object?: Object$1 | URL | null;
|
|
2343
|
+
objects?: (Object$1 | URL)[];
|
|
2344
|
+
target?: Object$1 | URL | null;
|
|
2345
|
+
targets?: (Object$1 | URL)[];
|
|
2346
|
+
result?: Object$1 | URL | null;
|
|
2347
|
+
results?: (Object$1 | URL)[];
|
|
2348
|
+
origin?: Object$1 | URL | null;
|
|
2349
|
+
origins?: (Object$1 | URL)[];
|
|
2350
|
+
instrument?: Object$1 | URL | null;
|
|
2351
|
+
instruments?: (Object$1 | URL)[];
|
|
2352
|
+
}, options?: {
|
|
2353
|
+
documentLoader?: DocumentLoader$1;
|
|
2354
|
+
contextLoader?: DocumentLoader$1;
|
|
2355
|
+
}): AnnounceRequest;
|
|
2356
|
+
/**
|
|
2357
|
+
* Converts this object to a JSON-LD structure.
|
|
2358
|
+
* @param options The options to use.
|
|
2359
|
+
* - `format`: The format of the output: `compact` or
|
|
2360
|
+
`expand`.
|
|
2361
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2362
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
2363
|
+
when `format` is set to `'expand'`.
|
|
2364
|
+
* @returns The JSON-LD representation of this object.
|
|
2365
|
+
*/
|
|
2366
|
+
toJsonLd(options?: {
|
|
2367
|
+
format?: "compact" | "expand";
|
|
2368
|
+
contextLoader?: DocumentLoader$1;
|
|
2369
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2370
|
+
}): Promise<unknown>;
|
|
2371
|
+
protected isCompactable(): boolean;
|
|
2372
|
+
/**
|
|
2373
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
2374
|
+
* @param json The JSON-LD structure to convert.
|
|
2375
|
+
* @param options The options to use.
|
|
2376
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
2377
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2378
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
2379
|
+
* If omitted, the global tracer provider is used.
|
|
2380
|
+
* @returns The object of this type.
|
|
2381
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
2382
|
+
*/
|
|
2383
|
+
static fromJsonLd(json: unknown, options?: {
|
|
2384
|
+
documentLoader?: DocumentLoader$1;
|
|
2385
|
+
contextLoader?: DocumentLoader$1;
|
|
2386
|
+
tracerProvider?: TracerProvider;
|
|
2387
|
+
baseUrl?: URL;
|
|
2388
|
+
}): Promise<AnnounceRequest>;
|
|
2389
|
+
protected static __fromJsonLd__AnnounceRequest__(json: unknown, span: Span, options?: {
|
|
2390
|
+
documentLoader?: DocumentLoader$1;
|
|
2391
|
+
contextLoader?: DocumentLoader$1;
|
|
2392
|
+
tracerProvider?: TracerProvider;
|
|
2393
|
+
baseUrl?: URL;
|
|
2394
|
+
}): Promise<AnnounceRequest>;
|
|
2395
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2396
|
+
}
|
|
2397
|
+
/** Represents an interaction policy attached to a post, specifying who can
|
|
2398
|
+
* like, reply to, or announce it. Each sub-policy ({@link InteractionRule})
|
|
2399
|
+
* defines which actors receive automatic or manual approval.
|
|
2400
|
+
*
|
|
2401
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
2402
|
+
* for details.
|
|
2403
|
+
*/
|
|
2404
|
+
declare class InteractionPolicy {
|
|
2405
|
+
#private;
|
|
2406
|
+
readonly id: URL | null;
|
|
2407
|
+
protected get _documentLoader(): DocumentLoader$1 | undefined;
|
|
2408
|
+
protected get _contextLoader(): DocumentLoader$1 | undefined;
|
|
2409
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
|
2410
|
+
protected get _warning(): {
|
|
2411
|
+
category: string[];
|
|
2412
|
+
message: string;
|
|
2413
|
+
values?: Record<string, unknown>;
|
|
2414
|
+
} | undefined;
|
|
2415
|
+
protected get _cachedJsonLd(): unknown | undefined;
|
|
2416
|
+
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2417
|
+
/**
|
|
2418
|
+
* The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`.
|
|
2419
|
+
*/
|
|
2420
|
+
static get typeId(): URL;
|
|
2421
|
+
/**
|
|
2422
|
+
* Constructs a new instance of InteractionPolicy with the given values.
|
|
2423
|
+
* @param values The values to initialize the instance with.
|
|
2424
|
+
* @param options The options to use for initialization.
|
|
2425
|
+
*/
|
|
2426
|
+
constructor(values: {
|
|
2427
|
+
id?: URL | null;
|
|
2428
|
+
canLike?: InteractionRule | null;
|
|
2429
|
+
canReply?: InteractionRule | null;
|
|
2430
|
+
canAnnounce?: InteractionRule | null;
|
|
2431
|
+
}, options?: {
|
|
2432
|
+
documentLoader?: DocumentLoader$1;
|
|
2433
|
+
contextLoader?: DocumentLoader$1;
|
|
2434
|
+
tracerProvider?: TracerProvider;
|
|
2435
|
+
});
|
|
2436
|
+
/**
|
|
2437
|
+
* Clones this instance, optionally updating it with the given values.
|
|
2438
|
+
* @param values The values to update the clone with.
|
|
2439
|
+
* @param options The options to use for cloning.
|
|
2440
|
+
* @returns The cloned instance.
|
|
2441
|
+
*/
|
|
2442
|
+
clone(values?: {
|
|
2443
|
+
id?: URL | null;
|
|
2444
|
+
canLike?: InteractionRule | null;
|
|
2445
|
+
canReply?: InteractionRule | null;
|
|
2446
|
+
canAnnounce?: InteractionRule | null;
|
|
2447
|
+
}, options?: {
|
|
2448
|
+
documentLoader?: DocumentLoader$1;
|
|
2449
|
+
contextLoader?: DocumentLoader$1;
|
|
2450
|
+
}): InteractionPolicy;
|
|
2451
|
+
/** The sub-policy specifying who can like the post.
|
|
2452
|
+
*
|
|
2453
|
+
* When absent, implementations should assume that anyone can like the post
|
|
2454
|
+
* (i.e., `automaticApproval` defaults to the public collection).
|
|
2455
|
+
*/
|
|
2456
|
+
get canLike(): InteractionRule | null;
|
|
2457
|
+
/** The sub-policy specifying who can reply to the post.
|
|
2458
|
+
*
|
|
2459
|
+
* When absent, implementations should assume that anyone can reply
|
|
2460
|
+
* (i.e., `automaticApproval` defaults to the public collection).
|
|
2461
|
+
*/
|
|
2462
|
+
get canReply(): InteractionRule | null;
|
|
2463
|
+
/** The sub-policy specifying who can announce (boost) the post.
|
|
2464
|
+
*
|
|
2465
|
+
* When absent, implementations should assume that anyone can announce
|
|
2466
|
+
* (i.e., `automaticApproval` defaults to the public collection).
|
|
2467
|
+
*/
|
|
2468
|
+
get canAnnounce(): InteractionRule | null;
|
|
2469
|
+
/**
|
|
2470
|
+
* Converts this object to a JSON-LD structure.
|
|
2471
|
+
* @param options The options to use.
|
|
2472
|
+
* - `format`: The format of the output: `compact` or
|
|
2473
|
+
`expand`.
|
|
2474
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2475
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
2476
|
+
when `format` is set to `'expand'`.
|
|
2477
|
+
* @returns The JSON-LD representation of this object.
|
|
2478
|
+
*/
|
|
2479
|
+
toJsonLd(options?: {
|
|
2480
|
+
format?: "compact" | "expand";
|
|
2481
|
+
contextLoader?: DocumentLoader$1;
|
|
2482
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2483
|
+
}): Promise<unknown>;
|
|
2484
|
+
protected isCompactable(): boolean;
|
|
2485
|
+
/**
|
|
2486
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
2487
|
+
* @param json The JSON-LD structure to convert.
|
|
2488
|
+
* @param options The options to use.
|
|
2489
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
2490
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2491
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
2492
|
+
* If omitted, the global tracer provider is used.
|
|
2493
|
+
* @returns The object of this type.
|
|
2494
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
2495
|
+
*/
|
|
2496
|
+
static fromJsonLd(json: unknown, options?: {
|
|
2497
|
+
documentLoader?: DocumentLoader$1;
|
|
2498
|
+
contextLoader?: DocumentLoader$1;
|
|
2499
|
+
tracerProvider?: TracerProvider;
|
|
2500
|
+
baseUrl?: URL;
|
|
2501
|
+
}): Promise<InteractionPolicy>;
|
|
2502
|
+
protected static __fromJsonLd__InteractionPolicy__(json: unknown, span: Span, options?: {
|
|
2503
|
+
documentLoader?: DocumentLoader$1;
|
|
2504
|
+
contextLoader?: DocumentLoader$1;
|
|
2505
|
+
tracerProvider?: TracerProvider;
|
|
2506
|
+
baseUrl?: URL;
|
|
2507
|
+
}): Promise<InteractionPolicy>;
|
|
2508
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2509
|
+
}
|
|
2510
|
+
/** Represents a sub-policy within an {@link InteractionPolicy}, defining which
|
|
2511
|
+
* actors receive automatic or manual approval for a specific interaction type
|
|
2512
|
+
* (like, reply, or announce).
|
|
2513
|
+
*
|
|
2514
|
+
* Valid values in the approval lists include:
|
|
2515
|
+
*
|
|
2516
|
+
* - The ActivityStreams public collection
|
|
2517
|
+
* (`https://www.w3.org/ns/activitystreams#Public`) for anyone
|
|
2518
|
+
* - The post author's `followers` or `following` collection URIs
|
|
2519
|
+
* - Individual actor URIs
|
|
2520
|
+
*
|
|
2521
|
+
* When an actor appears in both `automaticApproval` and `manualApproval`,
|
|
2522
|
+
* the more specific value takes precedence (individual URI overrides
|
|
2523
|
+
* collection membership), and `automaticApproval` takes precedence over
|
|
2524
|
+
* `manualApproval` for identical URIs.
|
|
2525
|
+
*
|
|
2526
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
2527
|
+
* for details.
|
|
2528
|
+
*/
|
|
2529
|
+
declare class InteractionRule {
|
|
2530
|
+
#private;
|
|
2531
|
+
readonly id: URL | null;
|
|
2532
|
+
protected get _documentLoader(): DocumentLoader$1 | undefined;
|
|
2533
|
+
protected get _contextLoader(): DocumentLoader$1 | undefined;
|
|
2534
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
|
2535
|
+
protected get _warning(): {
|
|
2536
|
+
category: string[];
|
|
2537
|
+
message: string;
|
|
2538
|
+
values?: Record<string, unknown>;
|
|
2539
|
+
} | undefined;
|
|
2540
|
+
protected get _cachedJsonLd(): unknown | undefined;
|
|
2541
|
+
protected set _cachedJsonLd(value: unknown | undefined);
|
|
2542
|
+
/**
|
|
2543
|
+
* The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`.
|
|
2544
|
+
*/
|
|
2545
|
+
static get typeId(): URL;
|
|
2546
|
+
/**
|
|
2547
|
+
* Constructs a new instance of InteractionRule with the given values.
|
|
2548
|
+
* @param values The values to initialize the instance with.
|
|
2549
|
+
* @param options The options to use for initialization.
|
|
2550
|
+
*/
|
|
2551
|
+
constructor(values: {
|
|
2552
|
+
id?: URL | null;
|
|
2553
|
+
automaticApproval?: URL | null;
|
|
2554
|
+
automaticApprovals?: (URL)[];
|
|
2555
|
+
manualApproval?: URL | null;
|
|
2556
|
+
manualApprovals?: (URL)[];
|
|
2557
|
+
}, options?: {
|
|
2558
|
+
documentLoader?: DocumentLoader$1;
|
|
2559
|
+
contextLoader?: DocumentLoader$1;
|
|
2560
|
+
tracerProvider?: TracerProvider;
|
|
2561
|
+
});
|
|
2562
|
+
/**
|
|
2563
|
+
* Clones this instance, optionally updating it with the given values.
|
|
2564
|
+
* @param values The values to update the clone with.
|
|
2565
|
+
* @param options The options to use for cloning.
|
|
2566
|
+
* @returns The cloned instance.
|
|
2567
|
+
*/
|
|
2568
|
+
clone(values?: {
|
|
2569
|
+
id?: URL | null;
|
|
2570
|
+
automaticApproval?: URL | null;
|
|
2571
|
+
automaticApprovals?: (URL)[];
|
|
2572
|
+
manualApproval?: URL | null;
|
|
2573
|
+
manualApprovals?: (URL)[];
|
|
2574
|
+
}, options?: {
|
|
2575
|
+
documentLoader?: DocumentLoader$1;
|
|
2576
|
+
contextLoader?: DocumentLoader$1;
|
|
2577
|
+
}): InteractionRule;
|
|
2578
|
+
/** URIs of actors or collections whose interactions are automatically
|
|
2579
|
+
* approved without requiring manual review by the post author.
|
|
2580
|
+
*/
|
|
2581
|
+
get automaticApproval(): URL | null;
|
|
2582
|
+
/** URIs of actors or collections whose interactions are automatically
|
|
2583
|
+
* approved without requiring manual review by the post author.
|
|
2584
|
+
*/
|
|
2585
|
+
get automaticApprovals(): (URL)[];
|
|
2586
|
+
/** URIs of actors or collections whose interactions require manual approval
|
|
2587
|
+
* by the post author. The post author can accept or reject these
|
|
2588
|
+
* interactions at their discretion.
|
|
2589
|
+
*/
|
|
2590
|
+
get manualApproval(): URL | null;
|
|
2591
|
+
/** URIs of actors or collections whose interactions require manual approval
|
|
2592
|
+
* by the post author. The post author can accept or reject these
|
|
2593
|
+
* interactions at their discretion.
|
|
2594
|
+
*/
|
|
2595
|
+
get manualApprovals(): (URL)[];
|
|
2596
|
+
/**
|
|
2597
|
+
* Converts this object to a JSON-LD structure.
|
|
2598
|
+
* @param options The options to use.
|
|
2599
|
+
* - `format`: The format of the output: `compact` or
|
|
2600
|
+
`expand`.
|
|
2601
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2602
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
2603
|
+
when `format` is set to `'expand'`.
|
|
2604
|
+
* @returns The JSON-LD representation of this object.
|
|
2605
|
+
*/
|
|
2606
|
+
toJsonLd(options?: {
|
|
2607
|
+
format?: "compact" | "expand";
|
|
2608
|
+
contextLoader?: DocumentLoader$1;
|
|
2609
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2610
|
+
}): Promise<unknown>;
|
|
2611
|
+
protected isCompactable(): boolean;
|
|
2612
|
+
/**
|
|
2613
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
2614
|
+
* @param json The JSON-LD structure to convert.
|
|
2615
|
+
* @param options The options to use.
|
|
2616
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
2617
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2618
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
2619
|
+
* If omitted, the global tracer provider is used.
|
|
2620
|
+
* @returns The object of this type.
|
|
2621
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
2622
|
+
*/
|
|
2623
|
+
static fromJsonLd(json: unknown, options?: {
|
|
2624
|
+
documentLoader?: DocumentLoader$1;
|
|
2625
|
+
contextLoader?: DocumentLoader$1;
|
|
2626
|
+
tracerProvider?: TracerProvider;
|
|
2627
|
+
baseUrl?: URL;
|
|
2628
|
+
}): Promise<InteractionRule>;
|
|
2629
|
+
protected static __fromJsonLd__InteractionRule__(json: unknown, span: Span, options?: {
|
|
2630
|
+
documentLoader?: DocumentLoader$1;
|
|
2631
|
+
contextLoader?: DocumentLoader$1;
|
|
2632
|
+
tracerProvider?: TracerProvider;
|
|
2633
|
+
baseUrl?: URL;
|
|
2634
|
+
}): Promise<InteractionRule>;
|
|
2635
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2636
|
+
}
|
|
2637
|
+
/** Proves that a {@link Like} interaction has been approved by the post author.
|
|
2638
|
+
*
|
|
2639
|
+
* This object is dereferenceable and is used by third parties to verify
|
|
2640
|
+
* that a like was authorized. The `attributedTo` property identifies
|
|
2641
|
+
* the post author who granted the approval.
|
|
2642
|
+
*
|
|
2643
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
2644
|
+
* for details.
|
|
2645
|
+
*/
|
|
2646
|
+
declare class LikeAuthorization extends Object$1 {
|
|
2647
|
+
#private;
|
|
2648
|
+
/**
|
|
2649
|
+
* The type URI of {@link LikeAuthorization}: `https://gotosocial.org/ns#LikeApproval`.
|
|
2650
|
+
*/
|
|
2651
|
+
static get typeId(): URL;
|
|
2652
|
+
/**
|
|
2653
|
+
* Constructs a new instance of LikeAuthorization with the given values.
|
|
2654
|
+
* @param values The values to initialize the instance with.
|
|
2655
|
+
* @param options The options to use for initialization.
|
|
2656
|
+
*/
|
|
2657
|
+
constructor(values: {
|
|
2658
|
+
id?: URL | null;
|
|
2659
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2660
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2661
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2662
|
+
audience?: Object$1 | URL | null;
|
|
2663
|
+
audiences?: (Object$1 | URL)[];
|
|
2664
|
+
content?: string | LanguageString$1 | null;
|
|
2665
|
+
contents?: ((string | LanguageString$1))[];
|
|
2666
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2667
|
+
name?: string | LanguageString$1 | null;
|
|
2668
|
+
names?: ((string | LanguageString$1))[];
|
|
2669
|
+
endTime?: Temporal.Instant | null;
|
|
2670
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2671
|
+
icon?: Image | URL | null;
|
|
2672
|
+
icons?: (Image | URL)[];
|
|
2673
|
+
image?: Image | URL | null;
|
|
2674
|
+
images?: (Image | URL)[];
|
|
2675
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2676
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2677
|
+
location?: Object$1 | Link | URL | null;
|
|
2678
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2679
|
+
preview?: Link | Object$1 | URL | null;
|
|
2680
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2681
|
+
published?: Temporal.Instant | null;
|
|
2682
|
+
replies?: Collection | URL | null;
|
|
2683
|
+
shares?: Collection | URL | null;
|
|
2684
|
+
likes?: Collection | URL | null;
|
|
2685
|
+
emojiReactions?: Collection | URL | null;
|
|
2686
|
+
startTime?: Temporal.Instant | null;
|
|
2687
|
+
summary?: string | LanguageString$1 | null;
|
|
2688
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2689
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2690
|
+
updated?: Temporal.Instant | null;
|
|
2691
|
+
url?: URL | Link | null;
|
|
2692
|
+
urls?: ((URL | Link))[];
|
|
2693
|
+
to?: Object$1 | URL | null;
|
|
2694
|
+
tos?: (Object$1 | URL)[];
|
|
2695
|
+
bto?: Object$1 | URL | null;
|
|
2696
|
+
btos?: (Object$1 | URL)[];
|
|
2697
|
+
cc?: Object$1 | URL | null;
|
|
2698
|
+
ccs?: (Object$1 | URL)[];
|
|
2699
|
+
bcc?: Object$1 | URL | null;
|
|
2700
|
+
bccs?: (Object$1 | URL)[];
|
|
2701
|
+
mediaType?: string | null;
|
|
2702
|
+
duration?: Temporal.Duration | null;
|
|
2703
|
+
sensitive?: boolean | null;
|
|
2704
|
+
source?: Source | null;
|
|
2705
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2706
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2707
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2708
|
+
approvedBy?: URL | null;
|
|
2709
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2710
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2711
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2712
|
+
interactingObject?: Object$1 | URL | null;
|
|
2713
|
+
interactionTarget?: Object$1 | URL | null;
|
|
2714
|
+
}, options?: {
|
|
2715
|
+
documentLoader?: DocumentLoader$1;
|
|
2716
|
+
contextLoader?: DocumentLoader$1;
|
|
2717
|
+
tracerProvider?: TracerProvider;
|
|
2718
|
+
});
|
|
2719
|
+
/**
|
|
2720
|
+
* Clones this instance, optionally updating it with the given values.
|
|
2721
|
+
* @param values The values to update the clone with.
|
|
2722
|
+
* @param options The options to use for cloning.
|
|
2723
|
+
* @returns The cloned instance.
|
|
2724
|
+
*/
|
|
2725
|
+
clone(values?: {
|
|
2726
|
+
id?: URL | null;
|
|
2727
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2728
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2729
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2730
|
+
audience?: Object$1 | URL | null;
|
|
2731
|
+
audiences?: (Object$1 | URL)[];
|
|
2732
|
+
content?: string | LanguageString$1 | null;
|
|
2733
|
+
contents?: ((string | LanguageString$1))[];
|
|
2734
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2735
|
+
name?: string | LanguageString$1 | null;
|
|
2736
|
+
names?: ((string | LanguageString$1))[];
|
|
2737
|
+
endTime?: Temporal.Instant | null;
|
|
2738
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2739
|
+
icon?: Image | URL | null;
|
|
2740
|
+
icons?: (Image | URL)[];
|
|
2741
|
+
image?: Image | URL | null;
|
|
2742
|
+
images?: (Image | URL)[];
|
|
2743
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2744
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2745
|
+
location?: Object$1 | Link | URL | null;
|
|
2746
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2747
|
+
preview?: Link | Object$1 | URL | null;
|
|
2748
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2749
|
+
published?: Temporal.Instant | null;
|
|
2750
|
+
replies?: Collection | URL | null;
|
|
2751
|
+
shares?: Collection | URL | null;
|
|
2752
|
+
likes?: Collection | URL | null;
|
|
2753
|
+
emojiReactions?: Collection | URL | null;
|
|
2754
|
+
startTime?: Temporal.Instant | null;
|
|
2755
|
+
summary?: string | LanguageString$1 | null;
|
|
2756
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2757
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2758
|
+
updated?: Temporal.Instant | null;
|
|
2759
|
+
url?: URL | Link | null;
|
|
2760
|
+
urls?: ((URL | Link))[];
|
|
2761
|
+
to?: Object$1 | URL | null;
|
|
2762
|
+
tos?: (Object$1 | URL)[];
|
|
2763
|
+
bto?: Object$1 | URL | null;
|
|
2764
|
+
btos?: (Object$1 | URL)[];
|
|
2765
|
+
cc?: Object$1 | URL | null;
|
|
2766
|
+
ccs?: (Object$1 | URL)[];
|
|
2767
|
+
bcc?: Object$1 | URL | null;
|
|
2768
|
+
bccs?: (Object$1 | URL)[];
|
|
2769
|
+
mediaType?: string | null;
|
|
2770
|
+
duration?: Temporal.Duration | null;
|
|
2771
|
+
sensitive?: boolean | null;
|
|
2772
|
+
source?: Source | null;
|
|
2773
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2774
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2775
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2776
|
+
approvedBy?: URL | null;
|
|
2777
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2778
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2779
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2780
|
+
interactingObject?: Object$1 | URL | null;
|
|
2781
|
+
interactionTarget?: Object$1 | URL | null;
|
|
2782
|
+
}, options?: {
|
|
2783
|
+
documentLoader?: DocumentLoader$1;
|
|
2784
|
+
contextLoader?: DocumentLoader$1;
|
|
2785
|
+
}): LikeAuthorization;
|
|
2786
|
+
/**
|
|
2787
|
+
* Similar to
|
|
2788
|
+
* {@link LikeAuthorization.getInteractingObject},
|
|
2789
|
+
* but returns its `@id` URL instead of the object itself.
|
|
2790
|
+
*/
|
|
2791
|
+
get interactingObjectId(): URL | null;
|
|
2792
|
+
/** The URI of the interaction (e.g., a {@link Like} activity) that
|
|
2793
|
+
* has been authorized.
|
|
2794
|
+
*/
|
|
2795
|
+
getInteractingObject(options?: {
|
|
2796
|
+
documentLoader?: DocumentLoader$1;
|
|
2797
|
+
contextLoader?: DocumentLoader$1;
|
|
2798
|
+
suppressError?: boolean;
|
|
2799
|
+
tracerProvider?: TracerProvider;
|
|
2800
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
2801
|
+
}): Promise<Object$1 | null>;
|
|
2802
|
+
/**
|
|
2803
|
+
* Similar to
|
|
2804
|
+
* {@link LikeAuthorization.getInteractionTarget},
|
|
2805
|
+
* but returns its `@id` URL instead of the object itself.
|
|
2806
|
+
*/
|
|
2807
|
+
get interactionTargetId(): URL | null;
|
|
2808
|
+
/** The URI of the post that is the target of the authorized interaction.
|
|
2809
|
+
*/
|
|
2810
|
+
getInteractionTarget(options?: {
|
|
2811
|
+
documentLoader?: DocumentLoader$1;
|
|
2812
|
+
contextLoader?: DocumentLoader$1;
|
|
2813
|
+
suppressError?: boolean;
|
|
2814
|
+
tracerProvider?: TracerProvider;
|
|
2815
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
2816
|
+
}): Promise<Object$1 | null>;
|
|
2817
|
+
/**
|
|
2818
|
+
* Converts this object to a JSON-LD structure.
|
|
2819
|
+
* @param options The options to use.
|
|
2820
|
+
* - `format`: The format of the output: `compact` or
|
|
2821
|
+
`expand`.
|
|
2822
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2823
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
2824
|
+
when `format` is set to `'expand'`.
|
|
2825
|
+
* @returns The JSON-LD representation of this object.
|
|
2826
|
+
*/
|
|
2827
|
+
toJsonLd(options?: {
|
|
2828
|
+
format?: "compact" | "expand";
|
|
2829
|
+
contextLoader?: DocumentLoader$1;
|
|
2830
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
2831
|
+
}): Promise<unknown>;
|
|
2832
|
+
protected isCompactable(): boolean;
|
|
2833
|
+
/**
|
|
2834
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
2835
|
+
* @param json The JSON-LD structure to convert.
|
|
2836
|
+
* @param options The options to use.
|
|
2837
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
2838
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
2839
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
2840
|
+
* If omitted, the global tracer provider is used.
|
|
2841
|
+
* @returns The object of this type.
|
|
2842
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
2843
|
+
*/
|
|
2844
|
+
static fromJsonLd(json: unknown, options?: {
|
|
2845
|
+
documentLoader?: DocumentLoader$1;
|
|
2846
|
+
contextLoader?: DocumentLoader$1;
|
|
2847
|
+
tracerProvider?: TracerProvider;
|
|
2848
|
+
baseUrl?: URL;
|
|
2849
|
+
}): Promise<LikeAuthorization>;
|
|
2850
|
+
protected static __fromJsonLd__LikeAuthorization__(json: unknown, span: Span, options?: {
|
|
2851
|
+
documentLoader?: DocumentLoader$1;
|
|
2852
|
+
contextLoader?: DocumentLoader$1;
|
|
2853
|
+
tracerProvider?: TracerProvider;
|
|
2854
|
+
baseUrl?: URL;
|
|
2855
|
+
}): Promise<LikeAuthorization>;
|
|
2856
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
2857
|
+
}
|
|
2858
|
+
/** A request to like a post that requires approval from the post author.
|
|
2859
|
+
*
|
|
2860
|
+
* The `object` property references the post to be liked, and
|
|
2861
|
+
* the `instrument` property contains the {@link Like} activity itself.
|
|
2862
|
+
*
|
|
2863
|
+
* The post author responds with an {@link Accept} (with a
|
|
2864
|
+
* {@link LikeAuthorization} as `result`) or a {@link Reject}.
|
|
2865
|
+
*
|
|
2866
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
2867
|
+
* for details.
|
|
2868
|
+
*/
|
|
2869
|
+
declare class LikeRequest extends Activity {
|
|
2870
|
+
/**
|
|
2871
|
+
* The type URI of {@link LikeRequest}: `https://gotosocial.org/ns#LikeRequest`.
|
|
2872
|
+
*/
|
|
2873
|
+
static get typeId(): URL;
|
|
2874
|
+
/**
|
|
2875
|
+
* Constructs a new instance of LikeRequest with the given values.
|
|
2876
|
+
* @param values The values to initialize the instance with.
|
|
2877
|
+
* @param options The options to use for initialization.
|
|
2878
|
+
*/
|
|
2879
|
+
constructor(values: {
|
|
2880
|
+
id?: URL | null;
|
|
2881
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2882
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2883
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2884
|
+
audience?: Object$1 | URL | null;
|
|
2885
|
+
audiences?: (Object$1 | URL)[];
|
|
2886
|
+
content?: string | LanguageString$1 | null;
|
|
2887
|
+
contents?: ((string | LanguageString$1))[];
|
|
2888
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2889
|
+
name?: string | LanguageString$1 | null;
|
|
2890
|
+
names?: ((string | LanguageString$1))[];
|
|
2891
|
+
endTime?: Temporal.Instant | null;
|
|
2892
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2893
|
+
icon?: Image | URL | null;
|
|
2894
|
+
icons?: (Image | URL)[];
|
|
2895
|
+
image?: Image | URL | null;
|
|
2896
|
+
images?: (Image | URL)[];
|
|
2897
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2898
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2899
|
+
location?: Object$1 | Link | URL | null;
|
|
2900
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2901
|
+
preview?: Link | Object$1 | URL | null;
|
|
2902
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2903
|
+
published?: Temporal.Instant | null;
|
|
2904
|
+
replies?: Collection | URL | null;
|
|
2905
|
+
shares?: Collection | URL | null;
|
|
2906
|
+
likes?: Collection | URL | null;
|
|
2907
|
+
emojiReactions?: Collection | URL | null;
|
|
2908
|
+
startTime?: Temporal.Instant | null;
|
|
2909
|
+
summary?: string | LanguageString$1 | null;
|
|
2910
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2911
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2912
|
+
updated?: Temporal.Instant | null;
|
|
2913
|
+
url?: URL | Link | null;
|
|
2914
|
+
urls?: ((URL | Link))[];
|
|
2915
|
+
to?: Object$1 | URL | null;
|
|
2916
|
+
tos?: (Object$1 | URL)[];
|
|
2917
|
+
bto?: Object$1 | URL | null;
|
|
2918
|
+
btos?: (Object$1 | URL)[];
|
|
2919
|
+
cc?: Object$1 | URL | null;
|
|
2920
|
+
ccs?: (Object$1 | URL)[];
|
|
2921
|
+
bcc?: Object$1 | URL | null;
|
|
2922
|
+
bccs?: (Object$1 | URL)[];
|
|
2923
|
+
mediaType?: string | null;
|
|
2924
|
+
duration?: Temporal.Duration | null;
|
|
2925
|
+
sensitive?: boolean | null;
|
|
2926
|
+
source?: Source | null;
|
|
2927
|
+
proof?: DataIntegrityProof | URL | null;
|
|
2928
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
2929
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
2930
|
+
approvedBy?: URL | null;
|
|
2931
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
2932
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
2933
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2934
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2935
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2936
|
+
object?: Object$1 | URL | null;
|
|
2937
|
+
objects?: (Object$1 | URL)[];
|
|
2938
|
+
target?: Object$1 | URL | null;
|
|
2939
|
+
targets?: (Object$1 | URL)[];
|
|
2940
|
+
result?: Object$1 | URL | null;
|
|
2941
|
+
results?: (Object$1 | URL)[];
|
|
2942
|
+
origin?: Object$1 | URL | null;
|
|
2943
|
+
origins?: (Object$1 | URL)[];
|
|
2944
|
+
instrument?: Object$1 | URL | null;
|
|
2945
|
+
instruments?: (Object$1 | URL)[];
|
|
2946
|
+
}, options?: {
|
|
2947
|
+
documentLoader?: DocumentLoader$1;
|
|
2948
|
+
contextLoader?: DocumentLoader$1;
|
|
2949
|
+
tracerProvider?: TracerProvider;
|
|
2950
|
+
});
|
|
2951
|
+
/**
|
|
2952
|
+
* Clones this instance, optionally updating it with the given values.
|
|
2953
|
+
* @param values The values to update the clone with.
|
|
2954
|
+
* @param options The options to use for cloning.
|
|
2955
|
+
* @returns The cloned instance.
|
|
2956
|
+
*/
|
|
2957
|
+
clone(values?: {
|
|
2958
|
+
id?: URL | null;
|
|
2959
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
2960
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
2961
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2962
|
+
audience?: Object$1 | URL | null;
|
|
2963
|
+
audiences?: (Object$1 | URL)[];
|
|
2964
|
+
content?: string | LanguageString$1 | null;
|
|
2965
|
+
contents?: ((string | LanguageString$1))[];
|
|
2966
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
2967
|
+
name?: string | LanguageString$1 | null;
|
|
2968
|
+
names?: ((string | LanguageString$1))[];
|
|
2969
|
+
endTime?: Temporal.Instant | null;
|
|
2970
|
+
generators?: (Object$1 | Link | URL)[];
|
|
2971
|
+
icon?: Image | URL | null;
|
|
2972
|
+
icons?: (Image | URL)[];
|
|
2973
|
+
image?: Image | URL | null;
|
|
2974
|
+
images?: (Image | URL)[];
|
|
2975
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
2976
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
2977
|
+
location?: Object$1 | Link | URL | null;
|
|
2978
|
+
locations?: (Object$1 | Link | URL)[];
|
|
2979
|
+
preview?: Link | Object$1 | URL | null;
|
|
2980
|
+
previews?: (Link | Object$1 | URL)[];
|
|
2981
|
+
published?: Temporal.Instant | null;
|
|
2982
|
+
replies?: Collection | URL | null;
|
|
2983
|
+
shares?: Collection | URL | null;
|
|
2984
|
+
likes?: Collection | URL | null;
|
|
2985
|
+
emojiReactions?: Collection | URL | null;
|
|
2986
|
+
startTime?: Temporal.Instant | null;
|
|
2987
|
+
summary?: string | LanguageString$1 | null;
|
|
2988
|
+
summaries?: ((string | LanguageString$1))[];
|
|
2989
|
+
tags?: (Object$1 | Link | URL)[];
|
|
2990
|
+
updated?: Temporal.Instant | null;
|
|
2991
|
+
url?: URL | Link | null;
|
|
2992
|
+
urls?: ((URL | Link))[];
|
|
2993
|
+
to?: Object$1 | URL | null;
|
|
2994
|
+
tos?: (Object$1 | URL)[];
|
|
2995
|
+
bto?: Object$1 | URL | null;
|
|
2996
|
+
btos?: (Object$1 | URL)[];
|
|
2997
|
+
cc?: Object$1 | URL | null;
|
|
2998
|
+
ccs?: (Object$1 | URL)[];
|
|
2999
|
+
bcc?: Object$1 | URL | null;
|
|
3000
|
+
bccs?: (Object$1 | URL)[];
|
|
3001
|
+
mediaType?: string | null;
|
|
3002
|
+
duration?: Temporal.Duration | null;
|
|
3003
|
+
sensitive?: boolean | null;
|
|
3004
|
+
source?: Source | null;
|
|
3005
|
+
proof?: DataIntegrityProof | URL | null;
|
|
3006
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
3007
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
3008
|
+
approvedBy?: URL | null;
|
|
3009
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
3010
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
3011
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3012
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3013
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3014
|
+
object?: Object$1 | URL | null;
|
|
3015
|
+
objects?: (Object$1 | URL)[];
|
|
3016
|
+
target?: Object$1 | URL | null;
|
|
3017
|
+
targets?: (Object$1 | URL)[];
|
|
3018
|
+
result?: Object$1 | URL | null;
|
|
3019
|
+
results?: (Object$1 | URL)[];
|
|
3020
|
+
origin?: Object$1 | URL | null;
|
|
3021
|
+
origins?: (Object$1 | URL)[];
|
|
3022
|
+
instrument?: Object$1 | URL | null;
|
|
3023
|
+
instruments?: (Object$1 | URL)[];
|
|
3024
|
+
}, options?: {
|
|
3025
|
+
documentLoader?: DocumentLoader$1;
|
|
3026
|
+
contextLoader?: DocumentLoader$1;
|
|
3027
|
+
}): LikeRequest;
|
|
3028
|
+
/**
|
|
3029
|
+
* Converts this object to a JSON-LD structure.
|
|
3030
|
+
* @param options The options to use.
|
|
3031
|
+
* - `format`: The format of the output: `compact` or
|
|
3032
|
+
`expand`.
|
|
3033
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
3034
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
3035
|
+
when `format` is set to `'expand'`.
|
|
3036
|
+
* @returns The JSON-LD representation of this object.
|
|
3037
|
+
*/
|
|
3038
|
+
toJsonLd(options?: {
|
|
3039
|
+
format?: "compact" | "expand";
|
|
3040
|
+
contextLoader?: DocumentLoader$1;
|
|
3041
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3042
|
+
}): Promise<unknown>;
|
|
3043
|
+
protected isCompactable(): boolean;
|
|
3044
|
+
/**
|
|
3045
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
3046
|
+
* @param json The JSON-LD structure to convert.
|
|
3047
|
+
* @param options The options to use.
|
|
3048
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
3049
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
3050
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
3051
|
+
* If omitted, the global tracer provider is used.
|
|
3052
|
+
* @returns The object of this type.
|
|
3053
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
3054
|
+
*/
|
|
3055
|
+
static fromJsonLd(json: unknown, options?: {
|
|
3056
|
+
documentLoader?: DocumentLoader$1;
|
|
3057
|
+
contextLoader?: DocumentLoader$1;
|
|
3058
|
+
tracerProvider?: TracerProvider;
|
|
3059
|
+
baseUrl?: URL;
|
|
3060
|
+
}): Promise<LikeRequest>;
|
|
3061
|
+
protected static __fromJsonLd__LikeRequest__(json: unknown, span: Span, options?: {
|
|
3062
|
+
documentLoader?: DocumentLoader$1;
|
|
3063
|
+
contextLoader?: DocumentLoader$1;
|
|
3064
|
+
tracerProvider?: TracerProvider;
|
|
3065
|
+
baseUrl?: URL;
|
|
3066
|
+
}): Promise<LikeRequest>;
|
|
3067
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3068
|
+
}
|
|
3069
|
+
/** Proves that a reply interaction has been approved by the post author.
|
|
3070
|
+
*
|
|
3071
|
+
* This object is dereferenceable and is used by third parties to verify
|
|
3072
|
+
* that a reply was authorized. The `attributedTo` property identifies
|
|
3073
|
+
* the post author who granted the approval.
|
|
3074
|
+
*
|
|
3075
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
3076
|
+
* for details.
|
|
3077
|
+
*/
|
|
3078
|
+
declare class ReplyAuthorization extends Object$1 {
|
|
3079
|
+
#private;
|
|
3080
|
+
/**
|
|
3081
|
+
* The type URI of {@link ReplyAuthorization}: `https://gotosocial.org/ns#ReplyAuthorization`.
|
|
3082
|
+
*/
|
|
3083
|
+
static get typeId(): URL;
|
|
3084
|
+
/**
|
|
3085
|
+
* Constructs a new instance of ReplyAuthorization with the given values.
|
|
3086
|
+
* @param values The values to initialize the instance with.
|
|
3087
|
+
* @param options The options to use for initialization.
|
|
3088
|
+
*/
|
|
3089
|
+
constructor(values: {
|
|
3090
|
+
id?: URL | null;
|
|
3091
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
3092
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
3093
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3094
|
+
audience?: Object$1 | URL | null;
|
|
3095
|
+
audiences?: (Object$1 | URL)[];
|
|
3096
|
+
content?: string | LanguageString$1 | null;
|
|
3097
|
+
contents?: ((string | LanguageString$1))[];
|
|
3098
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
3099
|
+
name?: string | LanguageString$1 | null;
|
|
3100
|
+
names?: ((string | LanguageString$1))[];
|
|
3101
|
+
endTime?: Temporal.Instant | null;
|
|
3102
|
+
generators?: (Object$1 | Link | URL)[];
|
|
3103
|
+
icon?: Image | URL | null;
|
|
3104
|
+
icons?: (Image | URL)[];
|
|
3105
|
+
image?: Image | URL | null;
|
|
3106
|
+
images?: (Image | URL)[];
|
|
3107
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
3108
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
3109
|
+
location?: Object$1 | Link | URL | null;
|
|
3110
|
+
locations?: (Object$1 | Link | URL)[];
|
|
3111
|
+
preview?: Link | Object$1 | URL | null;
|
|
3112
|
+
previews?: (Link | Object$1 | URL)[];
|
|
3113
|
+
published?: Temporal.Instant | null;
|
|
3114
|
+
replies?: Collection | URL | null;
|
|
3115
|
+
shares?: Collection | URL | null;
|
|
3116
|
+
likes?: Collection | URL | null;
|
|
3117
|
+
emojiReactions?: Collection | URL | null;
|
|
3118
|
+
startTime?: Temporal.Instant | null;
|
|
3119
|
+
summary?: string | LanguageString$1 | null;
|
|
3120
|
+
summaries?: ((string | LanguageString$1))[];
|
|
3121
|
+
tags?: (Object$1 | Link | URL)[];
|
|
3122
|
+
updated?: Temporal.Instant | null;
|
|
3123
|
+
url?: URL | Link | null;
|
|
3124
|
+
urls?: ((URL | Link))[];
|
|
3125
|
+
to?: Object$1 | URL | null;
|
|
3126
|
+
tos?: (Object$1 | URL)[];
|
|
3127
|
+
bto?: Object$1 | URL | null;
|
|
3128
|
+
btos?: (Object$1 | URL)[];
|
|
3129
|
+
cc?: Object$1 | URL | null;
|
|
3130
|
+
ccs?: (Object$1 | URL)[];
|
|
3131
|
+
bcc?: Object$1 | URL | null;
|
|
3132
|
+
bccs?: (Object$1 | URL)[];
|
|
3133
|
+
mediaType?: string | null;
|
|
3134
|
+
duration?: Temporal.Duration | null;
|
|
3135
|
+
sensitive?: boolean | null;
|
|
3136
|
+
source?: Source | null;
|
|
3137
|
+
proof?: DataIntegrityProof | URL | null;
|
|
3138
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
3139
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
3140
|
+
approvedBy?: URL | null;
|
|
3141
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
3142
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
3143
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3144
|
+
interactingObject?: Object$1 | URL | null;
|
|
3145
|
+
interactionTarget?: Object$1 | URL | null;
|
|
3146
|
+
}, options?: {
|
|
3147
|
+
documentLoader?: DocumentLoader$1;
|
|
3148
|
+
contextLoader?: DocumentLoader$1;
|
|
3149
|
+
tracerProvider?: TracerProvider;
|
|
3150
|
+
});
|
|
3151
|
+
/**
|
|
3152
|
+
* Clones this instance, optionally updating it with the given values.
|
|
3153
|
+
* @param values The values to update the clone with.
|
|
3154
|
+
* @param options The options to use for cloning.
|
|
3155
|
+
* @returns The cloned instance.
|
|
3156
|
+
*/
|
|
3157
|
+
clone(values?: {
|
|
3158
|
+
id?: URL | null;
|
|
3159
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
3160
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
3161
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3162
|
+
audience?: Object$1 | URL | null;
|
|
3163
|
+
audiences?: (Object$1 | URL)[];
|
|
3164
|
+
content?: string | LanguageString$1 | null;
|
|
3165
|
+
contents?: ((string | LanguageString$1))[];
|
|
3166
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
3167
|
+
name?: string | LanguageString$1 | null;
|
|
3168
|
+
names?: ((string | LanguageString$1))[];
|
|
3169
|
+
endTime?: Temporal.Instant | null;
|
|
3170
|
+
generators?: (Object$1 | Link | URL)[];
|
|
3171
|
+
icon?: Image | URL | null;
|
|
3172
|
+
icons?: (Image | URL)[];
|
|
3173
|
+
image?: Image | URL | null;
|
|
3174
|
+
images?: (Image | URL)[];
|
|
3175
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
3176
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
3177
|
+
location?: Object$1 | Link | URL | null;
|
|
3178
|
+
locations?: (Object$1 | Link | URL)[];
|
|
3179
|
+
preview?: Link | Object$1 | URL | null;
|
|
3180
|
+
previews?: (Link | Object$1 | URL)[];
|
|
3181
|
+
published?: Temporal.Instant | null;
|
|
3182
|
+
replies?: Collection | URL | null;
|
|
3183
|
+
shares?: Collection | URL | null;
|
|
3184
|
+
likes?: Collection | URL | null;
|
|
3185
|
+
emojiReactions?: Collection | URL | null;
|
|
3186
|
+
startTime?: Temporal.Instant | null;
|
|
3187
|
+
summary?: string | LanguageString$1 | null;
|
|
3188
|
+
summaries?: ((string | LanguageString$1))[];
|
|
3189
|
+
tags?: (Object$1 | Link | URL)[];
|
|
3190
|
+
updated?: Temporal.Instant | null;
|
|
3191
|
+
url?: URL | Link | null;
|
|
3192
|
+
urls?: ((URL | Link))[];
|
|
3193
|
+
to?: Object$1 | URL | null;
|
|
3194
|
+
tos?: (Object$1 | URL)[];
|
|
3195
|
+
bto?: Object$1 | URL | null;
|
|
3196
|
+
btos?: (Object$1 | URL)[];
|
|
3197
|
+
cc?: Object$1 | URL | null;
|
|
3198
|
+
ccs?: (Object$1 | URL)[];
|
|
3199
|
+
bcc?: Object$1 | URL | null;
|
|
3200
|
+
bccs?: (Object$1 | URL)[];
|
|
3201
|
+
mediaType?: string | null;
|
|
3202
|
+
duration?: Temporal.Duration | null;
|
|
3203
|
+
sensitive?: boolean | null;
|
|
3204
|
+
source?: Source | null;
|
|
3205
|
+
proof?: DataIntegrityProof | URL | null;
|
|
3206
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
3207
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
3208
|
+
approvedBy?: URL | null;
|
|
3209
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
3210
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
3211
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3212
|
+
interactingObject?: Object$1 | URL | null;
|
|
3213
|
+
interactionTarget?: Object$1 | URL | null;
|
|
3214
|
+
}, options?: {
|
|
3215
|
+
documentLoader?: DocumentLoader$1;
|
|
3216
|
+
contextLoader?: DocumentLoader$1;
|
|
3217
|
+
}): ReplyAuthorization;
|
|
3218
|
+
/**
|
|
3219
|
+
* Similar to
|
|
3220
|
+
* {@link ReplyAuthorization.getInteractingObject},
|
|
3221
|
+
* but returns its `@id` URL instead of the object itself.
|
|
3222
|
+
*/
|
|
3223
|
+
get interactingObjectId(): URL | null;
|
|
3224
|
+
/** The URI of the reply object (e.g., a {@link Note}) that has been
|
|
3225
|
+
* authorized.
|
|
3226
|
+
*/
|
|
3227
|
+
getInteractingObject(options?: {
|
|
3228
|
+
documentLoader?: DocumentLoader$1;
|
|
3229
|
+
contextLoader?: DocumentLoader$1;
|
|
3230
|
+
suppressError?: boolean;
|
|
3231
|
+
tracerProvider?: TracerProvider;
|
|
3232
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
3233
|
+
}): Promise<Object$1 | null>;
|
|
3234
|
+
/**
|
|
3235
|
+
* Similar to
|
|
3236
|
+
* {@link ReplyAuthorization.getInteractionTarget},
|
|
3237
|
+
* but returns its `@id` URL instead of the object itself.
|
|
3238
|
+
*/
|
|
3239
|
+
get interactionTargetId(): URL | null;
|
|
3240
|
+
/** The URI of the post that is the target of the authorized reply.
|
|
3241
|
+
*/
|
|
3242
|
+
getInteractionTarget(options?: {
|
|
3243
|
+
documentLoader?: DocumentLoader$1;
|
|
3244
|
+
contextLoader?: DocumentLoader$1;
|
|
3245
|
+
suppressError?: boolean;
|
|
3246
|
+
tracerProvider?: TracerProvider;
|
|
3247
|
+
crossOrigin?: "ignore" | "throw" | "trust";
|
|
3248
|
+
}): Promise<Object$1 | null>;
|
|
3249
|
+
/**
|
|
3250
|
+
* Converts this object to a JSON-LD structure.
|
|
3251
|
+
* @param options The options to use.
|
|
3252
|
+
* - `format`: The format of the output: `compact` or
|
|
3253
|
+
`expand`.
|
|
3254
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
3255
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
3256
|
+
when `format` is set to `'expand'`.
|
|
3257
|
+
* @returns The JSON-LD representation of this object.
|
|
3258
|
+
*/
|
|
3259
|
+
toJsonLd(options?: {
|
|
3260
|
+
format?: "compact" | "expand";
|
|
3261
|
+
contextLoader?: DocumentLoader$1;
|
|
3262
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3263
|
+
}): Promise<unknown>;
|
|
3264
|
+
protected isCompactable(): boolean;
|
|
3265
|
+
/**
|
|
3266
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
3267
|
+
* @param json The JSON-LD structure to convert.
|
|
3268
|
+
* @param options The options to use.
|
|
3269
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
3270
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
3271
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
3272
|
+
* If omitted, the global tracer provider is used.
|
|
3273
|
+
* @returns The object of this type.
|
|
3274
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
3275
|
+
*/
|
|
3276
|
+
static fromJsonLd(json: unknown, options?: {
|
|
3277
|
+
documentLoader?: DocumentLoader$1;
|
|
3278
|
+
contextLoader?: DocumentLoader$1;
|
|
3279
|
+
tracerProvider?: TracerProvider;
|
|
3280
|
+
baseUrl?: URL;
|
|
3281
|
+
}): Promise<ReplyAuthorization>;
|
|
3282
|
+
protected static __fromJsonLd__ReplyAuthorization__(json: unknown, span: Span, options?: {
|
|
3283
|
+
documentLoader?: DocumentLoader$1;
|
|
3284
|
+
contextLoader?: DocumentLoader$1;
|
|
3285
|
+
tracerProvider?: TracerProvider;
|
|
3286
|
+
baseUrl?: URL;
|
|
3287
|
+
}): Promise<ReplyAuthorization>;
|
|
3288
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3289
|
+
}
|
|
3290
|
+
/** A request to reply to a post that requires approval from the post author.
|
|
3291
|
+
*
|
|
3292
|
+
* The `object` property references the post to be replied to, and
|
|
3293
|
+
* the `instrument` property contains the reply itself (e.g., a {@link Note}).
|
|
3294
|
+
*
|
|
3295
|
+
* The post author responds with an {@link Accept} (with a
|
|
3296
|
+
* {@link ReplyAuthorization} as `result`) or a {@link Reject}.
|
|
3297
|
+
*
|
|
3298
|
+
* See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/)
|
|
3299
|
+
* for details.
|
|
3300
|
+
*/
|
|
3301
|
+
declare class ReplyRequest extends Activity {
|
|
3302
|
+
/**
|
|
3303
|
+
* The type URI of {@link ReplyRequest}: `https://gotosocial.org/ns#ReplyRequest`.
|
|
3304
|
+
*/
|
|
3305
|
+
static get typeId(): URL;
|
|
3306
|
+
/**
|
|
3307
|
+
* Constructs a new instance of ReplyRequest with the given values.
|
|
3308
|
+
* @param values The values to initialize the instance with.
|
|
3309
|
+
* @param options The options to use for initialization.
|
|
3310
|
+
*/
|
|
3311
|
+
constructor(values: {
|
|
3312
|
+
id?: URL | null;
|
|
3313
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
3314
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
3315
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3316
|
+
audience?: Object$1 | URL | null;
|
|
3317
|
+
audiences?: (Object$1 | URL)[];
|
|
3318
|
+
content?: string | LanguageString$1 | null;
|
|
3319
|
+
contents?: ((string | LanguageString$1))[];
|
|
3320
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
3321
|
+
name?: string | LanguageString$1 | null;
|
|
3322
|
+
names?: ((string | LanguageString$1))[];
|
|
3323
|
+
endTime?: Temporal.Instant | null;
|
|
3324
|
+
generators?: (Object$1 | Link | URL)[];
|
|
3325
|
+
icon?: Image | URL | null;
|
|
3326
|
+
icons?: (Image | URL)[];
|
|
3327
|
+
image?: Image | URL | null;
|
|
3328
|
+
images?: (Image | URL)[];
|
|
3329
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
3330
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
3331
|
+
location?: Object$1 | Link | URL | null;
|
|
3332
|
+
locations?: (Object$1 | Link | URL)[];
|
|
3333
|
+
preview?: Link | Object$1 | URL | null;
|
|
3334
|
+
previews?: (Link | Object$1 | URL)[];
|
|
3335
|
+
published?: Temporal.Instant | null;
|
|
3336
|
+
replies?: Collection | URL | null;
|
|
3337
|
+
shares?: Collection | URL | null;
|
|
3338
|
+
likes?: Collection | URL | null;
|
|
3339
|
+
emojiReactions?: Collection | URL | null;
|
|
3340
|
+
startTime?: Temporal.Instant | null;
|
|
3341
|
+
summary?: string | LanguageString$1 | null;
|
|
3342
|
+
summaries?: ((string | LanguageString$1))[];
|
|
3343
|
+
tags?: (Object$1 | Link | URL)[];
|
|
3344
|
+
updated?: Temporal.Instant | null;
|
|
3345
|
+
url?: URL | Link | null;
|
|
3346
|
+
urls?: ((URL | Link))[];
|
|
3347
|
+
to?: Object$1 | URL | null;
|
|
3348
|
+
tos?: (Object$1 | URL)[];
|
|
3349
|
+
bto?: Object$1 | URL | null;
|
|
3350
|
+
btos?: (Object$1 | URL)[];
|
|
3351
|
+
cc?: Object$1 | URL | null;
|
|
3352
|
+
ccs?: (Object$1 | URL)[];
|
|
3353
|
+
bcc?: Object$1 | URL | null;
|
|
3354
|
+
bccs?: (Object$1 | URL)[];
|
|
3355
|
+
mediaType?: string | null;
|
|
3356
|
+
duration?: Temporal.Duration | null;
|
|
3357
|
+
sensitive?: boolean | null;
|
|
3358
|
+
source?: Source | null;
|
|
3359
|
+
proof?: DataIntegrityProof | URL | null;
|
|
3360
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
3361
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
3362
|
+
approvedBy?: URL | null;
|
|
3363
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
3364
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
3365
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3366
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3367
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3368
|
+
object?: Object$1 | URL | null;
|
|
3369
|
+
objects?: (Object$1 | URL)[];
|
|
3370
|
+
target?: Object$1 | URL | null;
|
|
3371
|
+
targets?: (Object$1 | URL)[];
|
|
3372
|
+
result?: Object$1 | URL | null;
|
|
3373
|
+
results?: (Object$1 | URL)[];
|
|
3374
|
+
origin?: Object$1 | URL | null;
|
|
3375
|
+
origins?: (Object$1 | URL)[];
|
|
3376
|
+
instrument?: Object$1 | URL | null;
|
|
3377
|
+
instruments?: (Object$1 | URL)[];
|
|
3378
|
+
}, options?: {
|
|
3379
|
+
documentLoader?: DocumentLoader$1;
|
|
3380
|
+
contextLoader?: DocumentLoader$1;
|
|
3381
|
+
tracerProvider?: TracerProvider;
|
|
3382
|
+
});
|
|
3383
|
+
/**
|
|
3384
|
+
* Clones this instance, optionally updating it with the given values.
|
|
3385
|
+
* @param values The values to update the clone with.
|
|
3386
|
+
* @param options The options to use for cloning.
|
|
3387
|
+
* @returns The cloned instance.
|
|
3388
|
+
*/
|
|
3389
|
+
clone(values?: {
|
|
3390
|
+
id?: URL | null;
|
|
3391
|
+
attachments?: (Object$1 | Link | PropertyValue | URL)[];
|
|
3392
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
|
3393
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3394
|
+
audience?: Object$1 | URL | null;
|
|
3395
|
+
audiences?: (Object$1 | URL)[];
|
|
3396
|
+
content?: string | LanguageString$1 | null;
|
|
3397
|
+
contents?: ((string | LanguageString$1))[];
|
|
3398
|
+
contexts?: (Object$1 | Link | URL)[];
|
|
3399
|
+
name?: string | LanguageString$1 | null;
|
|
3400
|
+
names?: ((string | LanguageString$1))[];
|
|
3401
|
+
endTime?: Temporal.Instant | null;
|
|
3402
|
+
generators?: (Object$1 | Link | URL)[];
|
|
3403
|
+
icon?: Image | URL | null;
|
|
3404
|
+
icons?: (Image | URL)[];
|
|
3405
|
+
image?: Image | URL | null;
|
|
3406
|
+
images?: (Image | URL)[];
|
|
3407
|
+
replyTarget?: Object$1 | Link | URL | null;
|
|
3408
|
+
replyTargets?: (Object$1 | Link | URL)[];
|
|
3409
|
+
location?: Object$1 | Link | URL | null;
|
|
3410
|
+
locations?: (Object$1 | Link | URL)[];
|
|
3411
|
+
preview?: Link | Object$1 | URL | null;
|
|
3412
|
+
previews?: (Link | Object$1 | URL)[];
|
|
3413
|
+
published?: Temporal.Instant | null;
|
|
3414
|
+
replies?: Collection | URL | null;
|
|
3415
|
+
shares?: Collection | URL | null;
|
|
3416
|
+
likes?: Collection | URL | null;
|
|
3417
|
+
emojiReactions?: Collection | URL | null;
|
|
3418
|
+
startTime?: Temporal.Instant | null;
|
|
3419
|
+
summary?: string | LanguageString$1 | null;
|
|
3420
|
+
summaries?: ((string | LanguageString$1))[];
|
|
3421
|
+
tags?: (Object$1 | Link | URL)[];
|
|
3422
|
+
updated?: Temporal.Instant | null;
|
|
3423
|
+
url?: URL | Link | null;
|
|
3424
|
+
urls?: ((URL | Link))[];
|
|
3425
|
+
to?: Object$1 | URL | null;
|
|
3426
|
+
tos?: (Object$1 | URL)[];
|
|
3427
|
+
bto?: Object$1 | URL | null;
|
|
3428
|
+
btos?: (Object$1 | URL)[];
|
|
3429
|
+
cc?: Object$1 | URL | null;
|
|
3430
|
+
ccs?: (Object$1 | URL)[];
|
|
3431
|
+
bcc?: Object$1 | URL | null;
|
|
3432
|
+
bccs?: (Object$1 | URL)[];
|
|
3433
|
+
mediaType?: string | null;
|
|
3434
|
+
duration?: Temporal.Duration | null;
|
|
3435
|
+
sensitive?: boolean | null;
|
|
3436
|
+
source?: Source | null;
|
|
3437
|
+
proof?: DataIntegrityProof | URL | null;
|
|
3438
|
+
proofs?: (DataIntegrityProof | URL)[];
|
|
3439
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
3440
|
+
approvedBy?: URL | null;
|
|
3441
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
3442
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
3443
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3444
|
+
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3445
|
+
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3446
|
+
object?: Object$1 | URL | null;
|
|
3447
|
+
objects?: (Object$1 | URL)[];
|
|
3448
|
+
target?: Object$1 | URL | null;
|
|
3449
|
+
targets?: (Object$1 | URL)[];
|
|
3450
|
+
result?: Object$1 | URL | null;
|
|
3451
|
+
results?: (Object$1 | URL)[];
|
|
3452
|
+
origin?: Object$1 | URL | null;
|
|
3453
|
+
origins?: (Object$1 | URL)[];
|
|
3454
|
+
instrument?: Object$1 | URL | null;
|
|
3455
|
+
instruments?: (Object$1 | URL)[];
|
|
3456
|
+
}, options?: {
|
|
3457
|
+
documentLoader?: DocumentLoader$1;
|
|
3458
|
+
contextLoader?: DocumentLoader$1;
|
|
3459
|
+
}): ReplyRequest;
|
|
3460
|
+
/**
|
|
3461
|
+
* Converts this object to a JSON-LD structure.
|
|
3462
|
+
* @param options The options to use.
|
|
3463
|
+
* - `format`: The format of the output: `compact` or
|
|
3464
|
+
`expand`.
|
|
3465
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
3466
|
+
* - `context`: The JSON-LD context to use. Not applicable
|
|
3467
|
+
when `format` is set to `'expand'`.
|
|
3468
|
+
* @returns The JSON-LD representation of this object.
|
|
3469
|
+
*/
|
|
3470
|
+
toJsonLd(options?: {
|
|
3471
|
+
format?: "compact" | "expand";
|
|
3472
|
+
contextLoader?: DocumentLoader$1;
|
|
3473
|
+
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
|
3474
|
+
}): Promise<unknown>;
|
|
3475
|
+
protected isCompactable(): boolean;
|
|
3476
|
+
/**
|
|
3477
|
+
* Converts a JSON-LD structure to an object of this type.
|
|
3478
|
+
* @param json The JSON-LD structure to convert.
|
|
3479
|
+
* @param options The options to use.
|
|
3480
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
|
3481
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
|
3482
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
|
3483
|
+
* If omitted, the global tracer provider is used.
|
|
3484
|
+
* @returns The object of this type.
|
|
3485
|
+
* @throws {TypeError} If the given `json` is invalid.
|
|
3486
|
+
*/
|
|
3487
|
+
static fromJsonLd(json: unknown, options?: {
|
|
3488
|
+
documentLoader?: DocumentLoader$1;
|
|
3489
|
+
contextLoader?: DocumentLoader$1;
|
|
3490
|
+
tracerProvider?: TracerProvider;
|
|
3491
|
+
baseUrl?: URL;
|
|
3492
|
+
}): Promise<ReplyRequest>;
|
|
3493
|
+
protected static __fromJsonLd__ReplyRequest__(json: unknown, span: Span, options?: {
|
|
3494
|
+
documentLoader?: DocumentLoader$1;
|
|
3495
|
+
contextLoader?: DocumentLoader$1;
|
|
3496
|
+
tracerProvider?: TracerProvider;
|
|
3497
|
+
baseUrl?: URL;
|
|
3498
|
+
}): Promise<ReplyRequest>;
|
|
3499
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
|
3500
|
+
}
|
|
1848
3501
|
/** Means of communicating or interacting with the DID subject or associated
|
|
1849
3502
|
* entities via one or more service endpoints. Examples include discovery
|
|
1850
3503
|
* services, agent services, social networking services, file storage services,
|
|
@@ -2433,6 +4086,11 @@ declare class Accept extends Activity {
|
|
|
2433
4086
|
source?: Source | null;
|
|
2434
4087
|
proof?: DataIntegrityProof | URL | null;
|
|
2435
4088
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4089
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4090
|
+
approvedBy?: URL | null;
|
|
4091
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4092
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4093
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2436
4094
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2437
4095
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2438
4096
|
object?: Object$1 | URL | null;
|
|
@@ -2506,6 +4164,11 @@ declare class Accept extends Activity {
|
|
|
2506
4164
|
source?: Source | null;
|
|
2507
4165
|
proof?: DataIntegrityProof | URL | null;
|
|
2508
4166
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4167
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4168
|
+
approvedBy?: URL | null;
|
|
4169
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4170
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4171
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2509
4172
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2510
4173
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2511
4174
|
object?: Object$1 | URL | null;
|
|
@@ -2628,6 +4291,11 @@ declare class Add extends Activity {
|
|
|
2628
4291
|
source?: Source | null;
|
|
2629
4292
|
proof?: DataIntegrityProof | URL | null;
|
|
2630
4293
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4294
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4295
|
+
approvedBy?: URL | null;
|
|
4296
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4297
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4298
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2631
4299
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2632
4300
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2633
4301
|
object?: Object$1 | URL | null;
|
|
@@ -2701,6 +4369,11 @@ declare class Add extends Activity {
|
|
|
2701
4369
|
source?: Source | null;
|
|
2702
4370
|
proof?: DataIntegrityProof | URL | null;
|
|
2703
4371
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4372
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4373
|
+
approvedBy?: URL | null;
|
|
4374
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4375
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4376
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2704
4377
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2705
4378
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2706
4379
|
object?: Object$1 | URL | null;
|
|
@@ -2822,6 +4495,11 @@ declare class Announce extends Activity {
|
|
|
2822
4495
|
source?: Source | null;
|
|
2823
4496
|
proof?: DataIntegrityProof | URL | null;
|
|
2824
4497
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4498
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4499
|
+
approvedBy?: URL | null;
|
|
4500
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4501
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4502
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2825
4503
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2826
4504
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2827
4505
|
object?: Object$1 | URL | null;
|
|
@@ -2895,6 +4573,11 @@ declare class Announce extends Activity {
|
|
|
2895
4573
|
source?: Source | null;
|
|
2896
4574
|
proof?: DataIntegrityProof | URL | null;
|
|
2897
4575
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4576
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4577
|
+
approvedBy?: URL | null;
|
|
4578
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4579
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4580
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
2898
4581
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
2899
4582
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
2900
4583
|
object?: Object$1 | URL | null;
|
|
@@ -3015,6 +4698,11 @@ declare class Application extends Object$1 {
|
|
|
3015
4698
|
source?: Source | null;
|
|
3016
4699
|
proof?: DataIntegrityProof | URL | null;
|
|
3017
4700
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4701
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4702
|
+
approvedBy?: URL | null;
|
|
4703
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4704
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4705
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3018
4706
|
preferredUsername?: string | LanguageString$1 | null;
|
|
3019
4707
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
3020
4708
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -3103,6 +4791,11 @@ declare class Application extends Object$1 {
|
|
|
3103
4791
|
source?: Source | null;
|
|
3104
4792
|
proof?: DataIntegrityProof | URL | null;
|
|
3105
4793
|
proofs?: (DataIntegrityProof | URL)[];
|
|
4794
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
4795
|
+
approvedBy?: URL | null;
|
|
4796
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
4797
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
4798
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3106
4799
|
preferredUsername?: string | LanguageString$1 | null;
|
|
3107
4800
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
3108
4801
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -3602,6 +5295,11 @@ declare class IntransitiveActivity extends Activity {
|
|
|
3602
5295
|
source?: Source | null;
|
|
3603
5296
|
proof?: DataIntegrityProof | URL | null;
|
|
3604
5297
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5298
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5299
|
+
approvedBy?: URL | null;
|
|
5300
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5301
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5302
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3605
5303
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3606
5304
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3607
5305
|
object?: Object$1 | URL | null;
|
|
@@ -3675,6 +5373,11 @@ declare class IntransitiveActivity extends Activity {
|
|
|
3675
5373
|
source?: Source | null;
|
|
3676
5374
|
proof?: DataIntegrityProof | URL | null;
|
|
3677
5375
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5376
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5377
|
+
approvedBy?: URL | null;
|
|
5378
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5379
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5380
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3678
5381
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3679
5382
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3680
5383
|
object?: Object$1 | URL | null;
|
|
@@ -3796,6 +5499,11 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
3796
5499
|
source?: Source | null;
|
|
3797
5500
|
proof?: DataIntegrityProof | URL | null;
|
|
3798
5501
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5502
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5503
|
+
approvedBy?: URL | null;
|
|
5504
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5505
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5506
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3799
5507
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3800
5508
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3801
5509
|
object?: Object$1 | URL | null;
|
|
@@ -3869,6 +5577,11 @@ declare class Arrive extends IntransitiveActivity {
|
|
|
3869
5577
|
source?: Source | null;
|
|
3870
5578
|
proof?: DataIntegrityProof | URL | null;
|
|
3871
5579
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5580
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5581
|
+
approvedBy?: URL | null;
|
|
5582
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5583
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5584
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3872
5585
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
3873
5586
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
3874
5587
|
object?: Object$1 | URL | null;
|
|
@@ -3989,6 +5702,11 @@ declare class Article extends Object$1 {
|
|
|
3989
5702
|
source?: Source | null;
|
|
3990
5703
|
proof?: DataIntegrityProof | URL | null;
|
|
3991
5704
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5705
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5706
|
+
approvedBy?: URL | null;
|
|
5707
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5708
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5709
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
3992
5710
|
quoteUrl?: URL | null;
|
|
3993
5711
|
}, options?: {
|
|
3994
5712
|
documentLoader?: DocumentLoader$1;
|
|
@@ -4051,6 +5769,11 @@ declare class Article extends Object$1 {
|
|
|
4051
5769
|
source?: Source | null;
|
|
4052
5770
|
proof?: DataIntegrityProof | URL | null;
|
|
4053
5771
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5772
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5773
|
+
approvedBy?: URL | null;
|
|
5774
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5775
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5776
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4054
5777
|
quoteUrl?: URL | null;
|
|
4055
5778
|
}, options?: {
|
|
4056
5779
|
documentLoader?: DocumentLoader$1;
|
|
@@ -4172,6 +5895,11 @@ declare class Document extends Object$1 {
|
|
|
4172
5895
|
source?: Source | null;
|
|
4173
5896
|
proof?: DataIntegrityProof | URL | null;
|
|
4174
5897
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5898
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5899
|
+
approvedBy?: URL | null;
|
|
5900
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5901
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5902
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4175
5903
|
width?: number | null;
|
|
4176
5904
|
height?: number | null;
|
|
4177
5905
|
}, options?: {
|
|
@@ -4235,6 +5963,11 @@ declare class Document extends Object$1 {
|
|
|
4235
5963
|
source?: Source | null;
|
|
4236
5964
|
proof?: DataIntegrityProof | URL | null;
|
|
4237
5965
|
proofs?: (DataIntegrityProof | URL)[];
|
|
5966
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
5967
|
+
approvedBy?: URL | null;
|
|
5968
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
5969
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
5970
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4238
5971
|
width?: number | null;
|
|
4239
5972
|
height?: number | null;
|
|
4240
5973
|
}, options?: {
|
|
@@ -4352,6 +6085,11 @@ declare class Audio extends Document {
|
|
|
4352
6085
|
source?: Source | null;
|
|
4353
6086
|
proof?: DataIntegrityProof | URL | null;
|
|
4354
6087
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6088
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6089
|
+
approvedBy?: URL | null;
|
|
6090
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6091
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6092
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4355
6093
|
width?: number | null;
|
|
4356
6094
|
height?: number | null;
|
|
4357
6095
|
}, options?: {
|
|
@@ -4415,6 +6153,11 @@ declare class Audio extends Document {
|
|
|
4415
6153
|
source?: Source | null;
|
|
4416
6154
|
proof?: DataIntegrityProof | URL | null;
|
|
4417
6155
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6156
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6157
|
+
approvedBy?: URL | null;
|
|
6158
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6159
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6160
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4418
6161
|
width?: number | null;
|
|
4419
6162
|
height?: number | null;
|
|
4420
6163
|
}, options?: {
|
|
@@ -4525,6 +6268,11 @@ declare class Ignore extends Activity {
|
|
|
4525
6268
|
source?: Source | null;
|
|
4526
6269
|
proof?: DataIntegrityProof | URL | null;
|
|
4527
6270
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6271
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6272
|
+
approvedBy?: URL | null;
|
|
6273
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6274
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6275
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4528
6276
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
4529
6277
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
4530
6278
|
object?: Object$1 | URL | null;
|
|
@@ -4598,6 +6346,11 @@ declare class Ignore extends Activity {
|
|
|
4598
6346
|
source?: Source | null;
|
|
4599
6347
|
proof?: DataIntegrityProof | URL | null;
|
|
4600
6348
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6349
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6350
|
+
approvedBy?: URL | null;
|
|
6351
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6352
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6353
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4601
6354
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
4602
6355
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
4603
6356
|
object?: Object$1 | URL | null;
|
|
@@ -4720,6 +6473,11 @@ declare class Block extends Ignore {
|
|
|
4720
6473
|
source?: Source | null;
|
|
4721
6474
|
proof?: DataIntegrityProof | URL | null;
|
|
4722
6475
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6476
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6477
|
+
approvedBy?: URL | null;
|
|
6478
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6479
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6480
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4723
6481
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
4724
6482
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
4725
6483
|
object?: Object$1 | URL | null;
|
|
@@ -4793,6 +6551,11 @@ declare class Block extends Ignore {
|
|
|
4793
6551
|
source?: Source | null;
|
|
4794
6552
|
proof?: DataIntegrityProof | URL | null;
|
|
4795
6553
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6554
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6555
|
+
approvedBy?: URL | null;
|
|
6556
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6557
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6558
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4796
6559
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
4797
6560
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
4798
6561
|
object?: Object$1 | URL | null;
|
|
@@ -4917,6 +6680,11 @@ declare class Collection extends Object$1 {
|
|
|
4917
6680
|
source?: Source | null;
|
|
4918
6681
|
proof?: DataIntegrityProof | URL | null;
|
|
4919
6682
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6683
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6684
|
+
approvedBy?: URL | null;
|
|
6685
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6686
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6687
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4920
6688
|
totalItems?: number | null;
|
|
4921
6689
|
current?: CollectionPage | URL | null;
|
|
4922
6690
|
first?: CollectionPage | URL | null;
|
|
@@ -4991,6 +6759,11 @@ declare class Collection extends Object$1 {
|
|
|
4991
6759
|
source?: Source | null;
|
|
4992
6760
|
proof?: DataIntegrityProof | URL | null;
|
|
4993
6761
|
proofs?: (DataIntegrityProof | URL)[];
|
|
6762
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
6763
|
+
approvedBy?: URL | null;
|
|
6764
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
6765
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
6766
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
4994
6767
|
totalItems?: number | null;
|
|
4995
6768
|
current?: CollectionPage | URL | null;
|
|
4996
6769
|
first?: CollectionPage | URL | null;
|
|
@@ -5303,6 +7076,11 @@ declare class CollectionPage extends Collection {
|
|
|
5303
7076
|
source?: Source | null;
|
|
5304
7077
|
proof?: DataIntegrityProof | URL | null;
|
|
5305
7078
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7079
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7080
|
+
approvedBy?: URL | null;
|
|
7081
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7082
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7083
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5306
7084
|
totalItems?: number | null;
|
|
5307
7085
|
current?: CollectionPage | URL | null;
|
|
5308
7086
|
first?: CollectionPage | URL | null;
|
|
@@ -5380,6 +7158,11 @@ declare class CollectionPage extends Collection {
|
|
|
5380
7158
|
source?: Source | null;
|
|
5381
7159
|
proof?: DataIntegrityProof | URL | null;
|
|
5382
7160
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7161
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7162
|
+
approvedBy?: URL | null;
|
|
7163
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7164
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7165
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5383
7166
|
totalItems?: number | null;
|
|
5384
7167
|
current?: CollectionPage | URL | null;
|
|
5385
7168
|
first?: CollectionPage | URL | null;
|
|
@@ -5549,6 +7332,11 @@ declare class Create extends Activity {
|
|
|
5549
7332
|
source?: Source | null;
|
|
5550
7333
|
proof?: DataIntegrityProof | URL | null;
|
|
5551
7334
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7335
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7336
|
+
approvedBy?: URL | null;
|
|
7337
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7338
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7339
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5552
7340
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
5553
7341
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
5554
7342
|
object?: Object$1 | URL | null;
|
|
@@ -5622,6 +7410,11 @@ declare class Create extends Activity {
|
|
|
5622
7410
|
source?: Source | null;
|
|
5623
7411
|
proof?: DataIntegrityProof | URL | null;
|
|
5624
7412
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7413
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7414
|
+
approvedBy?: URL | null;
|
|
7415
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7416
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7417
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5625
7418
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
5626
7419
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
5627
7420
|
object?: Object$1 | URL | null;
|
|
@@ -5742,6 +7535,11 @@ declare class Delete extends Activity {
|
|
|
5742
7535
|
source?: Source | null;
|
|
5743
7536
|
proof?: DataIntegrityProof | URL | null;
|
|
5744
7537
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7538
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7539
|
+
approvedBy?: URL | null;
|
|
7540
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7541
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7542
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5745
7543
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
5746
7544
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
5747
7545
|
object?: Object$1 | URL | null;
|
|
@@ -5815,6 +7613,11 @@ declare class Delete extends Activity {
|
|
|
5815
7613
|
source?: Source | null;
|
|
5816
7614
|
proof?: DataIntegrityProof | URL | null;
|
|
5817
7615
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7616
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7617
|
+
approvedBy?: URL | null;
|
|
7618
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7619
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7620
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5818
7621
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
5819
7622
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
5820
7623
|
object?: Object$1 | URL | null;
|
|
@@ -5934,6 +7737,11 @@ declare class Dislike extends Activity {
|
|
|
5934
7737
|
source?: Source | null;
|
|
5935
7738
|
proof?: DataIntegrityProof | URL | null;
|
|
5936
7739
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7740
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7741
|
+
approvedBy?: URL | null;
|
|
7742
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7743
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7744
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
5937
7745
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
5938
7746
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
5939
7747
|
object?: Object$1 | URL | null;
|
|
@@ -6007,6 +7815,11 @@ declare class Dislike extends Activity {
|
|
|
6007
7815
|
source?: Source | null;
|
|
6008
7816
|
proof?: DataIntegrityProof | URL | null;
|
|
6009
7817
|
proofs?: (DataIntegrityProof | URL)[];
|
|
7818
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
7819
|
+
approvedBy?: URL | null;
|
|
7820
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
7821
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
7822
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6010
7823
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
6011
7824
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
6012
7825
|
object?: Object$1 | URL | null;
|
|
@@ -6263,6 +8076,11 @@ declare class Event extends Object$1 {
|
|
|
6263
8076
|
source?: Source | null;
|
|
6264
8077
|
proof?: DataIntegrityProof | URL | null;
|
|
6265
8078
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8079
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8080
|
+
approvedBy?: URL | null;
|
|
8081
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8082
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8083
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6266
8084
|
}, options?: {
|
|
6267
8085
|
documentLoader?: DocumentLoader$1;
|
|
6268
8086
|
contextLoader?: DocumentLoader$1;
|
|
@@ -6324,6 +8142,11 @@ declare class Event extends Object$1 {
|
|
|
6324
8142
|
source?: Source | null;
|
|
6325
8143
|
proof?: DataIntegrityProof | URL | null;
|
|
6326
8144
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8145
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8146
|
+
approvedBy?: URL | null;
|
|
8147
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8148
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8149
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6327
8150
|
}, options?: {
|
|
6328
8151
|
documentLoader?: DocumentLoader$1;
|
|
6329
8152
|
contextLoader?: DocumentLoader$1;
|
|
@@ -6433,6 +8256,11 @@ declare class Flag extends Activity {
|
|
|
6433
8256
|
source?: Source | null;
|
|
6434
8257
|
proof?: DataIntegrityProof | URL | null;
|
|
6435
8258
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8259
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8260
|
+
approvedBy?: URL | null;
|
|
8261
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8262
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8263
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6436
8264
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
6437
8265
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
6438
8266
|
object?: Object$1 | URL | null;
|
|
@@ -6506,6 +8334,11 @@ declare class Flag extends Activity {
|
|
|
6506
8334
|
source?: Source | null;
|
|
6507
8335
|
proof?: DataIntegrityProof | URL | null;
|
|
6508
8336
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8337
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8338
|
+
approvedBy?: URL | null;
|
|
8339
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8340
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8341
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6509
8342
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
6510
8343
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
6511
8344
|
object?: Object$1 | URL | null;
|
|
@@ -6628,6 +8461,11 @@ declare class Follow extends Activity {
|
|
|
6628
8461
|
source?: Source | null;
|
|
6629
8462
|
proof?: DataIntegrityProof | URL | null;
|
|
6630
8463
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8464
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8465
|
+
approvedBy?: URL | null;
|
|
8466
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8467
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8468
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6631
8469
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
6632
8470
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
6633
8471
|
object?: Object$1 | URL | null;
|
|
@@ -6701,6 +8539,11 @@ declare class Follow extends Activity {
|
|
|
6701
8539
|
source?: Source | null;
|
|
6702
8540
|
proof?: DataIntegrityProof | URL | null;
|
|
6703
8541
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8542
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8543
|
+
approvedBy?: URL | null;
|
|
8544
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8545
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8546
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6704
8547
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
6705
8548
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
6706
8549
|
object?: Object$1 | URL | null;
|
|
@@ -6821,6 +8664,11 @@ declare class Group extends Object$1 {
|
|
|
6821
8664
|
source?: Source | null;
|
|
6822
8665
|
proof?: DataIntegrityProof | URL | null;
|
|
6823
8666
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8667
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8668
|
+
approvedBy?: URL | null;
|
|
8669
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8670
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8671
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6824
8672
|
preferredUsername?: string | LanguageString$1 | null;
|
|
6825
8673
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
6826
8674
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -6909,6 +8757,11 @@ declare class Group extends Object$1 {
|
|
|
6909
8757
|
source?: Source | null;
|
|
6910
8758
|
proof?: DataIntegrityProof | URL | null;
|
|
6911
8759
|
proofs?: (DataIntegrityProof | URL)[];
|
|
8760
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
8761
|
+
approvedBy?: URL | null;
|
|
8762
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
8763
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
8764
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
6912
8765
|
preferredUsername?: string | LanguageString$1 | null;
|
|
6913
8766
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
6914
8767
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -7671,6 +9524,11 @@ declare class Image extends Document {
|
|
|
7671
9524
|
source?: Source | null;
|
|
7672
9525
|
proof?: DataIntegrityProof | URL | null;
|
|
7673
9526
|
proofs?: (DataIntegrityProof | URL)[];
|
|
9527
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
9528
|
+
approvedBy?: URL | null;
|
|
9529
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
9530
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
9531
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
7674
9532
|
width?: number | null;
|
|
7675
9533
|
height?: number | null;
|
|
7676
9534
|
}, options?: {
|
|
@@ -7734,6 +9592,11 @@ declare class Image extends Document {
|
|
|
7734
9592
|
source?: Source | null;
|
|
7735
9593
|
proof?: DataIntegrityProof | URL | null;
|
|
7736
9594
|
proofs?: (DataIntegrityProof | URL)[];
|
|
9595
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
9596
|
+
approvedBy?: URL | null;
|
|
9597
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
9598
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
9599
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
7737
9600
|
width?: number | null;
|
|
7738
9601
|
height?: number | null;
|
|
7739
9602
|
}, options?: {
|
|
@@ -7845,6 +9708,11 @@ declare class Offer extends Activity {
|
|
|
7845
9708
|
source?: Source | null;
|
|
7846
9709
|
proof?: DataIntegrityProof | URL | null;
|
|
7847
9710
|
proofs?: (DataIntegrityProof | URL)[];
|
|
9711
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
9712
|
+
approvedBy?: URL | null;
|
|
9713
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
9714
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
9715
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
7848
9716
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
7849
9717
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
7850
9718
|
object?: Object$1 | URL | null;
|
|
@@ -7918,6 +9786,11 @@ declare class Offer extends Activity {
|
|
|
7918
9786
|
source?: Source | null;
|
|
7919
9787
|
proof?: DataIntegrityProof | URL | null;
|
|
7920
9788
|
proofs?: (DataIntegrityProof | URL)[];
|
|
9789
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
9790
|
+
approvedBy?: URL | null;
|
|
9791
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
9792
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
9793
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
7921
9794
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
7922
9795
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
7923
9796
|
object?: Object$1 | URL | null;
|
|
@@ -8038,6 +9911,11 @@ declare class Invite extends Offer {
|
|
|
8038
9911
|
source?: Source | null;
|
|
8039
9912
|
proof?: DataIntegrityProof | URL | null;
|
|
8040
9913
|
proofs?: (DataIntegrityProof | URL)[];
|
|
9914
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
9915
|
+
approvedBy?: URL | null;
|
|
9916
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
9917
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
9918
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8041
9919
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8042
9920
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8043
9921
|
object?: Object$1 | URL | null;
|
|
@@ -8111,6 +9989,11 @@ declare class Invite extends Offer {
|
|
|
8111
9989
|
source?: Source | null;
|
|
8112
9990
|
proof?: DataIntegrityProof | URL | null;
|
|
8113
9991
|
proofs?: (DataIntegrityProof | URL)[];
|
|
9992
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
9993
|
+
approvedBy?: URL | null;
|
|
9994
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
9995
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
9996
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8114
9997
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8115
9998
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8116
9999
|
object?: Object$1 | URL | null;
|
|
@@ -8231,6 +10114,11 @@ declare class Join extends Activity {
|
|
|
8231
10114
|
source?: Source | null;
|
|
8232
10115
|
proof?: DataIntegrityProof | URL | null;
|
|
8233
10116
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10117
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10118
|
+
approvedBy?: URL | null;
|
|
10119
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10120
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10121
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8234
10122
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8235
10123
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8236
10124
|
object?: Object$1 | URL | null;
|
|
@@ -8304,6 +10192,11 @@ declare class Join extends Activity {
|
|
|
8304
10192
|
source?: Source | null;
|
|
8305
10193
|
proof?: DataIntegrityProof | URL | null;
|
|
8306
10194
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10195
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10196
|
+
approvedBy?: URL | null;
|
|
10197
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10198
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10199
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8307
10200
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8308
10201
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8309
10202
|
object?: Object$1 | URL | null;
|
|
@@ -8424,6 +10317,11 @@ declare class Leave extends Activity {
|
|
|
8424
10317
|
source?: Source | null;
|
|
8425
10318
|
proof?: DataIntegrityProof | URL | null;
|
|
8426
10319
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10320
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10321
|
+
approvedBy?: URL | null;
|
|
10322
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10323
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10324
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8427
10325
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8428
10326
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8429
10327
|
object?: Object$1 | URL | null;
|
|
@@ -8497,6 +10395,11 @@ declare class Leave extends Activity {
|
|
|
8497
10395
|
source?: Source | null;
|
|
8498
10396
|
proof?: DataIntegrityProof | URL | null;
|
|
8499
10397
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10398
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10399
|
+
approvedBy?: URL | null;
|
|
10400
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10401
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10402
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8500
10403
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8501
10404
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8502
10405
|
object?: Object$1 | URL | null;
|
|
@@ -8617,6 +10520,11 @@ declare class Like extends Activity {
|
|
|
8617
10520
|
source?: Source | null;
|
|
8618
10521
|
proof?: DataIntegrityProof | URL | null;
|
|
8619
10522
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10523
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10524
|
+
approvedBy?: URL | null;
|
|
10525
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10526
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10527
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8620
10528
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8621
10529
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8622
10530
|
object?: Object$1 | URL | null;
|
|
@@ -8690,6 +10598,11 @@ declare class Like extends Activity {
|
|
|
8690
10598
|
source?: Source | null;
|
|
8691
10599
|
proof?: DataIntegrityProof | URL | null;
|
|
8692
10600
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10601
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10602
|
+
approvedBy?: URL | null;
|
|
10603
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10604
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10605
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8693
10606
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8694
10607
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8695
10608
|
object?: Object$1 | URL | null;
|
|
@@ -8809,6 +10722,11 @@ declare class Listen extends Activity {
|
|
|
8809
10722
|
source?: Source | null;
|
|
8810
10723
|
proof?: DataIntegrityProof | URL | null;
|
|
8811
10724
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10725
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10726
|
+
approvedBy?: URL | null;
|
|
10727
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10728
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10729
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8812
10730
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8813
10731
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8814
10732
|
object?: Object$1 | URL | null;
|
|
@@ -8882,6 +10800,11 @@ declare class Listen extends Activity {
|
|
|
8882
10800
|
source?: Source | null;
|
|
8883
10801
|
proof?: DataIntegrityProof | URL | null;
|
|
8884
10802
|
proofs?: (DataIntegrityProof | URL)[];
|
|
10803
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
10804
|
+
approvedBy?: URL | null;
|
|
10805
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
10806
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
10807
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
8885
10808
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
8886
10809
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
8887
10810
|
object?: Object$1 | URL | null;
|
|
@@ -9095,6 +11018,11 @@ declare class Move extends Activity {
|
|
|
9095
11018
|
source?: Source | null;
|
|
9096
11019
|
proof?: DataIntegrityProof | URL | null;
|
|
9097
11020
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11021
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11022
|
+
approvedBy?: URL | null;
|
|
11023
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11024
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11025
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9098
11026
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
9099
11027
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
9100
11028
|
object?: Object$1 | URL | null;
|
|
@@ -9168,6 +11096,11 @@ declare class Move extends Activity {
|
|
|
9168
11096
|
source?: Source | null;
|
|
9169
11097
|
proof?: DataIntegrityProof | URL | null;
|
|
9170
11098
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11099
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11100
|
+
approvedBy?: URL | null;
|
|
11101
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11102
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11103
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9171
11104
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
9172
11105
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
9173
11106
|
object?: Object$1 | URL | null;
|
|
@@ -9289,6 +11222,11 @@ declare class Note extends Object$1 {
|
|
|
9289
11222
|
source?: Source | null;
|
|
9290
11223
|
proof?: DataIntegrityProof | URL | null;
|
|
9291
11224
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11225
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11226
|
+
approvedBy?: URL | null;
|
|
11227
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11228
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11229
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9292
11230
|
quoteUrl?: URL | null;
|
|
9293
11231
|
}, options?: {
|
|
9294
11232
|
documentLoader?: DocumentLoader$1;
|
|
@@ -9351,6 +11289,11 @@ declare class Note extends Object$1 {
|
|
|
9351
11289
|
source?: Source | null;
|
|
9352
11290
|
proof?: DataIntegrityProof | URL | null;
|
|
9353
11291
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11292
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11293
|
+
approvedBy?: URL | null;
|
|
11294
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11295
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11296
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9354
11297
|
quoteUrl?: URL | null;
|
|
9355
11298
|
}, options?: {
|
|
9356
11299
|
documentLoader?: DocumentLoader$1;
|
|
@@ -9473,6 +11416,11 @@ declare class OrderedCollection extends Collection {
|
|
|
9473
11416
|
source?: Source | null;
|
|
9474
11417
|
proof?: DataIntegrityProof | URL | null;
|
|
9475
11418
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11419
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11420
|
+
approvedBy?: URL | null;
|
|
11421
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11422
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11423
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9476
11424
|
totalItems?: number | null;
|
|
9477
11425
|
current?: CollectionPage | URL | null;
|
|
9478
11426
|
first?: CollectionPage | URL | null;
|
|
@@ -9547,6 +11495,11 @@ declare class OrderedCollection extends Collection {
|
|
|
9547
11495
|
source?: Source | null;
|
|
9548
11496
|
proof?: DataIntegrityProof | URL | null;
|
|
9549
11497
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11498
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11499
|
+
approvedBy?: URL | null;
|
|
11500
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11501
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11502
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9550
11503
|
totalItems?: number | null;
|
|
9551
11504
|
current?: CollectionPage | URL | null;
|
|
9552
11505
|
first?: CollectionPage | URL | null;
|
|
@@ -9686,6 +11639,11 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
9686
11639
|
source?: Source | null;
|
|
9687
11640
|
proof?: DataIntegrityProof | URL | null;
|
|
9688
11641
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11642
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11643
|
+
approvedBy?: URL | null;
|
|
11644
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11645
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11646
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9689
11647
|
totalItems?: number | null;
|
|
9690
11648
|
current?: CollectionPage | URL | null;
|
|
9691
11649
|
first?: CollectionPage | URL | null;
|
|
@@ -9764,6 +11722,11 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
|
9764
11722
|
source?: Source | null;
|
|
9765
11723
|
proof?: DataIntegrityProof | URL | null;
|
|
9766
11724
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11725
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11726
|
+
approvedBy?: URL | null;
|
|
11727
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11728
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11729
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9767
11730
|
totalItems?: number | null;
|
|
9768
11731
|
current?: CollectionPage | URL | null;
|
|
9769
11732
|
first?: CollectionPage | URL | null;
|
|
@@ -9909,6 +11872,11 @@ declare class Organization extends Object$1 {
|
|
|
9909
11872
|
source?: Source | null;
|
|
9910
11873
|
proof?: DataIntegrityProof | URL | null;
|
|
9911
11874
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11875
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11876
|
+
approvedBy?: URL | null;
|
|
11877
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11878
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11879
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
9912
11880
|
preferredUsername?: string | LanguageString$1 | null;
|
|
9913
11881
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
9914
11882
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -9997,6 +11965,11 @@ declare class Organization extends Object$1 {
|
|
|
9997
11965
|
source?: Source | null;
|
|
9998
11966
|
proof?: DataIntegrityProof | URL | null;
|
|
9999
11967
|
proofs?: (DataIntegrityProof | URL)[];
|
|
11968
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
11969
|
+
approvedBy?: URL | null;
|
|
11970
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
11971
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
11972
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
10000
11973
|
preferredUsername?: string | LanguageString$1 | null;
|
|
10001
11974
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
10002
11975
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -10494,6 +12467,11 @@ declare class Page extends Document {
|
|
|
10494
12467
|
source?: Source | null;
|
|
10495
12468
|
proof?: DataIntegrityProof | URL | null;
|
|
10496
12469
|
proofs?: (DataIntegrityProof | URL)[];
|
|
12470
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
12471
|
+
approvedBy?: URL | null;
|
|
12472
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
12473
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
12474
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
10497
12475
|
width?: number | null;
|
|
10498
12476
|
height?: number | null;
|
|
10499
12477
|
}, options?: {
|
|
@@ -10557,6 +12535,11 @@ declare class Page extends Document {
|
|
|
10557
12535
|
source?: Source | null;
|
|
10558
12536
|
proof?: DataIntegrityProof | URL | null;
|
|
10559
12537
|
proofs?: (DataIntegrityProof | URL)[];
|
|
12538
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
12539
|
+
approvedBy?: URL | null;
|
|
12540
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
12541
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
12542
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
10560
12543
|
width?: number | null;
|
|
10561
12544
|
height?: number | null;
|
|
10562
12545
|
}, options?: {
|
|
@@ -10667,6 +12650,11 @@ declare class Person extends Object$1 {
|
|
|
10667
12650
|
source?: Source | null;
|
|
10668
12651
|
proof?: DataIntegrityProof | URL | null;
|
|
10669
12652
|
proofs?: (DataIntegrityProof | URL)[];
|
|
12653
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
12654
|
+
approvedBy?: URL | null;
|
|
12655
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
12656
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
12657
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
10670
12658
|
preferredUsername?: string | LanguageString$1 | null;
|
|
10671
12659
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
10672
12660
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -10755,6 +12743,11 @@ declare class Person extends Object$1 {
|
|
|
10755
12743
|
source?: Source | null;
|
|
10756
12744
|
proof?: DataIntegrityProof | URL | null;
|
|
10757
12745
|
proofs?: (DataIntegrityProof | URL)[];
|
|
12746
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
12747
|
+
approvedBy?: URL | null;
|
|
12748
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
12749
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
12750
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
10758
12751
|
preferredUsername?: string | LanguageString$1 | null;
|
|
10759
12752
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
10760
12753
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -11255,6 +13248,11 @@ declare class Place extends Object$1 {
|
|
|
11255
13248
|
source?: Source | null;
|
|
11256
13249
|
proof?: DataIntegrityProof | URL | null;
|
|
11257
13250
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13251
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13252
|
+
approvedBy?: URL | null;
|
|
13253
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13254
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13255
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11258
13256
|
accuracy?: number | null;
|
|
11259
13257
|
altitude?: number | null;
|
|
11260
13258
|
latitude?: number | null;
|
|
@@ -11322,6 +13320,11 @@ declare class Place extends Object$1 {
|
|
|
11322
13320
|
source?: Source | null;
|
|
11323
13321
|
proof?: DataIntegrityProof | URL | null;
|
|
11324
13322
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13323
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13324
|
+
approvedBy?: URL | null;
|
|
13325
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13326
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13327
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11325
13328
|
accuracy?: number | null;
|
|
11326
13329
|
altitude?: number | null;
|
|
11327
13330
|
latitude?: number | null;
|
|
@@ -11466,6 +13469,11 @@ declare class Profile extends Object$1 {
|
|
|
11466
13469
|
source?: Source | null;
|
|
11467
13470
|
proof?: DataIntegrityProof | URL | null;
|
|
11468
13471
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13472
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13473
|
+
approvedBy?: URL | null;
|
|
13474
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13475
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13476
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11469
13477
|
describes?: Object$1 | URL | null;
|
|
11470
13478
|
}, options?: {
|
|
11471
13479
|
documentLoader?: DocumentLoader$1;
|
|
@@ -11528,6 +13536,11 @@ declare class Profile extends Object$1 {
|
|
|
11528
13536
|
source?: Source | null;
|
|
11529
13537
|
proof?: DataIntegrityProof | URL | null;
|
|
11530
13538
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13539
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13540
|
+
approvedBy?: URL | null;
|
|
13541
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13542
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13543
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11531
13544
|
describes?: Object$1 | URL | null;
|
|
11532
13545
|
}, options?: {
|
|
11533
13546
|
documentLoader?: DocumentLoader$1;
|
|
@@ -11660,6 +13673,11 @@ declare class Question extends IntransitiveActivity {
|
|
|
11660
13673
|
source?: Source | null;
|
|
11661
13674
|
proof?: DataIntegrityProof | URL | null;
|
|
11662
13675
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13676
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13677
|
+
approvedBy?: URL | null;
|
|
13678
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13679
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13680
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11663
13681
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
11664
13682
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
11665
13683
|
object?: Object$1 | URL | null;
|
|
@@ -11738,6 +13756,11 @@ declare class Question extends IntransitiveActivity {
|
|
|
11738
13756
|
source?: Source | null;
|
|
11739
13757
|
proof?: DataIntegrityProof | URL | null;
|
|
11740
13758
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13759
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13760
|
+
approvedBy?: URL | null;
|
|
13761
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13762
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13763
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11741
13764
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
11742
13765
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
11743
13766
|
object?: Object$1 | URL | null;
|
|
@@ -11916,6 +13939,11 @@ declare class Read extends Activity {
|
|
|
11916
13939
|
source?: Source | null;
|
|
11917
13940
|
proof?: DataIntegrityProof | URL | null;
|
|
11918
13941
|
proofs?: (DataIntegrityProof | URL)[];
|
|
13942
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
13943
|
+
approvedBy?: URL | null;
|
|
13944
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
13945
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
13946
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11919
13947
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
11920
13948
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
11921
13949
|
object?: Object$1 | URL | null;
|
|
@@ -11989,6 +14017,11 @@ declare class Read extends Activity {
|
|
|
11989
14017
|
source?: Source | null;
|
|
11990
14018
|
proof?: DataIntegrityProof | URL | null;
|
|
11991
14019
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14020
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14021
|
+
approvedBy?: URL | null;
|
|
14022
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14023
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14024
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
11992
14025
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
11993
14026
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
11994
14027
|
object?: Object$1 | URL | null;
|
|
@@ -12109,6 +14142,11 @@ declare class Reject extends Activity {
|
|
|
12109
14142
|
source?: Source | null;
|
|
12110
14143
|
proof?: DataIntegrityProof | URL | null;
|
|
12111
14144
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14145
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14146
|
+
approvedBy?: URL | null;
|
|
14147
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14148
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14149
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12112
14150
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
12113
14151
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
12114
14152
|
object?: Object$1 | URL | null;
|
|
@@ -12182,6 +14220,11 @@ declare class Reject extends Activity {
|
|
|
12182
14220
|
source?: Source | null;
|
|
12183
14221
|
proof?: DataIntegrityProof | URL | null;
|
|
12184
14222
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14223
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14224
|
+
approvedBy?: URL | null;
|
|
14225
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14226
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14227
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12185
14228
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
12186
14229
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
12187
14230
|
object?: Object$1 | URL | null;
|
|
@@ -12308,6 +14351,11 @@ declare class Relationship extends Object$1 {
|
|
|
12308
14351
|
source?: Source | null;
|
|
12309
14352
|
proof?: DataIntegrityProof | URL | null;
|
|
12310
14353
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14354
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14355
|
+
approvedBy?: URL | null;
|
|
14356
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14357
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14358
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12311
14359
|
subject?: Object$1 | URL | null;
|
|
12312
14360
|
object?: Object$1 | URL | null;
|
|
12313
14361
|
objects?: (Object$1 | URL)[];
|
|
@@ -12374,6 +14422,11 @@ declare class Relationship extends Object$1 {
|
|
|
12374
14422
|
source?: Source | null;
|
|
12375
14423
|
proof?: DataIntegrityProof | URL | null;
|
|
12376
14424
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14425
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14426
|
+
approvedBy?: URL | null;
|
|
14427
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14428
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14429
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12377
14430
|
subject?: Object$1 | URL | null;
|
|
12378
14431
|
object?: Object$1 | URL | null;
|
|
12379
14432
|
objects?: (Object$1 | URL)[];
|
|
@@ -12569,6 +14622,11 @@ declare class Remove extends Activity {
|
|
|
12569
14622
|
source?: Source | null;
|
|
12570
14623
|
proof?: DataIntegrityProof | URL | null;
|
|
12571
14624
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14625
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14626
|
+
approvedBy?: URL | null;
|
|
14627
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14628
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14629
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12572
14630
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
12573
14631
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
12574
14632
|
object?: Object$1 | URL | null;
|
|
@@ -12642,6 +14700,11 @@ declare class Remove extends Activity {
|
|
|
12642
14700
|
source?: Source | null;
|
|
12643
14701
|
proof?: DataIntegrityProof | URL | null;
|
|
12644
14702
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14703
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14704
|
+
approvedBy?: URL | null;
|
|
14705
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14706
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14707
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12645
14708
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
12646
14709
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
12647
14710
|
object?: Object$1 | URL | null;
|
|
@@ -12762,6 +14825,11 @@ declare class Service extends Object$1 {
|
|
|
12762
14825
|
source?: Source | null;
|
|
12763
14826
|
proof?: DataIntegrityProof | URL | null;
|
|
12764
14827
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14828
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14829
|
+
approvedBy?: URL | null;
|
|
14830
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14831
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14832
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12765
14833
|
preferredUsername?: string | LanguageString$1 | null;
|
|
12766
14834
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
12767
14835
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -12850,6 +14918,11 @@ declare class Service extends Object$1 {
|
|
|
12850
14918
|
source?: Source | null;
|
|
12851
14919
|
proof?: DataIntegrityProof | URL | null;
|
|
12852
14920
|
proofs?: (DataIntegrityProof | URL)[];
|
|
14921
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
14922
|
+
approvedBy?: URL | null;
|
|
14923
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
14924
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
14925
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
12853
14926
|
preferredUsername?: string | LanguageString$1 | null;
|
|
12854
14927
|
preferredUsernames?: ((string | LanguageString$1))[];
|
|
12855
14928
|
publicKey?: CryptographicKey | URL | null;
|
|
@@ -13447,6 +15520,11 @@ declare class TentativeAccept extends Accept {
|
|
|
13447
15520
|
source?: Source | null;
|
|
13448
15521
|
proof?: DataIntegrityProof | URL | null;
|
|
13449
15522
|
proofs?: (DataIntegrityProof | URL)[];
|
|
15523
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
15524
|
+
approvedBy?: URL | null;
|
|
15525
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
15526
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
15527
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
13450
15528
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
13451
15529
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
13452
15530
|
object?: Object$1 | URL | null;
|
|
@@ -13520,6 +15598,11 @@ declare class TentativeAccept extends Accept {
|
|
|
13520
15598
|
source?: Source | null;
|
|
13521
15599
|
proof?: DataIntegrityProof | URL | null;
|
|
13522
15600
|
proofs?: (DataIntegrityProof | URL)[];
|
|
15601
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
15602
|
+
approvedBy?: URL | null;
|
|
15603
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
15604
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
15605
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
13523
15606
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
13524
15607
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
13525
15608
|
object?: Object$1 | URL | null;
|
|
@@ -13640,6 +15723,11 @@ declare class TentativeReject extends Reject {
|
|
|
13640
15723
|
source?: Source | null;
|
|
13641
15724
|
proof?: DataIntegrityProof | URL | null;
|
|
13642
15725
|
proofs?: (DataIntegrityProof | URL)[];
|
|
15726
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
15727
|
+
approvedBy?: URL | null;
|
|
15728
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
15729
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
15730
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
13643
15731
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
13644
15732
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
13645
15733
|
object?: Object$1 | URL | null;
|
|
@@ -13713,6 +15801,11 @@ declare class TentativeReject extends Reject {
|
|
|
13713
15801
|
source?: Source | null;
|
|
13714
15802
|
proof?: DataIntegrityProof | URL | null;
|
|
13715
15803
|
proofs?: (DataIntegrityProof | URL)[];
|
|
15804
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
15805
|
+
approvedBy?: URL | null;
|
|
15806
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
15807
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
15808
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
13716
15809
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
13717
15810
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
13718
15811
|
object?: Object$1 | URL | null;
|
|
@@ -13835,6 +15928,11 @@ declare class Tombstone extends Object$1 {
|
|
|
13835
15928
|
source?: Source | null;
|
|
13836
15929
|
proof?: DataIntegrityProof | URL | null;
|
|
13837
15930
|
proofs?: (DataIntegrityProof | URL)[];
|
|
15931
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
15932
|
+
approvedBy?: URL | null;
|
|
15933
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
15934
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
15935
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
13838
15936
|
deleted?: Temporal.Instant | null;
|
|
13839
15937
|
}, options?: {
|
|
13840
15938
|
documentLoader?: DocumentLoader$1;
|
|
@@ -13897,6 +15995,11 @@ declare class Tombstone extends Object$1 {
|
|
|
13897
15995
|
source?: Source | null;
|
|
13898
15996
|
proof?: DataIntegrityProof | URL | null;
|
|
13899
15997
|
proofs?: (DataIntegrityProof | URL)[];
|
|
15998
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
15999
|
+
approvedBy?: URL | null;
|
|
16000
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16001
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16002
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
13900
16003
|
deleted?: Temporal.Instant | null;
|
|
13901
16004
|
}, options?: {
|
|
13902
16005
|
documentLoader?: DocumentLoader$1;
|
|
@@ -14012,6 +16115,11 @@ declare class Travel extends IntransitiveActivity {
|
|
|
14012
16115
|
source?: Source | null;
|
|
14013
16116
|
proof?: DataIntegrityProof | URL | null;
|
|
14014
16117
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16118
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16119
|
+
approvedBy?: URL | null;
|
|
16120
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16121
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16122
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14015
16123
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14016
16124
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14017
16125
|
object?: Object$1 | URL | null;
|
|
@@ -14085,6 +16193,11 @@ declare class Travel extends IntransitiveActivity {
|
|
|
14085
16193
|
source?: Source | null;
|
|
14086
16194
|
proof?: DataIntegrityProof | URL | null;
|
|
14087
16195
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16196
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16197
|
+
approvedBy?: URL | null;
|
|
16198
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16199
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16200
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14088
16201
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14089
16202
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14090
16203
|
object?: Object$1 | URL | null;
|
|
@@ -14210,6 +16323,11 @@ declare class Undo extends Activity {
|
|
|
14210
16323
|
source?: Source | null;
|
|
14211
16324
|
proof?: DataIntegrityProof | URL | null;
|
|
14212
16325
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16326
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16327
|
+
approvedBy?: URL | null;
|
|
16328
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16329
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16330
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14213
16331
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14214
16332
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14215
16333
|
object?: Object$1 | URL | null;
|
|
@@ -14283,6 +16401,11 @@ declare class Undo extends Activity {
|
|
|
14283
16401
|
source?: Source | null;
|
|
14284
16402
|
proof?: DataIntegrityProof | URL | null;
|
|
14285
16403
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16404
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16405
|
+
approvedBy?: URL | null;
|
|
16406
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16407
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16408
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14286
16409
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14287
16410
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14288
16411
|
object?: Object$1 | URL | null;
|
|
@@ -14406,6 +16529,11 @@ declare class Update extends Activity {
|
|
|
14406
16529
|
source?: Source | null;
|
|
14407
16530
|
proof?: DataIntegrityProof | URL | null;
|
|
14408
16531
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16532
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16533
|
+
approvedBy?: URL | null;
|
|
16534
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16535
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16536
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14409
16537
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14410
16538
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14411
16539
|
object?: Object$1 | URL | null;
|
|
@@ -14479,6 +16607,11 @@ declare class Update extends Activity {
|
|
|
14479
16607
|
source?: Source | null;
|
|
14480
16608
|
proof?: DataIntegrityProof | URL | null;
|
|
14481
16609
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16610
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16611
|
+
approvedBy?: URL | null;
|
|
16612
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16613
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16614
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14482
16615
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14483
16616
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14484
16617
|
object?: Object$1 | URL | null;
|
|
@@ -14598,6 +16731,11 @@ declare class Video extends Document {
|
|
|
14598
16731
|
source?: Source | null;
|
|
14599
16732
|
proof?: DataIntegrityProof | URL | null;
|
|
14600
16733
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16734
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16735
|
+
approvedBy?: URL | null;
|
|
16736
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16737
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16738
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14601
16739
|
width?: number | null;
|
|
14602
16740
|
height?: number | null;
|
|
14603
16741
|
}, options?: {
|
|
@@ -14661,6 +16799,11 @@ declare class Video extends Document {
|
|
|
14661
16799
|
source?: Source | null;
|
|
14662
16800
|
proof?: DataIntegrityProof | URL | null;
|
|
14663
16801
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16802
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16803
|
+
approvedBy?: URL | null;
|
|
16804
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16805
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16806
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14664
16807
|
width?: number | null;
|
|
14665
16808
|
height?: number | null;
|
|
14666
16809
|
}, options?: {
|
|
@@ -14770,6 +16913,11 @@ declare class View extends Activity {
|
|
|
14770
16913
|
source?: Source | null;
|
|
14771
16914
|
proof?: DataIntegrityProof | URL | null;
|
|
14772
16915
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16916
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16917
|
+
approvedBy?: URL | null;
|
|
16918
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16919
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16920
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14773
16921
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14774
16922
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14775
16923
|
object?: Object$1 | URL | null;
|
|
@@ -14843,6 +16991,11 @@ declare class View extends Activity {
|
|
|
14843
16991
|
source?: Source | null;
|
|
14844
16992
|
proof?: DataIntegrityProof | URL | null;
|
|
14845
16993
|
proofs?: (DataIntegrityProof | URL)[];
|
|
16994
|
+
interactionPolicy?: InteractionPolicy | null;
|
|
16995
|
+
approvedBy?: URL | null;
|
|
16996
|
+
likeAuthorization?: LikeAuthorization | URL | null;
|
|
16997
|
+
replyAuthorization?: ReplyAuthorization | URL | null;
|
|
16998
|
+
announceAuthorization?: AnnounceAuthorization | URL | null;
|
|
14846
16999
|
actor?: Application | Group | Organization | Person | Service | URL | null;
|
|
14847
17000
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
|
14848
17001
|
object?: Object$1 | URL | null;
|
|
@@ -15326,4 +17479,4 @@ declare function getTypeId(object: Object$1 | Link | null): URL | null;
|
|
|
15326
17479
|
*/
|
|
15327
17480
|
declare function getTypeId(object: Object$1 | Link | null | undefined): URL | null | undefined;
|
|
15328
17481
|
//#endregion
|
|
15329
|
-
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, GetUserAgentOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
|
17482
|
+
export { Accept, Activity, Actor, ActorTypeName, Add, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, GetUserAgentOptions, Group, Hashtag, Ignore, Image, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|