@fedify/fedify 0.8.0-dev.164 → 0.8.0-dev.167
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @fedify/fedify might be problematic. Click here for more details.
- package/CHANGES.md +33 -1
- package/esm/federation/handler.js +2 -2
- package/esm/federation/middleware.js +12 -7
- package/esm/federation/send.js +2 -2
- package/esm/httpsig/mod.js +32 -14
- package/esm/vocab/lookup.js +6 -2
- package/esm/vocab/vocab.js +552 -352
- package/package.json +1 -1
- package/types/federation/context.d.ts +4 -0
- package/types/federation/context.d.ts.map +1 -1
- package/types/federation/handler.d.ts +2 -1
- package/types/federation/handler.d.ts.map +1 -1
- package/types/federation/middleware.d.ts +7 -1
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/federation/send.d.ts +4 -3
- package/types/federation/send.d.ts.map +1 -1
- package/types/httpsig/mod.d.ts +39 -8
- package/types/httpsig/mod.d.ts.map +1 -1
- package/types/testing/context.d.ts.map +1 -1
- package/types/vocab/lookup.d.ts +8 -0
- package/types/vocab/lookup.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +306 -86
- package/types/vocab/vocab.d.ts.map +1 -1
package/types/vocab/vocab.d.ts
CHANGED
@@ -9,6 +9,7 @@ export declare class PropertyValue {
|
|
9
9
|
#private;
|
10
10
|
readonly id: URL | null;
|
11
11
|
protected get _documentLoader(): DocumentLoader | undefined;
|
12
|
+
protected get _contextLoader(): DocumentLoader | undefined;
|
12
13
|
/**
|
13
14
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
14
15
|
*/
|
@@ -22,8 +23,9 @@ export declare class PropertyValue {
|
|
22
23
|
id?: URL | null;
|
23
24
|
name?: string | LanguageString | null;
|
24
25
|
value?: string | LanguageString | null;
|
25
|
-
}, { documentLoader }?: {
|
26
|
+
}, { documentLoader, contextLoader, }?: {
|
26
27
|
documentLoader?: DocumentLoader;
|
28
|
+
contextLoader?: DocumentLoader;
|
27
29
|
});
|
28
30
|
/**
|
29
31
|
* Clones this instance, optionally updating it with the given values.
|
@@ -37,6 +39,7 @@ export declare class PropertyValue {
|
|
37
39
|
value?: string | LanguageString | null;
|
38
40
|
}, options?: {
|
39
41
|
documentLoader?: DocumentLoader;
|
42
|
+
contextLoader?: DocumentLoader;
|
40
43
|
}): PropertyValue;
|
41
44
|
/** The name of a property.
|
42
45
|
*/
|
@@ -50,7 +53,7 @@ export declare class PropertyValue {
|
|
50
53
|
*/
|
51
54
|
toJsonLd(options?: {
|
52
55
|
expand?: boolean;
|
53
|
-
|
56
|
+
contextLoader?: DocumentLoader;
|
54
57
|
}): Promise<unknown>;
|
55
58
|
/**
|
56
59
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -60,6 +63,7 @@ export declare class PropertyValue {
|
|
60
63
|
*/
|
61
64
|
static fromJsonLd(json: unknown, options?: {
|
62
65
|
documentLoader?: DocumentLoader;
|
66
|
+
contextLoader?: DocumentLoader;
|
63
67
|
}): Promise<PropertyValue>;
|
64
68
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
65
69
|
}
|
@@ -69,6 +73,7 @@ export declare class CryptographicKey {
|
|
69
73
|
#private;
|
70
74
|
readonly id: URL | null;
|
71
75
|
protected get _documentLoader(): DocumentLoader | undefined;
|
76
|
+
protected get _contextLoader(): DocumentLoader | undefined;
|
72
77
|
/**
|
73
78
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
74
79
|
*/
|
@@ -82,8 +87,9 @@ export declare class CryptographicKey {
|
|
82
87
|
id?: URL | null;
|
83
88
|
owner?: Application | Group | Organization | Person | Service | URL | null;
|
84
89
|
publicKey?: dntShim.CryptoKey | null;
|
85
|
-
}, { documentLoader }?: {
|
90
|
+
}, { documentLoader, contextLoader, }?: {
|
86
91
|
documentLoader?: DocumentLoader;
|
92
|
+
contextLoader?: DocumentLoader;
|
87
93
|
});
|
88
94
|
/**
|
89
95
|
* Clones this instance, optionally updating it with the given values.
|
@@ -97,6 +103,7 @@ export declare class CryptographicKey {
|
|
97
103
|
publicKey?: dntShim.CryptoKey | null;
|
98
104
|
}, options?: {
|
99
105
|
documentLoader?: DocumentLoader;
|
106
|
+
contextLoader?: DocumentLoader;
|
100
107
|
}): CryptographicKey;
|
101
108
|
/**
|
102
109
|
* Similar to
|
@@ -108,6 +115,7 @@ export declare class CryptographicKey {
|
|
108
115
|
*/
|
109
116
|
getOwner(options?: {
|
110
117
|
documentLoader?: DocumentLoader;
|
118
|
+
contextLoader?: DocumentLoader;
|
111
119
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
112
120
|
/** A PEM-encoded public key.
|
113
121
|
*/
|
@@ -118,7 +126,7 @@ export declare class CryptographicKey {
|
|
118
126
|
*/
|
119
127
|
toJsonLd(options?: {
|
120
128
|
expand?: boolean;
|
121
|
-
|
129
|
+
contextLoader?: DocumentLoader;
|
122
130
|
}): Promise<unknown>;
|
123
131
|
/**
|
124
132
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -128,6 +136,7 @@ export declare class CryptographicKey {
|
|
128
136
|
*/
|
129
137
|
static fromJsonLd(json: unknown, options?: {
|
130
138
|
documentLoader?: DocumentLoader;
|
139
|
+
contextLoader?: DocumentLoader;
|
131
140
|
}): Promise<CryptographicKey>;
|
132
141
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
133
142
|
}
|
@@ -141,6 +150,7 @@ export declare class Object {
|
|
141
150
|
#private;
|
142
151
|
readonly id: URL | null;
|
143
152
|
protected get _documentLoader(): DocumentLoader | undefined;
|
153
|
+
protected get _contextLoader(): DocumentLoader | undefined;
|
144
154
|
/**
|
145
155
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
146
156
|
*/
|
@@ -194,8 +204,9 @@ export declare class Object {
|
|
194
204
|
mediaType?: string | null;
|
195
205
|
duration?: dntShim.Temporal.Duration | null;
|
196
206
|
sensitive?: boolean | null;
|
197
|
-
}, { documentLoader }?: {
|
207
|
+
}, { documentLoader, contextLoader, }?: {
|
198
208
|
documentLoader?: DocumentLoader;
|
209
|
+
contextLoader?: DocumentLoader;
|
199
210
|
});
|
200
211
|
/**
|
201
212
|
* Clones this instance, optionally updating it with the given values.
|
@@ -249,6 +260,7 @@ export declare class Object {
|
|
249
260
|
sensitive?: boolean | null;
|
250
261
|
}, options?: {
|
251
262
|
documentLoader?: DocumentLoader;
|
263
|
+
contextLoader?: DocumentLoader;
|
252
264
|
}): Object;
|
253
265
|
/**
|
254
266
|
* Similar to
|
@@ -262,6 +274,7 @@ export declare class Object {
|
|
262
274
|
*/
|
263
275
|
getAttachments(options?: {
|
264
276
|
documentLoader?: DocumentLoader;
|
277
|
+
contextLoader?: DocumentLoader;
|
265
278
|
}): AsyncIterable<Object | Link | PropertyValue>;
|
266
279
|
/**
|
267
280
|
* Similar to
|
@@ -275,6 +288,7 @@ export declare class Object {
|
|
275
288
|
*/
|
276
289
|
getAttribution(options?: {
|
277
290
|
documentLoader?: DocumentLoader;
|
291
|
+
contextLoader?: DocumentLoader;
|
278
292
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
279
293
|
/**
|
280
294
|
* Similar to
|
@@ -288,6 +302,7 @@ export declare class Object {
|
|
288
302
|
*/
|
289
303
|
getAttributions(options?: {
|
290
304
|
documentLoader?: DocumentLoader;
|
305
|
+
contextLoader?: DocumentLoader;
|
291
306
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
292
307
|
/**
|
293
308
|
* Similar to
|
@@ -300,6 +315,7 @@ export declare class Object {
|
|
300
315
|
*/
|
301
316
|
getAudience(options?: {
|
302
317
|
documentLoader?: DocumentLoader;
|
318
|
+
contextLoader?: DocumentLoader;
|
303
319
|
}): Promise<Object | null>;
|
304
320
|
/**
|
305
321
|
* Similar to
|
@@ -312,6 +328,7 @@ export declare class Object {
|
|
312
328
|
*/
|
313
329
|
getAudiences(options?: {
|
314
330
|
documentLoader?: DocumentLoader;
|
331
|
+
contextLoader?: DocumentLoader;
|
315
332
|
}): AsyncIterable<Object>;
|
316
333
|
/** The content or textual representation of the Object encoded as a JSON
|
317
334
|
* string. By default, the value of `content` is HTML. The `mediaType`
|
@@ -343,6 +360,7 @@ export declare class Object {
|
|
343
360
|
*/
|
344
361
|
getContexts(options?: {
|
345
362
|
documentLoader?: DocumentLoader;
|
363
|
+
contextLoader?: DocumentLoader;
|
346
364
|
}): AsyncIterable<Object | Link>;
|
347
365
|
/** A simple, human-readable, plain-text name for the object. HTML markup MUST
|
348
366
|
* NOT be included. The name MAY be expressed using multiple language-tagged
|
@@ -370,6 +388,7 @@ export declare class Object {
|
|
370
388
|
*/
|
371
389
|
getGenerators(options?: {
|
372
390
|
documentLoader?: DocumentLoader;
|
391
|
+
contextLoader?: DocumentLoader;
|
373
392
|
}): AsyncIterable<Object | Link>;
|
374
393
|
/**
|
375
394
|
* Similar to
|
@@ -383,6 +402,7 @@ export declare class Object {
|
|
383
402
|
*/
|
384
403
|
getIcon(options?: {
|
385
404
|
documentLoader?: DocumentLoader;
|
405
|
+
contextLoader?: DocumentLoader;
|
386
406
|
}): Promise<Image | null>;
|
387
407
|
/**
|
388
408
|
* Similar to
|
@@ -396,6 +416,7 @@ export declare class Object {
|
|
396
416
|
*/
|
397
417
|
getIcons(options?: {
|
398
418
|
documentLoader?: DocumentLoader;
|
419
|
+
contextLoader?: DocumentLoader;
|
399
420
|
}): AsyncIterable<Image>;
|
400
421
|
/**
|
401
422
|
* Similar to
|
@@ -409,6 +430,7 @@ export declare class Object {
|
|
409
430
|
*/
|
410
431
|
getImage(options?: {
|
411
432
|
documentLoader?: DocumentLoader;
|
433
|
+
contextLoader?: DocumentLoader;
|
412
434
|
}): Promise<Image | null>;
|
413
435
|
/**
|
414
436
|
* Similar to
|
@@ -422,6 +444,7 @@ export declare class Object {
|
|
422
444
|
*/
|
423
445
|
getImages(options?: {
|
424
446
|
documentLoader?: DocumentLoader;
|
447
|
+
contextLoader?: DocumentLoader;
|
425
448
|
}): AsyncIterable<Image>;
|
426
449
|
/**
|
427
450
|
* Similar to
|
@@ -434,6 +457,7 @@ export declare class Object {
|
|
434
457
|
*/
|
435
458
|
getReplyTarget(options?: {
|
436
459
|
documentLoader?: DocumentLoader;
|
460
|
+
contextLoader?: DocumentLoader;
|
437
461
|
}): Promise<Object | Link | null>;
|
438
462
|
/**
|
439
463
|
* Similar to
|
@@ -446,6 +470,7 @@ export declare class Object {
|
|
446
470
|
*/
|
447
471
|
getReplyTargets(options?: {
|
448
472
|
documentLoader?: DocumentLoader;
|
473
|
+
contextLoader?: DocumentLoader;
|
449
474
|
}): AsyncIterable<Object | Link>;
|
450
475
|
/**
|
451
476
|
* Similar to
|
@@ -458,6 +483,7 @@ export declare class Object {
|
|
458
483
|
*/
|
459
484
|
getLocation(options?: {
|
460
485
|
documentLoader?: DocumentLoader;
|
486
|
+
contextLoader?: DocumentLoader;
|
461
487
|
}): Promise<Object | Link | null>;
|
462
488
|
/**
|
463
489
|
* Similar to
|
@@ -470,6 +496,7 @@ export declare class Object {
|
|
470
496
|
*/
|
471
497
|
getLocations(options?: {
|
472
498
|
documentLoader?: DocumentLoader;
|
499
|
+
contextLoader?: DocumentLoader;
|
473
500
|
}): AsyncIterable<Object | Link>;
|
474
501
|
/**
|
475
502
|
* Similar to
|
@@ -481,6 +508,7 @@ export declare class Object {
|
|
481
508
|
*/
|
482
509
|
getPreview(options?: {
|
483
510
|
documentLoader?: DocumentLoader;
|
511
|
+
contextLoader?: DocumentLoader;
|
484
512
|
}): Promise<Link | Object | null>;
|
485
513
|
/**
|
486
514
|
* Similar to
|
@@ -492,6 +520,7 @@ export declare class Object {
|
|
492
520
|
*/
|
493
521
|
getPreviews(options?: {
|
494
522
|
documentLoader?: DocumentLoader;
|
523
|
+
contextLoader?: DocumentLoader;
|
495
524
|
}): AsyncIterable<Link | Object>;
|
496
525
|
/** The date and time at which the object was published.
|
497
526
|
*/
|
@@ -507,6 +536,7 @@ export declare class Object {
|
|
507
536
|
*/
|
508
537
|
getReplies(options?: {
|
509
538
|
documentLoader?: DocumentLoader;
|
539
|
+
contextLoader?: DocumentLoader;
|
510
540
|
}): Promise<Collection | null>;
|
511
541
|
/** The date and time describing the actual or expected starting time of
|
512
542
|
* the object. When used with an {@link Activity} object, for instance,
|
@@ -535,6 +565,7 @@ export declare class Object {
|
|
535
565
|
*/
|
536
566
|
getTags(options?: {
|
537
567
|
documentLoader?: DocumentLoader;
|
568
|
+
contextLoader?: DocumentLoader;
|
538
569
|
}): AsyncIterable<Object | Link>;
|
539
570
|
/** The date and time at which the object was updated.
|
540
571
|
*/
|
@@ -556,6 +587,7 @@ export declare class Object {
|
|
556
587
|
*/
|
557
588
|
getTo(options?: {
|
558
589
|
documentLoader?: DocumentLoader;
|
590
|
+
contextLoader?: DocumentLoader;
|
559
591
|
}): Promise<Object | null>;
|
560
592
|
/**
|
561
593
|
* Similar to
|
@@ -568,6 +600,7 @@ export declare class Object {
|
|
568
600
|
*/
|
569
601
|
getTos(options?: {
|
570
602
|
documentLoader?: DocumentLoader;
|
603
|
+
contextLoader?: DocumentLoader;
|
571
604
|
}): AsyncIterable<Object>;
|
572
605
|
/**
|
573
606
|
* Similar to
|
@@ -580,6 +613,7 @@ export declare class Object {
|
|
580
613
|
*/
|
581
614
|
getBto(options?: {
|
582
615
|
documentLoader?: DocumentLoader;
|
616
|
+
contextLoader?: DocumentLoader;
|
583
617
|
}): Promise<Object | null>;
|
584
618
|
/**
|
585
619
|
* Similar to
|
@@ -592,6 +626,7 @@ export declare class Object {
|
|
592
626
|
*/
|
593
627
|
getBtos(options?: {
|
594
628
|
documentLoader?: DocumentLoader;
|
629
|
+
contextLoader?: DocumentLoader;
|
595
630
|
}): AsyncIterable<Object>;
|
596
631
|
/**
|
597
632
|
* Similar to
|
@@ -604,6 +639,7 @@ export declare class Object {
|
|
604
639
|
*/
|
605
640
|
getCc(options?: {
|
606
641
|
documentLoader?: DocumentLoader;
|
642
|
+
contextLoader?: DocumentLoader;
|
607
643
|
}): Promise<Object | null>;
|
608
644
|
/**
|
609
645
|
* Similar to
|
@@ -616,6 +652,7 @@ export declare class Object {
|
|
616
652
|
*/
|
617
653
|
getCcs(options?: {
|
618
654
|
documentLoader?: DocumentLoader;
|
655
|
+
contextLoader?: DocumentLoader;
|
619
656
|
}): AsyncIterable<Object>;
|
620
657
|
/**
|
621
658
|
* Similar to
|
@@ -628,6 +665,7 @@ export declare class Object {
|
|
628
665
|
*/
|
629
666
|
getBcc(options?: {
|
630
667
|
documentLoader?: DocumentLoader;
|
668
|
+
contextLoader?: DocumentLoader;
|
631
669
|
}): Promise<Object | null>;
|
632
670
|
/**
|
633
671
|
* Similar to
|
@@ -640,6 +678,7 @@ export declare class Object {
|
|
640
678
|
*/
|
641
679
|
getBccs(options?: {
|
642
680
|
documentLoader?: DocumentLoader;
|
681
|
+
contextLoader?: DocumentLoader;
|
643
682
|
}): AsyncIterable<Object>;
|
644
683
|
/** When used on an {@link Object}, identifies the MIME media type of the value
|
645
684
|
* of the `content` property. If not specified, the `content` property is
|
@@ -662,7 +701,7 @@ export declare class Object {
|
|
662
701
|
*/
|
663
702
|
toJsonLd(options?: {
|
664
703
|
expand?: boolean;
|
665
|
-
|
704
|
+
contextLoader?: DocumentLoader;
|
666
705
|
}): Promise<unknown>;
|
667
706
|
/**
|
668
707
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -672,6 +711,7 @@ export declare class Object {
|
|
672
711
|
*/
|
673
712
|
static fromJsonLd(json: unknown, options?: {
|
674
713
|
documentLoader?: DocumentLoader;
|
714
|
+
contextLoader?: DocumentLoader;
|
675
715
|
}): Promise<Object>;
|
676
716
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
677
717
|
}
|
@@ -740,8 +780,9 @@ export declare class Activity extends Object {
|
|
740
780
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
741
781
|
object?: Object | URL | null;
|
742
782
|
objects?: (Object | URL)[];
|
743
|
-
}, { documentLoader }?: {
|
783
|
+
}, { documentLoader, contextLoader, }?: {
|
744
784
|
documentLoader?: DocumentLoader;
|
785
|
+
contextLoader?: DocumentLoader;
|
745
786
|
});
|
746
787
|
/**
|
747
788
|
* Clones this instance, optionally updating it with the given values.
|
@@ -799,6 +840,7 @@ export declare class Activity extends Object {
|
|
799
840
|
objects?: (Object | URL)[];
|
800
841
|
}, options?: {
|
801
842
|
documentLoader?: DocumentLoader;
|
843
|
+
contextLoader?: DocumentLoader;
|
802
844
|
}): Activity;
|
803
845
|
/**
|
804
846
|
* Similar to
|
@@ -812,6 +854,7 @@ export declare class Activity extends Object {
|
|
812
854
|
*/
|
813
855
|
getActor(options?: {
|
814
856
|
documentLoader?: DocumentLoader;
|
857
|
+
contextLoader?: DocumentLoader;
|
815
858
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
816
859
|
/**
|
817
860
|
* Similar to
|
@@ -825,6 +868,7 @@ export declare class Activity extends Object {
|
|
825
868
|
*/
|
826
869
|
getActors(options?: {
|
827
870
|
documentLoader?: DocumentLoader;
|
871
|
+
contextLoader?: DocumentLoader;
|
828
872
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
829
873
|
/**
|
830
874
|
* Similar to
|
@@ -838,6 +882,7 @@ export declare class Activity extends Object {
|
|
838
882
|
*/
|
839
883
|
getObject(options?: {
|
840
884
|
documentLoader?: DocumentLoader;
|
885
|
+
contextLoader?: DocumentLoader;
|
841
886
|
}): Promise<Object | null>;
|
842
887
|
/**
|
843
888
|
* Similar to
|
@@ -851,6 +896,7 @@ export declare class Activity extends Object {
|
|
851
896
|
*/
|
852
897
|
getObjects(options?: {
|
853
898
|
documentLoader?: DocumentLoader;
|
899
|
+
contextLoader?: DocumentLoader;
|
854
900
|
}): AsyncIterable<Object>;
|
855
901
|
/**
|
856
902
|
* Converts this object to a JSON-LD structure.
|
@@ -858,7 +904,7 @@ export declare class Activity extends Object {
|
|
858
904
|
*/
|
859
905
|
toJsonLd(options?: {
|
860
906
|
expand?: boolean;
|
861
|
-
|
907
|
+
contextLoader?: DocumentLoader;
|
862
908
|
}): Promise<unknown>;
|
863
909
|
/**
|
864
910
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -868,6 +914,7 @@ export declare class Activity extends Object {
|
|
868
914
|
*/
|
869
915
|
static fromJsonLd(json: unknown, options?: {
|
870
916
|
documentLoader?: DocumentLoader;
|
917
|
+
contextLoader?: DocumentLoader;
|
871
918
|
}): Promise<Activity>;
|
872
919
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
873
920
|
}
|
@@ -933,8 +980,9 @@ export declare class Accept extends Activity {
|
|
933
980
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
934
981
|
object?: Object | URL | null;
|
935
982
|
objects?: (Object | URL)[];
|
936
|
-
}, { documentLoader }?: {
|
983
|
+
}, { documentLoader, contextLoader, }?: {
|
937
984
|
documentLoader?: DocumentLoader;
|
985
|
+
contextLoader?: DocumentLoader;
|
938
986
|
});
|
939
987
|
/**
|
940
988
|
* Clones this instance, optionally updating it with the given values.
|
@@ -992,6 +1040,7 @@ export declare class Accept extends Activity {
|
|
992
1040
|
objects?: (Object | URL)[];
|
993
1041
|
}, options?: {
|
994
1042
|
documentLoader?: DocumentLoader;
|
1043
|
+
contextLoader?: DocumentLoader;
|
995
1044
|
}): Accept;
|
996
1045
|
/**
|
997
1046
|
* Converts this object to a JSON-LD structure.
|
@@ -999,7 +1048,7 @@ export declare class Accept extends Activity {
|
|
999
1048
|
*/
|
1000
1049
|
toJsonLd(options?: {
|
1001
1050
|
expand?: boolean;
|
1002
|
-
|
1051
|
+
contextLoader?: DocumentLoader;
|
1003
1052
|
}): Promise<unknown>;
|
1004
1053
|
/**
|
1005
1054
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -1009,6 +1058,7 @@ export declare class Accept extends Activity {
|
|
1009
1058
|
*/
|
1010
1059
|
static fromJsonLd(json: unknown, options?: {
|
1011
1060
|
documentLoader?: DocumentLoader;
|
1061
|
+
contextLoader?: DocumentLoader;
|
1012
1062
|
}): Promise<Accept>;
|
1013
1063
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1014
1064
|
}
|
@@ -1075,8 +1125,9 @@ export declare class Add extends Activity {
|
|
1075
1125
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
1076
1126
|
object?: Object | URL | null;
|
1077
1127
|
objects?: (Object | URL)[];
|
1078
|
-
}, { documentLoader }?: {
|
1128
|
+
}, { documentLoader, contextLoader, }?: {
|
1079
1129
|
documentLoader?: DocumentLoader;
|
1130
|
+
contextLoader?: DocumentLoader;
|
1080
1131
|
});
|
1081
1132
|
/**
|
1082
1133
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1134,6 +1185,7 @@ export declare class Add extends Activity {
|
|
1134
1185
|
objects?: (Object | URL)[];
|
1135
1186
|
}, options?: {
|
1136
1187
|
documentLoader?: DocumentLoader;
|
1188
|
+
contextLoader?: DocumentLoader;
|
1137
1189
|
}): Add;
|
1138
1190
|
/**
|
1139
1191
|
* Converts this object to a JSON-LD structure.
|
@@ -1141,7 +1193,7 @@ export declare class Add extends Activity {
|
|
1141
1193
|
*/
|
1142
1194
|
toJsonLd(options?: {
|
1143
1195
|
expand?: boolean;
|
1144
|
-
|
1196
|
+
contextLoader?: DocumentLoader;
|
1145
1197
|
}): Promise<unknown>;
|
1146
1198
|
/**
|
1147
1199
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -1151,6 +1203,7 @@ export declare class Add extends Activity {
|
|
1151
1203
|
*/
|
1152
1204
|
static fromJsonLd(json: unknown, options?: {
|
1153
1205
|
documentLoader?: DocumentLoader;
|
1206
|
+
contextLoader?: DocumentLoader;
|
1154
1207
|
}): Promise<Add>;
|
1155
1208
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1156
1209
|
}
|
@@ -1216,8 +1269,9 @@ export declare class Announce extends Activity {
|
|
1216
1269
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
1217
1270
|
object?: Object | URL | null;
|
1218
1271
|
objects?: (Object | URL)[];
|
1219
|
-
}, { documentLoader }?: {
|
1272
|
+
}, { documentLoader, contextLoader, }?: {
|
1220
1273
|
documentLoader?: DocumentLoader;
|
1274
|
+
contextLoader?: DocumentLoader;
|
1221
1275
|
});
|
1222
1276
|
/**
|
1223
1277
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1275,6 +1329,7 @@ export declare class Announce extends Activity {
|
|
1275
1329
|
objects?: (Object | URL)[];
|
1276
1330
|
}, options?: {
|
1277
1331
|
documentLoader?: DocumentLoader;
|
1332
|
+
contextLoader?: DocumentLoader;
|
1278
1333
|
}): Announce;
|
1279
1334
|
/**
|
1280
1335
|
* Converts this object to a JSON-LD structure.
|
@@ -1282,7 +1337,7 @@ export declare class Announce extends Activity {
|
|
1282
1337
|
*/
|
1283
1338
|
toJsonLd(options?: {
|
1284
1339
|
expand?: boolean;
|
1285
|
-
|
1340
|
+
contextLoader?: DocumentLoader;
|
1286
1341
|
}): Promise<unknown>;
|
1287
1342
|
/**
|
1288
1343
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -1292,6 +1347,7 @@ export declare class Announce extends Activity {
|
|
1292
1347
|
*/
|
1293
1348
|
static fromJsonLd(json: unknown, options?: {
|
1294
1349
|
documentLoader?: DocumentLoader;
|
1350
|
+
contextLoader?: DocumentLoader;
|
1295
1351
|
}): Promise<Announce>;
|
1296
1352
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1297
1353
|
}
|
@@ -1368,8 +1424,9 @@ export declare class Application extends Object {
|
|
1368
1424
|
suspended?: boolean | null;
|
1369
1425
|
memorial?: boolean | null;
|
1370
1426
|
indexable?: boolean | null;
|
1371
|
-
}, { documentLoader }?: {
|
1427
|
+
}, { documentLoader, contextLoader, }?: {
|
1372
1428
|
documentLoader?: DocumentLoader;
|
1429
|
+
contextLoader?: DocumentLoader;
|
1373
1430
|
});
|
1374
1431
|
/**
|
1375
1432
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1439,6 +1496,7 @@ export declare class Application extends Object {
|
|
1439
1496
|
indexable?: boolean | null;
|
1440
1497
|
}, options?: {
|
1441
1498
|
documentLoader?: DocumentLoader;
|
1499
|
+
contextLoader?: DocumentLoader;
|
1442
1500
|
}): Application;
|
1443
1501
|
/** A short username which may be used to refer to the actor,
|
1444
1502
|
* with no uniqueness guarantees.
|
@@ -1458,6 +1516,7 @@ export declare class Application extends Object {
|
|
1458
1516
|
*/
|
1459
1517
|
getPublicKey(options?: {
|
1460
1518
|
documentLoader?: DocumentLoader;
|
1519
|
+
contextLoader?: DocumentLoader;
|
1461
1520
|
}): Promise<CryptographicKey | null>;
|
1462
1521
|
/**
|
1463
1522
|
* Similar to
|
@@ -1469,6 +1528,7 @@ export declare class Application extends Object {
|
|
1469
1528
|
*/
|
1470
1529
|
getPublicKeys(options?: {
|
1471
1530
|
documentLoader?: DocumentLoader;
|
1531
|
+
contextLoader?: DocumentLoader;
|
1472
1532
|
}): AsyncIterable<CryptographicKey>;
|
1473
1533
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
1474
1534
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -1500,6 +1560,7 @@ export declare class Application extends Object {
|
|
1500
1560
|
*/
|
1501
1561
|
getInbox(options?: {
|
1502
1562
|
documentLoader?: DocumentLoader;
|
1563
|
+
contextLoader?: DocumentLoader;
|
1503
1564
|
}): Promise<OrderedCollection | null>;
|
1504
1565
|
/**
|
1505
1566
|
* Similar to
|
@@ -1520,6 +1581,7 @@ export declare class Application extends Object {
|
|
1520
1581
|
*/
|
1521
1582
|
getOutbox(options?: {
|
1522
1583
|
documentLoader?: DocumentLoader;
|
1584
|
+
contextLoader?: DocumentLoader;
|
1523
1585
|
}): Promise<OrderedCollection | null>;
|
1524
1586
|
/**
|
1525
1587
|
* Similar to
|
@@ -1535,6 +1597,7 @@ export declare class Application extends Object {
|
|
1535
1597
|
*/
|
1536
1598
|
getFollowing(options?: {
|
1537
1599
|
documentLoader?: DocumentLoader;
|
1600
|
+
contextLoader?: DocumentLoader;
|
1538
1601
|
}): Promise<Collection | null>;
|
1539
1602
|
/**
|
1540
1603
|
* Similar to
|
@@ -1553,6 +1616,7 @@ export declare class Application extends Object {
|
|
1553
1616
|
*/
|
1554
1617
|
getFollowers(options?: {
|
1555
1618
|
documentLoader?: DocumentLoader;
|
1619
|
+
contextLoader?: DocumentLoader;
|
1556
1620
|
}): Promise<Collection | null>;
|
1557
1621
|
/**
|
1558
1622
|
* Similar to
|
@@ -1569,6 +1633,7 @@ export declare class Application extends Object {
|
|
1569
1633
|
*/
|
1570
1634
|
getLinked(options?: {
|
1571
1635
|
documentLoader?: DocumentLoader;
|
1636
|
+
contextLoader?: DocumentLoader;
|
1572
1637
|
}): Promise<Collection | null>;
|
1573
1638
|
/**
|
1574
1639
|
* Similar to
|
@@ -1580,6 +1645,7 @@ export declare class Application extends Object {
|
|
1580
1645
|
*/
|
1581
1646
|
getStreams(options?: {
|
1582
1647
|
documentLoader?: DocumentLoader;
|
1648
|
+
contextLoader?: DocumentLoader;
|
1583
1649
|
}): AsyncIterable<Collection>;
|
1584
1650
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
1585
1651
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -1609,7 +1675,7 @@ export declare class Application extends Object {
|
|
1609
1675
|
*/
|
1610
1676
|
toJsonLd(options?: {
|
1611
1677
|
expand?: boolean;
|
1612
|
-
|
1678
|
+
contextLoader?: DocumentLoader;
|
1613
1679
|
}): Promise<unknown>;
|
1614
1680
|
/**
|
1615
1681
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -1619,6 +1685,7 @@ export declare class Application extends Object {
|
|
1619
1685
|
*/
|
1620
1686
|
static fromJsonLd(json: unknown, options?: {
|
1621
1687
|
documentLoader?: DocumentLoader;
|
1688
|
+
contextLoader?: DocumentLoader;
|
1622
1689
|
}): Promise<Application>;
|
1623
1690
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1624
1691
|
}
|
@@ -1678,8 +1745,9 @@ export declare class Article extends Object {
|
|
1678
1745
|
mediaType?: string | null;
|
1679
1746
|
duration?: dntShim.Temporal.Duration | null;
|
1680
1747
|
sensitive?: boolean | null;
|
1681
|
-
}, { documentLoader }?: {
|
1748
|
+
}, { documentLoader, contextLoader, }?: {
|
1682
1749
|
documentLoader?: DocumentLoader;
|
1750
|
+
contextLoader?: DocumentLoader;
|
1683
1751
|
});
|
1684
1752
|
/**
|
1685
1753
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1733,6 +1801,7 @@ export declare class Article extends Object {
|
|
1733
1801
|
sensitive?: boolean | null;
|
1734
1802
|
}, options?: {
|
1735
1803
|
documentLoader?: DocumentLoader;
|
1804
|
+
contextLoader?: DocumentLoader;
|
1736
1805
|
}): Article;
|
1737
1806
|
/**
|
1738
1807
|
* Converts this object to a JSON-LD structure.
|
@@ -1740,7 +1809,7 @@ export declare class Article extends Object {
|
|
1740
1809
|
*/
|
1741
1810
|
toJsonLd(options?: {
|
1742
1811
|
expand?: boolean;
|
1743
|
-
|
1812
|
+
contextLoader?: DocumentLoader;
|
1744
1813
|
}): Promise<unknown>;
|
1745
1814
|
/**
|
1746
1815
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -1750,6 +1819,7 @@ export declare class Article extends Object {
|
|
1750
1819
|
*/
|
1751
1820
|
static fromJsonLd(json: unknown, options?: {
|
1752
1821
|
documentLoader?: DocumentLoader;
|
1822
|
+
contextLoader?: DocumentLoader;
|
1753
1823
|
}): Promise<Article>;
|
1754
1824
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1755
1825
|
}
|
@@ -1809,8 +1879,9 @@ export declare class Document extends Object {
|
|
1809
1879
|
mediaType?: string | null;
|
1810
1880
|
duration?: dntShim.Temporal.Duration | null;
|
1811
1881
|
sensitive?: boolean | null;
|
1812
|
-
}, { documentLoader }?: {
|
1882
|
+
}, { documentLoader, contextLoader, }?: {
|
1813
1883
|
documentLoader?: DocumentLoader;
|
1884
|
+
contextLoader?: DocumentLoader;
|
1814
1885
|
});
|
1815
1886
|
/**
|
1816
1887
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1864,6 +1935,7 @@ export declare class Document extends Object {
|
|
1864
1935
|
sensitive?: boolean | null;
|
1865
1936
|
}, options?: {
|
1866
1937
|
documentLoader?: DocumentLoader;
|
1938
|
+
contextLoader?: DocumentLoader;
|
1867
1939
|
}): Document;
|
1868
1940
|
/**
|
1869
1941
|
* Converts this object to a JSON-LD structure.
|
@@ -1871,7 +1943,7 @@ export declare class Document extends Object {
|
|
1871
1943
|
*/
|
1872
1944
|
toJsonLd(options?: {
|
1873
1945
|
expand?: boolean;
|
1874
|
-
|
1946
|
+
contextLoader?: DocumentLoader;
|
1875
1947
|
}): Promise<unknown>;
|
1876
1948
|
/**
|
1877
1949
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -1881,6 +1953,7 @@ export declare class Document extends Object {
|
|
1881
1953
|
*/
|
1882
1954
|
static fromJsonLd(json: unknown, options?: {
|
1883
1955
|
documentLoader?: DocumentLoader;
|
1956
|
+
contextLoader?: DocumentLoader;
|
1884
1957
|
}): Promise<Document>;
|
1885
1958
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1886
1959
|
}
|
@@ -1940,8 +2013,9 @@ export declare class Audio extends Document {
|
|
1940
2013
|
mediaType?: string | null;
|
1941
2014
|
duration?: dntShim.Temporal.Duration | null;
|
1942
2015
|
sensitive?: boolean | null;
|
1943
|
-
}, { documentLoader }?: {
|
2016
|
+
}, { documentLoader, contextLoader, }?: {
|
1944
2017
|
documentLoader?: DocumentLoader;
|
2018
|
+
contextLoader?: DocumentLoader;
|
1945
2019
|
});
|
1946
2020
|
/**
|
1947
2021
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1995,6 +2069,7 @@ export declare class Audio extends Document {
|
|
1995
2069
|
sensitive?: boolean | null;
|
1996
2070
|
}, options?: {
|
1997
2071
|
documentLoader?: DocumentLoader;
|
2072
|
+
contextLoader?: DocumentLoader;
|
1998
2073
|
}): Audio;
|
1999
2074
|
/**
|
2000
2075
|
* Converts this object to a JSON-LD structure.
|
@@ -2002,7 +2077,7 @@ export declare class Audio extends Document {
|
|
2002
2077
|
*/
|
2003
2078
|
toJsonLd(options?: {
|
2004
2079
|
expand?: boolean;
|
2005
|
-
|
2080
|
+
contextLoader?: DocumentLoader;
|
2006
2081
|
}): Promise<unknown>;
|
2007
2082
|
/**
|
2008
2083
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2012,6 +2087,7 @@ export declare class Audio extends Document {
|
|
2012
2087
|
*/
|
2013
2088
|
static fromJsonLd(json: unknown, options?: {
|
2014
2089
|
documentLoader?: DocumentLoader;
|
2090
|
+
contextLoader?: DocumentLoader;
|
2015
2091
|
}): Promise<Audio>;
|
2016
2092
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2017
2093
|
}
|
@@ -2076,8 +2152,9 @@ export declare class Ignore extends Activity {
|
|
2076
2152
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2077
2153
|
object?: Object | URL | null;
|
2078
2154
|
objects?: (Object | URL)[];
|
2079
|
-
}, { documentLoader }?: {
|
2155
|
+
}, { documentLoader, contextLoader, }?: {
|
2080
2156
|
documentLoader?: DocumentLoader;
|
2157
|
+
contextLoader?: DocumentLoader;
|
2081
2158
|
});
|
2082
2159
|
/**
|
2083
2160
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2135,6 +2212,7 @@ export declare class Ignore extends Activity {
|
|
2135
2212
|
objects?: (Object | URL)[];
|
2136
2213
|
}, options?: {
|
2137
2214
|
documentLoader?: DocumentLoader;
|
2215
|
+
contextLoader?: DocumentLoader;
|
2138
2216
|
}): Ignore;
|
2139
2217
|
/**
|
2140
2218
|
* Converts this object to a JSON-LD structure.
|
@@ -2142,7 +2220,7 @@ export declare class Ignore extends Activity {
|
|
2142
2220
|
*/
|
2143
2221
|
toJsonLd(options?: {
|
2144
2222
|
expand?: boolean;
|
2145
|
-
|
2223
|
+
contextLoader?: DocumentLoader;
|
2146
2224
|
}): Promise<unknown>;
|
2147
2225
|
/**
|
2148
2226
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2152,6 +2230,7 @@ export declare class Ignore extends Activity {
|
|
2152
2230
|
*/
|
2153
2231
|
static fromJsonLd(json: unknown, options?: {
|
2154
2232
|
documentLoader?: DocumentLoader;
|
2233
|
+
contextLoader?: DocumentLoader;
|
2155
2234
|
}): Promise<Ignore>;
|
2156
2235
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2157
2236
|
}
|
@@ -2218,8 +2297,9 @@ export declare class Block extends Ignore {
|
|
2218
2297
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2219
2298
|
object?: Object | URL | null;
|
2220
2299
|
objects?: (Object | URL)[];
|
2221
|
-
}, { documentLoader }?: {
|
2300
|
+
}, { documentLoader, contextLoader, }?: {
|
2222
2301
|
documentLoader?: DocumentLoader;
|
2302
|
+
contextLoader?: DocumentLoader;
|
2223
2303
|
});
|
2224
2304
|
/**
|
2225
2305
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2277,6 +2357,7 @@ export declare class Block extends Ignore {
|
|
2277
2357
|
objects?: (Object | URL)[];
|
2278
2358
|
}, options?: {
|
2279
2359
|
documentLoader?: DocumentLoader;
|
2360
|
+
contextLoader?: DocumentLoader;
|
2280
2361
|
}): Block;
|
2281
2362
|
/**
|
2282
2363
|
* Converts this object to a JSON-LD structure.
|
@@ -2284,7 +2365,7 @@ export declare class Block extends Ignore {
|
|
2284
2365
|
*/
|
2285
2366
|
toJsonLd(options?: {
|
2286
2367
|
expand?: boolean;
|
2287
|
-
|
2368
|
+
contextLoader?: DocumentLoader;
|
2288
2369
|
}): Promise<unknown>;
|
2289
2370
|
/**
|
2290
2371
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2294,6 +2375,7 @@ export declare class Block extends Ignore {
|
|
2294
2375
|
*/
|
2295
2376
|
static fromJsonLd(json: unknown, options?: {
|
2296
2377
|
documentLoader?: DocumentLoader;
|
2378
|
+
contextLoader?: DocumentLoader;
|
2297
2379
|
}): Promise<Block>;
|
2298
2380
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2299
2381
|
}
|
@@ -2363,8 +2445,9 @@ export declare class Collection extends Object {
|
|
2363
2445
|
first?: CollectionPage | Link | URL | null;
|
2364
2446
|
last?: CollectionPage | Link | URL | null;
|
2365
2447
|
items?: (Object | Link | URL)[];
|
2366
|
-
}, { documentLoader }?: {
|
2448
|
+
}, { documentLoader, contextLoader, }?: {
|
2367
2449
|
documentLoader?: DocumentLoader;
|
2450
|
+
contextLoader?: DocumentLoader;
|
2368
2451
|
});
|
2369
2452
|
/**
|
2370
2453
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2423,6 +2506,7 @@ export declare class Collection extends Object {
|
|
2423
2506
|
items?: (Object | Link | URL)[];
|
2424
2507
|
}, options?: {
|
2425
2508
|
documentLoader?: DocumentLoader;
|
2509
|
+
contextLoader?: DocumentLoader;
|
2426
2510
|
}): Collection;
|
2427
2511
|
/** A non-negative integer specifying the total number of objects contained by
|
2428
2512
|
* the logical view of the collection. This number might not reflect the actual
|
@@ -2440,6 +2524,7 @@ export declare class Collection extends Object {
|
|
2440
2524
|
*/
|
2441
2525
|
getCurrent(options?: {
|
2442
2526
|
documentLoader?: DocumentLoader;
|
2527
|
+
contextLoader?: DocumentLoader;
|
2443
2528
|
}): Promise<CollectionPage | Link | null>;
|
2444
2529
|
/**
|
2445
2530
|
* Similar to
|
@@ -2452,6 +2537,7 @@ export declare class Collection extends Object {
|
|
2452
2537
|
*/
|
2453
2538
|
getFirst(options?: {
|
2454
2539
|
documentLoader?: DocumentLoader;
|
2540
|
+
contextLoader?: DocumentLoader;
|
2455
2541
|
}): Promise<CollectionPage | Link | null>;
|
2456
2542
|
/**
|
2457
2543
|
* Similar to
|
@@ -2464,6 +2550,7 @@ export declare class Collection extends Object {
|
|
2464
2550
|
*/
|
2465
2551
|
getLast(options?: {
|
2466
2552
|
documentLoader?: DocumentLoader;
|
2553
|
+
contextLoader?: DocumentLoader;
|
2467
2554
|
}): Promise<CollectionPage | Link | null>;
|
2468
2555
|
/**
|
2469
2556
|
* Similar to
|
@@ -2476,6 +2563,7 @@ export declare class Collection extends Object {
|
|
2476
2563
|
*/
|
2477
2564
|
getItems(options?: {
|
2478
2565
|
documentLoader?: DocumentLoader;
|
2566
|
+
contextLoader?: DocumentLoader;
|
2479
2567
|
}): AsyncIterable<Object | Link>;
|
2480
2568
|
/**
|
2481
2569
|
* Converts this object to a JSON-LD structure.
|
@@ -2483,7 +2571,7 @@ export declare class Collection extends Object {
|
|
2483
2571
|
*/
|
2484
2572
|
toJsonLd(options?: {
|
2485
2573
|
expand?: boolean;
|
2486
|
-
|
2574
|
+
contextLoader?: DocumentLoader;
|
2487
2575
|
}): Promise<unknown>;
|
2488
2576
|
/**
|
2489
2577
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2493,6 +2581,7 @@ export declare class Collection extends Object {
|
|
2493
2581
|
*/
|
2494
2582
|
static fromJsonLd(json: unknown, options?: {
|
2495
2583
|
documentLoader?: DocumentLoader;
|
2584
|
+
contextLoader?: DocumentLoader;
|
2496
2585
|
}): Promise<Collection>;
|
2497
2586
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2498
2587
|
}
|
@@ -2563,8 +2652,9 @@ export declare class CollectionPage extends Collection {
|
|
2563
2652
|
partOf?: Link | Collection | URL | null;
|
2564
2653
|
next?: CollectionPage | Link | URL | null;
|
2565
2654
|
prev?: CollectionPage | Link | URL | null;
|
2566
|
-
}, { documentLoader }?: {
|
2655
|
+
}, { documentLoader, contextLoader, }?: {
|
2567
2656
|
documentLoader?: DocumentLoader;
|
2657
|
+
contextLoader?: DocumentLoader;
|
2568
2658
|
});
|
2569
2659
|
/**
|
2570
2660
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2626,6 +2716,7 @@ export declare class CollectionPage extends Collection {
|
|
2626
2716
|
prev?: CollectionPage | Link | URL | null;
|
2627
2717
|
}, options?: {
|
2628
2718
|
documentLoader?: DocumentLoader;
|
2719
|
+
contextLoader?: DocumentLoader;
|
2629
2720
|
}): CollectionPage;
|
2630
2721
|
/**
|
2631
2722
|
* Similar to
|
@@ -2638,6 +2729,7 @@ export declare class CollectionPage extends Collection {
|
|
2638
2729
|
*/
|
2639
2730
|
getPartOf(options?: {
|
2640
2731
|
documentLoader?: DocumentLoader;
|
2732
|
+
contextLoader?: DocumentLoader;
|
2641
2733
|
}): Promise<Link | Collection | null>;
|
2642
2734
|
/**
|
2643
2735
|
* Similar to
|
@@ -2649,6 +2741,7 @@ export declare class CollectionPage extends Collection {
|
|
2649
2741
|
*/
|
2650
2742
|
getNext(options?: {
|
2651
2743
|
documentLoader?: DocumentLoader;
|
2744
|
+
contextLoader?: DocumentLoader;
|
2652
2745
|
}): Promise<CollectionPage | Link | null>;
|
2653
2746
|
/**
|
2654
2747
|
* Similar to
|
@@ -2660,6 +2753,7 @@ export declare class CollectionPage extends Collection {
|
|
2660
2753
|
*/
|
2661
2754
|
getPrev(options?: {
|
2662
2755
|
documentLoader?: DocumentLoader;
|
2756
|
+
contextLoader?: DocumentLoader;
|
2663
2757
|
}): Promise<CollectionPage | Link | null>;
|
2664
2758
|
/**
|
2665
2759
|
* Converts this object to a JSON-LD structure.
|
@@ -2667,7 +2761,7 @@ export declare class CollectionPage extends Collection {
|
|
2667
2761
|
*/
|
2668
2762
|
toJsonLd(options?: {
|
2669
2763
|
expand?: boolean;
|
2670
|
-
|
2764
|
+
contextLoader?: DocumentLoader;
|
2671
2765
|
}): Promise<unknown>;
|
2672
2766
|
/**
|
2673
2767
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2677,6 +2771,7 @@ export declare class CollectionPage extends Collection {
|
|
2677
2771
|
*/
|
2678
2772
|
static fromJsonLd(json: unknown, options?: {
|
2679
2773
|
documentLoader?: DocumentLoader;
|
2774
|
+
contextLoader?: DocumentLoader;
|
2680
2775
|
}): Promise<CollectionPage>;
|
2681
2776
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2682
2777
|
}
|
@@ -2740,8 +2835,9 @@ export declare class Create extends Activity {
|
|
2740
2835
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2741
2836
|
object?: Object | URL | null;
|
2742
2837
|
objects?: (Object | URL)[];
|
2743
|
-
}, { documentLoader }?: {
|
2838
|
+
}, { documentLoader, contextLoader, }?: {
|
2744
2839
|
documentLoader?: DocumentLoader;
|
2840
|
+
contextLoader?: DocumentLoader;
|
2745
2841
|
});
|
2746
2842
|
/**
|
2747
2843
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2799,6 +2895,7 @@ export declare class Create extends Activity {
|
|
2799
2895
|
objects?: (Object | URL)[];
|
2800
2896
|
}, options?: {
|
2801
2897
|
documentLoader?: DocumentLoader;
|
2898
|
+
contextLoader?: DocumentLoader;
|
2802
2899
|
}): Create;
|
2803
2900
|
/**
|
2804
2901
|
* Converts this object to a JSON-LD structure.
|
@@ -2806,7 +2903,7 @@ export declare class Create extends Activity {
|
|
2806
2903
|
*/
|
2807
2904
|
toJsonLd(options?: {
|
2808
2905
|
expand?: boolean;
|
2809
|
-
|
2906
|
+
contextLoader?: DocumentLoader;
|
2810
2907
|
}): Promise<unknown>;
|
2811
2908
|
/**
|
2812
2909
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2816,6 +2913,7 @@ export declare class Create extends Activity {
|
|
2816
2913
|
*/
|
2817
2914
|
static fromJsonLd(json: unknown, options?: {
|
2818
2915
|
documentLoader?: DocumentLoader;
|
2916
|
+
contextLoader?: DocumentLoader;
|
2819
2917
|
}): Promise<Create>;
|
2820
2918
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2821
2919
|
}
|
@@ -2880,8 +2978,9 @@ export declare class Delete extends Activity {
|
|
2880
2978
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
2881
2979
|
object?: Object | URL | null;
|
2882
2980
|
objects?: (Object | URL)[];
|
2883
|
-
}, { documentLoader }?: {
|
2981
|
+
}, { documentLoader, contextLoader, }?: {
|
2884
2982
|
documentLoader?: DocumentLoader;
|
2983
|
+
contextLoader?: DocumentLoader;
|
2885
2984
|
});
|
2886
2985
|
/**
|
2887
2986
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2939,6 +3038,7 @@ export declare class Delete extends Activity {
|
|
2939
3038
|
objects?: (Object | URL)[];
|
2940
3039
|
}, options?: {
|
2941
3040
|
documentLoader?: DocumentLoader;
|
3041
|
+
contextLoader?: DocumentLoader;
|
2942
3042
|
}): Delete;
|
2943
3043
|
/**
|
2944
3044
|
* Converts this object to a JSON-LD structure.
|
@@ -2946,7 +3046,7 @@ export declare class Delete extends Activity {
|
|
2946
3046
|
*/
|
2947
3047
|
toJsonLd(options?: {
|
2948
3048
|
expand?: boolean;
|
2949
|
-
|
3049
|
+
contextLoader?: DocumentLoader;
|
2950
3050
|
}): Promise<unknown>;
|
2951
3051
|
/**
|
2952
3052
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -2956,6 +3056,7 @@ export declare class Delete extends Activity {
|
|
2956
3056
|
*/
|
2957
3057
|
static fromJsonLd(json: unknown, options?: {
|
2958
3058
|
documentLoader?: DocumentLoader;
|
3059
|
+
contextLoader?: DocumentLoader;
|
2959
3060
|
}): Promise<Delete>;
|
2960
3061
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2961
3062
|
}
|
@@ -3019,8 +3120,9 @@ export declare class Dislike extends Activity {
|
|
3019
3120
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
3020
3121
|
object?: Object | URL | null;
|
3021
3122
|
objects?: (Object | URL)[];
|
3022
|
-
}, { documentLoader }?: {
|
3123
|
+
}, { documentLoader, contextLoader, }?: {
|
3023
3124
|
documentLoader?: DocumentLoader;
|
3125
|
+
contextLoader?: DocumentLoader;
|
3024
3126
|
});
|
3025
3127
|
/**
|
3026
3128
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3078,6 +3180,7 @@ export declare class Dislike extends Activity {
|
|
3078
3180
|
objects?: (Object | URL)[];
|
3079
3181
|
}, options?: {
|
3080
3182
|
documentLoader?: DocumentLoader;
|
3183
|
+
contextLoader?: DocumentLoader;
|
3081
3184
|
}): Dislike;
|
3082
3185
|
/**
|
3083
3186
|
* Converts this object to a JSON-LD structure.
|
@@ -3085,7 +3188,7 @@ export declare class Dislike extends Activity {
|
|
3085
3188
|
*/
|
3086
3189
|
toJsonLd(options?: {
|
3087
3190
|
expand?: boolean;
|
3088
|
-
|
3191
|
+
contextLoader?: DocumentLoader;
|
3089
3192
|
}): Promise<unknown>;
|
3090
3193
|
/**
|
3091
3194
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -3095,6 +3198,7 @@ export declare class Dislike extends Activity {
|
|
3095
3198
|
*/
|
3096
3199
|
static fromJsonLd(json: unknown, options?: {
|
3097
3200
|
documentLoader?: DocumentLoader;
|
3201
|
+
contextLoader?: DocumentLoader;
|
3098
3202
|
}): Promise<Dislike>;
|
3099
3203
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3100
3204
|
}
|
@@ -3104,6 +3208,7 @@ export declare class Endpoints {
|
|
3104
3208
|
#private;
|
3105
3209
|
readonly id: URL | null;
|
3106
3210
|
protected get _documentLoader(): DocumentLoader | undefined;
|
3211
|
+
protected get _contextLoader(): DocumentLoader | undefined;
|
3107
3212
|
/**
|
3108
3213
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
3109
3214
|
*/
|
@@ -3121,8 +3226,9 @@ export declare class Endpoints {
|
|
3121
3226
|
provideClientKey?: URL | null;
|
3122
3227
|
signClientKey?: URL | null;
|
3123
3228
|
sharedInbox?: URL | null;
|
3124
|
-
}, { documentLoader }?: {
|
3229
|
+
}, { documentLoader, contextLoader, }?: {
|
3125
3230
|
documentLoader?: DocumentLoader;
|
3231
|
+
contextLoader?: DocumentLoader;
|
3126
3232
|
});
|
3127
3233
|
/**
|
3128
3234
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3140,6 +3246,7 @@ export declare class Endpoints {
|
|
3140
3246
|
sharedInbox?: URL | null;
|
3141
3247
|
}, options?: {
|
3142
3248
|
documentLoader?: DocumentLoader;
|
3249
|
+
contextLoader?: DocumentLoader;
|
3143
3250
|
}): Endpoints;
|
3144
3251
|
/** Endpoint URI so this actor's clients may access remote ActivityStreams
|
3145
3252
|
* objects which require authentication to access. To use this endpoint,
|
@@ -3188,7 +3295,7 @@ export declare class Endpoints {
|
|
3188
3295
|
*/
|
3189
3296
|
toJsonLd(options?: {
|
3190
3297
|
expand?: boolean;
|
3191
|
-
|
3298
|
+
contextLoader?: DocumentLoader;
|
3192
3299
|
}): Promise<unknown>;
|
3193
3300
|
/**
|
3194
3301
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -3198,6 +3305,7 @@ export declare class Endpoints {
|
|
3198
3305
|
*/
|
3199
3306
|
static fromJsonLd(json: unknown, options?: {
|
3200
3307
|
documentLoader?: DocumentLoader;
|
3308
|
+
contextLoader?: DocumentLoader;
|
3201
3309
|
}): Promise<Endpoints>;
|
3202
3310
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3203
3311
|
}
|
@@ -3257,8 +3365,9 @@ export declare class Event extends Object {
|
|
3257
3365
|
mediaType?: string | null;
|
3258
3366
|
duration?: dntShim.Temporal.Duration | null;
|
3259
3367
|
sensitive?: boolean | null;
|
3260
|
-
}, { documentLoader }?: {
|
3368
|
+
}, { documentLoader, contextLoader, }?: {
|
3261
3369
|
documentLoader?: DocumentLoader;
|
3370
|
+
contextLoader?: DocumentLoader;
|
3262
3371
|
});
|
3263
3372
|
/**
|
3264
3373
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3312,6 +3421,7 @@ export declare class Event extends Object {
|
|
3312
3421
|
sensitive?: boolean | null;
|
3313
3422
|
}, options?: {
|
3314
3423
|
documentLoader?: DocumentLoader;
|
3424
|
+
contextLoader?: DocumentLoader;
|
3315
3425
|
}): Event;
|
3316
3426
|
/**
|
3317
3427
|
* Converts this object to a JSON-LD structure.
|
@@ -3319,7 +3429,7 @@ export declare class Event extends Object {
|
|
3319
3429
|
*/
|
3320
3430
|
toJsonLd(options?: {
|
3321
3431
|
expand?: boolean;
|
3322
|
-
|
3432
|
+
contextLoader?: DocumentLoader;
|
3323
3433
|
}): Promise<unknown>;
|
3324
3434
|
/**
|
3325
3435
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -3329,6 +3439,7 @@ export declare class Event extends Object {
|
|
3329
3439
|
*/
|
3330
3440
|
static fromJsonLd(json: unknown, options?: {
|
3331
3441
|
documentLoader?: DocumentLoader;
|
3442
|
+
contextLoader?: DocumentLoader;
|
3332
3443
|
}): Promise<Event>;
|
3333
3444
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3334
3445
|
}
|
@@ -3394,8 +3505,9 @@ export declare class Flag extends Activity {
|
|
3394
3505
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
3395
3506
|
object?: Object | URL | null;
|
3396
3507
|
objects?: (Object | URL)[];
|
3397
|
-
}, { documentLoader }?: {
|
3508
|
+
}, { documentLoader, contextLoader, }?: {
|
3398
3509
|
documentLoader?: DocumentLoader;
|
3510
|
+
contextLoader?: DocumentLoader;
|
3399
3511
|
});
|
3400
3512
|
/**
|
3401
3513
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3453,6 +3565,7 @@ export declare class Flag extends Activity {
|
|
3453
3565
|
objects?: (Object | URL)[];
|
3454
3566
|
}, options?: {
|
3455
3567
|
documentLoader?: DocumentLoader;
|
3568
|
+
contextLoader?: DocumentLoader;
|
3456
3569
|
}): Flag;
|
3457
3570
|
/**
|
3458
3571
|
* Converts this object to a JSON-LD structure.
|
@@ -3460,7 +3573,7 @@ export declare class Flag extends Activity {
|
|
3460
3573
|
*/
|
3461
3574
|
toJsonLd(options?: {
|
3462
3575
|
expand?: boolean;
|
3463
|
-
|
3576
|
+
contextLoader?: DocumentLoader;
|
3464
3577
|
}): Promise<unknown>;
|
3465
3578
|
/**
|
3466
3579
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -3470,6 +3583,7 @@ export declare class Flag extends Activity {
|
|
3470
3583
|
*/
|
3471
3584
|
static fromJsonLd(json: unknown, options?: {
|
3472
3585
|
documentLoader?: DocumentLoader;
|
3586
|
+
contextLoader?: DocumentLoader;
|
3473
3587
|
}): Promise<Flag>;
|
3474
3588
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3475
3589
|
}
|
@@ -3536,8 +3650,9 @@ export declare class Follow extends Activity {
|
|
3536
3650
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
3537
3651
|
object?: Object | URL | null;
|
3538
3652
|
objects?: (Object | URL)[];
|
3539
|
-
}, { documentLoader }?: {
|
3653
|
+
}, { documentLoader, contextLoader, }?: {
|
3540
3654
|
documentLoader?: DocumentLoader;
|
3655
|
+
contextLoader?: DocumentLoader;
|
3541
3656
|
});
|
3542
3657
|
/**
|
3543
3658
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3595,6 +3710,7 @@ export declare class Follow extends Activity {
|
|
3595
3710
|
objects?: (Object | URL)[];
|
3596
3711
|
}, options?: {
|
3597
3712
|
documentLoader?: DocumentLoader;
|
3713
|
+
contextLoader?: DocumentLoader;
|
3598
3714
|
}): Follow;
|
3599
3715
|
/**
|
3600
3716
|
* Converts this object to a JSON-LD structure.
|
@@ -3602,7 +3718,7 @@ export declare class Follow extends Activity {
|
|
3602
3718
|
*/
|
3603
3719
|
toJsonLd(options?: {
|
3604
3720
|
expand?: boolean;
|
3605
|
-
|
3721
|
+
contextLoader?: DocumentLoader;
|
3606
3722
|
}): Promise<unknown>;
|
3607
3723
|
/**
|
3608
3724
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -3612,6 +3728,7 @@ export declare class Follow extends Activity {
|
|
3612
3728
|
*/
|
3613
3729
|
static fromJsonLd(json: unknown, options?: {
|
3614
3730
|
documentLoader?: DocumentLoader;
|
3731
|
+
contextLoader?: DocumentLoader;
|
3615
3732
|
}): Promise<Follow>;
|
3616
3733
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3617
3734
|
}
|
@@ -3688,8 +3805,9 @@ export declare class Group extends Object {
|
|
3688
3805
|
suspended?: boolean | null;
|
3689
3806
|
memorial?: boolean | null;
|
3690
3807
|
indexable?: boolean | null;
|
3691
|
-
}, { documentLoader }?: {
|
3808
|
+
}, { documentLoader, contextLoader, }?: {
|
3692
3809
|
documentLoader?: DocumentLoader;
|
3810
|
+
contextLoader?: DocumentLoader;
|
3693
3811
|
});
|
3694
3812
|
/**
|
3695
3813
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3759,6 +3877,7 @@ export declare class Group extends Object {
|
|
3759
3877
|
indexable?: boolean | null;
|
3760
3878
|
}, options?: {
|
3761
3879
|
documentLoader?: DocumentLoader;
|
3880
|
+
contextLoader?: DocumentLoader;
|
3762
3881
|
}): Group;
|
3763
3882
|
/** A short username which may be used to refer to the actor,
|
3764
3883
|
* with no uniqueness guarantees.
|
@@ -3778,6 +3897,7 @@ export declare class Group extends Object {
|
|
3778
3897
|
*/
|
3779
3898
|
getPublicKey(options?: {
|
3780
3899
|
documentLoader?: DocumentLoader;
|
3900
|
+
contextLoader?: DocumentLoader;
|
3781
3901
|
}): Promise<CryptographicKey | null>;
|
3782
3902
|
/**
|
3783
3903
|
* Similar to
|
@@ -3789,6 +3909,7 @@ export declare class Group extends Object {
|
|
3789
3909
|
*/
|
3790
3910
|
getPublicKeys(options?: {
|
3791
3911
|
documentLoader?: DocumentLoader;
|
3912
|
+
contextLoader?: DocumentLoader;
|
3792
3913
|
}): AsyncIterable<CryptographicKey>;
|
3793
3914
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
3794
3915
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -3820,6 +3941,7 @@ export declare class Group extends Object {
|
|
3820
3941
|
*/
|
3821
3942
|
getInbox(options?: {
|
3822
3943
|
documentLoader?: DocumentLoader;
|
3944
|
+
contextLoader?: DocumentLoader;
|
3823
3945
|
}): Promise<OrderedCollection | null>;
|
3824
3946
|
/**
|
3825
3947
|
* Similar to
|
@@ -3840,6 +3962,7 @@ export declare class Group extends Object {
|
|
3840
3962
|
*/
|
3841
3963
|
getOutbox(options?: {
|
3842
3964
|
documentLoader?: DocumentLoader;
|
3965
|
+
contextLoader?: DocumentLoader;
|
3843
3966
|
}): Promise<OrderedCollection | null>;
|
3844
3967
|
/**
|
3845
3968
|
* Similar to
|
@@ -3855,6 +3978,7 @@ export declare class Group extends Object {
|
|
3855
3978
|
*/
|
3856
3979
|
getFollowing(options?: {
|
3857
3980
|
documentLoader?: DocumentLoader;
|
3981
|
+
contextLoader?: DocumentLoader;
|
3858
3982
|
}): Promise<Collection | null>;
|
3859
3983
|
/**
|
3860
3984
|
* Similar to
|
@@ -3873,6 +3997,7 @@ export declare class Group extends Object {
|
|
3873
3997
|
*/
|
3874
3998
|
getFollowers(options?: {
|
3875
3999
|
documentLoader?: DocumentLoader;
|
4000
|
+
contextLoader?: DocumentLoader;
|
3876
4001
|
}): Promise<Collection | null>;
|
3877
4002
|
/**
|
3878
4003
|
* Similar to
|
@@ -3889,6 +4014,7 @@ export declare class Group extends Object {
|
|
3889
4014
|
*/
|
3890
4015
|
getLinked(options?: {
|
3891
4016
|
documentLoader?: DocumentLoader;
|
4017
|
+
contextLoader?: DocumentLoader;
|
3892
4018
|
}): Promise<Collection | null>;
|
3893
4019
|
/**
|
3894
4020
|
* Similar to
|
@@ -3900,6 +4026,7 @@ export declare class Group extends Object {
|
|
3900
4026
|
*/
|
3901
4027
|
getStreams(options?: {
|
3902
4028
|
documentLoader?: DocumentLoader;
|
4029
|
+
contextLoader?: DocumentLoader;
|
3903
4030
|
}): AsyncIterable<Collection>;
|
3904
4031
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
3905
4032
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -3929,7 +4056,7 @@ export declare class Group extends Object {
|
|
3929
4056
|
*/
|
3930
4057
|
toJsonLd(options?: {
|
3931
4058
|
expand?: boolean;
|
3932
|
-
|
4059
|
+
contextLoader?: DocumentLoader;
|
3933
4060
|
}): Promise<unknown>;
|
3934
4061
|
/**
|
3935
4062
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -3939,6 +4066,7 @@ export declare class Group extends Object {
|
|
3939
4066
|
*/
|
3940
4067
|
static fromJsonLd(json: unknown, options?: {
|
3941
4068
|
documentLoader?: DocumentLoader;
|
4069
|
+
contextLoader?: DocumentLoader;
|
3942
4070
|
}): Promise<Group>;
|
3943
4071
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3944
4072
|
}
|
@@ -3998,8 +4126,9 @@ export declare class Image extends Document {
|
|
3998
4126
|
mediaType?: string | null;
|
3999
4127
|
duration?: dntShim.Temporal.Duration | null;
|
4000
4128
|
sensitive?: boolean | null;
|
4001
|
-
}, { documentLoader }?: {
|
4129
|
+
}, { documentLoader, contextLoader, }?: {
|
4002
4130
|
documentLoader?: DocumentLoader;
|
4131
|
+
contextLoader?: DocumentLoader;
|
4003
4132
|
});
|
4004
4133
|
/**
|
4005
4134
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4053,6 +4182,7 @@ export declare class Image extends Document {
|
|
4053
4182
|
sensitive?: boolean | null;
|
4054
4183
|
}, options?: {
|
4055
4184
|
documentLoader?: DocumentLoader;
|
4185
|
+
contextLoader?: DocumentLoader;
|
4056
4186
|
}): Image;
|
4057
4187
|
/**
|
4058
4188
|
* Converts this object to a JSON-LD structure.
|
@@ -4060,7 +4190,7 @@ export declare class Image extends Document {
|
|
4060
4190
|
*/
|
4061
4191
|
toJsonLd(options?: {
|
4062
4192
|
expand?: boolean;
|
4063
|
-
|
4193
|
+
contextLoader?: DocumentLoader;
|
4064
4194
|
}): Promise<unknown>;
|
4065
4195
|
/**
|
4066
4196
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4070,6 +4200,7 @@ export declare class Image extends Document {
|
|
4070
4200
|
*/
|
4071
4201
|
static fromJsonLd(json: unknown, options?: {
|
4072
4202
|
documentLoader?: DocumentLoader;
|
4203
|
+
contextLoader?: DocumentLoader;
|
4073
4204
|
}): Promise<Image>;
|
4074
4205
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4075
4206
|
}
|
@@ -4135,8 +4266,9 @@ export declare class IntransitiveActivity extends Activity {
|
|
4135
4266
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
4136
4267
|
object?: Object | URL | null;
|
4137
4268
|
objects?: (Object | URL)[];
|
4138
|
-
}, { documentLoader }?: {
|
4269
|
+
}, { documentLoader, contextLoader, }?: {
|
4139
4270
|
documentLoader?: DocumentLoader;
|
4271
|
+
contextLoader?: DocumentLoader;
|
4140
4272
|
});
|
4141
4273
|
/**
|
4142
4274
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4194,6 +4326,7 @@ export declare class IntransitiveActivity extends Activity {
|
|
4194
4326
|
objects?: (Object | URL)[];
|
4195
4327
|
}, options?: {
|
4196
4328
|
documentLoader?: DocumentLoader;
|
4329
|
+
contextLoader?: DocumentLoader;
|
4197
4330
|
}): IntransitiveActivity;
|
4198
4331
|
/**
|
4199
4332
|
* Converts this object to a JSON-LD structure.
|
@@ -4201,7 +4334,7 @@ export declare class IntransitiveActivity extends Activity {
|
|
4201
4334
|
*/
|
4202
4335
|
toJsonLd(options?: {
|
4203
4336
|
expand?: boolean;
|
4204
|
-
|
4337
|
+
contextLoader?: DocumentLoader;
|
4205
4338
|
}): Promise<unknown>;
|
4206
4339
|
/**
|
4207
4340
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4211,6 +4344,7 @@ export declare class IntransitiveActivity extends Activity {
|
|
4211
4344
|
*/
|
4212
4345
|
static fromJsonLd(json: unknown, options?: {
|
4213
4346
|
documentLoader?: DocumentLoader;
|
4347
|
+
contextLoader?: DocumentLoader;
|
4214
4348
|
}): Promise<IntransitiveActivity>;
|
4215
4349
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4216
4350
|
}
|
@@ -4275,8 +4409,9 @@ export declare class Like extends Activity {
|
|
4275
4409
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
4276
4410
|
object?: Object | URL | null;
|
4277
4411
|
objects?: (Object | URL)[];
|
4278
|
-
}, { documentLoader }?: {
|
4412
|
+
}, { documentLoader, contextLoader, }?: {
|
4279
4413
|
documentLoader?: DocumentLoader;
|
4414
|
+
contextLoader?: DocumentLoader;
|
4280
4415
|
});
|
4281
4416
|
/**
|
4282
4417
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4334,6 +4469,7 @@ export declare class Like extends Activity {
|
|
4334
4469
|
objects?: (Object | URL)[];
|
4335
4470
|
}, options?: {
|
4336
4471
|
documentLoader?: DocumentLoader;
|
4472
|
+
contextLoader?: DocumentLoader;
|
4337
4473
|
}): Like;
|
4338
4474
|
/**
|
4339
4475
|
* Converts this object to a JSON-LD structure.
|
@@ -4341,7 +4477,7 @@ export declare class Like extends Activity {
|
|
4341
4477
|
*/
|
4342
4478
|
toJsonLd(options?: {
|
4343
4479
|
expand?: boolean;
|
4344
|
-
|
4480
|
+
contextLoader?: DocumentLoader;
|
4345
4481
|
}): Promise<unknown>;
|
4346
4482
|
/**
|
4347
4483
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4351,6 +4487,7 @@ export declare class Like extends Activity {
|
|
4351
4487
|
*/
|
4352
4488
|
static fromJsonLd(json: unknown, options?: {
|
4353
4489
|
documentLoader?: DocumentLoader;
|
4490
|
+
contextLoader?: DocumentLoader;
|
4354
4491
|
}): Promise<Like>;
|
4355
4492
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4356
4493
|
}
|
@@ -4367,6 +4504,7 @@ export declare class Link {
|
|
4367
4504
|
#private;
|
4368
4505
|
readonly id: URL | null;
|
4369
4506
|
protected get _documentLoader(): DocumentLoader | undefined;
|
4507
|
+
protected get _contextLoader(): DocumentLoader | undefined;
|
4370
4508
|
/**
|
4371
4509
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
4372
4510
|
*/
|
@@ -4388,8 +4526,9 @@ export declare class Link {
|
|
4388
4526
|
height?: number | null;
|
4389
4527
|
width?: number | null;
|
4390
4528
|
previews?: (Link | Object | URL)[];
|
4391
|
-
}, { documentLoader }?: {
|
4529
|
+
}, { documentLoader, contextLoader, }?: {
|
4392
4530
|
documentLoader?: DocumentLoader;
|
4531
|
+
contextLoader?: DocumentLoader;
|
4393
4532
|
});
|
4394
4533
|
/**
|
4395
4534
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4411,6 +4550,7 @@ export declare class Link {
|
|
4411
4550
|
previews?: (Link | Object | URL)[];
|
4412
4551
|
}, options?: {
|
4413
4552
|
documentLoader?: DocumentLoader;
|
4553
|
+
contextLoader?: DocumentLoader;
|
4414
4554
|
}): Link;
|
4415
4555
|
/** The target resource pointed to by a {@link Link}.
|
4416
4556
|
*/
|
@@ -4467,6 +4607,7 @@ export declare class Link {
|
|
4467
4607
|
*/
|
4468
4608
|
getPreviews(options?: {
|
4469
4609
|
documentLoader?: DocumentLoader;
|
4610
|
+
contextLoader?: DocumentLoader;
|
4470
4611
|
}): AsyncIterable<Link | Object>;
|
4471
4612
|
/**
|
4472
4613
|
* Converts this object to a JSON-LD structure.
|
@@ -4474,7 +4615,7 @@ export declare class Link {
|
|
4474
4615
|
*/
|
4475
4616
|
toJsonLd(options?: {
|
4476
4617
|
expand?: boolean;
|
4477
|
-
|
4618
|
+
contextLoader?: DocumentLoader;
|
4478
4619
|
}): Promise<unknown>;
|
4479
4620
|
/**
|
4480
4621
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4484,6 +4625,7 @@ export declare class Link {
|
|
4484
4625
|
*/
|
4485
4626
|
static fromJsonLd(json: unknown, options?: {
|
4486
4627
|
documentLoader?: DocumentLoader;
|
4628
|
+
contextLoader?: DocumentLoader;
|
4487
4629
|
}): Promise<Link>;
|
4488
4630
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4489
4631
|
}
|
@@ -4511,8 +4653,9 @@ export declare class Mention extends Link {
|
|
4511
4653
|
height?: number | null;
|
4512
4654
|
width?: number | null;
|
4513
4655
|
previews?: (Link | Object | URL)[];
|
4514
|
-
}, { documentLoader }?: {
|
4656
|
+
}, { documentLoader, contextLoader, }?: {
|
4515
4657
|
documentLoader?: DocumentLoader;
|
4658
|
+
contextLoader?: DocumentLoader;
|
4516
4659
|
});
|
4517
4660
|
/**
|
4518
4661
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4534,6 +4677,7 @@ export declare class Mention extends Link {
|
|
4534
4677
|
previews?: (Link | Object | URL)[];
|
4535
4678
|
}, options?: {
|
4536
4679
|
documentLoader?: DocumentLoader;
|
4680
|
+
contextLoader?: DocumentLoader;
|
4537
4681
|
}): Mention;
|
4538
4682
|
/**
|
4539
4683
|
* Converts this object to a JSON-LD structure.
|
@@ -4541,7 +4685,7 @@ export declare class Mention extends Link {
|
|
4541
4685
|
*/
|
4542
4686
|
toJsonLd(options?: {
|
4543
4687
|
expand?: boolean;
|
4544
|
-
|
4688
|
+
contextLoader?: DocumentLoader;
|
4545
4689
|
}): Promise<unknown>;
|
4546
4690
|
/**
|
4547
4691
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4551,6 +4695,7 @@ export declare class Mention extends Link {
|
|
4551
4695
|
*/
|
4552
4696
|
static fromJsonLd(json: unknown, options?: {
|
4553
4697
|
documentLoader?: DocumentLoader;
|
4698
|
+
contextLoader?: DocumentLoader;
|
4554
4699
|
}): Promise<Mention>;
|
4555
4700
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4556
4701
|
}
|
@@ -4611,8 +4756,9 @@ export declare class Note extends Object {
|
|
4611
4756
|
mediaType?: string | null;
|
4612
4757
|
duration?: dntShim.Temporal.Duration | null;
|
4613
4758
|
sensitive?: boolean | null;
|
4614
|
-
}, { documentLoader }?: {
|
4759
|
+
}, { documentLoader, contextLoader, }?: {
|
4615
4760
|
documentLoader?: DocumentLoader;
|
4761
|
+
contextLoader?: DocumentLoader;
|
4616
4762
|
});
|
4617
4763
|
/**
|
4618
4764
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4666,6 +4812,7 @@ export declare class Note extends Object {
|
|
4666
4812
|
sensitive?: boolean | null;
|
4667
4813
|
}, options?: {
|
4668
4814
|
documentLoader?: DocumentLoader;
|
4815
|
+
contextLoader?: DocumentLoader;
|
4669
4816
|
}): Note;
|
4670
4817
|
/**
|
4671
4818
|
* Converts this object to a JSON-LD structure.
|
@@ -4673,7 +4820,7 @@ export declare class Note extends Object {
|
|
4673
4820
|
*/
|
4674
4821
|
toJsonLd(options?: {
|
4675
4822
|
expand?: boolean;
|
4676
|
-
|
4823
|
+
contextLoader?: DocumentLoader;
|
4677
4824
|
}): Promise<unknown>;
|
4678
4825
|
/**
|
4679
4826
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4683,6 +4830,7 @@ export declare class Note extends Object {
|
|
4683
4830
|
*/
|
4684
4831
|
static fromJsonLd(json: unknown, options?: {
|
4685
4832
|
documentLoader?: DocumentLoader;
|
4833
|
+
contextLoader?: DocumentLoader;
|
4686
4834
|
}): Promise<Note>;
|
4687
4835
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4688
4836
|
}
|
@@ -4748,8 +4896,9 @@ export declare class OrderedCollection extends Collection {
|
|
4748
4896
|
first?: CollectionPage | Link | URL | null;
|
4749
4897
|
last?: CollectionPage | Link | URL | null;
|
4750
4898
|
items?: (Object | Link | URL)[];
|
4751
|
-
}, { documentLoader }?: {
|
4899
|
+
}, { documentLoader, contextLoader, }?: {
|
4752
4900
|
documentLoader?: DocumentLoader;
|
4901
|
+
contextLoader?: DocumentLoader;
|
4753
4902
|
});
|
4754
4903
|
/**
|
4755
4904
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4808,6 +4957,7 @@ export declare class OrderedCollection extends Collection {
|
|
4808
4957
|
items?: (Object | Link | URL)[];
|
4809
4958
|
}, options?: {
|
4810
4959
|
documentLoader?: DocumentLoader;
|
4960
|
+
contextLoader?: DocumentLoader;
|
4811
4961
|
}): OrderedCollection;
|
4812
4962
|
/**
|
4813
4963
|
* Converts this object to a JSON-LD structure.
|
@@ -4815,7 +4965,7 @@ export declare class OrderedCollection extends Collection {
|
|
4815
4965
|
*/
|
4816
4966
|
toJsonLd(options?: {
|
4817
4967
|
expand?: boolean;
|
4818
|
-
|
4968
|
+
contextLoader?: DocumentLoader;
|
4819
4969
|
}): Promise<unknown>;
|
4820
4970
|
/**
|
4821
4971
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4825,6 +4975,7 @@ export declare class OrderedCollection extends Collection {
|
|
4825
4975
|
*/
|
4826
4976
|
static fromJsonLd(json: unknown, options?: {
|
4827
4977
|
documentLoader?: DocumentLoader;
|
4978
|
+
contextLoader?: DocumentLoader;
|
4828
4979
|
}): Promise<OrderedCollection>;
|
4829
4980
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4830
4981
|
}
|
@@ -4896,8 +5047,9 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
4896
5047
|
next?: CollectionPage | Link | URL | null;
|
4897
5048
|
prev?: CollectionPage | Link | URL | null;
|
4898
5049
|
startIndex?: number | null;
|
4899
|
-
}, { documentLoader }?: {
|
5050
|
+
}, { documentLoader, contextLoader, }?: {
|
4900
5051
|
documentLoader?: DocumentLoader;
|
5052
|
+
contextLoader?: DocumentLoader;
|
4901
5053
|
});
|
4902
5054
|
/**
|
4903
5055
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4960,6 +5112,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
4960
5112
|
startIndex?: number | null;
|
4961
5113
|
}, options?: {
|
4962
5114
|
documentLoader?: DocumentLoader;
|
5115
|
+
contextLoader?: DocumentLoader;
|
4963
5116
|
}): OrderedCollectionPage;
|
4964
5117
|
/** A non-negative integer value identifying the relative position within
|
4965
5118
|
* the logical view of a strictly ordered collection.
|
@@ -4971,7 +5124,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
4971
5124
|
*/
|
4972
5125
|
toJsonLd(options?: {
|
4973
5126
|
expand?: boolean;
|
4974
|
-
|
5127
|
+
contextLoader?: DocumentLoader;
|
4975
5128
|
}): Promise<unknown>;
|
4976
5129
|
/**
|
4977
5130
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -4981,6 +5134,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
4981
5134
|
*/
|
4982
5135
|
static fromJsonLd(json: unknown, options?: {
|
4983
5136
|
documentLoader?: DocumentLoader;
|
5137
|
+
contextLoader?: DocumentLoader;
|
4984
5138
|
}): Promise<OrderedCollectionPage>;
|
4985
5139
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4986
5140
|
}
|
@@ -5057,8 +5211,9 @@ export declare class Organization extends Object {
|
|
5057
5211
|
suspended?: boolean | null;
|
5058
5212
|
memorial?: boolean | null;
|
5059
5213
|
indexable?: boolean | null;
|
5060
|
-
}, { documentLoader }?: {
|
5214
|
+
}, { documentLoader, contextLoader, }?: {
|
5061
5215
|
documentLoader?: DocumentLoader;
|
5216
|
+
contextLoader?: DocumentLoader;
|
5062
5217
|
});
|
5063
5218
|
/**
|
5064
5219
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5128,6 +5283,7 @@ export declare class Organization extends Object {
|
|
5128
5283
|
indexable?: boolean | null;
|
5129
5284
|
}, options?: {
|
5130
5285
|
documentLoader?: DocumentLoader;
|
5286
|
+
contextLoader?: DocumentLoader;
|
5131
5287
|
}): Organization;
|
5132
5288
|
/** A short username which may be used to refer to the actor,
|
5133
5289
|
* with no uniqueness guarantees.
|
@@ -5147,6 +5303,7 @@ export declare class Organization extends Object {
|
|
5147
5303
|
*/
|
5148
5304
|
getPublicKey(options?: {
|
5149
5305
|
documentLoader?: DocumentLoader;
|
5306
|
+
contextLoader?: DocumentLoader;
|
5150
5307
|
}): Promise<CryptographicKey | null>;
|
5151
5308
|
/**
|
5152
5309
|
* Similar to
|
@@ -5158,6 +5315,7 @@ export declare class Organization extends Object {
|
|
5158
5315
|
*/
|
5159
5316
|
getPublicKeys(options?: {
|
5160
5317
|
documentLoader?: DocumentLoader;
|
5318
|
+
contextLoader?: DocumentLoader;
|
5161
5319
|
}): AsyncIterable<CryptographicKey>;
|
5162
5320
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
5163
5321
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -5189,6 +5347,7 @@ export declare class Organization extends Object {
|
|
5189
5347
|
*/
|
5190
5348
|
getInbox(options?: {
|
5191
5349
|
documentLoader?: DocumentLoader;
|
5350
|
+
contextLoader?: DocumentLoader;
|
5192
5351
|
}): Promise<OrderedCollection | null>;
|
5193
5352
|
/**
|
5194
5353
|
* Similar to
|
@@ -5209,6 +5368,7 @@ export declare class Organization extends Object {
|
|
5209
5368
|
*/
|
5210
5369
|
getOutbox(options?: {
|
5211
5370
|
documentLoader?: DocumentLoader;
|
5371
|
+
contextLoader?: DocumentLoader;
|
5212
5372
|
}): Promise<OrderedCollection | null>;
|
5213
5373
|
/**
|
5214
5374
|
* Similar to
|
@@ -5224,6 +5384,7 @@ export declare class Organization extends Object {
|
|
5224
5384
|
*/
|
5225
5385
|
getFollowing(options?: {
|
5226
5386
|
documentLoader?: DocumentLoader;
|
5387
|
+
contextLoader?: DocumentLoader;
|
5227
5388
|
}): Promise<Collection | null>;
|
5228
5389
|
/**
|
5229
5390
|
* Similar to
|
@@ -5242,6 +5403,7 @@ export declare class Organization extends Object {
|
|
5242
5403
|
*/
|
5243
5404
|
getFollowers(options?: {
|
5244
5405
|
documentLoader?: DocumentLoader;
|
5406
|
+
contextLoader?: DocumentLoader;
|
5245
5407
|
}): Promise<Collection | null>;
|
5246
5408
|
/**
|
5247
5409
|
* Similar to
|
@@ -5258,6 +5420,7 @@ export declare class Organization extends Object {
|
|
5258
5420
|
*/
|
5259
5421
|
getLinked(options?: {
|
5260
5422
|
documentLoader?: DocumentLoader;
|
5423
|
+
contextLoader?: DocumentLoader;
|
5261
5424
|
}): Promise<Collection | null>;
|
5262
5425
|
/**
|
5263
5426
|
* Similar to
|
@@ -5269,6 +5432,7 @@ export declare class Organization extends Object {
|
|
5269
5432
|
*/
|
5270
5433
|
getStreams(options?: {
|
5271
5434
|
documentLoader?: DocumentLoader;
|
5435
|
+
contextLoader?: DocumentLoader;
|
5272
5436
|
}): AsyncIterable<Collection>;
|
5273
5437
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
5274
5438
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -5298,7 +5462,7 @@ export declare class Organization extends Object {
|
|
5298
5462
|
*/
|
5299
5463
|
toJsonLd(options?: {
|
5300
5464
|
expand?: boolean;
|
5301
|
-
|
5465
|
+
contextLoader?: DocumentLoader;
|
5302
5466
|
}): Promise<unknown>;
|
5303
5467
|
/**
|
5304
5468
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -5308,6 +5472,7 @@ export declare class Organization extends Object {
|
|
5308
5472
|
*/
|
5309
5473
|
static fromJsonLd(json: unknown, options?: {
|
5310
5474
|
documentLoader?: DocumentLoader;
|
5475
|
+
contextLoader?: DocumentLoader;
|
5311
5476
|
}): Promise<Organization>;
|
5312
5477
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5313
5478
|
}
|
@@ -5367,8 +5532,9 @@ export declare class Page extends Document {
|
|
5367
5532
|
mediaType?: string | null;
|
5368
5533
|
duration?: dntShim.Temporal.Duration | null;
|
5369
5534
|
sensitive?: boolean | null;
|
5370
|
-
}, { documentLoader }?: {
|
5535
|
+
}, { documentLoader, contextLoader, }?: {
|
5371
5536
|
documentLoader?: DocumentLoader;
|
5537
|
+
contextLoader?: DocumentLoader;
|
5372
5538
|
});
|
5373
5539
|
/**
|
5374
5540
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5422,6 +5588,7 @@ export declare class Page extends Document {
|
|
5422
5588
|
sensitive?: boolean | null;
|
5423
5589
|
}, options?: {
|
5424
5590
|
documentLoader?: DocumentLoader;
|
5591
|
+
contextLoader?: DocumentLoader;
|
5425
5592
|
}): Page;
|
5426
5593
|
/**
|
5427
5594
|
* Converts this object to a JSON-LD structure.
|
@@ -5429,7 +5596,7 @@ export declare class Page extends Document {
|
|
5429
5596
|
*/
|
5430
5597
|
toJsonLd(options?: {
|
5431
5598
|
expand?: boolean;
|
5432
|
-
|
5599
|
+
contextLoader?: DocumentLoader;
|
5433
5600
|
}): Promise<unknown>;
|
5434
5601
|
/**
|
5435
5602
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -5439,6 +5606,7 @@ export declare class Page extends Document {
|
|
5439
5606
|
*/
|
5440
5607
|
static fromJsonLd(json: unknown, options?: {
|
5441
5608
|
documentLoader?: DocumentLoader;
|
5609
|
+
contextLoader?: DocumentLoader;
|
5442
5610
|
}): Promise<Page>;
|
5443
5611
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5444
5612
|
}
|
@@ -5515,8 +5683,9 @@ export declare class Person extends Object {
|
|
5515
5683
|
suspended?: boolean | null;
|
5516
5684
|
memorial?: boolean | null;
|
5517
5685
|
indexable?: boolean | null;
|
5518
|
-
}, { documentLoader }?: {
|
5686
|
+
}, { documentLoader, contextLoader, }?: {
|
5519
5687
|
documentLoader?: DocumentLoader;
|
5688
|
+
contextLoader?: DocumentLoader;
|
5520
5689
|
});
|
5521
5690
|
/**
|
5522
5691
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5586,6 +5755,7 @@ export declare class Person extends Object {
|
|
5586
5755
|
indexable?: boolean | null;
|
5587
5756
|
}, options?: {
|
5588
5757
|
documentLoader?: DocumentLoader;
|
5758
|
+
contextLoader?: DocumentLoader;
|
5589
5759
|
}): Person;
|
5590
5760
|
/** A short username which may be used to refer to the actor,
|
5591
5761
|
* with no uniqueness guarantees.
|
@@ -5605,6 +5775,7 @@ export declare class Person extends Object {
|
|
5605
5775
|
*/
|
5606
5776
|
getPublicKey(options?: {
|
5607
5777
|
documentLoader?: DocumentLoader;
|
5778
|
+
contextLoader?: DocumentLoader;
|
5608
5779
|
}): Promise<CryptographicKey | null>;
|
5609
5780
|
/**
|
5610
5781
|
* Similar to
|
@@ -5616,6 +5787,7 @@ export declare class Person extends Object {
|
|
5616
5787
|
*/
|
5617
5788
|
getPublicKeys(options?: {
|
5618
5789
|
documentLoader?: DocumentLoader;
|
5790
|
+
contextLoader?: DocumentLoader;
|
5619
5791
|
}): AsyncIterable<CryptographicKey>;
|
5620
5792
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
5621
5793
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -5647,6 +5819,7 @@ export declare class Person extends Object {
|
|
5647
5819
|
*/
|
5648
5820
|
getInbox(options?: {
|
5649
5821
|
documentLoader?: DocumentLoader;
|
5822
|
+
contextLoader?: DocumentLoader;
|
5650
5823
|
}): Promise<OrderedCollection | null>;
|
5651
5824
|
/**
|
5652
5825
|
* Similar to
|
@@ -5667,6 +5840,7 @@ export declare class Person extends Object {
|
|
5667
5840
|
*/
|
5668
5841
|
getOutbox(options?: {
|
5669
5842
|
documentLoader?: DocumentLoader;
|
5843
|
+
contextLoader?: DocumentLoader;
|
5670
5844
|
}): Promise<OrderedCollection | null>;
|
5671
5845
|
/**
|
5672
5846
|
* Similar to
|
@@ -5682,6 +5856,7 @@ export declare class Person extends Object {
|
|
5682
5856
|
*/
|
5683
5857
|
getFollowing(options?: {
|
5684
5858
|
documentLoader?: DocumentLoader;
|
5859
|
+
contextLoader?: DocumentLoader;
|
5685
5860
|
}): Promise<Collection | null>;
|
5686
5861
|
/**
|
5687
5862
|
* Similar to
|
@@ -5700,6 +5875,7 @@ export declare class Person extends Object {
|
|
5700
5875
|
*/
|
5701
5876
|
getFollowers(options?: {
|
5702
5877
|
documentLoader?: DocumentLoader;
|
5878
|
+
contextLoader?: DocumentLoader;
|
5703
5879
|
}): Promise<Collection | null>;
|
5704
5880
|
/**
|
5705
5881
|
* Similar to
|
@@ -5716,6 +5892,7 @@ export declare class Person extends Object {
|
|
5716
5892
|
*/
|
5717
5893
|
getLinked(options?: {
|
5718
5894
|
documentLoader?: DocumentLoader;
|
5895
|
+
contextLoader?: DocumentLoader;
|
5719
5896
|
}): Promise<Collection | null>;
|
5720
5897
|
/**
|
5721
5898
|
* Similar to
|
@@ -5727,6 +5904,7 @@ export declare class Person extends Object {
|
|
5727
5904
|
*/
|
5728
5905
|
getStreams(options?: {
|
5729
5906
|
documentLoader?: DocumentLoader;
|
5907
|
+
contextLoader?: DocumentLoader;
|
5730
5908
|
}): AsyncIterable<Collection>;
|
5731
5909
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
5732
5910
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -5756,7 +5934,7 @@ export declare class Person extends Object {
|
|
5756
5934
|
*/
|
5757
5935
|
toJsonLd(options?: {
|
5758
5936
|
expand?: boolean;
|
5759
|
-
|
5937
|
+
contextLoader?: DocumentLoader;
|
5760
5938
|
}): Promise<unknown>;
|
5761
5939
|
/**
|
5762
5940
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -5766,6 +5944,7 @@ export declare class Person extends Object {
|
|
5766
5944
|
*/
|
5767
5945
|
static fromJsonLd(json: unknown, options?: {
|
5768
5946
|
documentLoader?: DocumentLoader;
|
5947
|
+
contextLoader?: DocumentLoader;
|
5769
5948
|
}): Promise<Person>;
|
5770
5949
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5771
5950
|
}
|
@@ -5834,8 +6013,9 @@ export declare class Place extends Object {
|
|
5834
6013
|
longitude?: number | null;
|
5835
6014
|
radius?: number | null;
|
5836
6015
|
units?: "cm" | "feet" | "inches" | "km" | "m" | "miles" | URL | null;
|
5837
|
-
}, { documentLoader }?: {
|
6016
|
+
}, { documentLoader, contextLoader, }?: {
|
5838
6017
|
documentLoader?: DocumentLoader;
|
6018
|
+
contextLoader?: DocumentLoader;
|
5839
6019
|
});
|
5840
6020
|
/**
|
5841
6021
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5895,6 +6075,7 @@ export declare class Place extends Object {
|
|
5895
6075
|
units?: "cm" | "feet" | "inches" | "km" | "m" | "miles" | URL | null;
|
5896
6076
|
}, options?: {
|
5897
6077
|
documentLoader?: DocumentLoader;
|
6078
|
+
contextLoader?: DocumentLoader;
|
5898
6079
|
}): Place;
|
5899
6080
|
/** Indicates the accuracy of position coordinates on a {@link Place} objects.
|
5900
6081
|
* Expressed in properties of percentage. e.g. "94.0" means "94.0% accurate".
|
@@ -5928,7 +6109,7 @@ export declare class Place extends Object {
|
|
5928
6109
|
*/
|
5929
6110
|
toJsonLd(options?: {
|
5930
6111
|
expand?: boolean;
|
5931
|
-
|
6112
|
+
contextLoader?: DocumentLoader;
|
5932
6113
|
}): Promise<unknown>;
|
5933
6114
|
/**
|
5934
6115
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -5938,6 +6119,7 @@ export declare class Place extends Object {
|
|
5938
6119
|
*/
|
5939
6120
|
static fromJsonLd(json: unknown, options?: {
|
5940
6121
|
documentLoader?: DocumentLoader;
|
6122
|
+
contextLoader?: DocumentLoader;
|
5941
6123
|
}): Promise<Place>;
|
5942
6124
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5943
6125
|
}
|
@@ -6003,8 +6185,9 @@ export declare class Profile extends Object {
|
|
6003
6185
|
duration?: dntShim.Temporal.Duration | null;
|
6004
6186
|
sensitive?: boolean | null;
|
6005
6187
|
describes?: Object | URL | null;
|
6006
|
-
}, { documentLoader }?: {
|
6188
|
+
}, { documentLoader, contextLoader, }?: {
|
6007
6189
|
documentLoader?: DocumentLoader;
|
6190
|
+
contextLoader?: DocumentLoader;
|
6008
6191
|
});
|
6009
6192
|
/**
|
6010
6193
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6059,6 +6242,7 @@ export declare class Profile extends Object {
|
|
6059
6242
|
describes?: Object | URL | null;
|
6060
6243
|
}, options?: {
|
6061
6244
|
documentLoader?: DocumentLoader;
|
6245
|
+
contextLoader?: DocumentLoader;
|
6062
6246
|
}): Profile;
|
6063
6247
|
/**
|
6064
6248
|
* Similar to
|
@@ -6071,6 +6255,7 @@ export declare class Profile extends Object {
|
|
6071
6255
|
*/
|
6072
6256
|
getDescribes(options?: {
|
6073
6257
|
documentLoader?: DocumentLoader;
|
6258
|
+
contextLoader?: DocumentLoader;
|
6074
6259
|
}): Promise<Object | null>;
|
6075
6260
|
/**
|
6076
6261
|
* Converts this object to a JSON-LD structure.
|
@@ -6078,7 +6263,7 @@ export declare class Profile extends Object {
|
|
6078
6263
|
*/
|
6079
6264
|
toJsonLd(options?: {
|
6080
6265
|
expand?: boolean;
|
6081
|
-
|
6266
|
+
contextLoader?: DocumentLoader;
|
6082
6267
|
}): Promise<unknown>;
|
6083
6268
|
/**
|
6084
6269
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -6088,6 +6273,7 @@ export declare class Profile extends Object {
|
|
6088
6273
|
*/
|
6089
6274
|
static fromJsonLd(json: unknown, options?: {
|
6090
6275
|
documentLoader?: DocumentLoader;
|
6276
|
+
contextLoader?: DocumentLoader;
|
6091
6277
|
}): Promise<Profile>;
|
6092
6278
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6093
6279
|
}
|
@@ -6152,8 +6338,9 @@ export declare class Reject extends Activity {
|
|
6152
6338
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
6153
6339
|
object?: Object | URL | null;
|
6154
6340
|
objects?: (Object | URL)[];
|
6155
|
-
}, { documentLoader }?: {
|
6341
|
+
}, { documentLoader, contextLoader, }?: {
|
6156
6342
|
documentLoader?: DocumentLoader;
|
6343
|
+
contextLoader?: DocumentLoader;
|
6157
6344
|
});
|
6158
6345
|
/**
|
6159
6346
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6211,6 +6398,7 @@ export declare class Reject extends Activity {
|
|
6211
6398
|
objects?: (Object | URL)[];
|
6212
6399
|
}, options?: {
|
6213
6400
|
documentLoader?: DocumentLoader;
|
6401
|
+
contextLoader?: DocumentLoader;
|
6214
6402
|
}): Reject;
|
6215
6403
|
/**
|
6216
6404
|
* Converts this object to a JSON-LD structure.
|
@@ -6218,7 +6406,7 @@ export declare class Reject extends Activity {
|
|
6218
6406
|
*/
|
6219
6407
|
toJsonLd(options?: {
|
6220
6408
|
expand?: boolean;
|
6221
|
-
|
6409
|
+
contextLoader?: DocumentLoader;
|
6222
6410
|
}): Promise<unknown>;
|
6223
6411
|
/**
|
6224
6412
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -6228,6 +6416,7 @@ export declare class Reject extends Activity {
|
|
6228
6416
|
*/
|
6229
6417
|
static fromJsonLd(json: unknown, options?: {
|
6230
6418
|
documentLoader?: DocumentLoader;
|
6419
|
+
contextLoader?: DocumentLoader;
|
6231
6420
|
}): Promise<Reject>;
|
6232
6421
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6233
6422
|
}
|
@@ -6299,8 +6488,9 @@ export declare class Relationship extends Object {
|
|
6299
6488
|
objects?: (Object | URL)[];
|
6300
6489
|
relationship?: Object | URL | null;
|
6301
6490
|
relationships?: (Object | URL)[];
|
6302
|
-
}, { documentLoader }?: {
|
6491
|
+
}, { documentLoader, contextLoader, }?: {
|
6303
6492
|
documentLoader?: DocumentLoader;
|
6493
|
+
contextLoader?: DocumentLoader;
|
6304
6494
|
});
|
6305
6495
|
/**
|
6306
6496
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6359,6 +6549,7 @@ export declare class Relationship extends Object {
|
|
6359
6549
|
relationships?: (Object | URL)[];
|
6360
6550
|
}, options?: {
|
6361
6551
|
documentLoader?: DocumentLoader;
|
6552
|
+
contextLoader?: DocumentLoader;
|
6362
6553
|
}): Relationship;
|
6363
6554
|
/**
|
6364
6555
|
* Similar to
|
@@ -6373,6 +6564,7 @@ export declare class Relationship extends Object {
|
|
6373
6564
|
*/
|
6374
6565
|
getSubject(options?: {
|
6375
6566
|
documentLoader?: DocumentLoader;
|
6567
|
+
contextLoader?: DocumentLoader;
|
6376
6568
|
}): Promise<Object | null>;
|
6377
6569
|
/**
|
6378
6570
|
* Similar to
|
@@ -6384,6 +6576,7 @@ export declare class Relationship extends Object {
|
|
6384
6576
|
*/
|
6385
6577
|
getObject(options?: {
|
6386
6578
|
documentLoader?: DocumentLoader;
|
6579
|
+
contextLoader?: DocumentLoader;
|
6387
6580
|
}): Promise<Object | null>;
|
6388
6581
|
/**
|
6389
6582
|
* Similar to
|
@@ -6395,6 +6588,7 @@ export declare class Relationship extends Object {
|
|
6395
6588
|
*/
|
6396
6589
|
getObjects(options?: {
|
6397
6590
|
documentLoader?: DocumentLoader;
|
6591
|
+
contextLoader?: DocumentLoader;
|
6398
6592
|
}): AsyncIterable<Object>;
|
6399
6593
|
/**
|
6400
6594
|
* Similar to
|
@@ -6408,6 +6602,7 @@ export declare class Relationship extends Object {
|
|
6408
6602
|
*/
|
6409
6603
|
getRelationship(options?: {
|
6410
6604
|
documentLoader?: DocumentLoader;
|
6605
|
+
contextLoader?: DocumentLoader;
|
6411
6606
|
}): Promise<Object | null>;
|
6412
6607
|
/**
|
6413
6608
|
* Similar to
|
@@ -6421,6 +6616,7 @@ export declare class Relationship extends Object {
|
|
6421
6616
|
*/
|
6422
6617
|
getRelationships(options?: {
|
6423
6618
|
documentLoader?: DocumentLoader;
|
6619
|
+
contextLoader?: DocumentLoader;
|
6424
6620
|
}): AsyncIterable<Object>;
|
6425
6621
|
/**
|
6426
6622
|
* Converts this object to a JSON-LD structure.
|
@@ -6428,7 +6624,7 @@ export declare class Relationship extends Object {
|
|
6428
6624
|
*/
|
6429
6625
|
toJsonLd(options?: {
|
6430
6626
|
expand?: boolean;
|
6431
|
-
|
6627
|
+
contextLoader?: DocumentLoader;
|
6432
6628
|
}): Promise<unknown>;
|
6433
6629
|
/**
|
6434
6630
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -6438,6 +6634,7 @@ export declare class Relationship extends Object {
|
|
6438
6634
|
*/
|
6439
6635
|
static fromJsonLd(json: unknown, options?: {
|
6440
6636
|
documentLoader?: DocumentLoader;
|
6637
|
+
contextLoader?: DocumentLoader;
|
6441
6638
|
}): Promise<Relationship>;
|
6442
6639
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6443
6640
|
}
|
@@ -6502,8 +6699,9 @@ export declare class Remove extends Activity {
|
|
6502
6699
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
6503
6700
|
object?: Object | URL | null;
|
6504
6701
|
objects?: (Object | URL)[];
|
6505
|
-
}, { documentLoader }?: {
|
6702
|
+
}, { documentLoader, contextLoader, }?: {
|
6506
6703
|
documentLoader?: DocumentLoader;
|
6704
|
+
contextLoader?: DocumentLoader;
|
6507
6705
|
});
|
6508
6706
|
/**
|
6509
6707
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6561,6 +6759,7 @@ export declare class Remove extends Activity {
|
|
6561
6759
|
objects?: (Object | URL)[];
|
6562
6760
|
}, options?: {
|
6563
6761
|
documentLoader?: DocumentLoader;
|
6762
|
+
contextLoader?: DocumentLoader;
|
6564
6763
|
}): Remove;
|
6565
6764
|
/**
|
6566
6765
|
* Converts this object to a JSON-LD structure.
|
@@ -6568,7 +6767,7 @@ export declare class Remove extends Activity {
|
|
6568
6767
|
*/
|
6569
6768
|
toJsonLd(options?: {
|
6570
6769
|
expand?: boolean;
|
6571
|
-
|
6770
|
+
contextLoader?: DocumentLoader;
|
6572
6771
|
}): Promise<unknown>;
|
6573
6772
|
/**
|
6574
6773
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -6578,6 +6777,7 @@ export declare class Remove extends Activity {
|
|
6578
6777
|
*/
|
6579
6778
|
static fromJsonLd(json: unknown, options?: {
|
6580
6779
|
documentLoader?: DocumentLoader;
|
6780
|
+
contextLoader?: DocumentLoader;
|
6581
6781
|
}): Promise<Remove>;
|
6582
6782
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6583
6783
|
}
|
@@ -6654,8 +6854,9 @@ export declare class Service extends Object {
|
|
6654
6854
|
suspended?: boolean | null;
|
6655
6855
|
memorial?: boolean | null;
|
6656
6856
|
indexable?: boolean | null;
|
6657
|
-
}, { documentLoader }?: {
|
6857
|
+
}, { documentLoader, contextLoader, }?: {
|
6658
6858
|
documentLoader?: DocumentLoader;
|
6859
|
+
contextLoader?: DocumentLoader;
|
6659
6860
|
});
|
6660
6861
|
/**
|
6661
6862
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6725,6 +6926,7 @@ export declare class Service extends Object {
|
|
6725
6926
|
indexable?: boolean | null;
|
6726
6927
|
}, options?: {
|
6727
6928
|
documentLoader?: DocumentLoader;
|
6929
|
+
contextLoader?: DocumentLoader;
|
6728
6930
|
}): Service;
|
6729
6931
|
/** A short username which may be used to refer to the actor,
|
6730
6932
|
* with no uniqueness guarantees.
|
@@ -6744,6 +6946,7 @@ export declare class Service extends Object {
|
|
6744
6946
|
*/
|
6745
6947
|
getPublicKey(options?: {
|
6746
6948
|
documentLoader?: DocumentLoader;
|
6949
|
+
contextLoader?: DocumentLoader;
|
6747
6950
|
}): Promise<CryptographicKey | null>;
|
6748
6951
|
/**
|
6749
6952
|
* Similar to
|
@@ -6755,6 +6958,7 @@ export declare class Service extends Object {
|
|
6755
6958
|
*/
|
6756
6959
|
getPublicKeys(options?: {
|
6757
6960
|
documentLoader?: DocumentLoader;
|
6961
|
+
contextLoader?: DocumentLoader;
|
6758
6962
|
}): AsyncIterable<CryptographicKey>;
|
6759
6963
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
6760
6964
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -6786,6 +6990,7 @@ export declare class Service extends Object {
|
|
6786
6990
|
*/
|
6787
6991
|
getInbox(options?: {
|
6788
6992
|
documentLoader?: DocumentLoader;
|
6993
|
+
contextLoader?: DocumentLoader;
|
6789
6994
|
}): Promise<OrderedCollection | null>;
|
6790
6995
|
/**
|
6791
6996
|
* Similar to
|
@@ -6806,6 +7011,7 @@ export declare class Service extends Object {
|
|
6806
7011
|
*/
|
6807
7012
|
getOutbox(options?: {
|
6808
7013
|
documentLoader?: DocumentLoader;
|
7014
|
+
contextLoader?: DocumentLoader;
|
6809
7015
|
}): Promise<OrderedCollection | null>;
|
6810
7016
|
/**
|
6811
7017
|
* Similar to
|
@@ -6821,6 +7027,7 @@ export declare class Service extends Object {
|
|
6821
7027
|
*/
|
6822
7028
|
getFollowing(options?: {
|
6823
7029
|
documentLoader?: DocumentLoader;
|
7030
|
+
contextLoader?: DocumentLoader;
|
6824
7031
|
}): Promise<Collection | null>;
|
6825
7032
|
/**
|
6826
7033
|
* Similar to
|
@@ -6839,6 +7046,7 @@ export declare class Service extends Object {
|
|
6839
7046
|
*/
|
6840
7047
|
getFollowers(options?: {
|
6841
7048
|
documentLoader?: DocumentLoader;
|
7049
|
+
contextLoader?: DocumentLoader;
|
6842
7050
|
}): Promise<Collection | null>;
|
6843
7051
|
/**
|
6844
7052
|
* Similar to
|
@@ -6855,6 +7063,7 @@ export declare class Service extends Object {
|
|
6855
7063
|
*/
|
6856
7064
|
getLinked(options?: {
|
6857
7065
|
documentLoader?: DocumentLoader;
|
7066
|
+
contextLoader?: DocumentLoader;
|
6858
7067
|
}): Promise<Collection | null>;
|
6859
7068
|
/**
|
6860
7069
|
* Similar to
|
@@ -6866,6 +7075,7 @@ export declare class Service extends Object {
|
|
6866
7075
|
*/
|
6867
7076
|
getStreams(options?: {
|
6868
7077
|
documentLoader?: DocumentLoader;
|
7078
|
+
contextLoader?: DocumentLoader;
|
6869
7079
|
}): AsyncIterable<Collection>;
|
6870
7080
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
6871
7081
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -6895,7 +7105,7 @@ export declare class Service extends Object {
|
|
6895
7105
|
*/
|
6896
7106
|
toJsonLd(options?: {
|
6897
7107
|
expand?: boolean;
|
6898
|
-
|
7108
|
+
contextLoader?: DocumentLoader;
|
6899
7109
|
}): Promise<unknown>;
|
6900
7110
|
/**
|
6901
7111
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -6905,6 +7115,7 @@ export declare class Service extends Object {
|
|
6905
7115
|
*/
|
6906
7116
|
static fromJsonLd(json: unknown, options?: {
|
6907
7117
|
documentLoader?: DocumentLoader;
|
7118
|
+
contextLoader?: DocumentLoader;
|
6908
7119
|
}): Promise<Service>;
|
6909
7120
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6910
7121
|
}
|
@@ -6974,8 +7185,9 @@ export declare class Undo extends Activity {
|
|
6974
7185
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
6975
7186
|
object?: Object | URL | null;
|
6976
7187
|
objects?: (Object | URL)[];
|
6977
|
-
}, { documentLoader }?: {
|
7188
|
+
}, { documentLoader, contextLoader, }?: {
|
6978
7189
|
documentLoader?: DocumentLoader;
|
7190
|
+
contextLoader?: DocumentLoader;
|
6979
7191
|
});
|
6980
7192
|
/**
|
6981
7193
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7033,6 +7245,7 @@ export declare class Undo extends Activity {
|
|
7033
7245
|
objects?: (Object | URL)[];
|
7034
7246
|
}, options?: {
|
7035
7247
|
documentLoader?: DocumentLoader;
|
7248
|
+
contextLoader?: DocumentLoader;
|
7036
7249
|
}): Undo;
|
7037
7250
|
/**
|
7038
7251
|
* Converts this object to a JSON-LD structure.
|
@@ -7040,7 +7253,7 @@ export declare class Undo extends Activity {
|
|
7040
7253
|
*/
|
7041
7254
|
toJsonLd(options?: {
|
7042
7255
|
expand?: boolean;
|
7043
|
-
|
7256
|
+
contextLoader?: DocumentLoader;
|
7044
7257
|
}): Promise<unknown>;
|
7045
7258
|
/**
|
7046
7259
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -7050,6 +7263,7 @@ export declare class Undo extends Activity {
|
|
7050
7263
|
*/
|
7051
7264
|
static fromJsonLd(json: unknown, options?: {
|
7052
7265
|
documentLoader?: DocumentLoader;
|
7266
|
+
contextLoader?: DocumentLoader;
|
7053
7267
|
}): Promise<Undo>;
|
7054
7268
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7055
7269
|
}
|
@@ -7117,8 +7331,9 @@ export declare class Update extends Activity {
|
|
7117
7331
|
actors?: (Application | Group | Organization | Person | Service | URL)[];
|
7118
7332
|
object?: Object | URL | null;
|
7119
7333
|
objects?: (Object | URL)[];
|
7120
|
-
}, { documentLoader }?: {
|
7334
|
+
}, { documentLoader, contextLoader, }?: {
|
7121
7335
|
documentLoader?: DocumentLoader;
|
7336
|
+
contextLoader?: DocumentLoader;
|
7122
7337
|
});
|
7123
7338
|
/**
|
7124
7339
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7176,6 +7391,7 @@ export declare class Update extends Activity {
|
|
7176
7391
|
objects?: (Object | URL)[];
|
7177
7392
|
}, options?: {
|
7178
7393
|
documentLoader?: DocumentLoader;
|
7394
|
+
contextLoader?: DocumentLoader;
|
7179
7395
|
}): Update;
|
7180
7396
|
/**
|
7181
7397
|
* Converts this object to a JSON-LD structure.
|
@@ -7183,7 +7399,7 @@ export declare class Update extends Activity {
|
|
7183
7399
|
*/
|
7184
7400
|
toJsonLd(options?: {
|
7185
7401
|
expand?: boolean;
|
7186
|
-
|
7402
|
+
contextLoader?: DocumentLoader;
|
7187
7403
|
}): Promise<unknown>;
|
7188
7404
|
/**
|
7189
7405
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -7193,6 +7409,7 @@ export declare class Update extends Activity {
|
|
7193
7409
|
*/
|
7194
7410
|
static fromJsonLd(json: unknown, options?: {
|
7195
7411
|
documentLoader?: DocumentLoader;
|
7412
|
+
contextLoader?: DocumentLoader;
|
7196
7413
|
}): Promise<Update>;
|
7197
7414
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7198
7415
|
}
|
@@ -7252,8 +7469,9 @@ export declare class Video extends Document {
|
|
7252
7469
|
mediaType?: string | null;
|
7253
7470
|
duration?: dntShim.Temporal.Duration | null;
|
7254
7471
|
sensitive?: boolean | null;
|
7255
|
-
}, { documentLoader }?: {
|
7472
|
+
}, { documentLoader, contextLoader, }?: {
|
7256
7473
|
documentLoader?: DocumentLoader;
|
7474
|
+
contextLoader?: DocumentLoader;
|
7257
7475
|
});
|
7258
7476
|
/**
|
7259
7477
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7307,6 +7525,7 @@ export declare class Video extends Document {
|
|
7307
7525
|
sensitive?: boolean | null;
|
7308
7526
|
}, options?: {
|
7309
7527
|
documentLoader?: DocumentLoader;
|
7528
|
+
contextLoader?: DocumentLoader;
|
7310
7529
|
}): Video;
|
7311
7530
|
/**
|
7312
7531
|
* Converts this object to a JSON-LD structure.
|
@@ -7314,7 +7533,7 @@ export declare class Video extends Document {
|
|
7314
7533
|
*/
|
7315
7534
|
toJsonLd(options?: {
|
7316
7535
|
expand?: boolean;
|
7317
|
-
|
7536
|
+
contextLoader?: DocumentLoader;
|
7318
7537
|
}): Promise<unknown>;
|
7319
7538
|
/**
|
7320
7539
|
* Converts a JSON-LD structure to an object of this type.
|
@@ -7324,6 +7543,7 @@ export declare class Video extends Document {
|
|
7324
7543
|
*/
|
7325
7544
|
static fromJsonLd(json: unknown, options?: {
|
7326
7545
|
documentLoader?: DocumentLoader;
|
7546
|
+
contextLoader?: DocumentLoader;
|
7327
7547
|
}): Promise<Video>;
|
7328
7548
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7329
7549
|
}
|