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