@fedify/fedify 0.15.0-dev.372 → 0.15.0-dev.375
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +9 -0
- package/esm/federation/middleware.js +34 -2
- package/esm/vocab/vocab.js +0 -504
- package/package.json +1 -1
- package/types/federation/context.d.ts +39 -0
- package/types/federation/context.d.ts.map +1 -1
- package/types/federation/middleware.d.ts +13 -0
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +0 -63
- package/types/vocab/vocab.d.ts.map +1 -1
package/package.json
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
import * as dntShim from "../_dnt.shims.js";
|
4
4
|
import type { DocumentLoader } from "../runtime/docloader.js";
|
5
5
|
import type { Actor, Recipient } from "../vocab/actor.js";
|
6
|
+
import type { LookupObjectOptions } from "../vocab/lookup.js";
|
6
7
|
import type { Activity, CryptographicKey, Multikey, Object } from "../vocab/mod.js";
|
7
8
|
import type { SenderKeyPair } from "./send.js";
|
8
9
|
/**
|
@@ -166,6 +167,44 @@ export interface Context<TContextData> {
|
|
166
167
|
keyId: URL;
|
167
168
|
privateKey: dntShim.CryptoKey;
|
168
169
|
}): DocumentLoader;
|
170
|
+
/**
|
171
|
+
* Looks up an ActivityStreams object by its URI (including `acct:` URIs)
|
172
|
+
* or a fediverse handle (e.g., `@user@server` or `user@server`).
|
173
|
+
*
|
174
|
+
* @example
|
175
|
+
* ``` typescript
|
176
|
+
* // Look up an actor by its fediverse handle:
|
177
|
+
* await ctx.lookupObject("@hongminhee@fosstodon.org");
|
178
|
+
* // returning a `Person` object.
|
179
|
+
*
|
180
|
+
* // A fediverse handle can omit the leading '@':
|
181
|
+
* await ctx.lookupObject("hongminhee@fosstodon.org");
|
182
|
+
* // returning a `Person` object.
|
183
|
+
*
|
184
|
+
* // A `acct:` URI can be used as well:
|
185
|
+
* await ctx.lookupObject("acct:hongminhee@fosstodon.org");
|
186
|
+
* // returning a `Person` object.
|
187
|
+
*
|
188
|
+
* // Look up an object by its URI:
|
189
|
+
* await ctx.lookupObject("https://todon.eu/@hongminhee/112060633798771581");
|
190
|
+
* // returning a `Note` object.
|
191
|
+
*
|
192
|
+
* // It can be a `URL` object as well:
|
193
|
+
* await ctx.lookupObject(
|
194
|
+
* new URL("https://todon.eu/@hongminhee/112060633798771581")
|
195
|
+
* );
|
196
|
+
* // returning a `Note` object.
|
197
|
+
* ```
|
198
|
+
*
|
199
|
+
* It's almost the same as the {@link lookupObject} function, but it uses
|
200
|
+
* the context's document loader and context loader by default.
|
201
|
+
*
|
202
|
+
* @param identifier The URI or fediverse handle to look up.
|
203
|
+
* @param options Lookup options.
|
204
|
+
* @returns The object, or `null` if not found.
|
205
|
+
* @since 0.15.0
|
206
|
+
*/
|
207
|
+
lookupObject(identifier: string | URL, options?: LookupObjectOptions): Promise<Object | null>;
|
169
208
|
/**
|
170
209
|
* Sends an activity to recipients' inboxes.
|
171
210
|
* @param sender The sender's handle or the sender's key pair(s).
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/federation/context.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACP,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,OAAO,CAAC,YAAY;IACnC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;O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AACnC;;;GAGG;GACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AACtC;;;GAGG;GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7C;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,aAAa;IACzD;;OAEG;IACH,KAAK,EAAE,GAAG,CAAC;IAEX;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
@@ -59,6 +59,19 @@ export interface CreateFederationOptions {
|
|
59
59
|
* authentication.
|
60
60
|
*/
|
61
61
|
authenticatedDocumentLoaderFactory?: AuthenticatedDocumentLoaderFactory;
|
62
|
+
/**
|
63
|
+
* Whether to allow fetching private network addresses in the document loader.
|
64
|
+
*
|
65
|
+
* If turned on, {@link CreateFederationOptions.documentLoader},
|
66
|
+
* {@link CreateFederationOptions.contextLoader}, and
|
67
|
+
* {@link CreateFederationOptions.authenticatedDocumentLoaderFactory}
|
68
|
+
* cannot be configured.
|
69
|
+
*
|
70
|
+
* Mostly useful for testing purposes. *Do not use in production.*
|
71
|
+
*
|
72
|
+
* Turned off by default.
|
73
|
+
*/
|
74
|
+
allowPrivateAddress?: boolean;
|
62
75
|
/**
|
63
76
|
* A callback that handles errors during outbox processing. Note that this
|
64
77
|
* callback can be called multiple times for the same activity, because
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";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,EAAE,iBAAiB,CAAC,YAAY,CAAC,GACvC,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAEtC;;;;;;;;OAQG;IACH,sBAAsB,CACpB,UAAU,EAAE,wBAAwB,CAAC,YAAY,CAAC,GACjD,oBAAoB,CAAC,YAAY,CAAC,CAAC;CACvC"}
|
package/types/vocab/vocab.d.ts
CHANGED
@@ -635,7 +635,6 @@ export declare class Object {
|
|
635
635
|
*/
|
636
636
|
toJsonLd(options?: {
|
637
637
|
format?: "compact" | "expand";
|
638
|
-
expand?: boolean;
|
639
638
|
contextLoader?: DocumentLoader;
|
640
639
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
641
640
|
}): Promise<unknown>;
|
@@ -784,7 +783,6 @@ export declare class Emoji extends Object {
|
|
784
783
|
*/
|
785
784
|
toJsonLd(options?: {
|
786
785
|
format?: "compact" | "expand";
|
787
|
-
expand?: boolean;
|
788
786
|
contextLoader?: DocumentLoader;
|
789
787
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
790
788
|
}): Promise<unknown>;
|
@@ -937,7 +935,6 @@ export declare class ChatMessage extends Object {
|
|
937
935
|
*/
|
938
936
|
toJsonLd(options?: {
|
939
937
|
format?: "compact" | "expand";
|
940
|
-
expand?: boolean;
|
941
938
|
contextLoader?: DocumentLoader;
|
942
939
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
943
940
|
}): Promise<unknown>;
|
@@ -1009,7 +1006,6 @@ export declare class PropertyValue {
|
|
1009
1006
|
*/
|
1010
1007
|
toJsonLd(options?: {
|
1011
1008
|
format?: "compact" | "expand";
|
1012
|
-
expand?: boolean;
|
1013
1009
|
contextLoader?: DocumentLoader;
|
1014
1010
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
1015
1011
|
}): Promise<unknown>;
|
@@ -1116,7 +1112,6 @@ export declare class DataIntegrityProof {
|
|
1116
1112
|
*/
|
1117
1113
|
toJsonLd(options?: {
|
1118
1114
|
format?: "compact" | "expand";
|
1119
|
-
expand?: boolean;
|
1120
1115
|
contextLoader?: DocumentLoader;
|
1121
1116
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
1122
1117
|
}): Promise<unknown>;
|
@@ -1198,7 +1193,6 @@ export declare class CryptographicKey {
|
|
1198
1193
|
*/
|
1199
1194
|
toJsonLd(options?: {
|
1200
1195
|
format?: "compact" | "expand";
|
1201
|
-
expand?: boolean;
|
1202
1196
|
contextLoader?: DocumentLoader;
|
1203
1197
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
1204
1198
|
}): Promise<unknown>;
|
@@ -1286,7 +1280,6 @@ export declare class Multikey {
|
|
1286
1280
|
*/
|
1287
1281
|
toJsonLd(options?: {
|
1288
1282
|
format?: "compact" | "expand";
|
1289
|
-
expand?: boolean;
|
1290
1283
|
contextLoader?: DocumentLoader;
|
1291
1284
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
1292
1285
|
}): Promise<unknown>;
|
@@ -1649,7 +1642,6 @@ export declare class Activity extends Object {
|
|
1649
1642
|
*/
|
1650
1643
|
toJsonLd(options?: {
|
1651
1644
|
format?: "compact" | "expand";
|
1652
|
-
expand?: boolean;
|
1653
1645
|
contextLoader?: DocumentLoader;
|
1654
1646
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
1655
1647
|
}): Promise<unknown>;
|
@@ -1824,7 +1816,6 @@ export declare class Accept extends Activity {
|
|
1824
1816
|
*/
|
1825
1817
|
toJsonLd(options?: {
|
1826
1818
|
format?: "compact" | "expand";
|
1827
|
-
expand?: boolean;
|
1828
1819
|
contextLoader?: DocumentLoader;
|
1829
1820
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
1830
1821
|
}): Promise<unknown>;
|
@@ -2000,7 +1991,6 @@ export declare class Add extends Activity {
|
|
2000
1991
|
*/
|
2001
1992
|
toJsonLd(options?: {
|
2002
1993
|
format?: "compact" | "expand";
|
2003
|
-
expand?: boolean;
|
2004
1994
|
contextLoader?: DocumentLoader;
|
2005
1995
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2006
1996
|
}): Promise<unknown>;
|
@@ -2175,7 +2165,6 @@ export declare class Announce extends Activity {
|
|
2175
2165
|
*/
|
2176
2166
|
toJsonLd(options?: {
|
2177
2167
|
format?: "compact" | "expand";
|
2178
|
-
expand?: boolean;
|
2179
2168
|
contextLoader?: DocumentLoader;
|
2180
2169
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2181
2170
|
}): Promise<unknown>;
|
@@ -2643,7 +2632,6 @@ export declare class Application extends Object {
|
|
2643
2632
|
*/
|
2644
2633
|
toJsonLd(options?: {
|
2645
2634
|
format?: "compact" | "expand";
|
2646
|
-
expand?: boolean;
|
2647
2635
|
contextLoader?: DocumentLoader;
|
2648
2636
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2649
2637
|
}): Promise<unknown>;
|
@@ -2818,7 +2806,6 @@ export declare class IntransitiveActivity extends Activity {
|
|
2818
2806
|
*/
|
2819
2807
|
toJsonLd(options?: {
|
2820
2808
|
format?: "compact" | "expand";
|
2821
|
-
expand?: boolean;
|
2822
2809
|
contextLoader?: DocumentLoader;
|
2823
2810
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2824
2811
|
}): Promise<unknown>;
|
@@ -2993,7 +2980,6 @@ export declare class Arrive extends IntransitiveActivity {
|
|
2993
2980
|
*/
|
2994
2981
|
toJsonLd(options?: {
|
2995
2982
|
format?: "compact" | "expand";
|
2996
|
-
expand?: boolean;
|
2997
2983
|
contextLoader?: DocumentLoader;
|
2998
2984
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
2999
2985
|
}): Promise<unknown>;
|
@@ -3142,7 +3128,6 @@ export declare class Article extends Object {
|
|
3142
3128
|
*/
|
3143
3129
|
toJsonLd(options?: {
|
3144
3130
|
format?: "compact" | "expand";
|
3145
|
-
expand?: boolean;
|
3146
3131
|
contextLoader?: DocumentLoader;
|
3147
3132
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
3148
3133
|
}): Promise<unknown>;
|
@@ -3303,7 +3288,6 @@ export declare class Document extends Object {
|
|
3303
3288
|
*/
|
3304
3289
|
toJsonLd(options?: {
|
3305
3290
|
format?: "compact" | "expand";
|
3306
|
-
expand?: boolean;
|
3307
3291
|
contextLoader?: DocumentLoader;
|
3308
3292
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
3309
3293
|
}): Promise<unknown>;
|
@@ -3456,7 +3440,6 @@ export declare class Audio extends Document {
|
|
3456
3440
|
*/
|
3457
3441
|
toJsonLd(options?: {
|
3458
3442
|
format?: "compact" | "expand";
|
3459
|
-
expand?: boolean;
|
3460
3443
|
contextLoader?: DocumentLoader;
|
3461
3444
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
3462
3445
|
}): Promise<unknown>;
|
@@ -3630,7 +3613,6 @@ export declare class Ignore extends Activity {
|
|
3630
3613
|
*/
|
3631
3614
|
toJsonLd(options?: {
|
3632
3615
|
format?: "compact" | "expand";
|
3633
|
-
expand?: boolean;
|
3634
3616
|
contextLoader?: DocumentLoader;
|
3635
3617
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
3636
3618
|
}): Promise<unknown>;
|
@@ -3806,7 +3788,6 @@ export declare class Block extends Ignore {
|
|
3806
3788
|
*/
|
3807
3789
|
toJsonLd(options?: {
|
3808
3790
|
format?: "compact" | "expand";
|
3809
|
-
expand?: boolean;
|
3810
3791
|
contextLoader?: DocumentLoader;
|
3811
3792
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
3812
3793
|
}): Promise<unknown>;
|
@@ -4030,7 +4011,6 @@ export declare class Collection extends Object {
|
|
4030
4011
|
*/
|
4031
4012
|
toJsonLd(options?: {
|
4032
4013
|
format?: "compact" | "expand";
|
4033
|
-
expand?: boolean;
|
4034
4014
|
contextLoader?: DocumentLoader;
|
4035
4015
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
4036
4016
|
}): Promise<unknown>;
|
@@ -4237,7 +4217,6 @@ export declare class CollectionPage extends Collection {
|
|
4237
4217
|
*/
|
4238
4218
|
toJsonLd(options?: {
|
4239
4219
|
format?: "compact" | "expand";
|
4240
|
-
expand?: boolean;
|
4241
4220
|
contextLoader?: DocumentLoader;
|
4242
4221
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
4243
4222
|
}): Promise<unknown>;
|
@@ -4410,7 +4389,6 @@ export declare class Create extends Activity {
|
|
4410
4389
|
*/
|
4411
4390
|
toJsonLd(options?: {
|
4412
4391
|
format?: "compact" | "expand";
|
4413
|
-
expand?: boolean;
|
4414
4392
|
contextLoader?: DocumentLoader;
|
4415
4393
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
4416
4394
|
}): Promise<unknown>;
|
@@ -4584,7 +4562,6 @@ export declare class Delete extends Activity {
|
|
4584
4562
|
*/
|
4585
4563
|
toJsonLd(options?: {
|
4586
4564
|
format?: "compact" | "expand";
|
4587
|
-
expand?: boolean;
|
4588
4565
|
contextLoader?: DocumentLoader;
|
4589
4566
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
4590
4567
|
}): Promise<unknown>;
|
@@ -4757,7 +4734,6 @@ export declare class Dislike extends Activity {
|
|
4757
4734
|
*/
|
4758
4735
|
toJsonLd(options?: {
|
4759
4736
|
format?: "compact" | "expand";
|
4760
|
-
expand?: boolean;
|
4761
4737
|
contextLoader?: DocumentLoader;
|
4762
4738
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
4763
4739
|
}): Promise<unknown>;
|
@@ -4872,7 +4848,6 @@ export declare class Endpoints {
|
|
4872
4848
|
*/
|
4873
4849
|
toJsonLd(options?: {
|
4874
4850
|
format?: "compact" | "expand";
|
4875
|
-
expand?: boolean;
|
4876
4851
|
contextLoader?: DocumentLoader;
|
4877
4852
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
4878
4853
|
}): Promise<unknown>;
|
@@ -5021,7 +4996,6 @@ export declare class Event extends Object {
|
|
5021
4996
|
*/
|
5022
4997
|
toJsonLd(options?: {
|
5023
4998
|
format?: "compact" | "expand";
|
5024
|
-
expand?: boolean;
|
5025
4999
|
contextLoader?: DocumentLoader;
|
5026
5000
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
5027
5001
|
}): Promise<unknown>;
|
@@ -5196,7 +5170,6 @@ export declare class Flag extends Activity {
|
|
5196
5170
|
*/
|
5197
5171
|
toJsonLd(options?: {
|
5198
5172
|
format?: "compact" | "expand";
|
5199
|
-
expand?: boolean;
|
5200
5173
|
contextLoader?: DocumentLoader;
|
5201
5174
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
5202
5175
|
}): Promise<unknown>;
|
@@ -5372,7 +5345,6 @@ export declare class Follow extends Activity {
|
|
5372
5345
|
*/
|
5373
5346
|
toJsonLd(options?: {
|
5374
5347
|
format?: "compact" | "expand";
|
5375
|
-
expand?: boolean;
|
5376
5348
|
contextLoader?: DocumentLoader;
|
5377
5349
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
5378
5350
|
}): Promise<unknown>;
|
@@ -5840,7 +5812,6 @@ export declare class Group extends Object {
|
|
5840
5812
|
*/
|
5841
5813
|
toJsonLd(options?: {
|
5842
5814
|
format?: "compact" | "expand";
|
5843
|
-
expand?: boolean;
|
5844
5815
|
contextLoader?: DocumentLoader;
|
5845
5816
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
5846
5817
|
}): Promise<unknown>;
|
@@ -5987,7 +5958,6 @@ export declare class Link {
|
|
5987
5958
|
*/
|
5988
5959
|
toJsonLd(options?: {
|
5989
5960
|
format?: "compact" | "expand";
|
5990
|
-
expand?: boolean;
|
5991
5961
|
contextLoader?: DocumentLoader;
|
5992
5962
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
5993
5963
|
}): Promise<unknown>;
|
@@ -6068,7 +6038,6 @@ export declare class Hashtag extends Link {
|
|
6068
6038
|
*/
|
6069
6039
|
toJsonLd(options?: {
|
6070
6040
|
format?: "compact" | "expand";
|
6071
|
-
expand?: boolean;
|
6072
6041
|
contextLoader?: DocumentLoader;
|
6073
6042
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
6074
6043
|
}): Promise<unknown>;
|
@@ -6221,7 +6190,6 @@ export declare class Image extends Document {
|
|
6221
6190
|
*/
|
6222
6191
|
toJsonLd(options?: {
|
6223
6192
|
format?: "compact" | "expand";
|
6224
|
-
expand?: boolean;
|
6225
6193
|
contextLoader?: DocumentLoader;
|
6226
6194
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
6227
6195
|
}): Promise<unknown>;
|
@@ -6396,7 +6364,6 @@ export declare class Offer extends Activity {
|
|
6396
6364
|
*/
|
6397
6365
|
toJsonLd(options?: {
|
6398
6366
|
format?: "compact" | "expand";
|
6399
|
-
expand?: boolean;
|
6400
6367
|
contextLoader?: DocumentLoader;
|
6401
6368
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
6402
6369
|
}): Promise<unknown>;
|
@@ -6570,7 +6537,6 @@ export declare class Invite extends Offer {
|
|
6570
6537
|
*/
|
6571
6538
|
toJsonLd(options?: {
|
6572
6539
|
format?: "compact" | "expand";
|
6573
|
-
expand?: boolean;
|
6574
6540
|
contextLoader?: DocumentLoader;
|
6575
6541
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
6576
6542
|
}): Promise<unknown>;
|
@@ -6744,7 +6710,6 @@ export declare class Join extends Activity {
|
|
6744
6710
|
*/
|
6745
6711
|
toJsonLd(options?: {
|
6746
6712
|
format?: "compact" | "expand";
|
6747
|
-
expand?: boolean;
|
6748
6713
|
contextLoader?: DocumentLoader;
|
6749
6714
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
6750
6715
|
}): Promise<unknown>;
|
@@ -6918,7 +6883,6 @@ export declare class Leave extends Activity {
|
|
6918
6883
|
*/
|
6919
6884
|
toJsonLd(options?: {
|
6920
6885
|
format?: "compact" | "expand";
|
6921
|
-
expand?: boolean;
|
6922
6886
|
contextLoader?: DocumentLoader;
|
6923
6887
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
6924
6888
|
}): Promise<unknown>;
|
@@ -7092,7 +7056,6 @@ export declare class Like extends Activity {
|
|
7092
7056
|
*/
|
7093
7057
|
toJsonLd(options?: {
|
7094
7058
|
format?: "compact" | "expand";
|
7095
|
-
expand?: boolean;
|
7096
7059
|
contextLoader?: DocumentLoader;
|
7097
7060
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
7098
7061
|
}): Promise<unknown>;
|
@@ -7265,7 +7228,6 @@ export declare class Listen extends Activity {
|
|
7265
7228
|
*/
|
7266
7229
|
toJsonLd(options?: {
|
7267
7230
|
format?: "compact" | "expand";
|
7268
|
-
expand?: boolean;
|
7269
7231
|
contextLoader?: DocumentLoader;
|
7270
7232
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
7271
7233
|
}): Promise<unknown>;
|
@@ -7344,7 +7306,6 @@ export declare class Mention extends Link {
|
|
7344
7306
|
*/
|
7345
7307
|
toJsonLd(options?: {
|
7346
7308
|
format?: "compact" | "expand";
|
7347
|
-
expand?: boolean;
|
7348
7309
|
contextLoader?: DocumentLoader;
|
7349
7310
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
7350
7311
|
}): Promise<unknown>;
|
@@ -7519,7 +7480,6 @@ export declare class Move extends Activity {
|
|
7519
7480
|
*/
|
7520
7481
|
toJsonLd(options?: {
|
7521
7482
|
format?: "compact" | "expand";
|
7522
|
-
expand?: boolean;
|
7523
7483
|
contextLoader?: DocumentLoader;
|
7524
7484
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
7525
7485
|
}): Promise<unknown>;
|
@@ -7669,7 +7629,6 @@ export declare class Note extends Object {
|
|
7669
7629
|
*/
|
7670
7630
|
toJsonLd(options?: {
|
7671
7631
|
format?: "compact" | "expand";
|
7672
|
-
expand?: boolean;
|
7673
7632
|
contextLoader?: DocumentLoader;
|
7674
7633
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
7675
7634
|
}): Promise<unknown>;
|
@@ -7843,7 +7802,6 @@ export declare class OrderedCollection extends Collection {
|
|
7843
7802
|
*/
|
7844
7803
|
toJsonLd(options?: {
|
7845
7804
|
format?: "compact" | "expand";
|
7846
|
-
expand?: boolean;
|
7847
7805
|
contextLoader?: DocumentLoader;
|
7848
7806
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
7849
7807
|
}): Promise<unknown>;
|
@@ -8030,7 +7988,6 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
8030
7988
|
*/
|
8031
7989
|
toJsonLd(options?: {
|
8032
7990
|
format?: "compact" | "expand";
|
8033
|
-
expand?: boolean;
|
8034
7991
|
contextLoader?: DocumentLoader;
|
8035
7992
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
8036
7993
|
}): Promise<unknown>;
|
@@ -8498,7 +8455,6 @@ export declare class Organization extends Object {
|
|
8498
8455
|
*/
|
8499
8456
|
toJsonLd(options?: {
|
8500
8457
|
format?: "compact" | "expand";
|
8501
|
-
expand?: boolean;
|
8502
8458
|
contextLoader?: DocumentLoader;
|
8503
8459
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
8504
8460
|
}): Promise<unknown>;
|
@@ -8651,7 +8607,6 @@ export declare class Page extends Document {
|
|
8651
8607
|
*/
|
8652
8608
|
toJsonLd(options?: {
|
8653
8609
|
format?: "compact" | "expand";
|
8654
|
-
expand?: boolean;
|
8655
8610
|
contextLoader?: DocumentLoader;
|
8656
8611
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
8657
8612
|
}): Promise<unknown>;
|
@@ -9119,7 +9074,6 @@ export declare class Person extends Object {
|
|
9119
9074
|
*/
|
9120
9075
|
toJsonLd(options?: {
|
9121
9076
|
format?: "compact" | "expand";
|
9122
|
-
expand?: boolean;
|
9123
9077
|
contextLoader?: DocumentLoader;
|
9124
9078
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
9125
9079
|
}): Promise<unknown>;
|
@@ -9308,7 +9262,6 @@ export declare class Place extends Object {
|
|
9308
9262
|
*/
|
9309
9263
|
toJsonLd(options?: {
|
9310
9264
|
format?: "compact" | "expand";
|
9311
|
-
expand?: boolean;
|
9312
9265
|
contextLoader?: DocumentLoader;
|
9313
9266
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
9314
9267
|
}): Promise<unknown>;
|
@@ -9477,7 +9430,6 @@ export declare class Profile extends Object {
|
|
9477
9430
|
*/
|
9478
9431
|
toJsonLd(options?: {
|
9479
9432
|
format?: "compact" | "expand";
|
9480
|
-
expand?: boolean;
|
9481
9433
|
contextLoader?: DocumentLoader;
|
9482
9434
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
9483
9435
|
}): Promise<unknown>;
|
@@ -9703,7 +9655,6 @@ export declare class Question extends IntransitiveActivity {
|
|
9703
9655
|
*/
|
9704
9656
|
toJsonLd(options?: {
|
9705
9657
|
format?: "compact" | "expand";
|
9706
|
-
expand?: boolean;
|
9707
9658
|
contextLoader?: DocumentLoader;
|
9708
9659
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
9709
9660
|
}): Promise<unknown>;
|
@@ -9876,7 +9827,6 @@ export declare class Read extends Activity {
|
|
9876
9827
|
*/
|
9877
9828
|
toJsonLd(options?: {
|
9878
9829
|
format?: "compact" | "expand";
|
9879
|
-
expand?: boolean;
|
9880
9830
|
contextLoader?: DocumentLoader;
|
9881
9831
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
9882
9832
|
}): Promise<unknown>;
|
@@ -10050,7 +10000,6 @@ export declare class Reject extends Activity {
|
|
10050
10000
|
*/
|
10051
10001
|
toJsonLd(options?: {
|
10052
10002
|
format?: "compact" | "expand";
|
10053
|
-
expand?: boolean;
|
10054
10003
|
contextLoader?: DocumentLoader;
|
10055
10004
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
10056
10005
|
}): Promise<unknown>;
|
@@ -10287,7 +10236,6 @@ export declare class Relationship extends Object {
|
|
10287
10236
|
*/
|
10288
10237
|
toJsonLd(options?: {
|
10289
10238
|
format?: "compact" | "expand";
|
10290
|
-
expand?: boolean;
|
10291
10239
|
contextLoader?: DocumentLoader;
|
10292
10240
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
10293
10241
|
}): Promise<unknown>;
|
@@ -10461,7 +10409,6 @@ export declare class Remove extends Activity {
|
|
10461
10409
|
*/
|
10462
10410
|
toJsonLd(options?: {
|
10463
10411
|
format?: "compact" | "expand";
|
10464
|
-
expand?: boolean;
|
10465
10412
|
contextLoader?: DocumentLoader;
|
10466
10413
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
10467
10414
|
}): Promise<unknown>;
|
@@ -10929,7 +10876,6 @@ export declare class Service extends Object {
|
|
10929
10876
|
*/
|
10930
10877
|
toJsonLd(options?: {
|
10931
10878
|
format?: "compact" | "expand";
|
10932
|
-
expand?: boolean;
|
10933
10879
|
contextLoader?: DocumentLoader;
|
10934
10880
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
10935
10881
|
}): Promise<unknown>;
|
@@ -11006,7 +10952,6 @@ export declare class Source {
|
|
11006
10952
|
*/
|
11007
10953
|
toJsonLd(options?: {
|
11008
10954
|
format?: "compact" | "expand";
|
11009
|
-
expand?: boolean;
|
11010
10955
|
contextLoader?: DocumentLoader;
|
11011
10956
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
11012
10957
|
}): Promise<unknown>;
|
@@ -11180,7 +11125,6 @@ export declare class TentativeAccept extends Accept {
|
|
11180
11125
|
*/
|
11181
11126
|
toJsonLd(options?: {
|
11182
11127
|
format?: "compact" | "expand";
|
11183
|
-
expand?: boolean;
|
11184
11128
|
contextLoader?: DocumentLoader;
|
11185
11129
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
11186
11130
|
}): Promise<unknown>;
|
@@ -11354,7 +11298,6 @@ export declare class TentativeReject extends Reject {
|
|
11354
11298
|
*/
|
11355
11299
|
toJsonLd(options?: {
|
11356
11300
|
format?: "compact" | "expand";
|
11357
|
-
expand?: boolean;
|
11358
11301
|
contextLoader?: DocumentLoader;
|
11359
11302
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
11360
11303
|
}): Promise<unknown>;
|
@@ -11511,7 +11454,6 @@ export declare class Tombstone extends Object {
|
|
11511
11454
|
*/
|
11512
11455
|
toJsonLd(options?: {
|
11513
11456
|
format?: "compact" | "expand";
|
11514
|
-
expand?: boolean;
|
11515
11457
|
contextLoader?: DocumentLoader;
|
11516
11458
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
11517
11459
|
}): Promise<unknown>;
|
@@ -11687,7 +11629,6 @@ export declare class Travel extends IntransitiveActivity {
|
|
11687
11629
|
*/
|
11688
11630
|
toJsonLd(options?: {
|
11689
11631
|
format?: "compact" | "expand";
|
11690
|
-
expand?: boolean;
|
11691
11632
|
contextLoader?: DocumentLoader;
|
11692
11633
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
11693
11634
|
}): Promise<unknown>;
|
@@ -11866,7 +11807,6 @@ export declare class Undo extends Activity {
|
|
11866
11807
|
*/
|
11867
11808
|
toJsonLd(options?: {
|
11868
11809
|
format?: "compact" | "expand";
|
11869
|
-
expand?: boolean;
|
11870
11810
|
contextLoader?: DocumentLoader;
|
11871
11811
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
11872
11812
|
}): Promise<unknown>;
|
@@ -12043,7 +11983,6 @@ export declare class Update extends Activity {
|
|
12043
11983
|
*/
|
12044
11984
|
toJsonLd(options?: {
|
12045
11985
|
format?: "compact" | "expand";
|
12046
|
-
expand?: boolean;
|
12047
11986
|
contextLoader?: DocumentLoader;
|
12048
11987
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
12049
11988
|
}): Promise<unknown>;
|
@@ -12196,7 +12135,6 @@ export declare class Video extends Document {
|
|
12196
12135
|
*/
|
12197
12136
|
toJsonLd(options?: {
|
12198
12137
|
format?: "compact" | "expand";
|
12199
|
-
expand?: boolean;
|
12200
12138
|
contextLoader?: DocumentLoader;
|
12201
12139
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
12202
12140
|
}): Promise<unknown>;
|
@@ -12369,7 +12307,6 @@ export declare class View extends Activity {
|
|
12369
12307
|
*/
|
12370
12308
|
toJsonLd(options?: {
|
12371
12309
|
format?: "compact" | "expand";
|
12372
|
-
expand?: boolean;
|
12373
12310
|
contextLoader?: DocumentLoader;
|
12374
12311
|
context?: string | Record<string, string> | (string | Record<string, string>)[];
|
12375
12312
|
}): Promise<unknown>;
|