@fedify/fedify 1.9.0-pr.439.1643 → 1.9.0-pr.443.1681
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{actor-KPC8KYj6.js → actor-CX1PqLef.js} +1 -1
- package/dist/{actor-CfhHedxU.cjs → actor-CpDvMeh9.cjs} +2323 -723
- package/dist/{actor-DpI0W-Tn.js → actor-D6yXbYgY.js} +2323 -723
- package/dist/{actor-CHOM_AN3.d.cts → actor-D8GmZX63.d.cts} +1 -1
- package/dist/{actor-Ch5yFYFG.d.ts → actor-sT_gcgkl.d.ts} +1 -1
- package/dist/{authdocloader-DfDexBrY.cjs → authdocloader-B02Yhk89.cjs} +3 -3
- package/dist/{authdocloader-BQJG9N7v.js → authdocloader-CtHAAz1D.js} +3 -3
- package/dist/{authdocloader-CVxE9WGt.js → authdocloader-_-SNQ37B.js} +3 -3
- package/dist/{builder-BP4aD50M.js → builder-C5KrSbKS.js} +4 -4
- package/dist/{client-Bui9Gh4q.js → client-DbRgEC98.js} +1 -1
- package/dist/compat/mod.d.cts +7 -7
- package/dist/compat/mod.d.ts +7 -7
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-KXVF2AhH.d.cts → context-BkqGJwLI.d.cts} +5 -5
- package/dist/{context-DFruNLny.d.ts → context-Cp-kboln.d.ts} +5 -5
- package/dist/{docloader-CSlrTULv.cjs → docloader-B_lWIYhZ.cjs} +1 -1
- package/dist/{docloader-BxvWvC64.js → docloader-DHrLpvDa.js} +1 -1
- package/dist/{esm-c7PrxCw-.js → esm-oDAmb3t0.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.cjs +10 -10
- package/dist/federation/mod.d.cts +6 -6
- package/dist/federation/mod.d.ts +6 -6
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-BF9qsaeq.js → http-4lxNFaXA.js} +3 -3
- package/dist/{http-Dv1yjtnP.js → http-ABY5j3YT.js} +2 -2
- package/dist/{http-B_zBcsai.d.cts → http-B9UPBFJz.d.cts} +1 -1
- package/dist/{http-D8Q4xH0d.d.ts → http-BGqh2jzk.d.ts} +1 -1
- package/dist/{http-Dy617oJi.cjs → http-BQ0XHmus.cjs} +3 -3
- package/dist/{inbox-Cu7OAGkC.js → inbox-D34aGNh3.js} +1 -1
- package/dist/{key-CmfU4Nff.js → key-B8fuptOf.js} +2 -2
- package/dist/{key-BA23EOog.js → key-BvUiwgvU.js} +3 -3
- package/dist/{key-CULAE72e.cjs → key-CUhjb7ia.cjs} +2 -2
- package/dist/{key-BzOUXfsg.js → key-D5_cYZv8.js} +4 -4
- package/dist/{key-BLHsstcf.js → key-DCCZ0IQz.js} +2 -2
- package/dist/key-DtzwU8SC.cjs +10 -0
- package/dist/{keycache-aLCenYcC.js → keycache-DPgak-bY.js} +1 -1
- package/dist/{keys-D46Dm6Zd.js → keys-R-SfK3nQ.js} +1 -1
- package/dist/{ld-bQVyNVI4.js → ld-Dng9Ri0Z.js} +2 -2
- package/dist/{lookup-DWilfXOH.js → lookup-4DHxuyI4.js} +1 -1
- package/dist/{lookup-BtS7imxC.cjs → lookup-Bm9ZRBwj.cjs} +1 -1
- package/dist/{lookup-BV-RYejn.js → lookup-CgzIxSqk.js} +1 -1
- package/dist/{middleware-Bc82l2LP.js → middleware-774Oifc4.js} +10 -10
- package/dist/{middleware-C6ec_xpL.js → middleware-B7DkslM_.js} +13 -13
- package/dist/{middleware-BvYquIU2.cjs → middleware-CpT5VG6o.cjs} +10 -10
- package/dist/middleware-CunKD_hx.js +17 -0
- package/dist/middleware-DpW8xh9z.cjs +17 -0
- package/dist/middleware-umMExV_X.js +26 -0
- package/dist/{mod-COw_caPC.d.cts → mod-BihGJmMM.d.cts} +2 -2
- package/dist/{mod-Cy6pkZSn.d.ts → mod-CnEwcmyF.d.ts} +1 -1
- package/dist/{mod-B7Pc0I7F.d.ts → mod-Cuem8g-I.d.ts} +2 -2
- package/dist/{mod-YfAcrVbP.d.cts → mod-Ds5wiXHw.d.cts} +2 -2
- package/dist/{mod-NKH_G-IY.d.cts → mod-DxjZ8kbs.d.cts} +1 -1
- package/dist/{mod-CiXjux2r.d.ts → mod-OfRtcQo1.d.ts} +2 -2
- package/dist/{mod-BAuhKa9d.d.ts → mod-TsyIDkKn.d.ts} +1 -1
- package/dist/{mod-C3CGxYoF.d.cts → mod-bscaBAIo.d.cts} +1 -1
- package/dist/mod.cjs +10 -10
- package/dist/mod.d.cts +9 -9
- package/dist/mod.d.ts +9 -9
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.cjs +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-C9Ry0TOI.d.cts → owner-BYxDl2qi.d.cts} +2 -2
- package/dist/{owner-IdDD30Rl.js → owner-BnmJOCds.js} +2 -2
- package/dist/{owner-D38zBIMc.d.ts → owner-DOUl7e-t.d.ts} +2 -2
- package/dist/{proof-Bacq4fFb.js → proof-4d4UTrId.js} +3 -3
- package/dist/{proof-DqejZTy7.js → proof-DRGe3kWw.js} +2 -2
- package/dist/{proof-Cdt-JryO.cjs → proof-QLd9LtLS.cjs} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/link.test.js +3 -3
- package/dist/runtime/mod.cjs +6 -6
- package/dist/runtime/mod.d.cts +3 -3
- package/dist/runtime/mod.d.ts +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-CtMRP7jp.js → send-VTF45d0K.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.cjs +6 -6
- package/dist/sig/mod.d.cts +5 -5
- package/dist/sig/mod.d.ts +5 -5
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +313 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-DqxPhgD4.js → testing-DtlapwX9.js} +2 -2
- package/dist/{type-tt9Ec12R.js → type-BK1maiHl.js} +2322 -722
- package/dist/{types-C50PioTN.cjs → types-B11Jr68m.cjs} +1 -1
- package/dist/{types-DIhanZoH.js → types-ChXkDqkb.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.d.cts +3 -3
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +8 -6
- package/dist/{vocab-C85duzv5.js → vocab-B7TUfvy2.js} +3 -3
- package/dist/{vocab-BEEm2I6u.d.ts → vocab-BW6SWH9P.d.ts} +629 -0
- package/dist/{vocab-VVJBvA2F.cjs → vocab-C2kef9JD.cjs} +3 -3
- package/dist/{vocab-BzGg7ltX.d.cts → vocab-qpRpljdS.d.cts} +629 -0
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.cts +6 -6
- package/dist/x/hono.d.ts +6 -6
- package/dist/x/sveltekit.d.cts +6 -6
- package/dist/x/sveltekit.d.ts +6 -6
- package/package.json +1 -1
- package/dist/key-CK98kF20.cjs +0 -10
- package/dist/middleware-C-XUMaxL.cjs +0 -17
- package/dist/middleware-CJGpew1U.js +0 -26
- package/dist/middleware-QSwuLhGe.js +0 -17
package/dist/testing/mod.d.ts
CHANGED
@@ -300,6 +300,7 @@ declare class LanguageString extends String {
|
|
300
300
|
*/
|
301
301
|
declare class Object$1 {
|
302
302
|
#private;
|
303
|
+
protected readonly _baseUrl?: URL;
|
303
304
|
readonly id: URL | null;
|
304
305
|
protected get _documentLoader(): DocumentLoader | undefined;
|
305
306
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -315,6 +316,10 @@ declare class Object$1 {
|
|
315
316
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
316
317
|
*/
|
317
318
|
static get typeId(): URL;
|
319
|
+
/**
|
320
|
+
* The base URL used for resolving relative URLs in this object.
|
321
|
+
*/
|
322
|
+
get baseUrl(): URL | undefined;
|
318
323
|
/**
|
319
324
|
* Constructs a new instance of Object with the given values.
|
320
325
|
* @param values The values to initialize the instance with.
|
@@ -374,6 +379,7 @@ declare class Object$1 {
|
|
374
379
|
documentLoader?: DocumentLoader;
|
375
380
|
contextLoader?: DocumentLoader;
|
376
381
|
tracerProvider?: TracerProvider;
|
382
|
+
baseUrl?: URL;
|
377
383
|
});
|
378
384
|
/**
|
379
385
|
* Clones this instance, optionally updating it with the given values.
|
@@ -450,6 +456,7 @@ declare class Object$1 {
|
|
450
456
|
contextLoader?: DocumentLoader;
|
451
457
|
suppressError?: boolean;
|
452
458
|
tracerProvider?: TracerProvider;
|
459
|
+
baseUrl?: URL;
|
453
460
|
}): AsyncIterable<Object$1 | Link | PropertyValue>;
|
454
461
|
/**
|
455
462
|
* Similar to
|
@@ -466,6 +473,7 @@ declare class Object$1 {
|
|
466
473
|
contextLoader?: DocumentLoader;
|
467
474
|
suppressError?: boolean;
|
468
475
|
tracerProvider?: TracerProvider;
|
476
|
+
baseUrl?: URL;
|
469
477
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
470
478
|
/**
|
471
479
|
* Similar to
|
@@ -482,6 +490,7 @@ declare class Object$1 {
|
|
482
490
|
contextLoader?: DocumentLoader;
|
483
491
|
suppressError?: boolean;
|
484
492
|
tracerProvider?: TracerProvider;
|
493
|
+
baseUrl?: URL;
|
485
494
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
486
495
|
/**
|
487
496
|
* Similar to
|
@@ -497,6 +506,7 @@ declare class Object$1 {
|
|
497
506
|
contextLoader?: DocumentLoader;
|
498
507
|
suppressError?: boolean;
|
499
508
|
tracerProvider?: TracerProvider;
|
509
|
+
baseUrl?: URL;
|
500
510
|
}): Promise<Object$1 | null>;
|
501
511
|
/**
|
502
512
|
* Similar to
|
@@ -512,6 +522,7 @@ declare class Object$1 {
|
|
512
522
|
contextLoader?: DocumentLoader;
|
513
523
|
suppressError?: boolean;
|
514
524
|
tracerProvider?: TracerProvider;
|
525
|
+
baseUrl?: URL;
|
515
526
|
}): AsyncIterable<Object$1>;
|
516
527
|
/** The content or textual representation of the Object encoded as a JSON
|
517
528
|
* string. By default, the value of `content` is HTML. The `mediaType`
|
@@ -546,6 +557,7 @@ declare class Object$1 {
|
|
546
557
|
contextLoader?: DocumentLoader;
|
547
558
|
suppressError?: boolean;
|
548
559
|
tracerProvider?: TracerProvider;
|
560
|
+
baseUrl?: URL;
|
549
561
|
}): AsyncIterable<Object$1 | Link>;
|
550
562
|
/** A simple, human-readable, plain-text name for the object. HTML markup MUST
|
551
563
|
* NOT be included. The name MAY be expressed using multiple language-tagged
|
@@ -576,6 +588,7 @@ declare class Object$1 {
|
|
576
588
|
contextLoader?: DocumentLoader;
|
577
589
|
suppressError?: boolean;
|
578
590
|
tracerProvider?: TracerProvider;
|
591
|
+
baseUrl?: URL;
|
579
592
|
}): AsyncIterable<Object$1 | Link>;
|
580
593
|
/**
|
581
594
|
* Similar to
|
@@ -592,6 +605,7 @@ declare class Object$1 {
|
|
592
605
|
contextLoader?: DocumentLoader;
|
593
606
|
suppressError?: boolean;
|
594
607
|
tracerProvider?: TracerProvider;
|
608
|
+
baseUrl?: URL;
|
595
609
|
}): Promise<Image | null>;
|
596
610
|
/**
|
597
611
|
* Similar to
|
@@ -608,6 +622,7 @@ declare class Object$1 {
|
|
608
622
|
contextLoader?: DocumentLoader;
|
609
623
|
suppressError?: boolean;
|
610
624
|
tracerProvider?: TracerProvider;
|
625
|
+
baseUrl?: URL;
|
611
626
|
}): AsyncIterable<Image>;
|
612
627
|
/**
|
613
628
|
* Similar to
|
@@ -624,6 +639,7 @@ declare class Object$1 {
|
|
624
639
|
contextLoader?: DocumentLoader;
|
625
640
|
suppressError?: boolean;
|
626
641
|
tracerProvider?: TracerProvider;
|
642
|
+
baseUrl?: URL;
|
627
643
|
}): Promise<Image | null>;
|
628
644
|
/**
|
629
645
|
* Similar to
|
@@ -640,6 +656,7 @@ declare class Object$1 {
|
|
640
656
|
contextLoader?: DocumentLoader;
|
641
657
|
suppressError?: boolean;
|
642
658
|
tracerProvider?: TracerProvider;
|
659
|
+
baseUrl?: URL;
|
643
660
|
}): AsyncIterable<Image>;
|
644
661
|
/**
|
645
662
|
* Similar to
|
@@ -655,6 +672,7 @@ declare class Object$1 {
|
|
655
672
|
contextLoader?: DocumentLoader;
|
656
673
|
suppressError?: boolean;
|
657
674
|
tracerProvider?: TracerProvider;
|
675
|
+
baseUrl?: URL;
|
658
676
|
}): Promise<Object$1 | Link | null>;
|
659
677
|
/**
|
660
678
|
* Similar to
|
@@ -670,6 +688,7 @@ declare class Object$1 {
|
|
670
688
|
contextLoader?: DocumentLoader;
|
671
689
|
suppressError?: boolean;
|
672
690
|
tracerProvider?: TracerProvider;
|
691
|
+
baseUrl?: URL;
|
673
692
|
}): AsyncIterable<Object$1 | Link>;
|
674
693
|
/**
|
675
694
|
* Similar to
|
@@ -685,6 +704,7 @@ declare class Object$1 {
|
|
685
704
|
contextLoader?: DocumentLoader;
|
686
705
|
suppressError?: boolean;
|
687
706
|
tracerProvider?: TracerProvider;
|
707
|
+
baseUrl?: URL;
|
688
708
|
}): Promise<Object$1 | Link | null>;
|
689
709
|
/**
|
690
710
|
* Similar to
|
@@ -700,6 +720,7 @@ declare class Object$1 {
|
|
700
720
|
contextLoader?: DocumentLoader;
|
701
721
|
suppressError?: boolean;
|
702
722
|
tracerProvider?: TracerProvider;
|
723
|
+
baseUrl?: URL;
|
703
724
|
}): AsyncIterable<Object$1 | Link>;
|
704
725
|
/**
|
705
726
|
* Similar to
|
@@ -714,6 +735,7 @@ declare class Object$1 {
|
|
714
735
|
contextLoader?: DocumentLoader;
|
715
736
|
suppressError?: boolean;
|
716
737
|
tracerProvider?: TracerProvider;
|
738
|
+
baseUrl?: URL;
|
717
739
|
}): Promise<Link | Object$1 | null>;
|
718
740
|
/**
|
719
741
|
* Similar to
|
@@ -728,6 +750,7 @@ declare class Object$1 {
|
|
728
750
|
contextLoader?: DocumentLoader;
|
729
751
|
suppressError?: boolean;
|
730
752
|
tracerProvider?: TracerProvider;
|
753
|
+
baseUrl?: URL;
|
731
754
|
}): AsyncIterable<Link | Object$1>;
|
732
755
|
/** The date and time at which the object was published.
|
733
756
|
*/
|
@@ -746,6 +769,7 @@ declare class Object$1 {
|
|
746
769
|
contextLoader?: DocumentLoader;
|
747
770
|
suppressError?: boolean;
|
748
771
|
tracerProvider?: TracerProvider;
|
772
|
+
baseUrl?: URL;
|
749
773
|
}): Promise<Collection | null>;
|
750
774
|
/**
|
751
775
|
* Similar to
|
@@ -767,6 +791,7 @@ declare class Object$1 {
|
|
767
791
|
contextLoader?: DocumentLoader;
|
768
792
|
suppressError?: boolean;
|
769
793
|
tracerProvider?: TracerProvider;
|
794
|
+
baseUrl?: URL;
|
770
795
|
}): Promise<Collection | null>;
|
771
796
|
/**
|
772
797
|
* Similar to
|
@@ -788,6 +813,7 @@ declare class Object$1 {
|
|
788
813
|
contextLoader?: DocumentLoader;
|
789
814
|
suppressError?: boolean;
|
790
815
|
tracerProvider?: TracerProvider;
|
816
|
+
baseUrl?: URL;
|
791
817
|
}): Promise<Collection | null>;
|
792
818
|
/**
|
793
819
|
* Similar to
|
@@ -803,6 +829,7 @@ declare class Object$1 {
|
|
803
829
|
contextLoader?: DocumentLoader;
|
804
830
|
suppressError?: boolean;
|
805
831
|
tracerProvider?: TracerProvider;
|
832
|
+
baseUrl?: URL;
|
806
833
|
}): Promise<Collection | null>;
|
807
834
|
/** The date and time describing the actual or expected starting time of
|
808
835
|
* the object. When used with an {@link Activity} object, for instance,
|
@@ -834,6 +861,7 @@ declare class Object$1 {
|
|
834
861
|
contextLoader?: DocumentLoader;
|
835
862
|
suppressError?: boolean;
|
836
863
|
tracerProvider?: TracerProvider;
|
864
|
+
baseUrl?: URL;
|
837
865
|
}): AsyncIterable<Object$1 | Link>;
|
838
866
|
/** The date and time at which the object was updated.
|
839
867
|
*/
|
@@ -858,6 +886,7 @@ declare class Object$1 {
|
|
858
886
|
contextLoader?: DocumentLoader;
|
859
887
|
suppressError?: boolean;
|
860
888
|
tracerProvider?: TracerProvider;
|
889
|
+
baseUrl?: URL;
|
861
890
|
}): Promise<Object$1 | null>;
|
862
891
|
/**
|
863
892
|
* Similar to
|
@@ -873,6 +902,7 @@ declare class Object$1 {
|
|
873
902
|
contextLoader?: DocumentLoader;
|
874
903
|
suppressError?: boolean;
|
875
904
|
tracerProvider?: TracerProvider;
|
905
|
+
baseUrl?: URL;
|
876
906
|
}): AsyncIterable<Object$1>;
|
877
907
|
/**
|
878
908
|
* Similar to
|
@@ -888,6 +918,7 @@ declare class Object$1 {
|
|
888
918
|
contextLoader?: DocumentLoader;
|
889
919
|
suppressError?: boolean;
|
890
920
|
tracerProvider?: TracerProvider;
|
921
|
+
baseUrl?: URL;
|
891
922
|
}): Promise<Object$1 | null>;
|
892
923
|
/**
|
893
924
|
* Similar to
|
@@ -903,6 +934,7 @@ declare class Object$1 {
|
|
903
934
|
contextLoader?: DocumentLoader;
|
904
935
|
suppressError?: boolean;
|
905
936
|
tracerProvider?: TracerProvider;
|
937
|
+
baseUrl?: URL;
|
906
938
|
}): AsyncIterable<Object$1>;
|
907
939
|
/**
|
908
940
|
* Similar to
|
@@ -918,6 +950,7 @@ declare class Object$1 {
|
|
918
950
|
contextLoader?: DocumentLoader;
|
919
951
|
suppressError?: boolean;
|
920
952
|
tracerProvider?: TracerProvider;
|
953
|
+
baseUrl?: URL;
|
921
954
|
}): Promise<Object$1 | null>;
|
922
955
|
/**
|
923
956
|
* Similar to
|
@@ -933,6 +966,7 @@ declare class Object$1 {
|
|
933
966
|
contextLoader?: DocumentLoader;
|
934
967
|
suppressError?: boolean;
|
935
968
|
tracerProvider?: TracerProvider;
|
969
|
+
baseUrl?: URL;
|
936
970
|
}): AsyncIterable<Object$1>;
|
937
971
|
/**
|
938
972
|
* Similar to
|
@@ -948,6 +982,7 @@ declare class Object$1 {
|
|
948
982
|
contextLoader?: DocumentLoader;
|
949
983
|
suppressError?: boolean;
|
950
984
|
tracerProvider?: TracerProvider;
|
985
|
+
baseUrl?: URL;
|
951
986
|
}): Promise<Object$1 | null>;
|
952
987
|
/**
|
953
988
|
* Similar to
|
@@ -963,6 +998,7 @@ declare class Object$1 {
|
|
963
998
|
contextLoader?: DocumentLoader;
|
964
999
|
suppressError?: boolean;
|
965
1000
|
tracerProvider?: TracerProvider;
|
1001
|
+
baseUrl?: URL;
|
966
1002
|
}): AsyncIterable<Object$1>;
|
967
1003
|
/** When used on an {@link Object}, identifies the MIME media type of the value
|
968
1004
|
* of the `content` property. If not specified, the `content` property is
|
@@ -998,6 +1034,7 @@ declare class Object$1 {
|
|
998
1034
|
contextLoader?: DocumentLoader;
|
999
1035
|
suppressError?: boolean;
|
1000
1036
|
tracerProvider?: TracerProvider;
|
1037
|
+
baseUrl?: URL;
|
1001
1038
|
}): Promise<DataIntegrityProof | null>;
|
1002
1039
|
/**
|
1003
1040
|
* Similar to
|
@@ -1012,6 +1049,7 @@ declare class Object$1 {
|
|
1012
1049
|
contextLoader?: DocumentLoader;
|
1013
1050
|
suppressError?: boolean;
|
1014
1051
|
tracerProvider?: TracerProvider;
|
1052
|
+
baseUrl?: URL;
|
1015
1053
|
}): AsyncIterable<DataIntegrityProof>;
|
1016
1054
|
/**
|
1017
1055
|
* Converts this object to a JSON-LD structure.
|
@@ -1044,11 +1082,13 @@ declare class Object$1 {
|
|
1044
1082
|
documentLoader?: DocumentLoader;
|
1045
1083
|
contextLoader?: DocumentLoader;
|
1046
1084
|
tracerProvider?: TracerProvider;
|
1085
|
+
baseUrl?: URL;
|
1047
1086
|
}): Promise<Object$1>;
|
1048
1087
|
protected static __fromJsonLd__Object__(json: unknown, span: Span, options?: {
|
1049
1088
|
documentLoader?: DocumentLoader;
|
1050
1089
|
contextLoader?: DocumentLoader;
|
1051
1090
|
tracerProvider?: TracerProvider;
|
1091
|
+
baseUrl?: URL;
|
1052
1092
|
}): Promise<Object$1>;
|
1053
1093
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1054
1094
|
}
|
@@ -1067,6 +1107,10 @@ declare class Activity extends Object$1 {
|
|
1067
1107
|
* The type URI of {@link Activity}: `https://www.w3.org/ns/activitystreams#Activity`.
|
1068
1108
|
*/
|
1069
1109
|
static get typeId(): URL;
|
1110
|
+
/**
|
1111
|
+
* The base URL used for resolving relative URLs in this object.
|
1112
|
+
*/
|
1113
|
+
get baseUrl(): URL | undefined;
|
1070
1114
|
/**
|
1071
1115
|
* Constructs a new instance of Activity with the given values.
|
1072
1116
|
* @param values The values to initialize the instance with.
|
@@ -1138,6 +1182,7 @@ declare class Activity extends Object$1 {
|
|
1138
1182
|
documentLoader?: DocumentLoader;
|
1139
1183
|
contextLoader?: DocumentLoader;
|
1140
1184
|
tracerProvider?: TracerProvider;
|
1185
|
+
baseUrl?: URL;
|
1141
1186
|
});
|
1142
1187
|
/**
|
1143
1188
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1226,6 +1271,7 @@ declare class Activity extends Object$1 {
|
|
1226
1271
|
contextLoader?: DocumentLoader;
|
1227
1272
|
suppressError?: boolean;
|
1228
1273
|
tracerProvider?: TracerProvider;
|
1274
|
+
baseUrl?: URL;
|
1229
1275
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
1230
1276
|
/**
|
1231
1277
|
* Similar to
|
@@ -1242,6 +1288,7 @@ declare class Activity extends Object$1 {
|
|
1242
1288
|
contextLoader?: DocumentLoader;
|
1243
1289
|
suppressError?: boolean;
|
1244
1290
|
tracerProvider?: TracerProvider;
|
1291
|
+
baseUrl?: URL;
|
1245
1292
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
1246
1293
|
/**
|
1247
1294
|
* Similar to
|
@@ -1258,6 +1305,7 @@ declare class Activity extends Object$1 {
|
|
1258
1305
|
contextLoader?: DocumentLoader;
|
1259
1306
|
suppressError?: boolean;
|
1260
1307
|
tracerProvider?: TracerProvider;
|
1308
|
+
baseUrl?: URL;
|
1261
1309
|
}): Promise<Object$1 | null>;
|
1262
1310
|
/**
|
1263
1311
|
* Similar to
|
@@ -1274,6 +1322,7 @@ declare class Activity extends Object$1 {
|
|
1274
1322
|
contextLoader?: DocumentLoader;
|
1275
1323
|
suppressError?: boolean;
|
1276
1324
|
tracerProvider?: TracerProvider;
|
1325
|
+
baseUrl?: URL;
|
1277
1326
|
}): AsyncIterable<Object$1>;
|
1278
1327
|
/**
|
1279
1328
|
* Similar to
|
@@ -1293,6 +1342,7 @@ declare class Activity extends Object$1 {
|
|
1293
1342
|
contextLoader?: DocumentLoader;
|
1294
1343
|
suppressError?: boolean;
|
1295
1344
|
tracerProvider?: TracerProvider;
|
1345
|
+
baseUrl?: URL;
|
1296
1346
|
}): Promise<Object$1 | null>;
|
1297
1347
|
/**
|
1298
1348
|
* Similar to
|
@@ -1312,6 +1362,7 @@ declare class Activity extends Object$1 {
|
|
1312
1362
|
contextLoader?: DocumentLoader;
|
1313
1363
|
suppressError?: boolean;
|
1314
1364
|
tracerProvider?: TracerProvider;
|
1365
|
+
baseUrl?: URL;
|
1315
1366
|
}): AsyncIterable<Object$1>;
|
1316
1367
|
/**
|
1317
1368
|
* Similar to
|
@@ -1328,6 +1379,7 @@ declare class Activity extends Object$1 {
|
|
1328
1379
|
contextLoader?: DocumentLoader;
|
1329
1380
|
suppressError?: boolean;
|
1330
1381
|
tracerProvider?: TracerProvider;
|
1382
|
+
baseUrl?: URL;
|
1331
1383
|
}): Promise<Object$1 | null>;
|
1332
1384
|
/**
|
1333
1385
|
* Similar to
|
@@ -1344,6 +1396,7 @@ declare class Activity extends Object$1 {
|
|
1344
1396
|
contextLoader?: DocumentLoader;
|
1345
1397
|
suppressError?: boolean;
|
1346
1398
|
tracerProvider?: TracerProvider;
|
1399
|
+
baseUrl?: URL;
|
1347
1400
|
}): AsyncIterable<Object$1>;
|
1348
1401
|
/**
|
1349
1402
|
* Similar to
|
@@ -1361,6 +1414,7 @@ declare class Activity extends Object$1 {
|
|
1361
1414
|
contextLoader?: DocumentLoader;
|
1362
1415
|
suppressError?: boolean;
|
1363
1416
|
tracerProvider?: TracerProvider;
|
1417
|
+
baseUrl?: URL;
|
1364
1418
|
}): Promise<Object$1 | null>;
|
1365
1419
|
/**
|
1366
1420
|
* Similar to
|
@@ -1378,6 +1432,7 @@ declare class Activity extends Object$1 {
|
|
1378
1432
|
contextLoader?: DocumentLoader;
|
1379
1433
|
suppressError?: boolean;
|
1380
1434
|
tracerProvider?: TracerProvider;
|
1435
|
+
baseUrl?: URL;
|
1381
1436
|
}): AsyncIterable<Object$1>;
|
1382
1437
|
/**
|
1383
1438
|
* Similar to
|
@@ -1393,6 +1448,7 @@ declare class Activity extends Object$1 {
|
|
1393
1448
|
contextLoader?: DocumentLoader;
|
1394
1449
|
suppressError?: boolean;
|
1395
1450
|
tracerProvider?: TracerProvider;
|
1451
|
+
baseUrl?: URL;
|
1396
1452
|
}): Promise<Object$1 | null>;
|
1397
1453
|
/**
|
1398
1454
|
* Similar to
|
@@ -1408,6 +1464,7 @@ declare class Activity extends Object$1 {
|
|
1408
1464
|
contextLoader?: DocumentLoader;
|
1409
1465
|
suppressError?: boolean;
|
1410
1466
|
tracerProvider?: TracerProvider;
|
1467
|
+
baseUrl?: URL;
|
1411
1468
|
}): AsyncIterable<Object$1>;
|
1412
1469
|
/**
|
1413
1470
|
* Converts this object to a JSON-LD structure.
|
@@ -1440,11 +1497,13 @@ declare class Activity extends Object$1 {
|
|
1440
1497
|
documentLoader?: DocumentLoader;
|
1441
1498
|
contextLoader?: DocumentLoader;
|
1442
1499
|
tracerProvider?: TracerProvider;
|
1500
|
+
baseUrl?: URL;
|
1443
1501
|
}): Promise<Activity>;
|
1444
1502
|
protected static __fromJsonLd__Activity__(json: unknown, span: Span, options?: {
|
1445
1503
|
documentLoader?: DocumentLoader;
|
1446
1504
|
contextLoader?: DocumentLoader;
|
1447
1505
|
tracerProvider?: TracerProvider;
|
1506
|
+
baseUrl?: URL;
|
1448
1507
|
}): Promise<Activity>;
|
1449
1508
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1450
1509
|
}
|
@@ -1455,6 +1514,7 @@ declare class Activity extends Object$1 {
|
|
1455
1514
|
*/
|
1456
1515
|
declare class PropertyValue {
|
1457
1516
|
#private;
|
1517
|
+
protected readonly _baseUrl?: URL;
|
1458
1518
|
readonly id: URL | null;
|
1459
1519
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1460
1520
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -1470,6 +1530,10 @@ declare class PropertyValue {
|
|
1470
1530
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
1471
1531
|
*/
|
1472
1532
|
static get typeId(): URL;
|
1533
|
+
/**
|
1534
|
+
* The base URL used for resolving relative URLs in this object.
|
1535
|
+
*/
|
1536
|
+
get baseUrl(): URL | undefined;
|
1473
1537
|
/**
|
1474
1538
|
* Constructs a new instance of PropertyValue with the given values.
|
1475
1539
|
* @param values The values to initialize the instance with.
|
@@ -1483,6 +1547,7 @@ declare class PropertyValue {
|
|
1483
1547
|
documentLoader?: DocumentLoader;
|
1484
1548
|
contextLoader?: DocumentLoader;
|
1485
1549
|
tracerProvider?: TracerProvider;
|
1550
|
+
baseUrl?: URL;
|
1486
1551
|
});
|
1487
1552
|
/**
|
1488
1553
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1535,11 +1600,13 @@ declare class PropertyValue {
|
|
1535
1600
|
documentLoader?: DocumentLoader;
|
1536
1601
|
contextLoader?: DocumentLoader;
|
1537
1602
|
tracerProvider?: TracerProvider;
|
1603
|
+
baseUrl?: URL;
|
1538
1604
|
}): Promise<PropertyValue>;
|
1539
1605
|
protected static __fromJsonLd__PropertyValue__(json: unknown, span: Span, options?: {
|
1540
1606
|
documentLoader?: DocumentLoader;
|
1541
1607
|
contextLoader?: DocumentLoader;
|
1542
1608
|
tracerProvider?: TracerProvider;
|
1609
|
+
baseUrl?: URL;
|
1543
1610
|
}): Promise<PropertyValue>;
|
1544
1611
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1545
1612
|
}
|
@@ -1550,6 +1617,7 @@ declare class PropertyValue {
|
|
1550
1617
|
*/
|
1551
1618
|
declare class DidService {
|
1552
1619
|
#private;
|
1620
|
+
protected readonly _baseUrl?: URL;
|
1553
1621
|
readonly id: URL | null;
|
1554
1622
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1555
1623
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -1565,6 +1633,10 @@ declare class DidService {
|
|
1565
1633
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
1566
1634
|
*/
|
1567
1635
|
static get typeId(): URL;
|
1636
|
+
/**
|
1637
|
+
* The base URL used for resolving relative URLs in this object.
|
1638
|
+
*/
|
1639
|
+
get baseUrl(): URL | undefined;
|
1568
1640
|
/**
|
1569
1641
|
* Constructs a new instance of DidService with the given values.
|
1570
1642
|
* @param values The values to initialize the instance with.
|
@@ -1578,6 +1650,7 @@ declare class DidService {
|
|
1578
1650
|
documentLoader?: DocumentLoader;
|
1579
1651
|
contextLoader?: DocumentLoader;
|
1580
1652
|
tracerProvider?: TracerProvider;
|
1653
|
+
baseUrl?: URL;
|
1581
1654
|
});
|
1582
1655
|
/**
|
1583
1656
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1632,11 +1705,13 @@ declare class DidService {
|
|
1632
1705
|
documentLoader?: DocumentLoader;
|
1633
1706
|
contextLoader?: DocumentLoader;
|
1634
1707
|
tracerProvider?: TracerProvider;
|
1708
|
+
baseUrl?: URL;
|
1635
1709
|
}): Promise<DidService>;
|
1636
1710
|
protected static __fromJsonLd__DidService__(json: unknown, span: Span, options?: {
|
1637
1711
|
documentLoader?: DocumentLoader;
|
1638
1712
|
contextLoader?: DocumentLoader;
|
1639
1713
|
tracerProvider?: TracerProvider;
|
1714
|
+
baseUrl?: URL;
|
1640
1715
|
}): Promise<DidService>;
|
1641
1716
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1642
1717
|
}
|
@@ -1648,6 +1723,7 @@ declare class DidService {
|
|
1648
1723
|
*/
|
1649
1724
|
declare class DataIntegrityProof {
|
1650
1725
|
#private;
|
1726
|
+
protected readonly _baseUrl?: URL;
|
1651
1727
|
readonly id: URL | null;
|
1652
1728
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1653
1729
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -1663,6 +1739,10 @@ declare class DataIntegrityProof {
|
|
1663
1739
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
1664
1740
|
*/
|
1665
1741
|
static get typeId(): URL;
|
1742
|
+
/**
|
1743
|
+
* The base URL used for resolving relative URLs in this object.
|
1744
|
+
*/
|
1745
|
+
get baseUrl(): URL | undefined;
|
1666
1746
|
/**
|
1667
1747
|
* Constructs a new instance of DataIntegrityProof with the given values.
|
1668
1748
|
* @param values The values to initialize the instance with.
|
@@ -1679,6 +1759,7 @@ declare class DataIntegrityProof {
|
|
1679
1759
|
documentLoader?: DocumentLoader;
|
1680
1760
|
contextLoader?: DocumentLoader;
|
1681
1761
|
tracerProvider?: TracerProvider;
|
1762
|
+
baseUrl?: URL;
|
1682
1763
|
});
|
1683
1764
|
/**
|
1684
1765
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1716,6 +1797,7 @@ declare class DataIntegrityProof {
|
|
1716
1797
|
contextLoader?: DocumentLoader;
|
1717
1798
|
suppressError?: boolean;
|
1718
1799
|
tracerProvider?: TracerProvider;
|
1800
|
+
baseUrl?: URL;
|
1719
1801
|
}): Promise<Multikey | null>;
|
1720
1802
|
/** The reason the proof was created.
|
1721
1803
|
*
|
@@ -1763,11 +1845,13 @@ declare class DataIntegrityProof {
|
|
1763
1845
|
documentLoader?: DocumentLoader;
|
1764
1846
|
contextLoader?: DocumentLoader;
|
1765
1847
|
tracerProvider?: TracerProvider;
|
1848
|
+
baseUrl?: URL;
|
1766
1849
|
}): Promise<DataIntegrityProof>;
|
1767
1850
|
protected static __fromJsonLd__DataIntegrityProof__(json: unknown, span: Span, options?: {
|
1768
1851
|
documentLoader?: DocumentLoader;
|
1769
1852
|
contextLoader?: DocumentLoader;
|
1770
1853
|
tracerProvider?: TracerProvider;
|
1854
|
+
baseUrl?: URL;
|
1771
1855
|
}): Promise<DataIntegrityProof>;
|
1772
1856
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1773
1857
|
}
|
@@ -1775,6 +1859,7 @@ declare class DataIntegrityProof {
|
|
1775
1859
|
*/
|
1776
1860
|
declare class CryptographicKey {
|
1777
1861
|
#private;
|
1862
|
+
protected readonly _baseUrl?: URL;
|
1778
1863
|
readonly id: URL | null;
|
1779
1864
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1780
1865
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -1790,6 +1875,10 @@ declare class CryptographicKey {
|
|
1790
1875
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
1791
1876
|
*/
|
1792
1877
|
static get typeId(): URL;
|
1878
|
+
/**
|
1879
|
+
* The base URL used for resolving relative URLs in this object.
|
1880
|
+
*/
|
1881
|
+
get baseUrl(): URL | undefined;
|
1793
1882
|
/**
|
1794
1883
|
* Constructs a new instance of CryptographicKey with the given values.
|
1795
1884
|
* @param values The values to initialize the instance with.
|
@@ -1803,6 +1892,7 @@ declare class CryptographicKey {
|
|
1803
1892
|
documentLoader?: DocumentLoader;
|
1804
1893
|
contextLoader?: DocumentLoader;
|
1805
1894
|
tracerProvider?: TracerProvider;
|
1895
|
+
baseUrl?: URL;
|
1806
1896
|
});
|
1807
1897
|
/**
|
1808
1898
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1831,6 +1921,7 @@ declare class CryptographicKey {
|
|
1831
1921
|
contextLoader?: DocumentLoader;
|
1832
1922
|
suppressError?: boolean;
|
1833
1923
|
tracerProvider?: TracerProvider;
|
1924
|
+
baseUrl?: URL;
|
1834
1925
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
1835
1926
|
/** A PEM-encoded public key.
|
1836
1927
|
*/
|
@@ -1866,11 +1957,13 @@ declare class CryptographicKey {
|
|
1866
1957
|
documentLoader?: DocumentLoader;
|
1867
1958
|
contextLoader?: DocumentLoader;
|
1868
1959
|
tracerProvider?: TracerProvider;
|
1960
|
+
baseUrl?: URL;
|
1869
1961
|
}): Promise<CryptographicKey>;
|
1870
1962
|
protected static __fromJsonLd__CryptographicKey__(json: unknown, span: Span, options?: {
|
1871
1963
|
documentLoader?: DocumentLoader;
|
1872
1964
|
contextLoader?: DocumentLoader;
|
1873
1965
|
tracerProvider?: TracerProvider;
|
1966
|
+
baseUrl?: URL;
|
1874
1967
|
}): Promise<CryptographicKey>;
|
1875
1968
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1876
1969
|
}
|
@@ -1881,6 +1974,7 @@ declare class CryptographicKey {
|
|
1881
1974
|
*/
|
1882
1975
|
declare class Multikey {
|
1883
1976
|
#private;
|
1977
|
+
protected readonly _baseUrl?: URL;
|
1884
1978
|
readonly id: URL | null;
|
1885
1979
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1886
1980
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -1896,6 +1990,10 @@ declare class Multikey {
|
|
1896
1990
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
1897
1991
|
*/
|
1898
1992
|
static get typeId(): URL;
|
1993
|
+
/**
|
1994
|
+
* The base URL used for resolving relative URLs in this object.
|
1995
|
+
*/
|
1996
|
+
get baseUrl(): URL | undefined;
|
1899
1997
|
/**
|
1900
1998
|
* Constructs a new instance of Multikey with the given values.
|
1901
1999
|
* @param values The values to initialize the instance with.
|
@@ -1909,6 +2007,7 @@ declare class Multikey {
|
|
1909
2007
|
documentLoader?: DocumentLoader;
|
1910
2008
|
contextLoader?: DocumentLoader;
|
1911
2009
|
tracerProvider?: TracerProvider;
|
2010
|
+
baseUrl?: URL;
|
1912
2011
|
});
|
1913
2012
|
/**
|
1914
2013
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1937,6 +2036,7 @@ declare class Multikey {
|
|
1937
2036
|
contextLoader?: DocumentLoader;
|
1938
2037
|
suppressError?: boolean;
|
1939
2038
|
tracerProvider?: TracerProvider;
|
2039
|
+
baseUrl?: URL;
|
1940
2040
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
1941
2041
|
/** A [Multibase]-encoded value of a [Multicodec] prefix and the key.
|
1942
2042
|
*
|
@@ -1975,11 +2075,13 @@ declare class Multikey {
|
|
1975
2075
|
documentLoader?: DocumentLoader;
|
1976
2076
|
contextLoader?: DocumentLoader;
|
1977
2077
|
tracerProvider?: TracerProvider;
|
2078
|
+
baseUrl?: URL;
|
1978
2079
|
}): Promise<Multikey>;
|
1979
2080
|
protected static __fromJsonLd__Multikey__(json: unknown, span: Span, options?: {
|
1980
2081
|
documentLoader?: DocumentLoader;
|
1981
2082
|
contextLoader?: DocumentLoader;
|
1982
2083
|
tracerProvider?: TracerProvider;
|
2084
|
+
baseUrl?: URL;
|
1983
2085
|
}): Promise<Multikey>;
|
1984
2086
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1985
2087
|
}
|
@@ -1996,6 +2098,10 @@ declare class Application extends Object$1 {
|
|
1996
2098
|
* The type URI of {@link Application}: `https://www.w3.org/ns/activitystreams#Application`.
|
1997
2099
|
*/
|
1998
2100
|
static get typeId(): URL;
|
2101
|
+
/**
|
2102
|
+
* The base URL used for resolving relative URLs in this object.
|
2103
|
+
*/
|
2104
|
+
get baseUrl(): URL | undefined;
|
1999
2105
|
/**
|
2000
2106
|
* Constructs a new instance of Application with the given values.
|
2001
2107
|
* @param values The values to initialize the instance with.
|
@@ -2082,6 +2188,7 @@ declare class Application extends Object$1 {
|
|
2082
2188
|
documentLoader?: DocumentLoader;
|
2083
2189
|
contextLoader?: DocumentLoader;
|
2084
2190
|
tracerProvider?: TracerProvider;
|
2191
|
+
baseUrl?: URL;
|
2085
2192
|
});
|
2086
2193
|
/**
|
2087
2194
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2191,6 +2298,7 @@ declare class Application extends Object$1 {
|
|
2191
2298
|
contextLoader?: DocumentLoader;
|
2192
2299
|
suppressError?: boolean;
|
2193
2300
|
tracerProvider?: TracerProvider;
|
2301
|
+
baseUrl?: URL;
|
2194
2302
|
}): Promise<CryptographicKey | null>;
|
2195
2303
|
/**
|
2196
2304
|
* Similar to
|
@@ -2205,6 +2313,7 @@ declare class Application extends Object$1 {
|
|
2205
2313
|
contextLoader?: DocumentLoader;
|
2206
2314
|
suppressError?: boolean;
|
2207
2315
|
tracerProvider?: TracerProvider;
|
2316
|
+
baseUrl?: URL;
|
2208
2317
|
}): AsyncIterable<CryptographicKey>;
|
2209
2318
|
/**
|
2210
2319
|
* Similar to
|
@@ -2222,6 +2331,7 @@ declare class Application extends Object$1 {
|
|
2222
2331
|
contextLoader?: DocumentLoader;
|
2223
2332
|
suppressError?: boolean;
|
2224
2333
|
tracerProvider?: TracerProvider;
|
2334
|
+
baseUrl?: URL;
|
2225
2335
|
}): Promise<Multikey | null>;
|
2226
2336
|
/**
|
2227
2337
|
* Similar to
|
@@ -2239,6 +2349,7 @@ declare class Application extends Object$1 {
|
|
2239
2349
|
contextLoader?: DocumentLoader;
|
2240
2350
|
suppressError?: boolean;
|
2241
2351
|
tracerProvider?: TracerProvider;
|
2352
|
+
baseUrl?: URL;
|
2242
2353
|
}): AsyncIterable<Multikey>;
|
2243
2354
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
2244
2355
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -2273,6 +2384,7 @@ declare class Application extends Object$1 {
|
|
2273
2384
|
contextLoader?: DocumentLoader;
|
2274
2385
|
suppressError?: boolean;
|
2275
2386
|
tracerProvider?: TracerProvider;
|
2387
|
+
baseUrl?: URL;
|
2276
2388
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
2277
2389
|
/**
|
2278
2390
|
* Similar to
|
@@ -2296,6 +2408,7 @@ declare class Application extends Object$1 {
|
|
2296
2408
|
contextLoader?: DocumentLoader;
|
2297
2409
|
suppressError?: boolean;
|
2298
2410
|
tracerProvider?: TracerProvider;
|
2411
|
+
baseUrl?: URL;
|
2299
2412
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
2300
2413
|
/**
|
2301
2414
|
* Similar to
|
@@ -2314,6 +2427,7 @@ declare class Application extends Object$1 {
|
|
2314
2427
|
contextLoader?: DocumentLoader;
|
2315
2428
|
suppressError?: boolean;
|
2316
2429
|
tracerProvider?: TracerProvider;
|
2430
|
+
baseUrl?: URL;
|
2317
2431
|
}): Promise<Collection | null>;
|
2318
2432
|
/**
|
2319
2433
|
* Similar to
|
@@ -2335,6 +2449,7 @@ declare class Application extends Object$1 {
|
|
2335
2449
|
contextLoader?: DocumentLoader;
|
2336
2450
|
suppressError?: boolean;
|
2337
2451
|
tracerProvider?: TracerProvider;
|
2452
|
+
baseUrl?: URL;
|
2338
2453
|
}): Promise<Collection | null>;
|
2339
2454
|
/**
|
2340
2455
|
* Similar to
|
@@ -2354,6 +2469,7 @@ declare class Application extends Object$1 {
|
|
2354
2469
|
contextLoader?: DocumentLoader;
|
2355
2470
|
suppressError?: boolean;
|
2356
2471
|
tracerProvider?: TracerProvider;
|
2472
|
+
baseUrl?: URL;
|
2357
2473
|
}): Promise<Collection | null>;
|
2358
2474
|
/**
|
2359
2475
|
* Similar to
|
@@ -2371,6 +2487,7 @@ declare class Application extends Object$1 {
|
|
2371
2487
|
contextLoader?: DocumentLoader;
|
2372
2488
|
suppressError?: boolean;
|
2373
2489
|
tracerProvider?: TracerProvider;
|
2490
|
+
baseUrl?: URL;
|
2374
2491
|
}): Promise<Collection | null>;
|
2375
2492
|
/**
|
2376
2493
|
* Similar to
|
@@ -2388,6 +2505,7 @@ declare class Application extends Object$1 {
|
|
2388
2505
|
contextLoader?: DocumentLoader;
|
2389
2506
|
suppressError?: boolean;
|
2390
2507
|
tracerProvider?: TracerProvider;
|
2508
|
+
baseUrl?: URL;
|
2391
2509
|
}): Promise<Collection | null>;
|
2392
2510
|
/**
|
2393
2511
|
* Similar to
|
@@ -2402,6 +2520,7 @@ declare class Application extends Object$1 {
|
|
2402
2520
|
contextLoader?: DocumentLoader;
|
2403
2521
|
suppressError?: boolean;
|
2404
2522
|
tracerProvider?: TracerProvider;
|
2523
|
+
baseUrl?: URL;
|
2405
2524
|
}): AsyncIterable<Collection>;
|
2406
2525
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
2407
2526
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -2438,6 +2557,7 @@ declare class Application extends Object$1 {
|
|
2438
2557
|
contextLoader?: DocumentLoader;
|
2439
2558
|
suppressError?: boolean;
|
2440
2559
|
tracerProvider?: TracerProvider;
|
2560
|
+
baseUrl?: URL;
|
2441
2561
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
2442
2562
|
/**
|
2443
2563
|
* Similar to
|
@@ -2455,6 +2575,7 @@ declare class Application extends Object$1 {
|
|
2455
2575
|
contextLoader?: DocumentLoader;
|
2456
2576
|
suppressError?: boolean;
|
2457
2577
|
tracerProvider?: TracerProvider;
|
2578
|
+
baseUrl?: URL;
|
2458
2579
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
2459
2580
|
/**
|
2460
2581
|
* Similar to
|
@@ -2472,6 +2593,7 @@ declare class Application extends Object$1 {
|
|
2472
2593
|
contextLoader?: DocumentLoader;
|
2473
2594
|
suppressError?: boolean;
|
2474
2595
|
tracerProvider?: TracerProvider;
|
2596
|
+
baseUrl?: URL;
|
2475
2597
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
2476
2598
|
/**
|
2477
2599
|
* Similar to
|
@@ -2489,6 +2611,7 @@ declare class Application extends Object$1 {
|
|
2489
2611
|
contextLoader?: DocumentLoader;
|
2490
2612
|
suppressError?: boolean;
|
2491
2613
|
tracerProvider?: TracerProvider;
|
2614
|
+
baseUrl?: URL;
|
2492
2615
|
}): Promise<DidService | null>;
|
2493
2616
|
/**
|
2494
2617
|
* Similar to
|
@@ -2506,6 +2629,7 @@ declare class Application extends Object$1 {
|
|
2506
2629
|
contextLoader?: DocumentLoader;
|
2507
2630
|
suppressError?: boolean;
|
2508
2631
|
tracerProvider?: TracerProvider;
|
2632
|
+
baseUrl?: URL;
|
2509
2633
|
}): AsyncIterable<DidService>;
|
2510
2634
|
/** This value is used for `Actor` type objects to show message on followed.
|
2511
2635
|
*/
|
@@ -2547,11 +2671,13 @@ declare class Application extends Object$1 {
|
|
2547
2671
|
documentLoader?: DocumentLoader;
|
2548
2672
|
contextLoader?: DocumentLoader;
|
2549
2673
|
tracerProvider?: TracerProvider;
|
2674
|
+
baseUrl?: URL;
|
2550
2675
|
}): Promise<Application>;
|
2551
2676
|
protected static __fromJsonLd__Application__(json: unknown, span: Span, options?: {
|
2552
2677
|
documentLoader?: DocumentLoader;
|
2553
2678
|
contextLoader?: DocumentLoader;
|
2554
2679
|
tracerProvider?: TracerProvider;
|
2680
|
+
baseUrl?: URL;
|
2555
2681
|
}): Promise<Application>;
|
2556
2682
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2557
2683
|
}
|
@@ -2568,6 +2694,10 @@ declare class Document extends Object$1 {
|
|
2568
2694
|
* The type URI of {@link Document}: `https://www.w3.org/ns/activitystreams#Document`.
|
2569
2695
|
*/
|
2570
2696
|
static get typeId(): URL;
|
2697
|
+
/**
|
2698
|
+
* The base URL used for resolving relative URLs in this object.
|
2699
|
+
*/
|
2700
|
+
get baseUrl(): URL | undefined;
|
2571
2701
|
/**
|
2572
2702
|
* Constructs a new instance of Document with the given values.
|
2573
2703
|
* @param values The values to initialize the instance with.
|
@@ -2629,6 +2759,7 @@ declare class Document extends Object$1 {
|
|
2629
2759
|
documentLoader?: DocumentLoader;
|
2630
2760
|
contextLoader?: DocumentLoader;
|
2631
2761
|
tracerProvider?: TracerProvider;
|
2762
|
+
baseUrl?: URL;
|
2632
2763
|
});
|
2633
2764
|
/**
|
2634
2765
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2731,11 +2862,13 @@ declare class Document extends Object$1 {
|
|
2731
2862
|
documentLoader?: DocumentLoader;
|
2732
2863
|
contextLoader?: DocumentLoader;
|
2733
2864
|
tracerProvider?: TracerProvider;
|
2865
|
+
baseUrl?: URL;
|
2734
2866
|
}): Promise<Document>;
|
2735
2867
|
protected static __fromJsonLd__Document__(json: unknown, span: Span, options?: {
|
2736
2868
|
documentLoader?: DocumentLoader;
|
2737
2869
|
contextLoader?: DocumentLoader;
|
2738
2870
|
tracerProvider?: TracerProvider;
|
2871
|
+
baseUrl?: URL;
|
2739
2872
|
}): Promise<Document>;
|
2740
2873
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2741
2874
|
}
|
@@ -2754,6 +2887,10 @@ declare class Collection extends Object$1 {
|
|
2754
2887
|
* The type URI of {@link Collection}: `https://www.w3.org/ns/activitystreams#Collection`.
|
2755
2888
|
*/
|
2756
2889
|
static get typeId(): URL;
|
2890
|
+
/**
|
2891
|
+
* The base URL used for resolving relative URLs in this object.
|
2892
|
+
*/
|
2893
|
+
get baseUrl(): URL | undefined;
|
2757
2894
|
/**
|
2758
2895
|
* Constructs a new instance of Collection with the given values.
|
2759
2896
|
* @param values The values to initialize the instance with.
|
@@ -2826,6 +2963,7 @@ declare class Collection extends Object$1 {
|
|
2826
2963
|
documentLoader?: DocumentLoader;
|
2827
2964
|
contextLoader?: DocumentLoader;
|
2828
2965
|
tracerProvider?: TracerProvider;
|
2966
|
+
baseUrl?: URL;
|
2829
2967
|
});
|
2830
2968
|
/**
|
2831
2969
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2919,6 +3057,7 @@ declare class Collection extends Object$1 {
|
|
2919
3057
|
contextLoader?: DocumentLoader;
|
2920
3058
|
suppressError?: boolean;
|
2921
3059
|
tracerProvider?: TracerProvider;
|
3060
|
+
baseUrl?: URL;
|
2922
3061
|
}): Promise<CollectionPage | null>;
|
2923
3062
|
/**
|
2924
3063
|
* Similar to
|
@@ -2934,6 +3073,7 @@ declare class Collection extends Object$1 {
|
|
2934
3073
|
contextLoader?: DocumentLoader;
|
2935
3074
|
suppressError?: boolean;
|
2936
3075
|
tracerProvider?: TracerProvider;
|
3076
|
+
baseUrl?: URL;
|
2937
3077
|
}): Promise<CollectionPage | null>;
|
2938
3078
|
/**
|
2939
3079
|
* Similar to
|
@@ -2949,6 +3089,7 @@ declare class Collection extends Object$1 {
|
|
2949
3089
|
contextLoader?: DocumentLoader;
|
2950
3090
|
suppressError?: boolean;
|
2951
3091
|
tracerProvider?: TracerProvider;
|
3092
|
+
baseUrl?: URL;
|
2952
3093
|
}): Promise<CollectionPage | null>;
|
2953
3094
|
/**
|
2954
3095
|
* Similar to
|
@@ -2964,6 +3105,7 @@ declare class Collection extends Object$1 {
|
|
2964
3105
|
contextLoader?: DocumentLoader;
|
2965
3106
|
suppressError?: boolean;
|
2966
3107
|
tracerProvider?: TracerProvider;
|
3108
|
+
baseUrl?: URL;
|
2967
3109
|
}): AsyncIterable<Object$1 | Link>;
|
2968
3110
|
/**
|
2969
3111
|
* Similar to
|
@@ -2978,6 +3120,7 @@ declare class Collection extends Object$1 {
|
|
2978
3120
|
contextLoader?: DocumentLoader;
|
2979
3121
|
suppressError?: boolean;
|
2980
3122
|
tracerProvider?: TracerProvider;
|
3123
|
+
baseUrl?: URL;
|
2981
3124
|
}): Promise<Object$1 | null>;
|
2982
3125
|
/**
|
2983
3126
|
* Similar to
|
@@ -2992,6 +3135,7 @@ declare class Collection extends Object$1 {
|
|
2992
3135
|
contextLoader?: DocumentLoader;
|
2993
3136
|
suppressError?: boolean;
|
2994
3137
|
tracerProvider?: TracerProvider;
|
3138
|
+
baseUrl?: URL;
|
2995
3139
|
}): Promise<Object$1 | null>;
|
2996
3140
|
/**
|
2997
3141
|
* Similar to
|
@@ -3006,6 +3150,7 @@ declare class Collection extends Object$1 {
|
|
3006
3150
|
contextLoader?: DocumentLoader;
|
3007
3151
|
suppressError?: boolean;
|
3008
3152
|
tracerProvider?: TracerProvider;
|
3153
|
+
baseUrl?: URL;
|
3009
3154
|
}): Promise<Object$1 | null>;
|
3010
3155
|
/**
|
3011
3156
|
* Similar to
|
@@ -3020,6 +3165,7 @@ declare class Collection extends Object$1 {
|
|
3020
3165
|
contextLoader?: DocumentLoader;
|
3021
3166
|
suppressError?: boolean;
|
3022
3167
|
tracerProvider?: TracerProvider;
|
3168
|
+
baseUrl?: URL;
|
3023
3169
|
}): Promise<Object$1 | null>;
|
3024
3170
|
/**
|
3025
3171
|
* Similar to
|
@@ -3034,6 +3180,7 @@ declare class Collection extends Object$1 {
|
|
3034
3180
|
contextLoader?: DocumentLoader;
|
3035
3181
|
suppressError?: boolean;
|
3036
3182
|
tracerProvider?: TracerProvider;
|
3183
|
+
baseUrl?: URL;
|
3037
3184
|
}): Promise<Object$1 | null>;
|
3038
3185
|
/**
|
3039
3186
|
* Similar to
|
@@ -3048,6 +3195,7 @@ declare class Collection extends Object$1 {
|
|
3048
3195
|
contextLoader?: DocumentLoader;
|
3049
3196
|
suppressError?: boolean;
|
3050
3197
|
tracerProvider?: TracerProvider;
|
3198
|
+
baseUrl?: URL;
|
3051
3199
|
}): Promise<Object$1 | null>;
|
3052
3200
|
/**
|
3053
3201
|
* Similar to
|
@@ -3062,6 +3210,7 @@ declare class Collection extends Object$1 {
|
|
3062
3210
|
contextLoader?: DocumentLoader;
|
3063
3211
|
suppressError?: boolean;
|
3064
3212
|
tracerProvider?: TracerProvider;
|
3213
|
+
baseUrl?: URL;
|
3065
3214
|
}): Promise<Object$1 | null>;
|
3066
3215
|
/**
|
3067
3216
|
* Similar to
|
@@ -3076,6 +3225,7 @@ declare class Collection extends Object$1 {
|
|
3076
3225
|
contextLoader?: DocumentLoader;
|
3077
3226
|
suppressError?: boolean;
|
3078
3227
|
tracerProvider?: TracerProvider;
|
3228
|
+
baseUrl?: URL;
|
3079
3229
|
}): Promise<Object$1 | null>;
|
3080
3230
|
/**
|
3081
3231
|
* Converts this object to a JSON-LD structure.
|
@@ -3108,11 +3258,13 @@ declare class Collection extends Object$1 {
|
|
3108
3258
|
documentLoader?: DocumentLoader;
|
3109
3259
|
contextLoader?: DocumentLoader;
|
3110
3260
|
tracerProvider?: TracerProvider;
|
3261
|
+
baseUrl?: URL;
|
3111
3262
|
}): Promise<Collection>;
|
3112
3263
|
protected static __fromJsonLd__Collection__(json: unknown, span: Span, options?: {
|
3113
3264
|
documentLoader?: DocumentLoader;
|
3114
3265
|
contextLoader?: DocumentLoader;
|
3115
3266
|
tracerProvider?: TracerProvider;
|
3267
|
+
baseUrl?: URL;
|
3116
3268
|
}): Promise<Collection>;
|
3117
3269
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3118
3270
|
}
|
@@ -3126,6 +3278,10 @@ declare class CollectionPage extends Collection {
|
|
3126
3278
|
* The type URI of {@link CollectionPage}: `https://www.w3.org/ns/activitystreams#CollectionPage`.
|
3127
3279
|
*/
|
3128
3280
|
static get typeId(): URL;
|
3281
|
+
/**
|
3282
|
+
* The base URL used for resolving relative URLs in this object.
|
3283
|
+
*/
|
3284
|
+
get baseUrl(): URL | undefined;
|
3129
3285
|
/**
|
3130
3286
|
* Constructs a new instance of CollectionPage with the given values.
|
3131
3287
|
* @param values The values to initialize the instance with.
|
@@ -3201,6 +3357,7 @@ declare class CollectionPage extends Collection {
|
|
3201
3357
|
documentLoader?: DocumentLoader;
|
3202
3358
|
contextLoader?: DocumentLoader;
|
3203
3359
|
tracerProvider?: TracerProvider;
|
3360
|
+
baseUrl?: URL;
|
3204
3361
|
});
|
3205
3362
|
/**
|
3206
3363
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3292,6 +3449,7 @@ declare class CollectionPage extends Collection {
|
|
3292
3449
|
contextLoader?: DocumentLoader;
|
3293
3450
|
suppressError?: boolean;
|
3294
3451
|
tracerProvider?: TracerProvider;
|
3452
|
+
baseUrl?: URL;
|
3295
3453
|
}): Promise<Collection | null>;
|
3296
3454
|
/**
|
3297
3455
|
* Similar to
|
@@ -3306,6 +3464,7 @@ declare class CollectionPage extends Collection {
|
|
3306
3464
|
contextLoader?: DocumentLoader;
|
3307
3465
|
suppressError?: boolean;
|
3308
3466
|
tracerProvider?: TracerProvider;
|
3467
|
+
baseUrl?: URL;
|
3309
3468
|
}): Promise<CollectionPage | null>;
|
3310
3469
|
/**
|
3311
3470
|
* Similar to
|
@@ -3320,6 +3479,7 @@ declare class CollectionPage extends Collection {
|
|
3320
3479
|
contextLoader?: DocumentLoader;
|
3321
3480
|
suppressError?: boolean;
|
3322
3481
|
tracerProvider?: TracerProvider;
|
3482
|
+
baseUrl?: URL;
|
3323
3483
|
}): Promise<CollectionPage | null>;
|
3324
3484
|
/**
|
3325
3485
|
* Converts this object to a JSON-LD structure.
|
@@ -3352,11 +3512,13 @@ declare class CollectionPage extends Collection {
|
|
3352
3512
|
documentLoader?: DocumentLoader;
|
3353
3513
|
contextLoader?: DocumentLoader;
|
3354
3514
|
tracerProvider?: TracerProvider;
|
3515
|
+
baseUrl?: URL;
|
3355
3516
|
}): Promise<CollectionPage>;
|
3356
3517
|
protected static __fromJsonLd__CollectionPage__(json: unknown, span: Span, options?: {
|
3357
3518
|
documentLoader?: DocumentLoader;
|
3358
3519
|
contextLoader?: DocumentLoader;
|
3359
3520
|
tracerProvider?: TracerProvider;
|
3521
|
+
baseUrl?: URL;
|
3360
3522
|
}): Promise<CollectionPage>;
|
3361
3523
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3362
3524
|
}
|
@@ -3367,6 +3529,7 @@ declare class CollectionPage extends Collection {
|
|
3367
3529
|
*/
|
3368
3530
|
declare class Endpoints {
|
3369
3531
|
#private;
|
3532
|
+
protected readonly _baseUrl?: URL;
|
3370
3533
|
readonly id: URL | null;
|
3371
3534
|
protected get _documentLoader(): DocumentLoader | undefined;
|
3372
3535
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -3382,6 +3545,10 @@ declare class Endpoints {
|
|
3382
3545
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
3383
3546
|
*/
|
3384
3547
|
static get typeId(): URL;
|
3548
|
+
/**
|
3549
|
+
* The base URL used for resolving relative URLs in this object.
|
3550
|
+
*/
|
3551
|
+
get baseUrl(): URL | undefined;
|
3385
3552
|
/**
|
3386
3553
|
* Constructs a new instance of Endpoints with the given values.
|
3387
3554
|
* @param values The values to initialize the instance with.
|
@@ -3399,6 +3566,7 @@ declare class Endpoints {
|
|
3399
3566
|
documentLoader?: DocumentLoader;
|
3400
3567
|
contextLoader?: DocumentLoader;
|
3401
3568
|
tracerProvider?: TracerProvider;
|
3569
|
+
baseUrl?: URL;
|
3402
3570
|
});
|
3403
3571
|
/**
|
3404
3572
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3490,11 +3658,13 @@ declare class Endpoints {
|
|
3490
3658
|
documentLoader?: DocumentLoader;
|
3491
3659
|
contextLoader?: DocumentLoader;
|
3492
3660
|
tracerProvider?: TracerProvider;
|
3661
|
+
baseUrl?: URL;
|
3493
3662
|
}): Promise<Endpoints>;
|
3494
3663
|
protected static __fromJsonLd__Endpoints__(json: unknown, span: Span, options?: {
|
3495
3664
|
documentLoader?: DocumentLoader;
|
3496
3665
|
contextLoader?: DocumentLoader;
|
3497
3666
|
tracerProvider?: TracerProvider;
|
3667
|
+
baseUrl?: URL;
|
3498
3668
|
}): Promise<Endpoints>;
|
3499
3669
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3500
3670
|
}
|
@@ -3509,6 +3679,10 @@ declare class Group extends Object$1 {
|
|
3509
3679
|
* The type URI of {@link Group}: `https://www.w3.org/ns/activitystreams#Group`.
|
3510
3680
|
*/
|
3511
3681
|
static get typeId(): URL;
|
3682
|
+
/**
|
3683
|
+
* The base URL used for resolving relative URLs in this object.
|
3684
|
+
*/
|
3685
|
+
get baseUrl(): URL | undefined;
|
3512
3686
|
/**
|
3513
3687
|
* Constructs a new instance of Group with the given values.
|
3514
3688
|
* @param values The values to initialize the instance with.
|
@@ -3595,6 +3769,7 @@ declare class Group extends Object$1 {
|
|
3595
3769
|
documentLoader?: DocumentLoader;
|
3596
3770
|
contextLoader?: DocumentLoader;
|
3597
3771
|
tracerProvider?: TracerProvider;
|
3772
|
+
baseUrl?: URL;
|
3598
3773
|
});
|
3599
3774
|
/**
|
3600
3775
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3704,6 +3879,7 @@ declare class Group extends Object$1 {
|
|
3704
3879
|
contextLoader?: DocumentLoader;
|
3705
3880
|
suppressError?: boolean;
|
3706
3881
|
tracerProvider?: TracerProvider;
|
3882
|
+
baseUrl?: URL;
|
3707
3883
|
}): Promise<CryptographicKey | null>;
|
3708
3884
|
/**
|
3709
3885
|
* Similar to
|
@@ -3718,6 +3894,7 @@ declare class Group extends Object$1 {
|
|
3718
3894
|
contextLoader?: DocumentLoader;
|
3719
3895
|
suppressError?: boolean;
|
3720
3896
|
tracerProvider?: TracerProvider;
|
3897
|
+
baseUrl?: URL;
|
3721
3898
|
}): AsyncIterable<CryptographicKey>;
|
3722
3899
|
/**
|
3723
3900
|
* Similar to
|
@@ -3735,6 +3912,7 @@ declare class Group extends Object$1 {
|
|
3735
3912
|
contextLoader?: DocumentLoader;
|
3736
3913
|
suppressError?: boolean;
|
3737
3914
|
tracerProvider?: TracerProvider;
|
3915
|
+
baseUrl?: URL;
|
3738
3916
|
}): Promise<Multikey | null>;
|
3739
3917
|
/**
|
3740
3918
|
* Similar to
|
@@ -3752,6 +3930,7 @@ declare class Group extends Object$1 {
|
|
3752
3930
|
contextLoader?: DocumentLoader;
|
3753
3931
|
suppressError?: boolean;
|
3754
3932
|
tracerProvider?: TracerProvider;
|
3933
|
+
baseUrl?: URL;
|
3755
3934
|
}): AsyncIterable<Multikey>;
|
3756
3935
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
3757
3936
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -3786,6 +3965,7 @@ declare class Group extends Object$1 {
|
|
3786
3965
|
contextLoader?: DocumentLoader;
|
3787
3966
|
suppressError?: boolean;
|
3788
3967
|
tracerProvider?: TracerProvider;
|
3968
|
+
baseUrl?: URL;
|
3789
3969
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
3790
3970
|
/**
|
3791
3971
|
* Similar to
|
@@ -3809,6 +3989,7 @@ declare class Group extends Object$1 {
|
|
3809
3989
|
contextLoader?: DocumentLoader;
|
3810
3990
|
suppressError?: boolean;
|
3811
3991
|
tracerProvider?: TracerProvider;
|
3992
|
+
baseUrl?: URL;
|
3812
3993
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
3813
3994
|
/**
|
3814
3995
|
* Similar to
|
@@ -3827,6 +4008,7 @@ declare class Group extends Object$1 {
|
|
3827
4008
|
contextLoader?: DocumentLoader;
|
3828
4009
|
suppressError?: boolean;
|
3829
4010
|
tracerProvider?: TracerProvider;
|
4011
|
+
baseUrl?: URL;
|
3830
4012
|
}): Promise<Collection | null>;
|
3831
4013
|
/**
|
3832
4014
|
* Similar to
|
@@ -3848,6 +4030,7 @@ declare class Group extends Object$1 {
|
|
3848
4030
|
contextLoader?: DocumentLoader;
|
3849
4031
|
suppressError?: boolean;
|
3850
4032
|
tracerProvider?: TracerProvider;
|
4033
|
+
baseUrl?: URL;
|
3851
4034
|
}): Promise<Collection | null>;
|
3852
4035
|
/**
|
3853
4036
|
* Similar to
|
@@ -3867,6 +4050,7 @@ declare class Group extends Object$1 {
|
|
3867
4050
|
contextLoader?: DocumentLoader;
|
3868
4051
|
suppressError?: boolean;
|
3869
4052
|
tracerProvider?: TracerProvider;
|
4053
|
+
baseUrl?: URL;
|
3870
4054
|
}): Promise<Collection | null>;
|
3871
4055
|
/**
|
3872
4056
|
* Similar to
|
@@ -3884,6 +4068,7 @@ declare class Group extends Object$1 {
|
|
3884
4068
|
contextLoader?: DocumentLoader;
|
3885
4069
|
suppressError?: boolean;
|
3886
4070
|
tracerProvider?: TracerProvider;
|
4071
|
+
baseUrl?: URL;
|
3887
4072
|
}): Promise<Collection | null>;
|
3888
4073
|
/**
|
3889
4074
|
* Similar to
|
@@ -3901,6 +4086,7 @@ declare class Group extends Object$1 {
|
|
3901
4086
|
contextLoader?: DocumentLoader;
|
3902
4087
|
suppressError?: boolean;
|
3903
4088
|
tracerProvider?: TracerProvider;
|
4089
|
+
baseUrl?: URL;
|
3904
4090
|
}): Promise<Collection | null>;
|
3905
4091
|
/**
|
3906
4092
|
* Similar to
|
@@ -3915,6 +4101,7 @@ declare class Group extends Object$1 {
|
|
3915
4101
|
contextLoader?: DocumentLoader;
|
3916
4102
|
suppressError?: boolean;
|
3917
4103
|
tracerProvider?: TracerProvider;
|
4104
|
+
baseUrl?: URL;
|
3918
4105
|
}): AsyncIterable<Collection>;
|
3919
4106
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
3920
4107
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -3951,6 +4138,7 @@ declare class Group extends Object$1 {
|
|
3951
4138
|
contextLoader?: DocumentLoader;
|
3952
4139
|
suppressError?: boolean;
|
3953
4140
|
tracerProvider?: TracerProvider;
|
4141
|
+
baseUrl?: URL;
|
3954
4142
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
3955
4143
|
/**
|
3956
4144
|
* Similar to
|
@@ -3968,6 +4156,7 @@ declare class Group extends Object$1 {
|
|
3968
4156
|
contextLoader?: DocumentLoader;
|
3969
4157
|
suppressError?: boolean;
|
3970
4158
|
tracerProvider?: TracerProvider;
|
4159
|
+
baseUrl?: URL;
|
3971
4160
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
3972
4161
|
/**
|
3973
4162
|
* Similar to
|
@@ -3985,6 +4174,7 @@ declare class Group extends Object$1 {
|
|
3985
4174
|
contextLoader?: DocumentLoader;
|
3986
4175
|
suppressError?: boolean;
|
3987
4176
|
tracerProvider?: TracerProvider;
|
4177
|
+
baseUrl?: URL;
|
3988
4178
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
3989
4179
|
/**
|
3990
4180
|
* Similar to
|
@@ -4002,6 +4192,7 @@ declare class Group extends Object$1 {
|
|
4002
4192
|
contextLoader?: DocumentLoader;
|
4003
4193
|
suppressError?: boolean;
|
4004
4194
|
tracerProvider?: TracerProvider;
|
4195
|
+
baseUrl?: URL;
|
4005
4196
|
}): Promise<DidService | null>;
|
4006
4197
|
/**
|
4007
4198
|
* Similar to
|
@@ -4019,6 +4210,7 @@ declare class Group extends Object$1 {
|
|
4019
4210
|
contextLoader?: DocumentLoader;
|
4020
4211
|
suppressError?: boolean;
|
4021
4212
|
tracerProvider?: TracerProvider;
|
4213
|
+
baseUrl?: URL;
|
4022
4214
|
}): AsyncIterable<DidService>;
|
4023
4215
|
/** This value is used for `Actor` type objects to show message on followed.
|
4024
4216
|
*/
|
@@ -4060,11 +4252,13 @@ declare class Group extends Object$1 {
|
|
4060
4252
|
documentLoader?: DocumentLoader;
|
4061
4253
|
contextLoader?: DocumentLoader;
|
4062
4254
|
tracerProvider?: TracerProvider;
|
4255
|
+
baseUrl?: URL;
|
4063
4256
|
}): Promise<Group>;
|
4064
4257
|
protected static __fromJsonLd__Group__(json: unknown, span: Span, options?: {
|
4065
4258
|
documentLoader?: DocumentLoader;
|
4066
4259
|
contextLoader?: DocumentLoader;
|
4067
4260
|
tracerProvider?: TracerProvider;
|
4261
|
+
baseUrl?: URL;
|
4068
4262
|
}): Promise<Group>;
|
4069
4263
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4070
4264
|
}
|
@@ -4079,6 +4273,7 @@ declare class Group extends Object$1 {
|
|
4079
4273
|
*/
|
4080
4274
|
declare class Link {
|
4081
4275
|
#private;
|
4276
|
+
protected readonly _baseUrl?: URL;
|
4082
4277
|
readonly id: URL | null;
|
4083
4278
|
protected get _documentLoader(): DocumentLoader | undefined;
|
4084
4279
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -4094,6 +4289,10 @@ declare class Link {
|
|
4094
4289
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
4095
4290
|
*/
|
4096
4291
|
static get typeId(): URL;
|
4292
|
+
/**
|
4293
|
+
* The base URL used for resolving relative URLs in this object.
|
4294
|
+
*/
|
4295
|
+
get baseUrl(): URL | undefined;
|
4097
4296
|
/**
|
4098
4297
|
* Constructs a new instance of Link with the given values.
|
4099
4298
|
* @param values The values to initialize the instance with.
|
@@ -4115,6 +4314,7 @@ declare class Link {
|
|
4115
4314
|
documentLoader?: DocumentLoader;
|
4116
4315
|
contextLoader?: DocumentLoader;
|
4117
4316
|
tracerProvider?: TracerProvider;
|
4317
|
+
baseUrl?: URL;
|
4118
4318
|
});
|
4119
4319
|
/**
|
4120
4320
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4196,6 +4396,7 @@ declare class Link {
|
|
4196
4396
|
contextLoader?: DocumentLoader;
|
4197
4397
|
suppressError?: boolean;
|
4198
4398
|
tracerProvider?: TracerProvider;
|
4399
|
+
baseUrl?: URL;
|
4199
4400
|
}): AsyncIterable<Link | Object$1>;
|
4200
4401
|
/**
|
4201
4402
|
* Converts this object to a JSON-LD structure.
|
@@ -4228,11 +4429,13 @@ declare class Link {
|
|
4228
4429
|
documentLoader?: DocumentLoader;
|
4229
4430
|
contextLoader?: DocumentLoader;
|
4230
4431
|
tracerProvider?: TracerProvider;
|
4432
|
+
baseUrl?: URL;
|
4231
4433
|
}): Promise<Link>;
|
4232
4434
|
protected static __fromJsonLd__Link__(json: unknown, span: Span, options?: {
|
4233
4435
|
documentLoader?: DocumentLoader;
|
4234
4436
|
contextLoader?: DocumentLoader;
|
4235
4437
|
tracerProvider?: TracerProvider;
|
4438
|
+
baseUrl?: URL;
|
4236
4439
|
}): Promise<Link>;
|
4237
4440
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4238
4441
|
}
|
@@ -4245,6 +4448,10 @@ declare class Hashtag extends Link {
|
|
4245
4448
|
* The type URI of {@link Hashtag}: `https://www.w3.org/ns/activitystreams#Hashtag`.
|
4246
4449
|
*/
|
4247
4450
|
static get typeId(): URL;
|
4451
|
+
/**
|
4452
|
+
* The base URL used for resolving relative URLs in this object.
|
4453
|
+
*/
|
4454
|
+
get baseUrl(): URL | undefined;
|
4248
4455
|
/**
|
4249
4456
|
* Constructs a new instance of Hashtag with the given values.
|
4250
4457
|
* @param values The values to initialize the instance with.
|
@@ -4266,6 +4473,7 @@ declare class Hashtag extends Link {
|
|
4266
4473
|
documentLoader?: DocumentLoader;
|
4267
4474
|
contextLoader?: DocumentLoader;
|
4268
4475
|
tracerProvider?: TracerProvider;
|
4476
|
+
baseUrl?: URL;
|
4269
4477
|
});
|
4270
4478
|
/**
|
4271
4479
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4320,11 +4528,13 @@ declare class Hashtag extends Link {
|
|
4320
4528
|
documentLoader?: DocumentLoader;
|
4321
4529
|
contextLoader?: DocumentLoader;
|
4322
4530
|
tracerProvider?: TracerProvider;
|
4531
|
+
baseUrl?: URL;
|
4323
4532
|
}): Promise<Hashtag>;
|
4324
4533
|
protected static __fromJsonLd__Hashtag__(json: unknown, span: Span, options?: {
|
4325
4534
|
documentLoader?: DocumentLoader;
|
4326
4535
|
contextLoader?: DocumentLoader;
|
4327
4536
|
tracerProvider?: TracerProvider;
|
4537
|
+
baseUrl?: URL;
|
4328
4538
|
}): Promise<Hashtag>;
|
4329
4539
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4330
4540
|
}
|
@@ -4335,6 +4545,10 @@ declare class Image extends Document {
|
|
4335
4545
|
* The type URI of {@link Image}: `https://www.w3.org/ns/activitystreams#Image`.
|
4336
4546
|
*/
|
4337
4547
|
static get typeId(): URL;
|
4548
|
+
/**
|
4549
|
+
* The base URL used for resolving relative URLs in this object.
|
4550
|
+
*/
|
4551
|
+
get baseUrl(): URL | undefined;
|
4338
4552
|
/**
|
4339
4553
|
* Constructs a new instance of Image with the given values.
|
4340
4554
|
* @param values The values to initialize the instance with.
|
@@ -4396,6 +4610,7 @@ declare class Image extends Document {
|
|
4396
4610
|
documentLoader?: DocumentLoader;
|
4397
4611
|
contextLoader?: DocumentLoader;
|
4398
4612
|
tracerProvider?: TracerProvider;
|
4613
|
+
baseUrl?: URL;
|
4399
4614
|
});
|
4400
4615
|
/**
|
4401
4616
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4490,11 +4705,13 @@ declare class Image extends Document {
|
|
4490
4705
|
documentLoader?: DocumentLoader;
|
4491
4706
|
contextLoader?: DocumentLoader;
|
4492
4707
|
tracerProvider?: TracerProvider;
|
4708
|
+
baseUrl?: URL;
|
4493
4709
|
}): Promise<Image>;
|
4494
4710
|
protected static __fromJsonLd__Image__(json: unknown, span: Span, options?: {
|
4495
4711
|
documentLoader?: DocumentLoader;
|
4496
4712
|
contextLoader?: DocumentLoader;
|
4497
4713
|
tracerProvider?: TracerProvider;
|
4714
|
+
baseUrl?: URL;
|
4498
4715
|
}): Promise<Image>;
|
4499
4716
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4500
4717
|
}
|
@@ -4512,6 +4729,10 @@ declare class OrderedCollection extends Collection {
|
|
4512
4729
|
* The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
|
4513
4730
|
*/
|
4514
4731
|
static get typeId(): URL;
|
4732
|
+
/**
|
4733
|
+
* The base URL used for resolving relative URLs in this object.
|
4734
|
+
*/
|
4735
|
+
get baseUrl(): URL | undefined;
|
4515
4736
|
/**
|
4516
4737
|
* Constructs a new instance of OrderedCollection with the given values.
|
4517
4738
|
* @param values The values to initialize the instance with.
|
@@ -4584,6 +4805,7 @@ declare class OrderedCollection extends Collection {
|
|
4584
4805
|
documentLoader?: DocumentLoader;
|
4585
4806
|
contextLoader?: DocumentLoader;
|
4586
4807
|
tracerProvider?: TracerProvider;
|
4808
|
+
baseUrl?: URL;
|
4587
4809
|
});
|
4588
4810
|
/**
|
4589
4811
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4672,6 +4894,7 @@ declare class OrderedCollection extends Collection {
|
|
4672
4894
|
contextLoader?: DocumentLoader;
|
4673
4895
|
suppressError?: boolean;
|
4674
4896
|
tracerProvider?: TracerProvider;
|
4897
|
+
baseUrl?: URL;
|
4675
4898
|
}): AsyncIterable<Object$1 | Link>;
|
4676
4899
|
/**
|
4677
4900
|
* Converts this object to a JSON-LD structure.
|
@@ -4704,11 +4927,13 @@ declare class OrderedCollection extends Collection {
|
|
4704
4927
|
documentLoader?: DocumentLoader;
|
4705
4928
|
contextLoader?: DocumentLoader;
|
4706
4929
|
tracerProvider?: TracerProvider;
|
4930
|
+
baseUrl?: URL;
|
4707
4931
|
}): Promise<OrderedCollection>;
|
4708
4932
|
protected static __fromJsonLd__OrderedCollection__(json: unknown, span: Span, options?: {
|
4709
4933
|
documentLoader?: DocumentLoader;
|
4710
4934
|
contextLoader?: DocumentLoader;
|
4711
4935
|
tracerProvider?: TracerProvider;
|
4936
|
+
baseUrl?: URL;
|
4712
4937
|
}): Promise<OrderedCollection>;
|
4713
4938
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4714
4939
|
}
|
@@ -4722,6 +4947,10 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
4722
4947
|
* The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
|
4723
4948
|
*/
|
4724
4949
|
static get typeId(): URL;
|
4950
|
+
/**
|
4951
|
+
* The base URL used for resolving relative URLs in this object.
|
4952
|
+
*/
|
4953
|
+
get baseUrl(): URL | undefined;
|
4725
4954
|
/**
|
4726
4955
|
* Constructs a new instance of OrderedCollectionPage with the given values.
|
4727
4956
|
* @param values The values to initialize the instance with.
|
@@ -4798,6 +5027,7 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
4798
5027
|
documentLoader?: DocumentLoader;
|
4799
5028
|
contextLoader?: DocumentLoader;
|
4800
5029
|
tracerProvider?: TracerProvider;
|
5030
|
+
baseUrl?: URL;
|
4801
5031
|
});
|
4802
5032
|
/**
|
4803
5033
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4890,6 +5120,7 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
4890
5120
|
contextLoader?: DocumentLoader;
|
4891
5121
|
suppressError?: boolean;
|
4892
5122
|
tracerProvider?: TracerProvider;
|
5123
|
+
baseUrl?: URL;
|
4893
5124
|
}): AsyncIterable<Object$1 | Link>;
|
4894
5125
|
/** A non-negative integer value identifying the relative position within
|
4895
5126
|
* the logical view of a strictly ordered collection.
|
@@ -4926,11 +5157,13 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
4926
5157
|
documentLoader?: DocumentLoader;
|
4927
5158
|
contextLoader?: DocumentLoader;
|
4928
5159
|
tracerProvider?: TracerProvider;
|
5160
|
+
baseUrl?: URL;
|
4929
5161
|
}): Promise<OrderedCollectionPage>;
|
4930
5162
|
protected static __fromJsonLd__OrderedCollectionPage__(json: unknown, span: Span, options?: {
|
4931
5163
|
documentLoader?: DocumentLoader;
|
4932
5164
|
contextLoader?: DocumentLoader;
|
4933
5165
|
tracerProvider?: TracerProvider;
|
5166
|
+
baseUrl?: URL;
|
4934
5167
|
}): Promise<OrderedCollectionPage>;
|
4935
5168
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4936
5169
|
}
|
@@ -4942,6 +5175,10 @@ declare class Organization extends Object$1 {
|
|
4942
5175
|
* The type URI of {@link Organization}: `https://www.w3.org/ns/activitystreams#Organization`.
|
4943
5176
|
*/
|
4944
5177
|
static get typeId(): URL;
|
5178
|
+
/**
|
5179
|
+
* The base URL used for resolving relative URLs in this object.
|
5180
|
+
*/
|
5181
|
+
get baseUrl(): URL | undefined;
|
4945
5182
|
/**
|
4946
5183
|
* Constructs a new instance of Organization with the given values.
|
4947
5184
|
* @param values The values to initialize the instance with.
|
@@ -5028,6 +5265,7 @@ declare class Organization extends Object$1 {
|
|
5028
5265
|
documentLoader?: DocumentLoader;
|
5029
5266
|
contextLoader?: DocumentLoader;
|
5030
5267
|
tracerProvider?: TracerProvider;
|
5268
|
+
baseUrl?: URL;
|
5031
5269
|
});
|
5032
5270
|
/**
|
5033
5271
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5137,6 +5375,7 @@ declare class Organization extends Object$1 {
|
|
5137
5375
|
contextLoader?: DocumentLoader;
|
5138
5376
|
suppressError?: boolean;
|
5139
5377
|
tracerProvider?: TracerProvider;
|
5378
|
+
baseUrl?: URL;
|
5140
5379
|
}): Promise<CryptographicKey | null>;
|
5141
5380
|
/**
|
5142
5381
|
* Similar to
|
@@ -5151,6 +5390,7 @@ declare class Organization extends Object$1 {
|
|
5151
5390
|
contextLoader?: DocumentLoader;
|
5152
5391
|
suppressError?: boolean;
|
5153
5392
|
tracerProvider?: TracerProvider;
|
5393
|
+
baseUrl?: URL;
|
5154
5394
|
}): AsyncIterable<CryptographicKey>;
|
5155
5395
|
/**
|
5156
5396
|
* Similar to
|
@@ -5168,6 +5408,7 @@ declare class Organization extends Object$1 {
|
|
5168
5408
|
contextLoader?: DocumentLoader;
|
5169
5409
|
suppressError?: boolean;
|
5170
5410
|
tracerProvider?: TracerProvider;
|
5411
|
+
baseUrl?: URL;
|
5171
5412
|
}): Promise<Multikey | null>;
|
5172
5413
|
/**
|
5173
5414
|
* Similar to
|
@@ -5185,6 +5426,7 @@ declare class Organization extends Object$1 {
|
|
5185
5426
|
contextLoader?: DocumentLoader;
|
5186
5427
|
suppressError?: boolean;
|
5187
5428
|
tracerProvider?: TracerProvider;
|
5429
|
+
baseUrl?: URL;
|
5188
5430
|
}): AsyncIterable<Multikey>;
|
5189
5431
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
5190
5432
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -5219,6 +5461,7 @@ declare class Organization extends Object$1 {
|
|
5219
5461
|
contextLoader?: DocumentLoader;
|
5220
5462
|
suppressError?: boolean;
|
5221
5463
|
tracerProvider?: TracerProvider;
|
5464
|
+
baseUrl?: URL;
|
5222
5465
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
5223
5466
|
/**
|
5224
5467
|
* Similar to
|
@@ -5242,6 +5485,7 @@ declare class Organization extends Object$1 {
|
|
5242
5485
|
contextLoader?: DocumentLoader;
|
5243
5486
|
suppressError?: boolean;
|
5244
5487
|
tracerProvider?: TracerProvider;
|
5488
|
+
baseUrl?: URL;
|
5245
5489
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
5246
5490
|
/**
|
5247
5491
|
* Similar to
|
@@ -5260,6 +5504,7 @@ declare class Organization extends Object$1 {
|
|
5260
5504
|
contextLoader?: DocumentLoader;
|
5261
5505
|
suppressError?: boolean;
|
5262
5506
|
tracerProvider?: TracerProvider;
|
5507
|
+
baseUrl?: URL;
|
5263
5508
|
}): Promise<Collection | null>;
|
5264
5509
|
/**
|
5265
5510
|
* Similar to
|
@@ -5281,6 +5526,7 @@ declare class Organization extends Object$1 {
|
|
5281
5526
|
contextLoader?: DocumentLoader;
|
5282
5527
|
suppressError?: boolean;
|
5283
5528
|
tracerProvider?: TracerProvider;
|
5529
|
+
baseUrl?: URL;
|
5284
5530
|
}): Promise<Collection | null>;
|
5285
5531
|
/**
|
5286
5532
|
* Similar to
|
@@ -5300,6 +5546,7 @@ declare class Organization extends Object$1 {
|
|
5300
5546
|
contextLoader?: DocumentLoader;
|
5301
5547
|
suppressError?: boolean;
|
5302
5548
|
tracerProvider?: TracerProvider;
|
5549
|
+
baseUrl?: URL;
|
5303
5550
|
}): Promise<Collection | null>;
|
5304
5551
|
/**
|
5305
5552
|
* Similar to
|
@@ -5317,6 +5564,7 @@ declare class Organization extends Object$1 {
|
|
5317
5564
|
contextLoader?: DocumentLoader;
|
5318
5565
|
suppressError?: boolean;
|
5319
5566
|
tracerProvider?: TracerProvider;
|
5567
|
+
baseUrl?: URL;
|
5320
5568
|
}): Promise<Collection | null>;
|
5321
5569
|
/**
|
5322
5570
|
* Similar to
|
@@ -5334,6 +5582,7 @@ declare class Organization extends Object$1 {
|
|
5334
5582
|
contextLoader?: DocumentLoader;
|
5335
5583
|
suppressError?: boolean;
|
5336
5584
|
tracerProvider?: TracerProvider;
|
5585
|
+
baseUrl?: URL;
|
5337
5586
|
}): Promise<Collection | null>;
|
5338
5587
|
/**
|
5339
5588
|
* Similar to
|
@@ -5348,6 +5597,7 @@ declare class Organization extends Object$1 {
|
|
5348
5597
|
contextLoader?: DocumentLoader;
|
5349
5598
|
suppressError?: boolean;
|
5350
5599
|
tracerProvider?: TracerProvider;
|
5600
|
+
baseUrl?: URL;
|
5351
5601
|
}): AsyncIterable<Collection>;
|
5352
5602
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
5353
5603
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -5384,6 +5634,7 @@ declare class Organization extends Object$1 {
|
|
5384
5634
|
contextLoader?: DocumentLoader;
|
5385
5635
|
suppressError?: boolean;
|
5386
5636
|
tracerProvider?: TracerProvider;
|
5637
|
+
baseUrl?: URL;
|
5387
5638
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
5388
5639
|
/**
|
5389
5640
|
* Similar to
|
@@ -5401,6 +5652,7 @@ declare class Organization extends Object$1 {
|
|
5401
5652
|
contextLoader?: DocumentLoader;
|
5402
5653
|
suppressError?: boolean;
|
5403
5654
|
tracerProvider?: TracerProvider;
|
5655
|
+
baseUrl?: URL;
|
5404
5656
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
5405
5657
|
/**
|
5406
5658
|
* Similar to
|
@@ -5418,6 +5670,7 @@ declare class Organization extends Object$1 {
|
|
5418
5670
|
contextLoader?: DocumentLoader;
|
5419
5671
|
suppressError?: boolean;
|
5420
5672
|
tracerProvider?: TracerProvider;
|
5673
|
+
baseUrl?: URL;
|
5421
5674
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
5422
5675
|
/**
|
5423
5676
|
* Similar to
|
@@ -5435,6 +5688,7 @@ declare class Organization extends Object$1 {
|
|
5435
5688
|
contextLoader?: DocumentLoader;
|
5436
5689
|
suppressError?: boolean;
|
5437
5690
|
tracerProvider?: TracerProvider;
|
5691
|
+
baseUrl?: URL;
|
5438
5692
|
}): Promise<DidService | null>;
|
5439
5693
|
/**
|
5440
5694
|
* Similar to
|
@@ -5452,6 +5706,7 @@ declare class Organization extends Object$1 {
|
|
5452
5706
|
contextLoader?: DocumentLoader;
|
5453
5707
|
suppressError?: boolean;
|
5454
5708
|
tracerProvider?: TracerProvider;
|
5709
|
+
baseUrl?: URL;
|
5455
5710
|
}): AsyncIterable<DidService>;
|
5456
5711
|
/** This value is used for `Actor` type objects to show message on followed.
|
5457
5712
|
*/
|
@@ -5493,11 +5748,13 @@ declare class Organization extends Object$1 {
|
|
5493
5748
|
documentLoader?: DocumentLoader;
|
5494
5749
|
contextLoader?: DocumentLoader;
|
5495
5750
|
tracerProvider?: TracerProvider;
|
5751
|
+
baseUrl?: URL;
|
5496
5752
|
}): Promise<Organization>;
|
5497
5753
|
protected static __fromJsonLd__Organization__(json: unknown, span: Span, options?: {
|
5498
5754
|
documentLoader?: DocumentLoader;
|
5499
5755
|
contextLoader?: DocumentLoader;
|
5500
5756
|
tracerProvider?: TracerProvider;
|
5757
|
+
baseUrl?: URL;
|
5501
5758
|
}): Promise<Organization>;
|
5502
5759
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5503
5760
|
}
|
@@ -5512,6 +5769,10 @@ declare class Person extends Object$1 {
|
|
5512
5769
|
* The type URI of {@link Person}: `https://www.w3.org/ns/activitystreams#Person`.
|
5513
5770
|
*/
|
5514
5771
|
static get typeId(): URL;
|
5772
|
+
/**
|
5773
|
+
* The base URL used for resolving relative URLs in this object.
|
5774
|
+
*/
|
5775
|
+
get baseUrl(): URL | undefined;
|
5515
5776
|
/**
|
5516
5777
|
* Constructs a new instance of Person with the given values.
|
5517
5778
|
* @param values The values to initialize the instance with.
|
@@ -5598,6 +5859,7 @@ declare class Person extends Object$1 {
|
|
5598
5859
|
documentLoader?: DocumentLoader;
|
5599
5860
|
contextLoader?: DocumentLoader;
|
5600
5861
|
tracerProvider?: TracerProvider;
|
5862
|
+
baseUrl?: URL;
|
5601
5863
|
});
|
5602
5864
|
/**
|
5603
5865
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5707,6 +5969,7 @@ declare class Person extends Object$1 {
|
|
5707
5969
|
contextLoader?: DocumentLoader;
|
5708
5970
|
suppressError?: boolean;
|
5709
5971
|
tracerProvider?: TracerProvider;
|
5972
|
+
baseUrl?: URL;
|
5710
5973
|
}): Promise<CryptographicKey | null>;
|
5711
5974
|
/**
|
5712
5975
|
* Similar to
|
@@ -5721,6 +5984,7 @@ declare class Person extends Object$1 {
|
|
5721
5984
|
contextLoader?: DocumentLoader;
|
5722
5985
|
suppressError?: boolean;
|
5723
5986
|
tracerProvider?: TracerProvider;
|
5987
|
+
baseUrl?: URL;
|
5724
5988
|
}): AsyncIterable<CryptographicKey>;
|
5725
5989
|
/**
|
5726
5990
|
* Similar to
|
@@ -5738,6 +6002,7 @@ declare class Person extends Object$1 {
|
|
5738
6002
|
contextLoader?: DocumentLoader;
|
5739
6003
|
suppressError?: boolean;
|
5740
6004
|
tracerProvider?: TracerProvider;
|
6005
|
+
baseUrl?: URL;
|
5741
6006
|
}): Promise<Multikey | null>;
|
5742
6007
|
/**
|
5743
6008
|
* Similar to
|
@@ -5755,6 +6020,7 @@ declare class Person extends Object$1 {
|
|
5755
6020
|
contextLoader?: DocumentLoader;
|
5756
6021
|
suppressError?: boolean;
|
5757
6022
|
tracerProvider?: TracerProvider;
|
6023
|
+
baseUrl?: URL;
|
5758
6024
|
}): AsyncIterable<Multikey>;
|
5759
6025
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
5760
6026
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -5789,6 +6055,7 @@ declare class Person extends Object$1 {
|
|
5789
6055
|
contextLoader?: DocumentLoader;
|
5790
6056
|
suppressError?: boolean;
|
5791
6057
|
tracerProvider?: TracerProvider;
|
6058
|
+
baseUrl?: URL;
|
5792
6059
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
5793
6060
|
/**
|
5794
6061
|
* Similar to
|
@@ -5812,6 +6079,7 @@ declare class Person extends Object$1 {
|
|
5812
6079
|
contextLoader?: DocumentLoader;
|
5813
6080
|
suppressError?: boolean;
|
5814
6081
|
tracerProvider?: TracerProvider;
|
6082
|
+
baseUrl?: URL;
|
5815
6083
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
5816
6084
|
/**
|
5817
6085
|
* Similar to
|
@@ -5830,6 +6098,7 @@ declare class Person extends Object$1 {
|
|
5830
6098
|
contextLoader?: DocumentLoader;
|
5831
6099
|
suppressError?: boolean;
|
5832
6100
|
tracerProvider?: TracerProvider;
|
6101
|
+
baseUrl?: URL;
|
5833
6102
|
}): Promise<Collection | null>;
|
5834
6103
|
/**
|
5835
6104
|
* Similar to
|
@@ -5851,6 +6120,7 @@ declare class Person extends Object$1 {
|
|
5851
6120
|
contextLoader?: DocumentLoader;
|
5852
6121
|
suppressError?: boolean;
|
5853
6122
|
tracerProvider?: TracerProvider;
|
6123
|
+
baseUrl?: URL;
|
5854
6124
|
}): Promise<Collection | null>;
|
5855
6125
|
/**
|
5856
6126
|
* Similar to
|
@@ -5870,6 +6140,7 @@ declare class Person extends Object$1 {
|
|
5870
6140
|
contextLoader?: DocumentLoader;
|
5871
6141
|
suppressError?: boolean;
|
5872
6142
|
tracerProvider?: TracerProvider;
|
6143
|
+
baseUrl?: URL;
|
5873
6144
|
}): Promise<Collection | null>;
|
5874
6145
|
/**
|
5875
6146
|
* Similar to
|
@@ -5887,6 +6158,7 @@ declare class Person extends Object$1 {
|
|
5887
6158
|
contextLoader?: DocumentLoader;
|
5888
6159
|
suppressError?: boolean;
|
5889
6160
|
tracerProvider?: TracerProvider;
|
6161
|
+
baseUrl?: URL;
|
5890
6162
|
}): Promise<Collection | null>;
|
5891
6163
|
/**
|
5892
6164
|
* Similar to
|
@@ -5904,6 +6176,7 @@ declare class Person extends Object$1 {
|
|
5904
6176
|
contextLoader?: DocumentLoader;
|
5905
6177
|
suppressError?: boolean;
|
5906
6178
|
tracerProvider?: TracerProvider;
|
6179
|
+
baseUrl?: URL;
|
5907
6180
|
}): Promise<Collection | null>;
|
5908
6181
|
/**
|
5909
6182
|
* Similar to
|
@@ -5918,6 +6191,7 @@ declare class Person extends Object$1 {
|
|
5918
6191
|
contextLoader?: DocumentLoader;
|
5919
6192
|
suppressError?: boolean;
|
5920
6193
|
tracerProvider?: TracerProvider;
|
6194
|
+
baseUrl?: URL;
|
5921
6195
|
}): AsyncIterable<Collection>;
|
5922
6196
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
5923
6197
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -5954,6 +6228,7 @@ declare class Person extends Object$1 {
|
|
5954
6228
|
contextLoader?: DocumentLoader;
|
5955
6229
|
suppressError?: boolean;
|
5956
6230
|
tracerProvider?: TracerProvider;
|
6231
|
+
baseUrl?: URL;
|
5957
6232
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
5958
6233
|
/**
|
5959
6234
|
* Similar to
|
@@ -5971,6 +6246,7 @@ declare class Person extends Object$1 {
|
|
5971
6246
|
contextLoader?: DocumentLoader;
|
5972
6247
|
suppressError?: boolean;
|
5973
6248
|
tracerProvider?: TracerProvider;
|
6249
|
+
baseUrl?: URL;
|
5974
6250
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
5975
6251
|
/**
|
5976
6252
|
* Similar to
|
@@ -5988,6 +6264,7 @@ declare class Person extends Object$1 {
|
|
5988
6264
|
contextLoader?: DocumentLoader;
|
5989
6265
|
suppressError?: boolean;
|
5990
6266
|
tracerProvider?: TracerProvider;
|
6267
|
+
baseUrl?: URL;
|
5991
6268
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
5992
6269
|
/**
|
5993
6270
|
* Similar to
|
@@ -6005,6 +6282,7 @@ declare class Person extends Object$1 {
|
|
6005
6282
|
contextLoader?: DocumentLoader;
|
6006
6283
|
suppressError?: boolean;
|
6007
6284
|
tracerProvider?: TracerProvider;
|
6285
|
+
baseUrl?: URL;
|
6008
6286
|
}): Promise<DidService | null>;
|
6009
6287
|
/**
|
6010
6288
|
* Similar to
|
@@ -6022,6 +6300,7 @@ declare class Person extends Object$1 {
|
|
6022
6300
|
contextLoader?: DocumentLoader;
|
6023
6301
|
suppressError?: boolean;
|
6024
6302
|
tracerProvider?: TracerProvider;
|
6303
|
+
baseUrl?: URL;
|
6025
6304
|
}): AsyncIterable<DidService>;
|
6026
6305
|
/** This value is used for `Actor` type objects to show message on followed.
|
6027
6306
|
*/
|
@@ -6063,11 +6342,13 @@ declare class Person extends Object$1 {
|
|
6063
6342
|
documentLoader?: DocumentLoader;
|
6064
6343
|
contextLoader?: DocumentLoader;
|
6065
6344
|
tracerProvider?: TracerProvider;
|
6345
|
+
baseUrl?: URL;
|
6066
6346
|
}): Promise<Person>;
|
6067
6347
|
protected static __fromJsonLd__Person__(json: unknown, span: Span, options?: {
|
6068
6348
|
documentLoader?: DocumentLoader;
|
6069
6349
|
contextLoader?: DocumentLoader;
|
6070
6350
|
tracerProvider?: TracerProvider;
|
6351
|
+
baseUrl?: URL;
|
6071
6352
|
}): Promise<Person>;
|
6072
6353
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6073
6354
|
}
|
@@ -6084,6 +6365,10 @@ declare class Service extends Object$1 {
|
|
6084
6365
|
* The type URI of {@link Service}: `https://www.w3.org/ns/activitystreams#Service`.
|
6085
6366
|
*/
|
6086
6367
|
static get typeId(): URL;
|
6368
|
+
/**
|
6369
|
+
* The base URL used for resolving relative URLs in this object.
|
6370
|
+
*/
|
6371
|
+
get baseUrl(): URL | undefined;
|
6087
6372
|
/**
|
6088
6373
|
* Constructs a new instance of Service with the given values.
|
6089
6374
|
* @param values The values to initialize the instance with.
|
@@ -6170,6 +6455,7 @@ declare class Service extends Object$1 {
|
|
6170
6455
|
documentLoader?: DocumentLoader;
|
6171
6456
|
contextLoader?: DocumentLoader;
|
6172
6457
|
tracerProvider?: TracerProvider;
|
6458
|
+
baseUrl?: URL;
|
6173
6459
|
});
|
6174
6460
|
/**
|
6175
6461
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6279,6 +6565,7 @@ declare class Service extends Object$1 {
|
|
6279
6565
|
contextLoader?: DocumentLoader;
|
6280
6566
|
suppressError?: boolean;
|
6281
6567
|
tracerProvider?: TracerProvider;
|
6568
|
+
baseUrl?: URL;
|
6282
6569
|
}): Promise<CryptographicKey | null>;
|
6283
6570
|
/**
|
6284
6571
|
* Similar to
|
@@ -6293,6 +6580,7 @@ declare class Service extends Object$1 {
|
|
6293
6580
|
contextLoader?: DocumentLoader;
|
6294
6581
|
suppressError?: boolean;
|
6295
6582
|
tracerProvider?: TracerProvider;
|
6583
|
+
baseUrl?: URL;
|
6296
6584
|
}): AsyncIterable<CryptographicKey>;
|
6297
6585
|
/**
|
6298
6586
|
* Similar to
|
@@ -6310,6 +6598,7 @@ declare class Service extends Object$1 {
|
|
6310
6598
|
contextLoader?: DocumentLoader;
|
6311
6599
|
suppressError?: boolean;
|
6312
6600
|
tracerProvider?: TracerProvider;
|
6601
|
+
baseUrl?: URL;
|
6313
6602
|
}): Promise<Multikey | null>;
|
6314
6603
|
/**
|
6315
6604
|
* Similar to
|
@@ -6327,6 +6616,7 @@ declare class Service extends Object$1 {
|
|
6327
6616
|
contextLoader?: DocumentLoader;
|
6328
6617
|
suppressError?: boolean;
|
6329
6618
|
tracerProvider?: TracerProvider;
|
6619
|
+
baseUrl?: URL;
|
6330
6620
|
}): AsyncIterable<Multikey>;
|
6331
6621
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
6332
6622
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -6361,6 +6651,7 @@ declare class Service extends Object$1 {
|
|
6361
6651
|
contextLoader?: DocumentLoader;
|
6362
6652
|
suppressError?: boolean;
|
6363
6653
|
tracerProvider?: TracerProvider;
|
6654
|
+
baseUrl?: URL;
|
6364
6655
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
6365
6656
|
/**
|
6366
6657
|
* Similar to
|
@@ -6384,6 +6675,7 @@ declare class Service extends Object$1 {
|
|
6384
6675
|
contextLoader?: DocumentLoader;
|
6385
6676
|
suppressError?: boolean;
|
6386
6677
|
tracerProvider?: TracerProvider;
|
6678
|
+
baseUrl?: URL;
|
6387
6679
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
6388
6680
|
/**
|
6389
6681
|
* Similar to
|
@@ -6402,6 +6694,7 @@ declare class Service extends Object$1 {
|
|
6402
6694
|
contextLoader?: DocumentLoader;
|
6403
6695
|
suppressError?: boolean;
|
6404
6696
|
tracerProvider?: TracerProvider;
|
6697
|
+
baseUrl?: URL;
|
6405
6698
|
}): Promise<Collection | null>;
|
6406
6699
|
/**
|
6407
6700
|
* Similar to
|
@@ -6423,6 +6716,7 @@ declare class Service extends Object$1 {
|
|
6423
6716
|
contextLoader?: DocumentLoader;
|
6424
6717
|
suppressError?: boolean;
|
6425
6718
|
tracerProvider?: TracerProvider;
|
6719
|
+
baseUrl?: URL;
|
6426
6720
|
}): Promise<Collection | null>;
|
6427
6721
|
/**
|
6428
6722
|
* Similar to
|
@@ -6442,6 +6736,7 @@ declare class Service extends Object$1 {
|
|
6442
6736
|
contextLoader?: DocumentLoader;
|
6443
6737
|
suppressError?: boolean;
|
6444
6738
|
tracerProvider?: TracerProvider;
|
6739
|
+
baseUrl?: URL;
|
6445
6740
|
}): Promise<Collection | null>;
|
6446
6741
|
/**
|
6447
6742
|
* Similar to
|
@@ -6459,6 +6754,7 @@ declare class Service extends Object$1 {
|
|
6459
6754
|
contextLoader?: DocumentLoader;
|
6460
6755
|
suppressError?: boolean;
|
6461
6756
|
tracerProvider?: TracerProvider;
|
6757
|
+
baseUrl?: URL;
|
6462
6758
|
}): Promise<Collection | null>;
|
6463
6759
|
/**
|
6464
6760
|
* Similar to
|
@@ -6476,6 +6772,7 @@ declare class Service extends Object$1 {
|
|
6476
6772
|
contextLoader?: DocumentLoader;
|
6477
6773
|
suppressError?: boolean;
|
6478
6774
|
tracerProvider?: TracerProvider;
|
6775
|
+
baseUrl?: URL;
|
6479
6776
|
}): Promise<Collection | null>;
|
6480
6777
|
/**
|
6481
6778
|
* Similar to
|
@@ -6490,6 +6787,7 @@ declare class Service extends Object$1 {
|
|
6490
6787
|
contextLoader?: DocumentLoader;
|
6491
6788
|
suppressError?: boolean;
|
6492
6789
|
tracerProvider?: TracerProvider;
|
6790
|
+
baseUrl?: URL;
|
6493
6791
|
}): AsyncIterable<Collection>;
|
6494
6792
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
6495
6793
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -6526,6 +6824,7 @@ declare class Service extends Object$1 {
|
|
6526
6824
|
contextLoader?: DocumentLoader;
|
6527
6825
|
suppressError?: boolean;
|
6528
6826
|
tracerProvider?: TracerProvider;
|
6827
|
+
baseUrl?: URL;
|
6529
6828
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
6530
6829
|
/**
|
6531
6830
|
* Similar to
|
@@ -6543,6 +6842,7 @@ declare class Service extends Object$1 {
|
|
6543
6842
|
contextLoader?: DocumentLoader;
|
6544
6843
|
suppressError?: boolean;
|
6545
6844
|
tracerProvider?: TracerProvider;
|
6845
|
+
baseUrl?: URL;
|
6546
6846
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
6547
6847
|
/**
|
6548
6848
|
* Similar to
|
@@ -6560,6 +6860,7 @@ declare class Service extends Object$1 {
|
|
6560
6860
|
contextLoader?: DocumentLoader;
|
6561
6861
|
suppressError?: boolean;
|
6562
6862
|
tracerProvider?: TracerProvider;
|
6863
|
+
baseUrl?: URL;
|
6563
6864
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
6564
6865
|
/**
|
6565
6866
|
* Similar to
|
@@ -6577,6 +6878,7 @@ declare class Service extends Object$1 {
|
|
6577
6878
|
contextLoader?: DocumentLoader;
|
6578
6879
|
suppressError?: boolean;
|
6579
6880
|
tracerProvider?: TracerProvider;
|
6881
|
+
baseUrl?: URL;
|
6580
6882
|
}): Promise<DidService | null>;
|
6581
6883
|
/**
|
6582
6884
|
* Similar to
|
@@ -6594,6 +6896,7 @@ declare class Service extends Object$1 {
|
|
6594
6896
|
contextLoader?: DocumentLoader;
|
6595
6897
|
suppressError?: boolean;
|
6596
6898
|
tracerProvider?: TracerProvider;
|
6899
|
+
baseUrl?: URL;
|
6597
6900
|
}): AsyncIterable<DidService>;
|
6598
6901
|
/** This value is used for `Actor` type objects to show message on followed.
|
6599
6902
|
*/
|
@@ -6635,11 +6938,13 @@ declare class Service extends Object$1 {
|
|
6635
6938
|
documentLoader?: DocumentLoader;
|
6636
6939
|
contextLoader?: DocumentLoader;
|
6637
6940
|
tracerProvider?: TracerProvider;
|
6941
|
+
baseUrl?: URL;
|
6638
6942
|
}): Promise<Service>;
|
6639
6943
|
protected static __fromJsonLd__Service__(json: unknown, span: Span, options?: {
|
6640
6944
|
documentLoader?: DocumentLoader;
|
6641
6945
|
contextLoader?: DocumentLoader;
|
6642
6946
|
tracerProvider?: TracerProvider;
|
6947
|
+
baseUrl?: URL;
|
6643
6948
|
}): Promise<Service>;
|
6644
6949
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6645
6950
|
}
|
@@ -6647,6 +6952,7 @@ declare class Service extends Object$1 {
|
|
6647
6952
|
*/
|
6648
6953
|
declare class Source {
|
6649
6954
|
#private;
|
6955
|
+
protected readonly _baseUrl?: URL;
|
6650
6956
|
readonly id: URL | null;
|
6651
6957
|
protected get _documentLoader(): DocumentLoader | undefined;
|
6652
6958
|
protected get _contextLoader(): DocumentLoader | undefined;
|
@@ -6662,6 +6968,10 @@ declare class Source {
|
|
6662
6968
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
6663
6969
|
*/
|
6664
6970
|
static get typeId(): URL;
|
6971
|
+
/**
|
6972
|
+
* The base URL used for resolving relative URLs in this object.
|
6973
|
+
*/
|
6974
|
+
get baseUrl(): URL | undefined;
|
6665
6975
|
/**
|
6666
6976
|
* Constructs a new instance of Source with the given values.
|
6667
6977
|
* @param values The values to initialize the instance with.
|
@@ -6676,6 +6986,7 @@ declare class Source {
|
|
6676
6986
|
documentLoader?: DocumentLoader;
|
6677
6987
|
contextLoader?: DocumentLoader;
|
6678
6988
|
tracerProvider?: TracerProvider;
|
6989
|
+
baseUrl?: URL;
|
6679
6990
|
});
|
6680
6991
|
/**
|
6681
6992
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6732,11 +7043,13 @@ declare class Source {
|
|
6732
7043
|
documentLoader?: DocumentLoader;
|
6733
7044
|
contextLoader?: DocumentLoader;
|
6734
7045
|
tracerProvider?: TracerProvider;
|
7046
|
+
baseUrl?: URL;
|
6735
7047
|
}): Promise<Source>;
|
6736
7048
|
protected static __fromJsonLd__Source__(json: unknown, span: Span, options?: {
|
6737
7049
|
documentLoader?: DocumentLoader;
|
6738
7050
|
contextLoader?: DocumentLoader;
|
6739
7051
|
tracerProvider?: TracerProvider;
|
7052
|
+
baseUrl?: URL;
|
6740
7053
|
}): Promise<Source>;
|
6741
7054
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6742
7055
|
}
|