@fedify/fedify 1.3.0-dev.565 → 1.3.0-dev.569
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/CHANGES.md +10 -0
- package/esm/deno.js +1 -1
- package/esm/federation/middleware.js +47 -6
- package/esm/sig/http.js +2 -1
- package/esm/sig/key.js +9 -3
- package/esm/sig/owner.js +10 -1
- package/esm/vocab/lookup.js +1 -0
- package/esm/vocab/vocab.js +7850 -2957
- package/package.json +1 -1
- package/types/federation/context.d.ts +6 -0
- package/types/federation/context.d.ts.map +1 -1
- package/types/federation/middleware.d.ts +1 -0
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/sig/key.d.ts +9 -1
- package/types/sig/key.d.ts.map +1 -1
- package/types/sig/ld.d.ts +6 -6
- package/types/sig/ld.d.ts.map +1 -1
- package/types/sig/owner.d.ts +16 -0
- package/types/sig/owner.d.ts.map +1 -1
- package/types/vocab/lookup.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +1015 -66
- package/types/vocab/vocab.d.ts.map +1 -1
package/types/vocab/vocab.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import * as dntShim from "../_dnt.shims.js";
|
3
|
+
import { type Span, type TracerProvider } from "@opentelemetry/api";
|
3
4
|
import { LanguageTag } from "@phensley/language-tag";
|
4
5
|
import { type DocumentLoader } from "../runtime/docloader.js";
|
5
6
|
import { LanguageString } from "../runtime/langstr.js";
|
@@ -14,6 +15,7 @@ export declare class Object {
|
|
14
15
|
readonly id: URL | null;
|
15
16
|
protected get _documentLoader(): DocumentLoader | undefined;
|
16
17
|
protected get _contextLoader(): DocumentLoader | undefined;
|
18
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
17
19
|
/**
|
18
20
|
* The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
|
19
21
|
*/
|
@@ -70,9 +72,10 @@ export declare class Object {
|
|
70
72
|
source?: Source | null;
|
71
73
|
proof?: DataIntegrityProof | URL | null;
|
72
74
|
proofs?: (DataIntegrityProof | URL)[];
|
73
|
-
}, { documentLoader, contextLoader, }?: {
|
75
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
74
76
|
documentLoader?: DocumentLoader;
|
75
77
|
contextLoader?: DocumentLoader;
|
78
|
+
tracerProvider?: TracerProvider;
|
76
79
|
});
|
77
80
|
/**
|
78
81
|
* Clones this instance, optionally updating it with the given values.
|
@@ -145,6 +148,7 @@ export declare class Object {
|
|
145
148
|
documentLoader?: DocumentLoader;
|
146
149
|
contextLoader?: DocumentLoader;
|
147
150
|
suppressError?: boolean;
|
151
|
+
tracerProvider?: TracerProvider;
|
148
152
|
}): AsyncIterable<Object | Link | PropertyValue>;
|
149
153
|
/**
|
150
154
|
* Similar to
|
@@ -160,6 +164,7 @@ export declare class Object {
|
|
160
164
|
documentLoader?: DocumentLoader;
|
161
165
|
contextLoader?: DocumentLoader;
|
162
166
|
suppressError?: boolean;
|
167
|
+
tracerProvider?: TracerProvider;
|
163
168
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
164
169
|
/**
|
165
170
|
* Similar to
|
@@ -175,6 +180,7 @@ export declare class Object {
|
|
175
180
|
documentLoader?: DocumentLoader;
|
176
181
|
contextLoader?: DocumentLoader;
|
177
182
|
suppressError?: boolean;
|
183
|
+
tracerProvider?: TracerProvider;
|
178
184
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
179
185
|
/**
|
180
186
|
* Similar to
|
@@ -189,6 +195,7 @@ export declare class Object {
|
|
189
195
|
documentLoader?: DocumentLoader;
|
190
196
|
contextLoader?: DocumentLoader;
|
191
197
|
suppressError?: boolean;
|
198
|
+
tracerProvider?: TracerProvider;
|
192
199
|
}): Promise<Object | null>;
|
193
200
|
/**
|
194
201
|
* Similar to
|
@@ -203,6 +210,7 @@ export declare class Object {
|
|
203
210
|
documentLoader?: DocumentLoader;
|
204
211
|
contextLoader?: DocumentLoader;
|
205
212
|
suppressError?: boolean;
|
213
|
+
tracerProvider?: TracerProvider;
|
206
214
|
}): AsyncIterable<Object>;
|
207
215
|
/** The content or textual representation of the Object encoded as a JSON
|
208
216
|
* string. By default, the value of `content` is HTML. The `mediaType`
|
@@ -236,6 +244,7 @@ export declare class Object {
|
|
236
244
|
documentLoader?: DocumentLoader;
|
237
245
|
contextLoader?: DocumentLoader;
|
238
246
|
suppressError?: boolean;
|
247
|
+
tracerProvider?: TracerProvider;
|
239
248
|
}): AsyncIterable<Object | Link>;
|
240
249
|
/** A simple, human-readable, plain-text name for the object. HTML markup MUST
|
241
250
|
* NOT be included. The name MAY be expressed using multiple language-tagged
|
@@ -265,6 +274,7 @@ export declare class Object {
|
|
265
274
|
documentLoader?: DocumentLoader;
|
266
275
|
contextLoader?: DocumentLoader;
|
267
276
|
suppressError?: boolean;
|
277
|
+
tracerProvider?: TracerProvider;
|
268
278
|
}): AsyncIterable<Object | Link>;
|
269
279
|
/**
|
270
280
|
* Similar to
|
@@ -280,6 +290,7 @@ export declare class Object {
|
|
280
290
|
documentLoader?: DocumentLoader;
|
281
291
|
contextLoader?: DocumentLoader;
|
282
292
|
suppressError?: boolean;
|
293
|
+
tracerProvider?: TracerProvider;
|
283
294
|
}): Promise<Image | null>;
|
284
295
|
/**
|
285
296
|
* Similar to
|
@@ -295,6 +306,7 @@ export declare class Object {
|
|
295
306
|
documentLoader?: DocumentLoader;
|
296
307
|
contextLoader?: DocumentLoader;
|
297
308
|
suppressError?: boolean;
|
309
|
+
tracerProvider?: TracerProvider;
|
298
310
|
}): AsyncIterable<Image>;
|
299
311
|
/**
|
300
312
|
* Similar to
|
@@ -310,6 +322,7 @@ export declare class Object {
|
|
310
322
|
documentLoader?: DocumentLoader;
|
311
323
|
contextLoader?: DocumentLoader;
|
312
324
|
suppressError?: boolean;
|
325
|
+
tracerProvider?: TracerProvider;
|
313
326
|
}): Promise<Image | null>;
|
314
327
|
/**
|
315
328
|
* Similar to
|
@@ -325,6 +338,7 @@ export declare class Object {
|
|
325
338
|
documentLoader?: DocumentLoader;
|
326
339
|
contextLoader?: DocumentLoader;
|
327
340
|
suppressError?: boolean;
|
341
|
+
tracerProvider?: TracerProvider;
|
328
342
|
}): AsyncIterable<Image>;
|
329
343
|
/**
|
330
344
|
* Similar to
|
@@ -339,6 +353,7 @@ export declare class Object {
|
|
339
353
|
documentLoader?: DocumentLoader;
|
340
354
|
contextLoader?: DocumentLoader;
|
341
355
|
suppressError?: boolean;
|
356
|
+
tracerProvider?: TracerProvider;
|
342
357
|
}): Promise<Object | Link | null>;
|
343
358
|
/**
|
344
359
|
* Similar to
|
@@ -353,6 +368,7 @@ export declare class Object {
|
|
353
368
|
documentLoader?: DocumentLoader;
|
354
369
|
contextLoader?: DocumentLoader;
|
355
370
|
suppressError?: boolean;
|
371
|
+
tracerProvider?: TracerProvider;
|
356
372
|
}): AsyncIterable<Object | Link>;
|
357
373
|
/**
|
358
374
|
* Similar to
|
@@ -367,6 +383,7 @@ export declare class Object {
|
|
367
383
|
documentLoader?: DocumentLoader;
|
368
384
|
contextLoader?: DocumentLoader;
|
369
385
|
suppressError?: boolean;
|
386
|
+
tracerProvider?: TracerProvider;
|
370
387
|
}): Promise<Object | Link | null>;
|
371
388
|
/**
|
372
389
|
* Similar to
|
@@ -381,6 +398,7 @@ export declare class Object {
|
|
381
398
|
documentLoader?: DocumentLoader;
|
382
399
|
contextLoader?: DocumentLoader;
|
383
400
|
suppressError?: boolean;
|
401
|
+
tracerProvider?: TracerProvider;
|
384
402
|
}): AsyncIterable<Object | Link>;
|
385
403
|
/**
|
386
404
|
* Similar to
|
@@ -394,6 +412,7 @@ export declare class Object {
|
|
394
412
|
documentLoader?: DocumentLoader;
|
395
413
|
contextLoader?: DocumentLoader;
|
396
414
|
suppressError?: boolean;
|
415
|
+
tracerProvider?: TracerProvider;
|
397
416
|
}): Promise<Link | Object | null>;
|
398
417
|
/**
|
399
418
|
* Similar to
|
@@ -407,6 +426,7 @@ export declare class Object {
|
|
407
426
|
documentLoader?: DocumentLoader;
|
408
427
|
contextLoader?: DocumentLoader;
|
409
428
|
suppressError?: boolean;
|
429
|
+
tracerProvider?: TracerProvider;
|
410
430
|
}): AsyncIterable<Link | Object>;
|
411
431
|
/** The date and time at which the object was published.
|
412
432
|
*/
|
@@ -424,6 +444,7 @@ export declare class Object {
|
|
424
444
|
documentLoader?: DocumentLoader;
|
425
445
|
contextLoader?: DocumentLoader;
|
426
446
|
suppressError?: boolean;
|
447
|
+
tracerProvider?: TracerProvider;
|
427
448
|
}): Promise<Collection | null>;
|
428
449
|
/** The date and time describing the actual or expected starting time of
|
429
450
|
* the object. When used with an {@link Activity} object, for instance,
|
@@ -454,6 +475,7 @@ export declare class Object {
|
|
454
475
|
documentLoader?: DocumentLoader;
|
455
476
|
contextLoader?: DocumentLoader;
|
456
477
|
suppressError?: boolean;
|
478
|
+
tracerProvider?: TracerProvider;
|
457
479
|
}): AsyncIterable<Object | Link>;
|
458
480
|
/** The date and time at which the object was updated.
|
459
481
|
*/
|
@@ -477,6 +499,7 @@ export declare class Object {
|
|
477
499
|
documentLoader?: DocumentLoader;
|
478
500
|
contextLoader?: DocumentLoader;
|
479
501
|
suppressError?: boolean;
|
502
|
+
tracerProvider?: TracerProvider;
|
480
503
|
}): Promise<Object | null>;
|
481
504
|
/**
|
482
505
|
* Similar to
|
@@ -491,6 +514,7 @@ export declare class Object {
|
|
491
514
|
documentLoader?: DocumentLoader;
|
492
515
|
contextLoader?: DocumentLoader;
|
493
516
|
suppressError?: boolean;
|
517
|
+
tracerProvider?: TracerProvider;
|
494
518
|
}): AsyncIterable<Object>;
|
495
519
|
/**
|
496
520
|
* Similar to
|
@@ -505,6 +529,7 @@ export declare class Object {
|
|
505
529
|
documentLoader?: DocumentLoader;
|
506
530
|
contextLoader?: DocumentLoader;
|
507
531
|
suppressError?: boolean;
|
532
|
+
tracerProvider?: TracerProvider;
|
508
533
|
}): Promise<Object | null>;
|
509
534
|
/**
|
510
535
|
* Similar to
|
@@ -519,6 +544,7 @@ export declare class Object {
|
|
519
544
|
documentLoader?: DocumentLoader;
|
520
545
|
contextLoader?: DocumentLoader;
|
521
546
|
suppressError?: boolean;
|
547
|
+
tracerProvider?: TracerProvider;
|
522
548
|
}): AsyncIterable<Object>;
|
523
549
|
/**
|
524
550
|
* Similar to
|
@@ -533,6 +559,7 @@ export declare class Object {
|
|
533
559
|
documentLoader?: DocumentLoader;
|
534
560
|
contextLoader?: DocumentLoader;
|
535
561
|
suppressError?: boolean;
|
562
|
+
tracerProvider?: TracerProvider;
|
536
563
|
}): Promise<Object | null>;
|
537
564
|
/**
|
538
565
|
* Similar to
|
@@ -547,6 +574,7 @@ export declare class Object {
|
|
547
574
|
documentLoader?: DocumentLoader;
|
548
575
|
contextLoader?: DocumentLoader;
|
549
576
|
suppressError?: boolean;
|
577
|
+
tracerProvider?: TracerProvider;
|
550
578
|
}): AsyncIterable<Object>;
|
551
579
|
/**
|
552
580
|
* Similar to
|
@@ -561,6 +589,7 @@ export declare class Object {
|
|
561
589
|
documentLoader?: DocumentLoader;
|
562
590
|
contextLoader?: DocumentLoader;
|
563
591
|
suppressError?: boolean;
|
592
|
+
tracerProvider?: TracerProvider;
|
564
593
|
}): Promise<Object | null>;
|
565
594
|
/**
|
566
595
|
* Similar to
|
@@ -575,6 +604,7 @@ export declare class Object {
|
|
575
604
|
documentLoader?: DocumentLoader;
|
576
605
|
contextLoader?: DocumentLoader;
|
577
606
|
suppressError?: boolean;
|
607
|
+
tracerProvider?: TracerProvider;
|
578
608
|
}): AsyncIterable<Object>;
|
579
609
|
/** When used on an {@link Object}, identifies the MIME media type of the value
|
580
610
|
* of the `content` property. If not specified, the `content` property is
|
@@ -609,6 +639,7 @@ export declare class Object {
|
|
609
639
|
documentLoader?: DocumentLoader;
|
610
640
|
contextLoader?: DocumentLoader;
|
611
641
|
suppressError?: boolean;
|
642
|
+
tracerProvider?: TracerProvider;
|
612
643
|
}): Promise<DataIntegrityProof | null>;
|
613
644
|
/**
|
614
645
|
* Similar to
|
@@ -622,6 +653,7 @@ export declare class Object {
|
|
622
653
|
documentLoader?: DocumentLoader;
|
623
654
|
contextLoader?: DocumentLoader;
|
624
655
|
suppressError?: boolean;
|
656
|
+
tracerProvider?: TracerProvider;
|
625
657
|
}): AsyncIterable<DataIntegrityProof>;
|
626
658
|
/**
|
627
659
|
* Converts this object to a JSON-LD structure.
|
@@ -642,12 +674,23 @@ export declare class Object {
|
|
642
674
|
/**
|
643
675
|
* Converts a JSON-LD structure to an object of this type.
|
644
676
|
* @param json The JSON-LD structure to convert.
|
677
|
+
* @param options The options to use.
|
678
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
679
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
680
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
681
|
+
* If omitted, the global tracer provider is used.
|
645
682
|
* @returns The object of this type.
|
646
683
|
* @throws {TypeError} If the given `json` is invalid.
|
647
684
|
*/
|
648
685
|
static fromJsonLd(json: unknown, options?: {
|
649
686
|
documentLoader?: DocumentLoader;
|
650
687
|
contextLoader?: DocumentLoader;
|
688
|
+
tracerProvider?: TracerProvider;
|
689
|
+
}): Promise<Object>;
|
690
|
+
protected static __fromJsonLd__Object__(json: unknown, span: Span, options?: {
|
691
|
+
documentLoader?: DocumentLoader;
|
692
|
+
contextLoader?: DocumentLoader;
|
693
|
+
tracerProvider?: TracerProvider;
|
651
694
|
}): Promise<Object>;
|
652
695
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
653
696
|
}
|
@@ -711,9 +754,10 @@ export declare class Emoji extends Object {
|
|
711
754
|
source?: Source | null;
|
712
755
|
proof?: DataIntegrityProof | URL | null;
|
713
756
|
proofs?: (DataIntegrityProof | URL)[];
|
714
|
-
}, { documentLoader, contextLoader, }?: {
|
757
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
715
758
|
documentLoader?: DocumentLoader;
|
716
759
|
contextLoader?: DocumentLoader;
|
760
|
+
tracerProvider?: TracerProvider;
|
717
761
|
});
|
718
762
|
/**
|
719
763
|
* Clones this instance, optionally updating it with the given values.
|
@@ -791,12 +835,23 @@ export declare class Emoji extends Object {
|
|
791
835
|
/**
|
792
836
|
* Converts a JSON-LD structure to an object of this type.
|
793
837
|
* @param json The JSON-LD structure to convert.
|
838
|
+
* @param options The options to use.
|
839
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
840
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
841
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
842
|
+
* If omitted, the global tracer provider is used.
|
794
843
|
* @returns The object of this type.
|
795
844
|
* @throws {TypeError} If the given `json` is invalid.
|
796
845
|
*/
|
797
846
|
static fromJsonLd(json: unknown, options?: {
|
798
847
|
documentLoader?: DocumentLoader;
|
799
848
|
contextLoader?: DocumentLoader;
|
849
|
+
tracerProvider?: TracerProvider;
|
850
|
+
}): Promise<Emoji>;
|
851
|
+
protected static __fromJsonLd__Emoji__(json: unknown, span: Span, options?: {
|
852
|
+
documentLoader?: DocumentLoader;
|
853
|
+
contextLoader?: DocumentLoader;
|
854
|
+
tracerProvider?: TracerProvider;
|
800
855
|
}): Promise<Emoji>;
|
801
856
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
802
857
|
}
|
@@ -865,9 +920,10 @@ export declare class ChatMessage extends Object {
|
|
865
920
|
proof?: DataIntegrityProof | URL | null;
|
866
921
|
proofs?: (DataIntegrityProof | URL)[];
|
867
922
|
quoteUrl?: URL | null;
|
868
|
-
}, { documentLoader, contextLoader, }?: {
|
923
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
869
924
|
documentLoader?: DocumentLoader;
|
870
925
|
contextLoader?: DocumentLoader;
|
926
|
+
tracerProvider?: TracerProvider;
|
871
927
|
});
|
872
928
|
/**
|
873
929
|
* Clones this instance, optionally updating it with the given values.
|
@@ -958,12 +1014,23 @@ export declare class ChatMessage extends Object {
|
|
958
1014
|
/**
|
959
1015
|
* Converts a JSON-LD structure to an object of this type.
|
960
1016
|
* @param json The JSON-LD structure to convert.
|
1017
|
+
* @param options The options to use.
|
1018
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1019
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1020
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1021
|
+
* If omitted, the global tracer provider is used.
|
961
1022
|
* @returns The object of this type.
|
962
1023
|
* @throws {TypeError} If the given `json` is invalid.
|
963
1024
|
*/
|
964
1025
|
static fromJsonLd(json: unknown, options?: {
|
965
1026
|
documentLoader?: DocumentLoader;
|
966
1027
|
contextLoader?: DocumentLoader;
|
1028
|
+
tracerProvider?: TracerProvider;
|
1029
|
+
}): Promise<ChatMessage>;
|
1030
|
+
protected static __fromJsonLd__ChatMessage__(json: unknown, span: Span, options?: {
|
1031
|
+
documentLoader?: DocumentLoader;
|
1032
|
+
contextLoader?: DocumentLoader;
|
1033
|
+
tracerProvider?: TracerProvider;
|
967
1034
|
}): Promise<ChatMessage>;
|
968
1035
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
969
1036
|
}
|
@@ -1043,9 +1110,10 @@ export declare class Activity extends Object {
|
|
1043
1110
|
origins?: (Object | URL)[];
|
1044
1111
|
instrument?: Object | URL | null;
|
1045
1112
|
instruments?: (Object | URL)[];
|
1046
|
-
}, { documentLoader, contextLoader, }?: {
|
1113
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1047
1114
|
documentLoader?: DocumentLoader;
|
1048
1115
|
contextLoader?: DocumentLoader;
|
1116
|
+
tracerProvider?: TracerProvider;
|
1049
1117
|
});
|
1050
1118
|
/**
|
1051
1119
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1130,6 +1198,7 @@ export declare class Activity extends Object {
|
|
1130
1198
|
documentLoader?: DocumentLoader;
|
1131
1199
|
contextLoader?: DocumentLoader;
|
1132
1200
|
suppressError?: boolean;
|
1201
|
+
tracerProvider?: TracerProvider;
|
1133
1202
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
1134
1203
|
/**
|
1135
1204
|
* Similar to
|
@@ -1145,6 +1214,7 @@ export declare class Activity extends Object {
|
|
1145
1214
|
documentLoader?: DocumentLoader;
|
1146
1215
|
contextLoader?: DocumentLoader;
|
1147
1216
|
suppressError?: boolean;
|
1217
|
+
tracerProvider?: TracerProvider;
|
1148
1218
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
1149
1219
|
/**
|
1150
1220
|
* Similar to
|
@@ -1160,6 +1230,7 @@ export declare class Activity extends Object {
|
|
1160
1230
|
documentLoader?: DocumentLoader;
|
1161
1231
|
contextLoader?: DocumentLoader;
|
1162
1232
|
suppressError?: boolean;
|
1233
|
+
tracerProvider?: TracerProvider;
|
1163
1234
|
}): Promise<Object | null>;
|
1164
1235
|
/**
|
1165
1236
|
* Similar to
|
@@ -1175,6 +1246,7 @@ export declare class Activity extends Object {
|
|
1175
1246
|
documentLoader?: DocumentLoader;
|
1176
1247
|
contextLoader?: DocumentLoader;
|
1177
1248
|
suppressError?: boolean;
|
1249
|
+
tracerProvider?: TracerProvider;
|
1178
1250
|
}): AsyncIterable<Object>;
|
1179
1251
|
/**
|
1180
1252
|
* Similar to
|
@@ -1193,6 +1265,7 @@ export declare class Activity extends Object {
|
|
1193
1265
|
documentLoader?: DocumentLoader;
|
1194
1266
|
contextLoader?: DocumentLoader;
|
1195
1267
|
suppressError?: boolean;
|
1268
|
+
tracerProvider?: TracerProvider;
|
1196
1269
|
}): Promise<Object | null>;
|
1197
1270
|
/**
|
1198
1271
|
* Similar to
|
@@ -1211,6 +1284,7 @@ export declare class Activity extends Object {
|
|
1211
1284
|
documentLoader?: DocumentLoader;
|
1212
1285
|
contextLoader?: DocumentLoader;
|
1213
1286
|
suppressError?: boolean;
|
1287
|
+
tracerProvider?: TracerProvider;
|
1214
1288
|
}): AsyncIterable<Object>;
|
1215
1289
|
/**
|
1216
1290
|
* Similar to
|
@@ -1226,6 +1300,7 @@ export declare class Activity extends Object {
|
|
1226
1300
|
documentLoader?: DocumentLoader;
|
1227
1301
|
contextLoader?: DocumentLoader;
|
1228
1302
|
suppressError?: boolean;
|
1303
|
+
tracerProvider?: TracerProvider;
|
1229
1304
|
}): Promise<Object | null>;
|
1230
1305
|
/**
|
1231
1306
|
* Similar to
|
@@ -1241,6 +1316,7 @@ export declare class Activity extends Object {
|
|
1241
1316
|
documentLoader?: DocumentLoader;
|
1242
1317
|
contextLoader?: DocumentLoader;
|
1243
1318
|
suppressError?: boolean;
|
1319
|
+
tracerProvider?: TracerProvider;
|
1244
1320
|
}): AsyncIterable<Object>;
|
1245
1321
|
/**
|
1246
1322
|
* Similar to
|
@@ -1257,6 +1333,7 @@ export declare class Activity extends Object {
|
|
1257
1333
|
documentLoader?: DocumentLoader;
|
1258
1334
|
contextLoader?: DocumentLoader;
|
1259
1335
|
suppressError?: boolean;
|
1336
|
+
tracerProvider?: TracerProvider;
|
1260
1337
|
}): Promise<Object | null>;
|
1261
1338
|
/**
|
1262
1339
|
* Similar to
|
@@ -1273,6 +1350,7 @@ export declare class Activity extends Object {
|
|
1273
1350
|
documentLoader?: DocumentLoader;
|
1274
1351
|
contextLoader?: DocumentLoader;
|
1275
1352
|
suppressError?: boolean;
|
1353
|
+
tracerProvider?: TracerProvider;
|
1276
1354
|
}): AsyncIterable<Object>;
|
1277
1355
|
/**
|
1278
1356
|
* Similar to
|
@@ -1287,6 +1365,7 @@ export declare class Activity extends Object {
|
|
1287
1365
|
documentLoader?: DocumentLoader;
|
1288
1366
|
contextLoader?: DocumentLoader;
|
1289
1367
|
suppressError?: boolean;
|
1368
|
+
tracerProvider?: TracerProvider;
|
1290
1369
|
}): Promise<Object | null>;
|
1291
1370
|
/**
|
1292
1371
|
* Similar to
|
@@ -1301,6 +1380,7 @@ export declare class Activity extends Object {
|
|
1301
1380
|
documentLoader?: DocumentLoader;
|
1302
1381
|
contextLoader?: DocumentLoader;
|
1303
1382
|
suppressError?: boolean;
|
1383
|
+
tracerProvider?: TracerProvider;
|
1304
1384
|
}): AsyncIterable<Object>;
|
1305
1385
|
/**
|
1306
1386
|
* Converts this object to a JSON-LD structure.
|
@@ -1321,12 +1401,23 @@ export declare class Activity extends Object {
|
|
1321
1401
|
/**
|
1322
1402
|
* Converts a JSON-LD structure to an object of this type.
|
1323
1403
|
* @param json The JSON-LD structure to convert.
|
1404
|
+
* @param options The options to use.
|
1405
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1406
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1407
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1408
|
+
* If omitted, the global tracer provider is used.
|
1324
1409
|
* @returns The object of this type.
|
1325
1410
|
* @throws {TypeError} If the given `json` is invalid.
|
1326
1411
|
*/
|
1327
1412
|
static fromJsonLd(json: unknown, options?: {
|
1328
1413
|
documentLoader?: DocumentLoader;
|
1329
1414
|
contextLoader?: DocumentLoader;
|
1415
|
+
tracerProvider?: TracerProvider;
|
1416
|
+
}): Promise<Activity>;
|
1417
|
+
protected static __fromJsonLd__Activity__(json: unknown, span: Span, options?: {
|
1418
|
+
documentLoader?: DocumentLoader;
|
1419
|
+
contextLoader?: DocumentLoader;
|
1420
|
+
tracerProvider?: TracerProvider;
|
1330
1421
|
}): Promise<Activity>;
|
1331
1422
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1332
1423
|
}
|
@@ -1402,9 +1493,10 @@ export declare class EmojiReact extends Activity {
|
|
1402
1493
|
origins?: (Object | URL)[];
|
1403
1494
|
instrument?: Object | URL | null;
|
1404
1495
|
instruments?: (Object | URL)[];
|
1405
|
-
}, { documentLoader, contextLoader, }?: {
|
1496
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1406
1497
|
documentLoader?: DocumentLoader;
|
1407
1498
|
contextLoader?: DocumentLoader;
|
1499
|
+
tracerProvider?: TracerProvider;
|
1408
1500
|
});
|
1409
1501
|
/**
|
1410
1502
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1494,12 +1586,23 @@ export declare class EmojiReact extends Activity {
|
|
1494
1586
|
/**
|
1495
1587
|
* Converts a JSON-LD structure to an object of this type.
|
1496
1588
|
* @param json The JSON-LD structure to convert.
|
1589
|
+
* @param options The options to use.
|
1590
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1591
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1592
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1593
|
+
* If omitted, the global tracer provider is used.
|
1497
1594
|
* @returns The object of this type.
|
1498
1595
|
* @throws {TypeError} If the given `json` is invalid.
|
1499
1596
|
*/
|
1500
1597
|
static fromJsonLd(json: unknown, options?: {
|
1501
1598
|
documentLoader?: DocumentLoader;
|
1502
1599
|
contextLoader?: DocumentLoader;
|
1600
|
+
tracerProvider?: TracerProvider;
|
1601
|
+
}): Promise<EmojiReact>;
|
1602
|
+
protected static __fromJsonLd__EmojiReact__(json: unknown, span: Span, options?: {
|
1603
|
+
documentLoader?: DocumentLoader;
|
1604
|
+
contextLoader?: DocumentLoader;
|
1605
|
+
tracerProvider?: TracerProvider;
|
1503
1606
|
}): Promise<EmojiReact>;
|
1504
1607
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1505
1608
|
}
|
@@ -1510,6 +1613,7 @@ export declare class PropertyValue {
|
|
1510
1613
|
readonly id: URL | null;
|
1511
1614
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1512
1615
|
protected get _contextLoader(): DocumentLoader | undefined;
|
1616
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
1513
1617
|
/**
|
1514
1618
|
* The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
|
1515
1619
|
*/
|
@@ -1523,9 +1627,10 @@ export declare class PropertyValue {
|
|
1523
1627
|
id?: URL | null;
|
1524
1628
|
name?: string | LanguageString | null;
|
1525
1629
|
value?: string | LanguageString | null;
|
1526
|
-
}, { documentLoader, contextLoader, }?: {
|
1630
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1527
1631
|
documentLoader?: DocumentLoader;
|
1528
1632
|
contextLoader?: DocumentLoader;
|
1633
|
+
tracerProvider?: TracerProvider;
|
1529
1634
|
});
|
1530
1635
|
/**
|
1531
1636
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1566,12 +1671,23 @@ export declare class PropertyValue {
|
|
1566
1671
|
/**
|
1567
1672
|
* Converts a JSON-LD structure to an object of this type.
|
1568
1673
|
* @param json The JSON-LD structure to convert.
|
1674
|
+
* @param options The options to use.
|
1675
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1676
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1677
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1678
|
+
* If omitted, the global tracer provider is used.
|
1569
1679
|
* @returns The object of this type.
|
1570
1680
|
* @throws {TypeError} If the given `json` is invalid.
|
1571
1681
|
*/
|
1572
1682
|
static fromJsonLd(json: unknown, options?: {
|
1573
1683
|
documentLoader?: DocumentLoader;
|
1574
1684
|
contextLoader?: DocumentLoader;
|
1685
|
+
tracerProvider?: TracerProvider;
|
1686
|
+
}): Promise<PropertyValue>;
|
1687
|
+
protected static __fromJsonLd__PropertyValue__(json: unknown, span: Span, options?: {
|
1688
|
+
documentLoader?: DocumentLoader;
|
1689
|
+
contextLoader?: DocumentLoader;
|
1690
|
+
tracerProvider?: TracerProvider;
|
1575
1691
|
}): Promise<PropertyValue>;
|
1576
1692
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1577
1693
|
}
|
@@ -1585,6 +1701,7 @@ export declare class DidService {
|
|
1585
1701
|
readonly id: URL | null;
|
1586
1702
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1587
1703
|
protected get _contextLoader(): DocumentLoader | undefined;
|
1704
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
1588
1705
|
/**
|
1589
1706
|
* The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
|
1590
1707
|
*/
|
@@ -1598,9 +1715,10 @@ export declare class DidService {
|
|
1598
1715
|
id?: URL | null;
|
1599
1716
|
endpoint?: URL | null;
|
1600
1717
|
endpoints?: (URL)[];
|
1601
|
-
}, { documentLoader, contextLoader, }?: {
|
1718
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1602
1719
|
documentLoader?: DocumentLoader;
|
1603
1720
|
contextLoader?: DocumentLoader;
|
1721
|
+
tracerProvider?: TracerProvider;
|
1604
1722
|
});
|
1605
1723
|
/**
|
1606
1724
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1643,12 +1761,23 @@ export declare class DidService {
|
|
1643
1761
|
/**
|
1644
1762
|
* Converts a JSON-LD structure to an object of this type.
|
1645
1763
|
* @param json The JSON-LD structure to convert.
|
1764
|
+
* @param options The options to use.
|
1765
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1766
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1767
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1768
|
+
* If omitted, the global tracer provider is used.
|
1646
1769
|
* @returns The object of this type.
|
1647
1770
|
* @throws {TypeError} If the given `json` is invalid.
|
1648
1771
|
*/
|
1649
1772
|
static fromJsonLd(json: unknown, options?: {
|
1650
1773
|
documentLoader?: DocumentLoader;
|
1651
1774
|
contextLoader?: DocumentLoader;
|
1775
|
+
tracerProvider?: TracerProvider;
|
1776
|
+
}): Promise<DidService>;
|
1777
|
+
protected static __fromJsonLd__DidService__(json: unknown, span: Span, options?: {
|
1778
|
+
documentLoader?: DocumentLoader;
|
1779
|
+
contextLoader?: DocumentLoader;
|
1780
|
+
tracerProvider?: TracerProvider;
|
1652
1781
|
}): Promise<DidService>;
|
1653
1782
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1654
1783
|
}
|
@@ -1669,9 +1798,10 @@ export declare class Export extends DidService {
|
|
1669
1798
|
id?: URL | null;
|
1670
1799
|
endpoint?: URL | null;
|
1671
1800
|
endpoints?: (URL)[];
|
1672
|
-
}, { documentLoader, contextLoader, }?: {
|
1801
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1673
1802
|
documentLoader?: DocumentLoader;
|
1674
1803
|
contextLoader?: DocumentLoader;
|
1804
|
+
tracerProvider?: TracerProvider;
|
1675
1805
|
});
|
1676
1806
|
/**
|
1677
1807
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1706,12 +1836,23 @@ export declare class Export extends DidService {
|
|
1706
1836
|
/**
|
1707
1837
|
* Converts a JSON-LD structure to an object of this type.
|
1708
1838
|
* @param json The JSON-LD structure to convert.
|
1839
|
+
* @param options The options to use.
|
1840
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1841
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1842
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1843
|
+
* If omitted, the global tracer provider is used.
|
1709
1844
|
* @returns The object of this type.
|
1710
1845
|
* @throws {TypeError} If the given `json` is invalid.
|
1711
1846
|
*/
|
1712
1847
|
static fromJsonLd(json: unknown, options?: {
|
1713
1848
|
documentLoader?: DocumentLoader;
|
1714
1849
|
contextLoader?: DocumentLoader;
|
1850
|
+
tracerProvider?: TracerProvider;
|
1851
|
+
}): Promise<Export>;
|
1852
|
+
protected static __fromJsonLd__Export__(json: unknown, span: Span, options?: {
|
1853
|
+
documentLoader?: DocumentLoader;
|
1854
|
+
contextLoader?: DocumentLoader;
|
1855
|
+
tracerProvider?: TracerProvider;
|
1715
1856
|
}): Promise<Export>;
|
1716
1857
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1717
1858
|
}
|
@@ -1723,6 +1864,7 @@ export declare class DataIntegrityProof {
|
|
1723
1864
|
readonly id: URL | null;
|
1724
1865
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1725
1866
|
protected get _contextLoader(): DocumentLoader | undefined;
|
1867
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
1726
1868
|
/**
|
1727
1869
|
* The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
|
1728
1870
|
*/
|
@@ -1739,9 +1881,10 @@ export declare class DataIntegrityProof {
|
|
1739
1881
|
proofPurpose?: "assertionMethod" | "authentication" | "capabilityInvocation" | "capabilityDelegation" | "keyAgreement" | null;
|
1740
1882
|
proofValue?: Uint8Array | null;
|
1741
1883
|
created?: dntShim.Temporal.Instant | null;
|
1742
|
-
}, { documentLoader, contextLoader, }?: {
|
1884
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1743
1885
|
documentLoader?: DocumentLoader;
|
1744
1886
|
contextLoader?: DocumentLoader;
|
1887
|
+
tracerProvider?: TracerProvider;
|
1745
1888
|
});
|
1746
1889
|
/**
|
1747
1890
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1778,6 +1921,7 @@ export declare class DataIntegrityProof {
|
|
1778
1921
|
documentLoader?: DocumentLoader;
|
1779
1922
|
contextLoader?: DocumentLoader;
|
1780
1923
|
suppressError?: boolean;
|
1924
|
+
tracerProvider?: TracerProvider;
|
1781
1925
|
}): Promise<Multikey | null>;
|
1782
1926
|
/** The reason the proof was created.
|
1783
1927
|
*
|
@@ -1813,12 +1957,23 @@ export declare class DataIntegrityProof {
|
|
1813
1957
|
/**
|
1814
1958
|
* Converts a JSON-LD structure to an object of this type.
|
1815
1959
|
* @param json The JSON-LD structure to convert.
|
1960
|
+
* @param options The options to use.
|
1961
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
1962
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
1963
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
1964
|
+
* If omitted, the global tracer provider is used.
|
1816
1965
|
* @returns The object of this type.
|
1817
1966
|
* @throws {TypeError} If the given `json` is invalid.
|
1818
1967
|
*/
|
1819
1968
|
static fromJsonLd(json: unknown, options?: {
|
1820
1969
|
documentLoader?: DocumentLoader;
|
1821
1970
|
contextLoader?: DocumentLoader;
|
1971
|
+
tracerProvider?: TracerProvider;
|
1972
|
+
}): Promise<DataIntegrityProof>;
|
1973
|
+
protected static __fromJsonLd__DataIntegrityProof__(json: unknown, span: Span, options?: {
|
1974
|
+
documentLoader?: DocumentLoader;
|
1975
|
+
contextLoader?: DocumentLoader;
|
1976
|
+
tracerProvider?: TracerProvider;
|
1822
1977
|
}): Promise<DataIntegrityProof>;
|
1823
1978
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1824
1979
|
}
|
@@ -1829,6 +1984,7 @@ export declare class CryptographicKey {
|
|
1829
1984
|
readonly id: URL | null;
|
1830
1985
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1831
1986
|
protected get _contextLoader(): DocumentLoader | undefined;
|
1987
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
1832
1988
|
/**
|
1833
1989
|
* The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
|
1834
1990
|
*/
|
@@ -1842,9 +1998,10 @@ export declare class CryptographicKey {
|
|
1842
1998
|
id?: URL | null;
|
1843
1999
|
owner?: Application | Group | Organization | Person | Service | URL | null;
|
1844
2000
|
publicKey?: dntShim.CryptoKey | null;
|
1845
|
-
}, { documentLoader, contextLoader, }?: {
|
2001
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1846
2002
|
documentLoader?: DocumentLoader;
|
1847
2003
|
contextLoader?: DocumentLoader;
|
2004
|
+
tracerProvider?: TracerProvider;
|
1848
2005
|
});
|
1849
2006
|
/**
|
1850
2007
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1872,6 +2029,7 @@ export declare class CryptographicKey {
|
|
1872
2029
|
documentLoader?: DocumentLoader;
|
1873
2030
|
contextLoader?: DocumentLoader;
|
1874
2031
|
suppressError?: boolean;
|
2032
|
+
tracerProvider?: TracerProvider;
|
1875
2033
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
1876
2034
|
/** A PEM-encoded public key.
|
1877
2035
|
*/
|
@@ -1895,12 +2053,23 @@ export declare class CryptographicKey {
|
|
1895
2053
|
/**
|
1896
2054
|
* Converts a JSON-LD structure to an object of this type.
|
1897
2055
|
* @param json The JSON-LD structure to convert.
|
2056
|
+
* @param options The options to use.
|
2057
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
2058
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
2059
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
2060
|
+
* If omitted, the global tracer provider is used.
|
1898
2061
|
* @returns The object of this type.
|
1899
2062
|
* @throws {TypeError} If the given `json` is invalid.
|
1900
2063
|
*/
|
1901
2064
|
static fromJsonLd(json: unknown, options?: {
|
1902
2065
|
documentLoader?: DocumentLoader;
|
1903
2066
|
contextLoader?: DocumentLoader;
|
2067
|
+
tracerProvider?: TracerProvider;
|
2068
|
+
}): Promise<CryptographicKey>;
|
2069
|
+
protected static __fromJsonLd__CryptographicKey__(json: unknown, span: Span, options?: {
|
2070
|
+
documentLoader?: DocumentLoader;
|
2071
|
+
contextLoader?: DocumentLoader;
|
2072
|
+
tracerProvider?: TracerProvider;
|
1904
2073
|
}): Promise<CryptographicKey>;
|
1905
2074
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1906
2075
|
}
|
@@ -1914,6 +2083,7 @@ export declare class Multikey {
|
|
1914
2083
|
readonly id: URL | null;
|
1915
2084
|
protected get _documentLoader(): DocumentLoader | undefined;
|
1916
2085
|
protected get _contextLoader(): DocumentLoader | undefined;
|
2086
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
1917
2087
|
/**
|
1918
2088
|
* The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
|
1919
2089
|
*/
|
@@ -1927,9 +2097,10 @@ export declare class Multikey {
|
|
1927
2097
|
id?: URL | null;
|
1928
2098
|
controller?: Application | Group | Organization | Person | Service | URL | null;
|
1929
2099
|
publicKey?: dntShim.CryptoKey | null;
|
1930
|
-
}, { documentLoader, contextLoader, }?: {
|
2100
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
1931
2101
|
documentLoader?: DocumentLoader;
|
1932
2102
|
contextLoader?: DocumentLoader;
|
2103
|
+
tracerProvider?: TracerProvider;
|
1933
2104
|
});
|
1934
2105
|
/**
|
1935
2106
|
* Clones this instance, optionally updating it with the given values.
|
@@ -1957,6 +2128,7 @@ export declare class Multikey {
|
|
1957
2128
|
documentLoader?: DocumentLoader;
|
1958
2129
|
contextLoader?: DocumentLoader;
|
1959
2130
|
suppressError?: boolean;
|
2131
|
+
tracerProvider?: TracerProvider;
|
1960
2132
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
1961
2133
|
/** A [Multibase]-encoded value of a [Multicodec] prefix and the key.
|
1962
2134
|
*
|
@@ -1983,12 +2155,23 @@ export declare class Multikey {
|
|
1983
2155
|
/**
|
1984
2156
|
* Converts a JSON-LD structure to an object of this type.
|
1985
2157
|
* @param json The JSON-LD structure to convert.
|
2158
|
+
* @param options The options to use.
|
2159
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
2160
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
2161
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
2162
|
+
* If omitted, the global tracer provider is used.
|
1986
2163
|
* @returns The object of this type.
|
1987
2164
|
* @throws {TypeError} If the given `json` is invalid.
|
1988
2165
|
*/
|
1989
2166
|
static fromJsonLd(json: unknown, options?: {
|
1990
2167
|
documentLoader?: DocumentLoader;
|
1991
2168
|
contextLoader?: DocumentLoader;
|
2169
|
+
tracerProvider?: TracerProvider;
|
2170
|
+
}): Promise<Multikey>;
|
2171
|
+
protected static __fromJsonLd__Multikey__(json: unknown, span: Span, options?: {
|
2172
|
+
documentLoader?: DocumentLoader;
|
2173
|
+
contextLoader?: DocumentLoader;
|
2174
|
+
tracerProvider?: TracerProvider;
|
1992
2175
|
}): Promise<Multikey>;
|
1993
2176
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
1994
2177
|
}
|
@@ -2066,9 +2249,10 @@ export declare class Accept extends Activity {
|
|
2066
2249
|
origins?: (Object | URL)[];
|
2067
2250
|
instrument?: Object | URL | null;
|
2068
2251
|
instruments?: (Object | URL)[];
|
2069
|
-
}, { documentLoader, contextLoader, }?: {
|
2252
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
2070
2253
|
documentLoader?: DocumentLoader;
|
2071
2254
|
contextLoader?: DocumentLoader;
|
2255
|
+
tracerProvider?: TracerProvider;
|
2072
2256
|
});
|
2073
2257
|
/**
|
2074
2258
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2158,12 +2342,23 @@ export declare class Accept extends Activity {
|
|
2158
2342
|
/**
|
2159
2343
|
* Converts a JSON-LD structure to an object of this type.
|
2160
2344
|
* @param json The JSON-LD structure to convert.
|
2345
|
+
* @param options The options to use.
|
2346
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
2347
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
2348
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
2349
|
+
* If omitted, the global tracer provider is used.
|
2161
2350
|
* @returns The object of this type.
|
2162
2351
|
* @throws {TypeError} If the given `json` is invalid.
|
2163
2352
|
*/
|
2164
2353
|
static fromJsonLd(json: unknown, options?: {
|
2165
2354
|
documentLoader?: DocumentLoader;
|
2166
2355
|
contextLoader?: DocumentLoader;
|
2356
|
+
tracerProvider?: TracerProvider;
|
2357
|
+
}): Promise<Accept>;
|
2358
|
+
protected static __fromJsonLd__Accept__(json: unknown, span: Span, options?: {
|
2359
|
+
documentLoader?: DocumentLoader;
|
2360
|
+
contextLoader?: DocumentLoader;
|
2361
|
+
tracerProvider?: TracerProvider;
|
2167
2362
|
}): Promise<Accept>;
|
2168
2363
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2169
2364
|
}
|
@@ -2242,9 +2437,10 @@ export declare class Add extends Activity {
|
|
2242
2437
|
origins?: (Object | URL)[];
|
2243
2438
|
instrument?: Object | URL | null;
|
2244
2439
|
instruments?: (Object | URL)[];
|
2245
|
-
}, { documentLoader, contextLoader, }?: {
|
2440
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
2246
2441
|
documentLoader?: DocumentLoader;
|
2247
2442
|
contextLoader?: DocumentLoader;
|
2443
|
+
tracerProvider?: TracerProvider;
|
2248
2444
|
});
|
2249
2445
|
/**
|
2250
2446
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2334,12 +2530,23 @@ export declare class Add extends Activity {
|
|
2334
2530
|
/**
|
2335
2531
|
* Converts a JSON-LD structure to an object of this type.
|
2336
2532
|
* @param json The JSON-LD structure to convert.
|
2533
|
+
* @param options The options to use.
|
2534
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
2535
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
2536
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
2537
|
+
* If omitted, the global tracer provider is used.
|
2337
2538
|
* @returns The object of this type.
|
2338
2539
|
* @throws {TypeError} If the given `json` is invalid.
|
2339
2540
|
*/
|
2340
2541
|
static fromJsonLd(json: unknown, options?: {
|
2341
2542
|
documentLoader?: DocumentLoader;
|
2342
2543
|
contextLoader?: DocumentLoader;
|
2544
|
+
tracerProvider?: TracerProvider;
|
2545
|
+
}): Promise<Add>;
|
2546
|
+
protected static __fromJsonLd__Add__(json: unknown, span: Span, options?: {
|
2547
|
+
documentLoader?: DocumentLoader;
|
2548
|
+
contextLoader?: DocumentLoader;
|
2549
|
+
tracerProvider?: TracerProvider;
|
2343
2550
|
}): Promise<Add>;
|
2344
2551
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2345
2552
|
}
|
@@ -2417,9 +2624,10 @@ export declare class Announce extends Activity {
|
|
2417
2624
|
origins?: (Object | URL)[];
|
2418
2625
|
instrument?: Object | URL | null;
|
2419
2626
|
instruments?: (Object | URL)[];
|
2420
|
-
}, { documentLoader, contextLoader, }?: {
|
2627
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
2421
2628
|
documentLoader?: DocumentLoader;
|
2422
2629
|
contextLoader?: DocumentLoader;
|
2630
|
+
tracerProvider?: TracerProvider;
|
2423
2631
|
});
|
2424
2632
|
/**
|
2425
2633
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2509,12 +2717,23 @@ export declare class Announce extends Activity {
|
|
2509
2717
|
/**
|
2510
2718
|
* Converts a JSON-LD structure to an object of this type.
|
2511
2719
|
* @param json The JSON-LD structure to convert.
|
2720
|
+
* @param options The options to use.
|
2721
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
2722
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
2723
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
2724
|
+
* If omitted, the global tracer provider is used.
|
2512
2725
|
* @returns The object of this type.
|
2513
2726
|
* @throws {TypeError} If the given `json` is invalid.
|
2514
2727
|
*/
|
2515
2728
|
static fromJsonLd(json: unknown, options?: {
|
2516
2729
|
documentLoader?: DocumentLoader;
|
2517
2730
|
contextLoader?: DocumentLoader;
|
2731
|
+
tracerProvider?: TracerProvider;
|
2732
|
+
}): Promise<Announce>;
|
2733
|
+
protected static __fromJsonLd__Announce__(json: unknown, span: Span, options?: {
|
2734
|
+
documentLoader?: DocumentLoader;
|
2735
|
+
contextLoader?: DocumentLoader;
|
2736
|
+
tracerProvider?: TracerProvider;
|
2518
2737
|
}): Promise<Announce>;
|
2519
2738
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
2520
2739
|
}
|
@@ -2605,9 +2824,10 @@ export declare class Application extends Object {
|
|
2605
2824
|
services?: (DidService | URL)[];
|
2606
2825
|
followedMessage?: string | null;
|
2607
2826
|
cat?: boolean | null;
|
2608
|
-
}, { documentLoader, contextLoader, }?: {
|
2827
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
2609
2828
|
documentLoader?: DocumentLoader;
|
2610
2829
|
contextLoader?: DocumentLoader;
|
2830
|
+
tracerProvider?: TracerProvider;
|
2611
2831
|
});
|
2612
2832
|
/**
|
2613
2833
|
* Clones this instance, optionally updating it with the given values.
|
@@ -2713,6 +2933,7 @@ export declare class Application extends Object {
|
|
2713
2933
|
documentLoader?: DocumentLoader;
|
2714
2934
|
contextLoader?: DocumentLoader;
|
2715
2935
|
suppressError?: boolean;
|
2936
|
+
tracerProvider?: TracerProvider;
|
2716
2937
|
}): Promise<CryptographicKey | null>;
|
2717
2938
|
/**
|
2718
2939
|
* Similar to
|
@@ -2726,6 +2947,7 @@ export declare class Application extends Object {
|
|
2726
2947
|
documentLoader?: DocumentLoader;
|
2727
2948
|
contextLoader?: DocumentLoader;
|
2728
2949
|
suppressError?: boolean;
|
2950
|
+
tracerProvider?: TracerProvider;
|
2729
2951
|
}): AsyncIterable<CryptographicKey>;
|
2730
2952
|
/**
|
2731
2953
|
* Similar to
|
@@ -2742,6 +2964,7 @@ export declare class Application extends Object {
|
|
2742
2964
|
documentLoader?: DocumentLoader;
|
2743
2965
|
contextLoader?: DocumentLoader;
|
2744
2966
|
suppressError?: boolean;
|
2967
|
+
tracerProvider?: TracerProvider;
|
2745
2968
|
}): Promise<Multikey | null>;
|
2746
2969
|
/**
|
2747
2970
|
* Similar to
|
@@ -2758,6 +2981,7 @@ export declare class Application extends Object {
|
|
2758
2981
|
documentLoader?: DocumentLoader;
|
2759
2982
|
contextLoader?: DocumentLoader;
|
2760
2983
|
suppressError?: boolean;
|
2984
|
+
tracerProvider?: TracerProvider;
|
2761
2985
|
}): AsyncIterable<Multikey>;
|
2762
2986
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
2763
2987
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -2791,6 +3015,7 @@ export declare class Application extends Object {
|
|
2791
3015
|
documentLoader?: DocumentLoader;
|
2792
3016
|
contextLoader?: DocumentLoader;
|
2793
3017
|
suppressError?: boolean;
|
3018
|
+
tracerProvider?: TracerProvider;
|
2794
3019
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
2795
3020
|
/**
|
2796
3021
|
* Similar to
|
@@ -2813,6 +3038,7 @@ export declare class Application extends Object {
|
|
2813
3038
|
documentLoader?: DocumentLoader;
|
2814
3039
|
contextLoader?: DocumentLoader;
|
2815
3040
|
suppressError?: boolean;
|
3041
|
+
tracerProvider?: TracerProvider;
|
2816
3042
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
2817
3043
|
/**
|
2818
3044
|
* Similar to
|
@@ -2830,6 +3056,7 @@ export declare class Application extends Object {
|
|
2830
3056
|
documentLoader?: DocumentLoader;
|
2831
3057
|
contextLoader?: DocumentLoader;
|
2832
3058
|
suppressError?: boolean;
|
3059
|
+
tracerProvider?: TracerProvider;
|
2833
3060
|
}): Promise<Collection | null>;
|
2834
3061
|
/**
|
2835
3062
|
* Similar to
|
@@ -2850,6 +3077,7 @@ export declare class Application extends Object {
|
|
2850
3077
|
documentLoader?: DocumentLoader;
|
2851
3078
|
contextLoader?: DocumentLoader;
|
2852
3079
|
suppressError?: boolean;
|
3080
|
+
tracerProvider?: TracerProvider;
|
2853
3081
|
}): Promise<Collection | null>;
|
2854
3082
|
/**
|
2855
3083
|
* Similar to
|
@@ -2868,6 +3096,7 @@ export declare class Application extends Object {
|
|
2868
3096
|
documentLoader?: DocumentLoader;
|
2869
3097
|
contextLoader?: DocumentLoader;
|
2870
3098
|
suppressError?: boolean;
|
3099
|
+
tracerProvider?: TracerProvider;
|
2871
3100
|
}): Promise<Collection | null>;
|
2872
3101
|
/**
|
2873
3102
|
* Similar to
|
@@ -2884,6 +3113,7 @@ export declare class Application extends Object {
|
|
2884
3113
|
documentLoader?: DocumentLoader;
|
2885
3114
|
contextLoader?: DocumentLoader;
|
2886
3115
|
suppressError?: boolean;
|
3116
|
+
tracerProvider?: TracerProvider;
|
2887
3117
|
}): Promise<Collection | null>;
|
2888
3118
|
/**
|
2889
3119
|
* Similar to
|
@@ -2900,6 +3130,7 @@ export declare class Application extends Object {
|
|
2900
3130
|
documentLoader?: DocumentLoader;
|
2901
3131
|
contextLoader?: DocumentLoader;
|
2902
3132
|
suppressError?: boolean;
|
3133
|
+
tracerProvider?: TracerProvider;
|
2903
3134
|
}): Promise<Collection | null>;
|
2904
3135
|
/**
|
2905
3136
|
* Similar to
|
@@ -2913,6 +3144,7 @@ export declare class Application extends Object {
|
|
2913
3144
|
documentLoader?: DocumentLoader;
|
2914
3145
|
contextLoader?: DocumentLoader;
|
2915
3146
|
suppressError?: boolean;
|
3147
|
+
tracerProvider?: TracerProvider;
|
2916
3148
|
}): AsyncIterable<Collection>;
|
2917
3149
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
2918
3150
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -2948,6 +3180,7 @@ export declare class Application extends Object {
|
|
2948
3180
|
documentLoader?: DocumentLoader;
|
2949
3181
|
contextLoader?: DocumentLoader;
|
2950
3182
|
suppressError?: boolean;
|
3183
|
+
tracerProvider?: TracerProvider;
|
2951
3184
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
2952
3185
|
/**
|
2953
3186
|
* Similar to
|
@@ -2964,6 +3197,7 @@ export declare class Application extends Object {
|
|
2964
3197
|
documentLoader?: DocumentLoader;
|
2965
3198
|
contextLoader?: DocumentLoader;
|
2966
3199
|
suppressError?: boolean;
|
3200
|
+
tracerProvider?: TracerProvider;
|
2967
3201
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
2968
3202
|
/**
|
2969
3203
|
* Similar to
|
@@ -2980,6 +3214,7 @@ export declare class Application extends Object {
|
|
2980
3214
|
documentLoader?: DocumentLoader;
|
2981
3215
|
contextLoader?: DocumentLoader;
|
2982
3216
|
suppressError?: boolean;
|
3217
|
+
tracerProvider?: TracerProvider;
|
2983
3218
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
2984
3219
|
/**
|
2985
3220
|
* Similar to
|
@@ -2996,6 +3231,7 @@ export declare class Application extends Object {
|
|
2996
3231
|
documentLoader?: DocumentLoader;
|
2997
3232
|
contextLoader?: DocumentLoader;
|
2998
3233
|
suppressError?: boolean;
|
3234
|
+
tracerProvider?: TracerProvider;
|
2999
3235
|
}): Promise<DidService | null>;
|
3000
3236
|
/**
|
3001
3237
|
* Similar to
|
@@ -3012,6 +3248,7 @@ export declare class Application extends Object {
|
|
3012
3248
|
documentLoader?: DocumentLoader;
|
3013
3249
|
contextLoader?: DocumentLoader;
|
3014
3250
|
suppressError?: boolean;
|
3251
|
+
tracerProvider?: TracerProvider;
|
3015
3252
|
}): AsyncIterable<DidService>;
|
3016
3253
|
/** This value is used for `Actor` type objects to show message on followed.
|
3017
3254
|
*/
|
@@ -3041,12 +3278,23 @@ export declare class Application extends Object {
|
|
3041
3278
|
/**
|
3042
3279
|
* Converts a JSON-LD structure to an object of this type.
|
3043
3280
|
* @param json The JSON-LD structure to convert.
|
3281
|
+
* @param options The options to use.
|
3282
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
3283
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
3284
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
3285
|
+
* If omitted, the global tracer provider is used.
|
3044
3286
|
* @returns The object of this type.
|
3045
3287
|
* @throws {TypeError} If the given `json` is invalid.
|
3046
3288
|
*/
|
3047
3289
|
static fromJsonLd(json: unknown, options?: {
|
3048
3290
|
documentLoader?: DocumentLoader;
|
3049
3291
|
contextLoader?: DocumentLoader;
|
3292
|
+
tracerProvider?: TracerProvider;
|
3293
|
+
}): Promise<Application>;
|
3294
|
+
protected static __fromJsonLd__Application__(json: unknown, span: Span, options?: {
|
3295
|
+
documentLoader?: DocumentLoader;
|
3296
|
+
contextLoader?: DocumentLoader;
|
3297
|
+
tracerProvider?: TracerProvider;
|
3050
3298
|
}): Promise<Application>;
|
3051
3299
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3052
3300
|
}
|
@@ -3124,9 +3372,10 @@ export declare class IntransitiveActivity extends Activity {
|
|
3124
3372
|
origins?: (Object | URL)[];
|
3125
3373
|
instrument?: Object | URL | null;
|
3126
3374
|
instruments?: (Object | URL)[];
|
3127
|
-
}, { documentLoader, contextLoader, }?: {
|
3375
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
3128
3376
|
documentLoader?: DocumentLoader;
|
3129
3377
|
contextLoader?: DocumentLoader;
|
3378
|
+
tracerProvider?: TracerProvider;
|
3130
3379
|
});
|
3131
3380
|
/**
|
3132
3381
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3216,12 +3465,23 @@ export declare class IntransitiveActivity extends Activity {
|
|
3216
3465
|
/**
|
3217
3466
|
* Converts a JSON-LD structure to an object of this type.
|
3218
3467
|
* @param json The JSON-LD structure to convert.
|
3468
|
+
* @param options The options to use.
|
3469
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
3470
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
3471
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
3472
|
+
* If omitted, the global tracer provider is used.
|
3219
3473
|
* @returns The object of this type.
|
3220
3474
|
* @throws {TypeError} If the given `json` is invalid.
|
3221
3475
|
*/
|
3222
3476
|
static fromJsonLd(json: unknown, options?: {
|
3223
3477
|
documentLoader?: DocumentLoader;
|
3224
3478
|
contextLoader?: DocumentLoader;
|
3479
|
+
tracerProvider?: TracerProvider;
|
3480
|
+
}): Promise<IntransitiveActivity>;
|
3481
|
+
protected static __fromJsonLd__IntransitiveActivity__(json: unknown, span: Span, options?: {
|
3482
|
+
documentLoader?: DocumentLoader;
|
3483
|
+
contextLoader?: DocumentLoader;
|
3484
|
+
tracerProvider?: TracerProvider;
|
3225
3485
|
}): Promise<IntransitiveActivity>;
|
3226
3486
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3227
3487
|
}
|
@@ -3299,9 +3559,10 @@ export declare class Arrive extends IntransitiveActivity {
|
|
3299
3559
|
origins?: (Object | URL)[];
|
3300
3560
|
instrument?: Object | URL | null;
|
3301
3561
|
instruments?: (Object | URL)[];
|
3302
|
-
}, { documentLoader, contextLoader, }?: {
|
3562
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
3303
3563
|
documentLoader?: DocumentLoader;
|
3304
3564
|
contextLoader?: DocumentLoader;
|
3565
|
+
tracerProvider?: TracerProvider;
|
3305
3566
|
});
|
3306
3567
|
/**
|
3307
3568
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3391,12 +3652,23 @@ export declare class Arrive extends IntransitiveActivity {
|
|
3391
3652
|
/**
|
3392
3653
|
* Converts a JSON-LD structure to an object of this type.
|
3393
3654
|
* @param json The JSON-LD structure to convert.
|
3655
|
+
* @param options The options to use.
|
3656
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
3657
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
3658
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
3659
|
+
* If omitted, the global tracer provider is used.
|
3394
3660
|
* @returns The object of this type.
|
3395
3661
|
* @throws {TypeError} If the given `json` is invalid.
|
3396
3662
|
*/
|
3397
3663
|
static fromJsonLd(json: unknown, options?: {
|
3398
3664
|
documentLoader?: DocumentLoader;
|
3399
3665
|
contextLoader?: DocumentLoader;
|
3666
|
+
tracerProvider?: TracerProvider;
|
3667
|
+
}): Promise<Arrive>;
|
3668
|
+
protected static __fromJsonLd__Arrive__(json: unknown, span: Span, options?: {
|
3669
|
+
documentLoader?: DocumentLoader;
|
3670
|
+
contextLoader?: DocumentLoader;
|
3671
|
+
tracerProvider?: TracerProvider;
|
3400
3672
|
}): Promise<Arrive>;
|
3401
3673
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3402
3674
|
}
|
@@ -3461,9 +3733,10 @@ export declare class Article extends Object {
|
|
3461
3733
|
proof?: DataIntegrityProof | URL | null;
|
3462
3734
|
proofs?: (DataIntegrityProof | URL)[];
|
3463
3735
|
quoteUrl?: URL | null;
|
3464
|
-
}, { documentLoader, contextLoader, }?: {
|
3736
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
3465
3737
|
documentLoader?: DocumentLoader;
|
3466
3738
|
contextLoader?: DocumentLoader;
|
3739
|
+
tracerProvider?: TracerProvider;
|
3467
3740
|
});
|
3468
3741
|
/**
|
3469
3742
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3554,12 +3827,23 @@ export declare class Article extends Object {
|
|
3554
3827
|
/**
|
3555
3828
|
* Converts a JSON-LD structure to an object of this type.
|
3556
3829
|
* @param json The JSON-LD structure to convert.
|
3830
|
+
* @param options The options to use.
|
3831
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
3832
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
3833
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
3834
|
+
* If omitted, the global tracer provider is used.
|
3557
3835
|
* @returns The object of this type.
|
3558
3836
|
* @throws {TypeError} If the given `json` is invalid.
|
3559
3837
|
*/
|
3560
3838
|
static fromJsonLd(json: unknown, options?: {
|
3561
3839
|
documentLoader?: DocumentLoader;
|
3562
3840
|
contextLoader?: DocumentLoader;
|
3841
|
+
tracerProvider?: TracerProvider;
|
3842
|
+
}): Promise<Article>;
|
3843
|
+
protected static __fromJsonLd__Article__(json: unknown, span: Span, options?: {
|
3844
|
+
documentLoader?: DocumentLoader;
|
3845
|
+
contextLoader?: DocumentLoader;
|
3846
|
+
tracerProvider?: TracerProvider;
|
3563
3847
|
}): Promise<Article>;
|
3564
3848
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3565
3849
|
}
|
@@ -3625,9 +3909,10 @@ export declare class Document extends Object {
|
|
3625
3909
|
proofs?: (DataIntegrityProof | URL)[];
|
3626
3910
|
width?: number | null;
|
3627
3911
|
height?: number | null;
|
3628
|
-
}, { documentLoader, contextLoader, }?: {
|
3912
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
3629
3913
|
documentLoader?: DocumentLoader;
|
3630
3914
|
contextLoader?: DocumentLoader;
|
3915
|
+
tracerProvider?: TracerProvider;
|
3631
3916
|
});
|
3632
3917
|
/**
|
3633
3918
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3715,12 +4000,23 @@ export declare class Document extends Object {
|
|
3715
4000
|
/**
|
3716
4001
|
* Converts a JSON-LD structure to an object of this type.
|
3717
4002
|
* @param json The JSON-LD structure to convert.
|
4003
|
+
* @param options The options to use.
|
4004
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
4005
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
4006
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
4007
|
+
* If omitted, the global tracer provider is used.
|
3718
4008
|
* @returns The object of this type.
|
3719
4009
|
* @throws {TypeError} If the given `json` is invalid.
|
3720
4010
|
*/
|
3721
4011
|
static fromJsonLd(json: unknown, options?: {
|
3722
4012
|
documentLoader?: DocumentLoader;
|
3723
4013
|
contextLoader?: DocumentLoader;
|
4014
|
+
tracerProvider?: TracerProvider;
|
4015
|
+
}): Promise<Document>;
|
4016
|
+
protected static __fromJsonLd__Document__(json: unknown, span: Span, options?: {
|
4017
|
+
documentLoader?: DocumentLoader;
|
4018
|
+
contextLoader?: DocumentLoader;
|
4019
|
+
tracerProvider?: TracerProvider;
|
3724
4020
|
}): Promise<Document>;
|
3725
4021
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3726
4022
|
}
|
@@ -3786,9 +4082,10 @@ export declare class Audio extends Document {
|
|
3786
4082
|
proofs?: (DataIntegrityProof | URL)[];
|
3787
4083
|
width?: number | null;
|
3788
4084
|
height?: number | null;
|
3789
|
-
}, { documentLoader, contextLoader, }?: {
|
4085
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
3790
4086
|
documentLoader?: DocumentLoader;
|
3791
4087
|
contextLoader?: DocumentLoader;
|
4088
|
+
tracerProvider?: TracerProvider;
|
3792
4089
|
});
|
3793
4090
|
/**
|
3794
4091
|
* Clones this instance, optionally updating it with the given values.
|
@@ -3868,12 +4165,23 @@ export declare class Audio extends Document {
|
|
3868
4165
|
/**
|
3869
4166
|
* Converts a JSON-LD structure to an object of this type.
|
3870
4167
|
* @param json The JSON-LD structure to convert.
|
4168
|
+
* @param options The options to use.
|
4169
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
4170
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
4171
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
4172
|
+
* If omitted, the global tracer provider is used.
|
3871
4173
|
* @returns The object of this type.
|
3872
4174
|
* @throws {TypeError} If the given `json` is invalid.
|
3873
4175
|
*/
|
3874
4176
|
static fromJsonLd(json: unknown, options?: {
|
3875
4177
|
documentLoader?: DocumentLoader;
|
3876
4178
|
contextLoader?: DocumentLoader;
|
4179
|
+
tracerProvider?: TracerProvider;
|
4180
|
+
}): Promise<Audio>;
|
4181
|
+
protected static __fromJsonLd__Audio__(json: unknown, span: Span, options?: {
|
4182
|
+
documentLoader?: DocumentLoader;
|
4183
|
+
contextLoader?: DocumentLoader;
|
4184
|
+
tracerProvider?: TracerProvider;
|
3877
4185
|
}): Promise<Audio>;
|
3878
4186
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
3879
4187
|
}
|
@@ -3950,9 +4258,10 @@ export declare class Ignore extends Activity {
|
|
3950
4258
|
origins?: (Object | URL)[];
|
3951
4259
|
instrument?: Object | URL | null;
|
3952
4260
|
instruments?: (Object | URL)[];
|
3953
|
-
}, { documentLoader, contextLoader, }?: {
|
4261
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
3954
4262
|
documentLoader?: DocumentLoader;
|
3955
4263
|
contextLoader?: DocumentLoader;
|
4264
|
+
tracerProvider?: TracerProvider;
|
3956
4265
|
});
|
3957
4266
|
/**
|
3958
4267
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4042,12 +4351,23 @@ export declare class Ignore extends Activity {
|
|
4042
4351
|
/**
|
4043
4352
|
* Converts a JSON-LD structure to an object of this type.
|
4044
4353
|
* @param json The JSON-LD structure to convert.
|
4354
|
+
* @param options The options to use.
|
4355
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
4356
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
4357
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
4358
|
+
* If omitted, the global tracer provider is used.
|
4045
4359
|
* @returns The object of this type.
|
4046
4360
|
* @throws {TypeError} If the given `json` is invalid.
|
4047
4361
|
*/
|
4048
4362
|
static fromJsonLd(json: unknown, options?: {
|
4049
4363
|
documentLoader?: DocumentLoader;
|
4050
4364
|
contextLoader?: DocumentLoader;
|
4365
|
+
tracerProvider?: TracerProvider;
|
4366
|
+
}): Promise<Ignore>;
|
4367
|
+
protected static __fromJsonLd__Ignore__(json: unknown, span: Span, options?: {
|
4368
|
+
documentLoader?: DocumentLoader;
|
4369
|
+
contextLoader?: DocumentLoader;
|
4370
|
+
tracerProvider?: TracerProvider;
|
4051
4371
|
}): Promise<Ignore>;
|
4052
4372
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4053
4373
|
}
|
@@ -4126,9 +4446,10 @@ export declare class Block extends Ignore {
|
|
4126
4446
|
origins?: (Object | URL)[];
|
4127
4447
|
instrument?: Object | URL | null;
|
4128
4448
|
instruments?: (Object | URL)[];
|
4129
|
-
}, { documentLoader, contextLoader, }?: {
|
4449
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
4130
4450
|
documentLoader?: DocumentLoader;
|
4131
4451
|
contextLoader?: DocumentLoader;
|
4452
|
+
tracerProvider?: TracerProvider;
|
4132
4453
|
});
|
4133
4454
|
/**
|
4134
4455
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4218,12 +4539,23 @@ export declare class Block extends Ignore {
|
|
4218
4539
|
/**
|
4219
4540
|
* Converts a JSON-LD structure to an object of this type.
|
4220
4541
|
* @param json The JSON-LD structure to convert.
|
4542
|
+
* @param options The options to use.
|
4543
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
4544
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
4545
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
4546
|
+
* If omitted, the global tracer provider is used.
|
4221
4547
|
* @returns The object of this type.
|
4222
4548
|
* @throws {TypeError} If the given `json` is invalid.
|
4223
4549
|
*/
|
4224
4550
|
static fromJsonLd(json: unknown, options?: {
|
4225
4551
|
documentLoader?: DocumentLoader;
|
4226
4552
|
contextLoader?: DocumentLoader;
|
4553
|
+
tracerProvider?: TracerProvider;
|
4554
|
+
}): Promise<Block>;
|
4555
|
+
protected static __fromJsonLd__Block__(json: unknown, span: Span, options?: {
|
4556
|
+
documentLoader?: DocumentLoader;
|
4557
|
+
contextLoader?: DocumentLoader;
|
4558
|
+
tracerProvider?: TracerProvider;
|
4227
4559
|
}): Promise<Block>;
|
4228
4560
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4229
4561
|
}
|
@@ -4296,9 +4628,10 @@ export declare class Collection extends Object {
|
|
4296
4628
|
first?: CollectionPage | URL | null;
|
4297
4629
|
last?: CollectionPage | URL | null;
|
4298
4630
|
items?: (Object | Link | URL)[];
|
4299
|
-
}, { documentLoader, contextLoader, }?: {
|
4631
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
4300
4632
|
documentLoader?: DocumentLoader;
|
4301
4633
|
contextLoader?: DocumentLoader;
|
4634
|
+
tracerProvider?: TracerProvider;
|
4302
4635
|
});
|
4303
4636
|
/**
|
4304
4637
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4380,6 +4713,7 @@ export declare class Collection extends Object {
|
|
4380
4713
|
documentLoader?: DocumentLoader;
|
4381
4714
|
contextLoader?: DocumentLoader;
|
4382
4715
|
suppressError?: boolean;
|
4716
|
+
tracerProvider?: TracerProvider;
|
4383
4717
|
}): Promise<CollectionPage | null>;
|
4384
4718
|
/**
|
4385
4719
|
* Similar to
|
@@ -4394,6 +4728,7 @@ export declare class Collection extends Object {
|
|
4394
4728
|
documentLoader?: DocumentLoader;
|
4395
4729
|
contextLoader?: DocumentLoader;
|
4396
4730
|
suppressError?: boolean;
|
4731
|
+
tracerProvider?: TracerProvider;
|
4397
4732
|
}): Promise<CollectionPage | null>;
|
4398
4733
|
/**
|
4399
4734
|
* Similar to
|
@@ -4408,6 +4743,7 @@ export declare class Collection extends Object {
|
|
4408
4743
|
documentLoader?: DocumentLoader;
|
4409
4744
|
contextLoader?: DocumentLoader;
|
4410
4745
|
suppressError?: boolean;
|
4746
|
+
tracerProvider?: TracerProvider;
|
4411
4747
|
}): Promise<CollectionPage | null>;
|
4412
4748
|
/**
|
4413
4749
|
* Similar to
|
@@ -4422,6 +4758,7 @@ export declare class Collection extends Object {
|
|
4422
4758
|
documentLoader?: DocumentLoader;
|
4423
4759
|
contextLoader?: DocumentLoader;
|
4424
4760
|
suppressError?: boolean;
|
4761
|
+
tracerProvider?: TracerProvider;
|
4425
4762
|
}): AsyncIterable<Object | Link>;
|
4426
4763
|
/**
|
4427
4764
|
* Converts this object to a JSON-LD structure.
|
@@ -4442,12 +4779,23 @@ export declare class Collection extends Object {
|
|
4442
4779
|
/**
|
4443
4780
|
* Converts a JSON-LD structure to an object of this type.
|
4444
4781
|
* @param json The JSON-LD structure to convert.
|
4782
|
+
* @param options The options to use.
|
4783
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
4784
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
4785
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
4786
|
+
* If omitted, the global tracer provider is used.
|
4445
4787
|
* @returns The object of this type.
|
4446
4788
|
* @throws {TypeError} If the given `json` is invalid.
|
4447
4789
|
*/
|
4448
4790
|
static fromJsonLd(json: unknown, options?: {
|
4449
4791
|
documentLoader?: DocumentLoader;
|
4450
4792
|
contextLoader?: DocumentLoader;
|
4793
|
+
tracerProvider?: TracerProvider;
|
4794
|
+
}): Promise<Collection>;
|
4795
|
+
protected static __fromJsonLd__Collection__(json: unknown, span: Span, options?: {
|
4796
|
+
documentLoader?: DocumentLoader;
|
4797
|
+
contextLoader?: DocumentLoader;
|
4798
|
+
tracerProvider?: TracerProvider;
|
4451
4799
|
}): Promise<Collection>;
|
4452
4800
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4453
4801
|
}
|
@@ -4521,9 +4869,10 @@ export declare class CollectionPage extends Collection {
|
|
4521
4869
|
partOf?: Collection | URL | null;
|
4522
4870
|
next?: CollectionPage | URL | null;
|
4523
4871
|
prev?: CollectionPage | URL | null;
|
4524
|
-
}, { documentLoader, contextLoader, }?: {
|
4872
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
4525
4873
|
documentLoader?: DocumentLoader;
|
4526
4874
|
contextLoader?: DocumentLoader;
|
4875
|
+
tracerProvider?: TracerProvider;
|
4527
4876
|
});
|
4528
4877
|
/**
|
4529
4878
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4603,6 +4952,7 @@ export declare class CollectionPage extends Collection {
|
|
4603
4952
|
documentLoader?: DocumentLoader;
|
4604
4953
|
contextLoader?: DocumentLoader;
|
4605
4954
|
suppressError?: boolean;
|
4955
|
+
tracerProvider?: TracerProvider;
|
4606
4956
|
}): Promise<Collection | null>;
|
4607
4957
|
/**
|
4608
4958
|
* Similar to
|
@@ -4616,6 +4966,7 @@ export declare class CollectionPage extends Collection {
|
|
4616
4966
|
documentLoader?: DocumentLoader;
|
4617
4967
|
contextLoader?: DocumentLoader;
|
4618
4968
|
suppressError?: boolean;
|
4969
|
+
tracerProvider?: TracerProvider;
|
4619
4970
|
}): Promise<CollectionPage | null>;
|
4620
4971
|
/**
|
4621
4972
|
* Similar to
|
@@ -4629,6 +4980,7 @@ export declare class CollectionPage extends Collection {
|
|
4629
4980
|
documentLoader?: DocumentLoader;
|
4630
4981
|
contextLoader?: DocumentLoader;
|
4631
4982
|
suppressError?: boolean;
|
4983
|
+
tracerProvider?: TracerProvider;
|
4632
4984
|
}): Promise<CollectionPage | null>;
|
4633
4985
|
/**
|
4634
4986
|
* Converts this object to a JSON-LD structure.
|
@@ -4649,12 +5001,23 @@ export declare class CollectionPage extends Collection {
|
|
4649
5001
|
/**
|
4650
5002
|
* Converts a JSON-LD structure to an object of this type.
|
4651
5003
|
* @param json The JSON-LD structure to convert.
|
5004
|
+
* @param options The options to use.
|
5005
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
5006
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
5007
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
5008
|
+
* If omitted, the global tracer provider is used.
|
4652
5009
|
* @returns The object of this type.
|
4653
5010
|
* @throws {TypeError} If the given `json` is invalid.
|
4654
5011
|
*/
|
4655
5012
|
static fromJsonLd(json: unknown, options?: {
|
4656
5013
|
documentLoader?: DocumentLoader;
|
4657
5014
|
contextLoader?: DocumentLoader;
|
5015
|
+
tracerProvider?: TracerProvider;
|
5016
|
+
}): Promise<CollectionPage>;
|
5017
|
+
protected static __fromJsonLd__CollectionPage__(json: unknown, span: Span, options?: {
|
5018
|
+
documentLoader?: DocumentLoader;
|
5019
|
+
contextLoader?: DocumentLoader;
|
5020
|
+
tracerProvider?: TracerProvider;
|
4658
5021
|
}): Promise<CollectionPage>;
|
4659
5022
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4660
5023
|
}
|
@@ -4730,9 +5093,10 @@ export declare class Create extends Activity {
|
|
4730
5093
|
origins?: (Object | URL)[];
|
4731
5094
|
instrument?: Object | URL | null;
|
4732
5095
|
instruments?: (Object | URL)[];
|
4733
|
-
}, { documentLoader, contextLoader, }?: {
|
5096
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
4734
5097
|
documentLoader?: DocumentLoader;
|
4735
5098
|
contextLoader?: DocumentLoader;
|
5099
|
+
tracerProvider?: TracerProvider;
|
4736
5100
|
});
|
4737
5101
|
/**
|
4738
5102
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4822,12 +5186,23 @@ export declare class Create extends Activity {
|
|
4822
5186
|
/**
|
4823
5187
|
* Converts a JSON-LD structure to an object of this type.
|
4824
5188
|
* @param json The JSON-LD structure to convert.
|
5189
|
+
* @param options The options to use.
|
5190
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
5191
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
5192
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
5193
|
+
* If omitted, the global tracer provider is used.
|
4825
5194
|
* @returns The object of this type.
|
4826
5195
|
* @throws {TypeError} If the given `json` is invalid.
|
4827
5196
|
*/
|
4828
5197
|
static fromJsonLd(json: unknown, options?: {
|
4829
5198
|
documentLoader?: DocumentLoader;
|
4830
5199
|
contextLoader?: DocumentLoader;
|
5200
|
+
tracerProvider?: TracerProvider;
|
5201
|
+
}): Promise<Create>;
|
5202
|
+
protected static __fromJsonLd__Create__(json: unknown, span: Span, options?: {
|
5203
|
+
documentLoader?: DocumentLoader;
|
5204
|
+
contextLoader?: DocumentLoader;
|
5205
|
+
tracerProvider?: TracerProvider;
|
4831
5206
|
}): Promise<Create>;
|
4832
5207
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
4833
5208
|
}
|
@@ -4904,9 +5279,10 @@ export declare class Delete extends Activity {
|
|
4904
5279
|
origins?: (Object | URL)[];
|
4905
5280
|
instrument?: Object | URL | null;
|
4906
5281
|
instruments?: (Object | URL)[];
|
4907
|
-
}, { documentLoader, contextLoader, }?: {
|
5282
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
4908
5283
|
documentLoader?: DocumentLoader;
|
4909
5284
|
contextLoader?: DocumentLoader;
|
5285
|
+
tracerProvider?: TracerProvider;
|
4910
5286
|
});
|
4911
5287
|
/**
|
4912
5288
|
* Clones this instance, optionally updating it with the given values.
|
@@ -4996,12 +5372,23 @@ export declare class Delete extends Activity {
|
|
4996
5372
|
/**
|
4997
5373
|
* Converts a JSON-LD structure to an object of this type.
|
4998
5374
|
* @param json The JSON-LD structure to convert.
|
5375
|
+
* @param options The options to use.
|
5376
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
5377
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
5378
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
5379
|
+
* If omitted, the global tracer provider is used.
|
4999
5380
|
* @returns The object of this type.
|
5000
5381
|
* @throws {TypeError} If the given `json` is invalid.
|
5001
5382
|
*/
|
5002
5383
|
static fromJsonLd(json: unknown, options?: {
|
5003
5384
|
documentLoader?: DocumentLoader;
|
5004
5385
|
contextLoader?: DocumentLoader;
|
5386
|
+
tracerProvider?: TracerProvider;
|
5387
|
+
}): Promise<Delete>;
|
5388
|
+
protected static __fromJsonLd__Delete__(json: unknown, span: Span, options?: {
|
5389
|
+
documentLoader?: DocumentLoader;
|
5390
|
+
contextLoader?: DocumentLoader;
|
5391
|
+
tracerProvider?: TracerProvider;
|
5005
5392
|
}): Promise<Delete>;
|
5006
5393
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5007
5394
|
}
|
@@ -5077,9 +5464,10 @@ export declare class Dislike extends Activity {
|
|
5077
5464
|
origins?: (Object | URL)[];
|
5078
5465
|
instrument?: Object | URL | null;
|
5079
5466
|
instruments?: (Object | URL)[];
|
5080
|
-
}, { documentLoader, contextLoader, }?: {
|
5467
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
5081
5468
|
documentLoader?: DocumentLoader;
|
5082
5469
|
contextLoader?: DocumentLoader;
|
5470
|
+
tracerProvider?: TracerProvider;
|
5083
5471
|
});
|
5084
5472
|
/**
|
5085
5473
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5169,12 +5557,23 @@ export declare class Dislike extends Activity {
|
|
5169
5557
|
/**
|
5170
5558
|
* Converts a JSON-LD structure to an object of this type.
|
5171
5559
|
* @param json The JSON-LD structure to convert.
|
5560
|
+
* @param options The options to use.
|
5561
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
5562
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
5563
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
5564
|
+
* If omitted, the global tracer provider is used.
|
5172
5565
|
* @returns The object of this type.
|
5173
5566
|
* @throws {TypeError} If the given `json` is invalid.
|
5174
5567
|
*/
|
5175
5568
|
static fromJsonLd(json: unknown, options?: {
|
5176
5569
|
documentLoader?: DocumentLoader;
|
5177
5570
|
contextLoader?: DocumentLoader;
|
5571
|
+
tracerProvider?: TracerProvider;
|
5572
|
+
}): Promise<Dislike>;
|
5573
|
+
protected static __fromJsonLd__Dislike__(json: unknown, span: Span, options?: {
|
5574
|
+
documentLoader?: DocumentLoader;
|
5575
|
+
contextLoader?: DocumentLoader;
|
5576
|
+
tracerProvider?: TracerProvider;
|
5178
5577
|
}): Promise<Dislike>;
|
5179
5578
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5180
5579
|
}
|
@@ -5185,6 +5584,7 @@ export declare class Endpoints {
|
|
5185
5584
|
readonly id: URL | null;
|
5186
5585
|
protected get _documentLoader(): DocumentLoader | undefined;
|
5187
5586
|
protected get _contextLoader(): DocumentLoader | undefined;
|
5587
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
5188
5588
|
/**
|
5189
5589
|
* The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
|
5190
5590
|
*/
|
@@ -5202,9 +5602,10 @@ export declare class Endpoints {
|
|
5202
5602
|
provideClientKey?: URL | null;
|
5203
5603
|
signClientKey?: URL | null;
|
5204
5604
|
sharedInbox?: URL | null;
|
5205
|
-
}, { documentLoader, contextLoader, }?: {
|
5605
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
5206
5606
|
documentLoader?: DocumentLoader;
|
5207
5607
|
contextLoader?: DocumentLoader;
|
5608
|
+
tracerProvider?: TracerProvider;
|
5208
5609
|
});
|
5209
5610
|
/**
|
5210
5611
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5284,12 +5685,23 @@ export declare class Endpoints {
|
|
5284
5685
|
/**
|
5285
5686
|
* Converts a JSON-LD structure to an object of this type.
|
5286
5687
|
* @param json The JSON-LD structure to convert.
|
5688
|
+
* @param options The options to use.
|
5689
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
5690
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
5691
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
5692
|
+
* If omitted, the global tracer provider is used.
|
5287
5693
|
* @returns The object of this type.
|
5288
5694
|
* @throws {TypeError} If the given `json` is invalid.
|
5289
5695
|
*/
|
5290
5696
|
static fromJsonLd(json: unknown, options?: {
|
5291
5697
|
documentLoader?: DocumentLoader;
|
5292
5698
|
contextLoader?: DocumentLoader;
|
5699
|
+
tracerProvider?: TracerProvider;
|
5700
|
+
}): Promise<Endpoints>;
|
5701
|
+
protected static __fromJsonLd__Endpoints__(json: unknown, span: Span, options?: {
|
5702
|
+
documentLoader?: DocumentLoader;
|
5703
|
+
contextLoader?: DocumentLoader;
|
5704
|
+
tracerProvider?: TracerProvider;
|
5293
5705
|
}): Promise<Endpoints>;
|
5294
5706
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5295
5707
|
}
|
@@ -5353,9 +5765,10 @@ export declare class Event extends Object {
|
|
5353
5765
|
source?: Source | null;
|
5354
5766
|
proof?: DataIntegrityProof | URL | null;
|
5355
5767
|
proofs?: (DataIntegrityProof | URL)[];
|
5356
|
-
}, { documentLoader, contextLoader, }?: {
|
5768
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
5357
5769
|
documentLoader?: DocumentLoader;
|
5358
5770
|
contextLoader?: DocumentLoader;
|
5771
|
+
tracerProvider?: TracerProvider;
|
5359
5772
|
});
|
5360
5773
|
/**
|
5361
5774
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5433,12 +5846,23 @@ export declare class Event extends Object {
|
|
5433
5846
|
/**
|
5434
5847
|
* Converts a JSON-LD structure to an object of this type.
|
5435
5848
|
* @param json The JSON-LD structure to convert.
|
5849
|
+
* @param options The options to use.
|
5850
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
5851
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
5852
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
5853
|
+
* If omitted, the global tracer provider is used.
|
5436
5854
|
* @returns The object of this type.
|
5437
5855
|
* @throws {TypeError} If the given `json` is invalid.
|
5438
5856
|
*/
|
5439
5857
|
static fromJsonLd(json: unknown, options?: {
|
5440
5858
|
documentLoader?: DocumentLoader;
|
5441
5859
|
contextLoader?: DocumentLoader;
|
5860
|
+
tracerProvider?: TracerProvider;
|
5861
|
+
}): Promise<Event>;
|
5862
|
+
protected static __fromJsonLd__Event__(json: unknown, span: Span, options?: {
|
5863
|
+
documentLoader?: DocumentLoader;
|
5864
|
+
contextLoader?: DocumentLoader;
|
5865
|
+
tracerProvider?: TracerProvider;
|
5442
5866
|
}): Promise<Event>;
|
5443
5867
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5444
5868
|
}
|
@@ -5516,9 +5940,10 @@ export declare class Flag extends Activity {
|
|
5516
5940
|
origins?: (Object | URL)[];
|
5517
5941
|
instrument?: Object | URL | null;
|
5518
5942
|
instruments?: (Object | URL)[];
|
5519
|
-
}, { documentLoader, contextLoader, }?: {
|
5943
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
5520
5944
|
documentLoader?: DocumentLoader;
|
5521
5945
|
contextLoader?: DocumentLoader;
|
5946
|
+
tracerProvider?: TracerProvider;
|
5522
5947
|
});
|
5523
5948
|
/**
|
5524
5949
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5608,12 +6033,23 @@ export declare class Flag extends Activity {
|
|
5608
6033
|
/**
|
5609
6034
|
* Converts a JSON-LD structure to an object of this type.
|
5610
6035
|
* @param json The JSON-LD structure to convert.
|
6036
|
+
* @param options The options to use.
|
6037
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
6038
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
6039
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
6040
|
+
* If omitted, the global tracer provider is used.
|
5611
6041
|
* @returns The object of this type.
|
5612
6042
|
* @throws {TypeError} If the given `json` is invalid.
|
5613
6043
|
*/
|
5614
6044
|
static fromJsonLd(json: unknown, options?: {
|
5615
6045
|
documentLoader?: DocumentLoader;
|
5616
6046
|
contextLoader?: DocumentLoader;
|
6047
|
+
tracerProvider?: TracerProvider;
|
6048
|
+
}): Promise<Flag>;
|
6049
|
+
protected static __fromJsonLd__Flag__(json: unknown, span: Span, options?: {
|
6050
|
+
documentLoader?: DocumentLoader;
|
6051
|
+
contextLoader?: DocumentLoader;
|
6052
|
+
tracerProvider?: TracerProvider;
|
5617
6053
|
}): Promise<Flag>;
|
5618
6054
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5619
6055
|
}
|
@@ -5692,9 +6128,10 @@ export declare class Follow extends Activity {
|
|
5692
6128
|
origins?: (Object | URL)[];
|
5693
6129
|
instrument?: Object | URL | null;
|
5694
6130
|
instruments?: (Object | URL)[];
|
5695
|
-
}, { documentLoader, contextLoader, }?: {
|
6131
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
5696
6132
|
documentLoader?: DocumentLoader;
|
5697
6133
|
contextLoader?: DocumentLoader;
|
6134
|
+
tracerProvider?: TracerProvider;
|
5698
6135
|
});
|
5699
6136
|
/**
|
5700
6137
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5784,12 +6221,23 @@ export declare class Follow extends Activity {
|
|
5784
6221
|
/**
|
5785
6222
|
* Converts a JSON-LD structure to an object of this type.
|
5786
6223
|
* @param json The JSON-LD structure to convert.
|
6224
|
+
* @param options The options to use.
|
6225
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
6226
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
6227
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
6228
|
+
* If omitted, the global tracer provider is used.
|
5787
6229
|
* @returns The object of this type.
|
5788
6230
|
* @throws {TypeError} If the given `json` is invalid.
|
5789
6231
|
*/
|
5790
6232
|
static fromJsonLd(json: unknown, options?: {
|
5791
6233
|
documentLoader?: DocumentLoader;
|
5792
6234
|
contextLoader?: DocumentLoader;
|
6235
|
+
tracerProvider?: TracerProvider;
|
6236
|
+
}): Promise<Follow>;
|
6237
|
+
protected static __fromJsonLd__Follow__(json: unknown, span: Span, options?: {
|
6238
|
+
documentLoader?: DocumentLoader;
|
6239
|
+
contextLoader?: DocumentLoader;
|
6240
|
+
tracerProvider?: TracerProvider;
|
5793
6241
|
}): Promise<Follow>;
|
5794
6242
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
5795
6243
|
}
|
@@ -5880,9 +6328,10 @@ export declare class Group extends Object {
|
|
5880
6328
|
services?: (DidService | URL)[];
|
5881
6329
|
followedMessage?: string | null;
|
5882
6330
|
cat?: boolean | null;
|
5883
|
-
}, { documentLoader, contextLoader, }?: {
|
6331
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
5884
6332
|
documentLoader?: DocumentLoader;
|
5885
6333
|
contextLoader?: DocumentLoader;
|
6334
|
+
tracerProvider?: TracerProvider;
|
5886
6335
|
});
|
5887
6336
|
/**
|
5888
6337
|
* Clones this instance, optionally updating it with the given values.
|
@@ -5988,6 +6437,7 @@ export declare class Group extends Object {
|
|
5988
6437
|
documentLoader?: DocumentLoader;
|
5989
6438
|
contextLoader?: DocumentLoader;
|
5990
6439
|
suppressError?: boolean;
|
6440
|
+
tracerProvider?: TracerProvider;
|
5991
6441
|
}): Promise<CryptographicKey | null>;
|
5992
6442
|
/**
|
5993
6443
|
* Similar to
|
@@ -6001,6 +6451,7 @@ export declare class Group extends Object {
|
|
6001
6451
|
documentLoader?: DocumentLoader;
|
6002
6452
|
contextLoader?: DocumentLoader;
|
6003
6453
|
suppressError?: boolean;
|
6454
|
+
tracerProvider?: TracerProvider;
|
6004
6455
|
}): AsyncIterable<CryptographicKey>;
|
6005
6456
|
/**
|
6006
6457
|
* Similar to
|
@@ -6017,6 +6468,7 @@ export declare class Group extends Object {
|
|
6017
6468
|
documentLoader?: DocumentLoader;
|
6018
6469
|
contextLoader?: DocumentLoader;
|
6019
6470
|
suppressError?: boolean;
|
6471
|
+
tracerProvider?: TracerProvider;
|
6020
6472
|
}): Promise<Multikey | null>;
|
6021
6473
|
/**
|
6022
6474
|
* Similar to
|
@@ -6033,6 +6485,7 @@ export declare class Group extends Object {
|
|
6033
6485
|
documentLoader?: DocumentLoader;
|
6034
6486
|
contextLoader?: DocumentLoader;
|
6035
6487
|
suppressError?: boolean;
|
6488
|
+
tracerProvider?: TracerProvider;
|
6036
6489
|
}): AsyncIterable<Multikey>;
|
6037
6490
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
6038
6491
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -6066,6 +6519,7 @@ export declare class Group extends Object {
|
|
6066
6519
|
documentLoader?: DocumentLoader;
|
6067
6520
|
contextLoader?: DocumentLoader;
|
6068
6521
|
suppressError?: boolean;
|
6522
|
+
tracerProvider?: TracerProvider;
|
6069
6523
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
6070
6524
|
/**
|
6071
6525
|
* Similar to
|
@@ -6088,6 +6542,7 @@ export declare class Group extends Object {
|
|
6088
6542
|
documentLoader?: DocumentLoader;
|
6089
6543
|
contextLoader?: DocumentLoader;
|
6090
6544
|
suppressError?: boolean;
|
6545
|
+
tracerProvider?: TracerProvider;
|
6091
6546
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
6092
6547
|
/**
|
6093
6548
|
* Similar to
|
@@ -6105,6 +6560,7 @@ export declare class Group extends Object {
|
|
6105
6560
|
documentLoader?: DocumentLoader;
|
6106
6561
|
contextLoader?: DocumentLoader;
|
6107
6562
|
suppressError?: boolean;
|
6563
|
+
tracerProvider?: TracerProvider;
|
6108
6564
|
}): Promise<Collection | null>;
|
6109
6565
|
/**
|
6110
6566
|
* Similar to
|
@@ -6125,6 +6581,7 @@ export declare class Group extends Object {
|
|
6125
6581
|
documentLoader?: DocumentLoader;
|
6126
6582
|
contextLoader?: DocumentLoader;
|
6127
6583
|
suppressError?: boolean;
|
6584
|
+
tracerProvider?: TracerProvider;
|
6128
6585
|
}): Promise<Collection | null>;
|
6129
6586
|
/**
|
6130
6587
|
* Similar to
|
@@ -6143,6 +6600,7 @@ export declare class Group extends Object {
|
|
6143
6600
|
documentLoader?: DocumentLoader;
|
6144
6601
|
contextLoader?: DocumentLoader;
|
6145
6602
|
suppressError?: boolean;
|
6603
|
+
tracerProvider?: TracerProvider;
|
6146
6604
|
}): Promise<Collection | null>;
|
6147
6605
|
/**
|
6148
6606
|
* Similar to
|
@@ -6159,6 +6617,7 @@ export declare class Group extends Object {
|
|
6159
6617
|
documentLoader?: DocumentLoader;
|
6160
6618
|
contextLoader?: DocumentLoader;
|
6161
6619
|
suppressError?: boolean;
|
6620
|
+
tracerProvider?: TracerProvider;
|
6162
6621
|
}): Promise<Collection | null>;
|
6163
6622
|
/**
|
6164
6623
|
* Similar to
|
@@ -6175,6 +6634,7 @@ export declare class Group extends Object {
|
|
6175
6634
|
documentLoader?: DocumentLoader;
|
6176
6635
|
contextLoader?: DocumentLoader;
|
6177
6636
|
suppressError?: boolean;
|
6637
|
+
tracerProvider?: TracerProvider;
|
6178
6638
|
}): Promise<Collection | null>;
|
6179
6639
|
/**
|
6180
6640
|
* Similar to
|
@@ -6188,6 +6648,7 @@ export declare class Group extends Object {
|
|
6188
6648
|
documentLoader?: DocumentLoader;
|
6189
6649
|
contextLoader?: DocumentLoader;
|
6190
6650
|
suppressError?: boolean;
|
6651
|
+
tracerProvider?: TracerProvider;
|
6191
6652
|
}): AsyncIterable<Collection>;
|
6192
6653
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
6193
6654
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -6223,6 +6684,7 @@ export declare class Group extends Object {
|
|
6223
6684
|
documentLoader?: DocumentLoader;
|
6224
6685
|
contextLoader?: DocumentLoader;
|
6225
6686
|
suppressError?: boolean;
|
6687
|
+
tracerProvider?: TracerProvider;
|
6226
6688
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
6227
6689
|
/**
|
6228
6690
|
* Similar to
|
@@ -6239,6 +6701,7 @@ export declare class Group extends Object {
|
|
6239
6701
|
documentLoader?: DocumentLoader;
|
6240
6702
|
contextLoader?: DocumentLoader;
|
6241
6703
|
suppressError?: boolean;
|
6704
|
+
tracerProvider?: TracerProvider;
|
6242
6705
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
6243
6706
|
/**
|
6244
6707
|
* Similar to
|
@@ -6255,6 +6718,7 @@ export declare class Group extends Object {
|
|
6255
6718
|
documentLoader?: DocumentLoader;
|
6256
6719
|
contextLoader?: DocumentLoader;
|
6257
6720
|
suppressError?: boolean;
|
6721
|
+
tracerProvider?: TracerProvider;
|
6258
6722
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
6259
6723
|
/**
|
6260
6724
|
* Similar to
|
@@ -6271,6 +6735,7 @@ export declare class Group extends Object {
|
|
6271
6735
|
documentLoader?: DocumentLoader;
|
6272
6736
|
contextLoader?: DocumentLoader;
|
6273
6737
|
suppressError?: boolean;
|
6738
|
+
tracerProvider?: TracerProvider;
|
6274
6739
|
}): Promise<DidService | null>;
|
6275
6740
|
/**
|
6276
6741
|
* Similar to
|
@@ -6287,6 +6752,7 @@ export declare class Group extends Object {
|
|
6287
6752
|
documentLoader?: DocumentLoader;
|
6288
6753
|
contextLoader?: DocumentLoader;
|
6289
6754
|
suppressError?: boolean;
|
6755
|
+
tracerProvider?: TracerProvider;
|
6290
6756
|
}): AsyncIterable<DidService>;
|
6291
6757
|
/** This value is used for `Actor` type objects to show message on followed.
|
6292
6758
|
*/
|
@@ -6316,12 +6782,23 @@ export declare class Group extends Object {
|
|
6316
6782
|
/**
|
6317
6783
|
* Converts a JSON-LD structure to an object of this type.
|
6318
6784
|
* @param json The JSON-LD structure to convert.
|
6785
|
+
* @param options The options to use.
|
6786
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
6787
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
6788
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
6789
|
+
* If omitted, the global tracer provider is used.
|
6319
6790
|
* @returns The object of this type.
|
6320
6791
|
* @throws {TypeError} If the given `json` is invalid.
|
6321
6792
|
*/
|
6322
6793
|
static fromJsonLd(json: unknown, options?: {
|
6323
6794
|
documentLoader?: DocumentLoader;
|
6324
6795
|
contextLoader?: DocumentLoader;
|
6796
|
+
tracerProvider?: TracerProvider;
|
6797
|
+
}): Promise<Group>;
|
6798
|
+
protected static __fromJsonLd__Group__(json: unknown, span: Span, options?: {
|
6799
|
+
documentLoader?: DocumentLoader;
|
6800
|
+
contextLoader?: DocumentLoader;
|
6801
|
+
tracerProvider?: TracerProvider;
|
6325
6802
|
}): Promise<Group>;
|
6326
6803
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6327
6804
|
}
|
@@ -6339,6 +6816,7 @@ export declare class Link {
|
|
6339
6816
|
readonly id: URL | null;
|
6340
6817
|
protected get _documentLoader(): DocumentLoader | undefined;
|
6341
6818
|
protected get _contextLoader(): DocumentLoader | undefined;
|
6819
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
6342
6820
|
/**
|
6343
6821
|
* The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
|
6344
6822
|
*/
|
@@ -6360,9 +6838,10 @@ export declare class Link {
|
|
6360
6838
|
height?: number | null;
|
6361
6839
|
width?: number | null;
|
6362
6840
|
previews?: (Link | Object | URL)[];
|
6363
|
-
}, { documentLoader, contextLoader, }?: {
|
6841
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
6364
6842
|
documentLoader?: DocumentLoader;
|
6365
6843
|
contextLoader?: DocumentLoader;
|
6844
|
+
tracerProvider?: TracerProvider;
|
6366
6845
|
});
|
6367
6846
|
/**
|
6368
6847
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6443,6 +6922,7 @@ export declare class Link {
|
|
6443
6922
|
documentLoader?: DocumentLoader;
|
6444
6923
|
contextLoader?: DocumentLoader;
|
6445
6924
|
suppressError?: boolean;
|
6925
|
+
tracerProvider?: TracerProvider;
|
6446
6926
|
}): AsyncIterable<Link | Object>;
|
6447
6927
|
/**
|
6448
6928
|
* Converts this object to a JSON-LD structure.
|
@@ -6463,12 +6943,23 @@ export declare class Link {
|
|
6463
6943
|
/**
|
6464
6944
|
* Converts a JSON-LD structure to an object of this type.
|
6465
6945
|
* @param json The JSON-LD structure to convert.
|
6946
|
+
* @param options The options to use.
|
6947
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
6948
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
6949
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
6950
|
+
* If omitted, the global tracer provider is used.
|
6466
6951
|
* @returns The object of this type.
|
6467
6952
|
* @throws {TypeError} If the given `json` is invalid.
|
6468
6953
|
*/
|
6469
6954
|
static fromJsonLd(json: unknown, options?: {
|
6470
6955
|
documentLoader?: DocumentLoader;
|
6471
6956
|
contextLoader?: DocumentLoader;
|
6957
|
+
tracerProvider?: TracerProvider;
|
6958
|
+
}): Promise<Link>;
|
6959
|
+
protected static __fromJsonLd__Link__(json: unknown, span: Span, options?: {
|
6960
|
+
documentLoader?: DocumentLoader;
|
6961
|
+
contextLoader?: DocumentLoader;
|
6962
|
+
tracerProvider?: TracerProvider;
|
6472
6963
|
}): Promise<Link>;
|
6473
6964
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6474
6965
|
}
|
@@ -6499,9 +6990,10 @@ export declare class Hashtag extends Link {
|
|
6499
6990
|
height?: number | null;
|
6500
6991
|
width?: number | null;
|
6501
6992
|
previews?: (Link | Object | URL)[];
|
6502
|
-
}, { documentLoader, contextLoader, }?: {
|
6993
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
6503
6994
|
documentLoader?: DocumentLoader;
|
6504
6995
|
contextLoader?: DocumentLoader;
|
6996
|
+
tracerProvider?: TracerProvider;
|
6505
6997
|
});
|
6506
6998
|
/**
|
6507
6999
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6544,12 +7036,23 @@ export declare class Hashtag extends Link {
|
|
6544
7036
|
/**
|
6545
7037
|
* Converts a JSON-LD structure to an object of this type.
|
6546
7038
|
* @param json The JSON-LD structure to convert.
|
7039
|
+
* @param options The options to use.
|
7040
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
7041
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
7042
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
7043
|
+
* If omitted, the global tracer provider is used.
|
6547
7044
|
* @returns The object of this type.
|
6548
7045
|
* @throws {TypeError} If the given `json` is invalid.
|
6549
7046
|
*/
|
6550
7047
|
static fromJsonLd(json: unknown, options?: {
|
6551
7048
|
documentLoader?: DocumentLoader;
|
6552
7049
|
contextLoader?: DocumentLoader;
|
7050
|
+
tracerProvider?: TracerProvider;
|
7051
|
+
}): Promise<Hashtag>;
|
7052
|
+
protected static __fromJsonLd__Hashtag__(json: unknown, span: Span, options?: {
|
7053
|
+
documentLoader?: DocumentLoader;
|
7054
|
+
contextLoader?: DocumentLoader;
|
7055
|
+
tracerProvider?: TracerProvider;
|
6553
7056
|
}): Promise<Hashtag>;
|
6554
7057
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6555
7058
|
}
|
@@ -6615,9 +7118,10 @@ export declare class Image extends Document {
|
|
6615
7118
|
proofs?: (DataIntegrityProof | URL)[];
|
6616
7119
|
width?: number | null;
|
6617
7120
|
height?: number | null;
|
6618
|
-
}, { documentLoader, contextLoader, }?: {
|
7121
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
6619
7122
|
documentLoader?: DocumentLoader;
|
6620
7123
|
contextLoader?: DocumentLoader;
|
7124
|
+
tracerProvider?: TracerProvider;
|
6621
7125
|
});
|
6622
7126
|
/**
|
6623
7127
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6697,12 +7201,23 @@ export declare class Image extends Document {
|
|
6697
7201
|
/**
|
6698
7202
|
* Converts a JSON-LD structure to an object of this type.
|
6699
7203
|
* @param json The JSON-LD structure to convert.
|
7204
|
+
* @param options The options to use.
|
7205
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
7206
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
7207
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
7208
|
+
* If omitted, the global tracer provider is used.
|
6700
7209
|
* @returns The object of this type.
|
6701
7210
|
* @throws {TypeError} If the given `json` is invalid.
|
6702
7211
|
*/
|
6703
7212
|
static fromJsonLd(json: unknown, options?: {
|
6704
7213
|
documentLoader?: DocumentLoader;
|
6705
7214
|
contextLoader?: DocumentLoader;
|
7215
|
+
tracerProvider?: TracerProvider;
|
7216
|
+
}): Promise<Image>;
|
7217
|
+
protected static __fromJsonLd__Image__(json: unknown, span: Span, options?: {
|
7218
|
+
documentLoader?: DocumentLoader;
|
7219
|
+
contextLoader?: DocumentLoader;
|
7220
|
+
tracerProvider?: TracerProvider;
|
6706
7221
|
}): Promise<Image>;
|
6707
7222
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6708
7223
|
}
|
@@ -6780,9 +7295,10 @@ export declare class Offer extends Activity {
|
|
6780
7295
|
origins?: (Object | URL)[];
|
6781
7296
|
instrument?: Object | URL | null;
|
6782
7297
|
instruments?: (Object | URL)[];
|
6783
|
-
}, { documentLoader, contextLoader, }?: {
|
7298
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
6784
7299
|
documentLoader?: DocumentLoader;
|
6785
7300
|
contextLoader?: DocumentLoader;
|
7301
|
+
tracerProvider?: TracerProvider;
|
6786
7302
|
});
|
6787
7303
|
/**
|
6788
7304
|
* Clones this instance, optionally updating it with the given values.
|
@@ -6872,12 +7388,23 @@ export declare class Offer extends Activity {
|
|
6872
7388
|
/**
|
6873
7389
|
* Converts a JSON-LD structure to an object of this type.
|
6874
7390
|
* @param json The JSON-LD structure to convert.
|
7391
|
+
* @param options The options to use.
|
7392
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
7393
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
7394
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
7395
|
+
* If omitted, the global tracer provider is used.
|
6875
7396
|
* @returns The object of this type.
|
6876
7397
|
* @throws {TypeError} If the given `json` is invalid.
|
6877
7398
|
*/
|
6878
7399
|
static fromJsonLd(json: unknown, options?: {
|
6879
7400
|
documentLoader?: DocumentLoader;
|
6880
7401
|
contextLoader?: DocumentLoader;
|
7402
|
+
tracerProvider?: TracerProvider;
|
7403
|
+
}): Promise<Offer>;
|
7404
|
+
protected static __fromJsonLd__Offer__(json: unknown, span: Span, options?: {
|
7405
|
+
documentLoader?: DocumentLoader;
|
7406
|
+
contextLoader?: DocumentLoader;
|
7407
|
+
tracerProvider?: TracerProvider;
|
6881
7408
|
}): Promise<Offer>;
|
6882
7409
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
6883
7410
|
}
|
@@ -6954,9 +7481,10 @@ export declare class Invite extends Offer {
|
|
6954
7481
|
origins?: (Object | URL)[];
|
6955
7482
|
instrument?: Object | URL | null;
|
6956
7483
|
instruments?: (Object | URL)[];
|
6957
|
-
}, { documentLoader, contextLoader, }?: {
|
7484
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
6958
7485
|
documentLoader?: DocumentLoader;
|
6959
7486
|
contextLoader?: DocumentLoader;
|
7487
|
+
tracerProvider?: TracerProvider;
|
6960
7488
|
});
|
6961
7489
|
/**
|
6962
7490
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7046,12 +7574,23 @@ export declare class Invite extends Offer {
|
|
7046
7574
|
/**
|
7047
7575
|
* Converts a JSON-LD structure to an object of this type.
|
7048
7576
|
* @param json The JSON-LD structure to convert.
|
7577
|
+
* @param options The options to use.
|
7578
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
7579
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
7580
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
7581
|
+
* If omitted, the global tracer provider is used.
|
7049
7582
|
* @returns The object of this type.
|
7050
7583
|
* @throws {TypeError} If the given `json` is invalid.
|
7051
7584
|
*/
|
7052
7585
|
static fromJsonLd(json: unknown, options?: {
|
7053
7586
|
documentLoader?: DocumentLoader;
|
7054
7587
|
contextLoader?: DocumentLoader;
|
7588
|
+
tracerProvider?: TracerProvider;
|
7589
|
+
}): Promise<Invite>;
|
7590
|
+
protected static __fromJsonLd__Invite__(json: unknown, span: Span, options?: {
|
7591
|
+
documentLoader?: DocumentLoader;
|
7592
|
+
contextLoader?: DocumentLoader;
|
7593
|
+
tracerProvider?: TracerProvider;
|
7055
7594
|
}): Promise<Invite>;
|
7056
7595
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7057
7596
|
}
|
@@ -7128,9 +7667,10 @@ export declare class Join extends Activity {
|
|
7128
7667
|
origins?: (Object | URL)[];
|
7129
7668
|
instrument?: Object | URL | null;
|
7130
7669
|
instruments?: (Object | URL)[];
|
7131
|
-
}, { documentLoader, contextLoader, }?: {
|
7670
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
7132
7671
|
documentLoader?: DocumentLoader;
|
7133
7672
|
contextLoader?: DocumentLoader;
|
7673
|
+
tracerProvider?: TracerProvider;
|
7134
7674
|
});
|
7135
7675
|
/**
|
7136
7676
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7220,12 +7760,23 @@ export declare class Join extends Activity {
|
|
7220
7760
|
/**
|
7221
7761
|
* Converts a JSON-LD structure to an object of this type.
|
7222
7762
|
* @param json The JSON-LD structure to convert.
|
7763
|
+
* @param options The options to use.
|
7764
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
7765
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
7766
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
7767
|
+
* If omitted, the global tracer provider is used.
|
7223
7768
|
* @returns The object of this type.
|
7224
7769
|
* @throws {TypeError} If the given `json` is invalid.
|
7225
7770
|
*/
|
7226
7771
|
static fromJsonLd(json: unknown, options?: {
|
7227
7772
|
documentLoader?: DocumentLoader;
|
7228
7773
|
contextLoader?: DocumentLoader;
|
7774
|
+
tracerProvider?: TracerProvider;
|
7775
|
+
}): Promise<Join>;
|
7776
|
+
protected static __fromJsonLd__Join__(json: unknown, span: Span, options?: {
|
7777
|
+
documentLoader?: DocumentLoader;
|
7778
|
+
contextLoader?: DocumentLoader;
|
7779
|
+
tracerProvider?: TracerProvider;
|
7229
7780
|
}): Promise<Join>;
|
7230
7781
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7231
7782
|
}
|
@@ -7302,9 +7853,10 @@ export declare class Leave extends Activity {
|
|
7302
7853
|
origins?: (Object | URL)[];
|
7303
7854
|
instrument?: Object | URL | null;
|
7304
7855
|
instruments?: (Object | URL)[];
|
7305
|
-
}, { documentLoader, contextLoader, }?: {
|
7856
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
7306
7857
|
documentLoader?: DocumentLoader;
|
7307
7858
|
contextLoader?: DocumentLoader;
|
7859
|
+
tracerProvider?: TracerProvider;
|
7308
7860
|
});
|
7309
7861
|
/**
|
7310
7862
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7394,12 +7946,23 @@ export declare class Leave extends Activity {
|
|
7394
7946
|
/**
|
7395
7947
|
* Converts a JSON-LD structure to an object of this type.
|
7396
7948
|
* @param json The JSON-LD structure to convert.
|
7949
|
+
* @param options The options to use.
|
7950
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
7951
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
7952
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
7953
|
+
* If omitted, the global tracer provider is used.
|
7397
7954
|
* @returns The object of this type.
|
7398
7955
|
* @throws {TypeError} If the given `json` is invalid.
|
7399
7956
|
*/
|
7400
7957
|
static fromJsonLd(json: unknown, options?: {
|
7401
7958
|
documentLoader?: DocumentLoader;
|
7402
7959
|
contextLoader?: DocumentLoader;
|
7960
|
+
tracerProvider?: TracerProvider;
|
7961
|
+
}): Promise<Leave>;
|
7962
|
+
protected static __fromJsonLd__Leave__(json: unknown, span: Span, options?: {
|
7963
|
+
documentLoader?: DocumentLoader;
|
7964
|
+
contextLoader?: DocumentLoader;
|
7965
|
+
tracerProvider?: TracerProvider;
|
7403
7966
|
}): Promise<Leave>;
|
7404
7967
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7405
7968
|
}
|
@@ -7476,9 +8039,10 @@ export declare class Like extends Activity {
|
|
7476
8039
|
origins?: (Object | URL)[];
|
7477
8040
|
instrument?: Object | URL | null;
|
7478
8041
|
instruments?: (Object | URL)[];
|
7479
|
-
}, { documentLoader, contextLoader, }?: {
|
8042
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
7480
8043
|
documentLoader?: DocumentLoader;
|
7481
8044
|
contextLoader?: DocumentLoader;
|
8045
|
+
tracerProvider?: TracerProvider;
|
7482
8046
|
});
|
7483
8047
|
/**
|
7484
8048
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7568,12 +8132,23 @@ export declare class Like extends Activity {
|
|
7568
8132
|
/**
|
7569
8133
|
* Converts a JSON-LD structure to an object of this type.
|
7570
8134
|
* @param json The JSON-LD structure to convert.
|
8135
|
+
* @param options The options to use.
|
8136
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
8137
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
8138
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
8139
|
+
* If omitted, the global tracer provider is used.
|
7571
8140
|
* @returns The object of this type.
|
7572
8141
|
* @throws {TypeError} If the given `json` is invalid.
|
7573
8142
|
*/
|
7574
8143
|
static fromJsonLd(json: unknown, options?: {
|
7575
8144
|
documentLoader?: DocumentLoader;
|
7576
8145
|
contextLoader?: DocumentLoader;
|
8146
|
+
tracerProvider?: TracerProvider;
|
8147
|
+
}): Promise<Like>;
|
8148
|
+
protected static __fromJsonLd__Like__(json: unknown, span: Span, options?: {
|
8149
|
+
documentLoader?: DocumentLoader;
|
8150
|
+
contextLoader?: DocumentLoader;
|
8151
|
+
tracerProvider?: TracerProvider;
|
7577
8152
|
}): Promise<Like>;
|
7578
8153
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7579
8154
|
}
|
@@ -7649,9 +8224,10 @@ export declare class Listen extends Activity {
|
|
7649
8224
|
origins?: (Object | URL)[];
|
7650
8225
|
instrument?: Object | URL | null;
|
7651
8226
|
instruments?: (Object | URL)[];
|
7652
|
-
}, { documentLoader, contextLoader, }?: {
|
8227
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
7653
8228
|
documentLoader?: DocumentLoader;
|
7654
8229
|
contextLoader?: DocumentLoader;
|
8230
|
+
tracerProvider?: TracerProvider;
|
7655
8231
|
});
|
7656
8232
|
/**
|
7657
8233
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7741,12 +8317,23 @@ export declare class Listen extends Activity {
|
|
7741
8317
|
/**
|
7742
8318
|
* Converts a JSON-LD structure to an object of this type.
|
7743
8319
|
* @param json The JSON-LD structure to convert.
|
8320
|
+
* @param options The options to use.
|
8321
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
8322
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
8323
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
8324
|
+
* If omitted, the global tracer provider is used.
|
7744
8325
|
* @returns The object of this type.
|
7745
8326
|
* @throws {TypeError} If the given `json` is invalid.
|
7746
8327
|
*/
|
7747
8328
|
static fromJsonLd(json: unknown, options?: {
|
7748
8329
|
documentLoader?: DocumentLoader;
|
7749
8330
|
contextLoader?: DocumentLoader;
|
8331
|
+
tracerProvider?: TracerProvider;
|
8332
|
+
}): Promise<Listen>;
|
8333
|
+
protected static __fromJsonLd__Listen__(json: unknown, span: Span, options?: {
|
8334
|
+
documentLoader?: DocumentLoader;
|
8335
|
+
contextLoader?: DocumentLoader;
|
8336
|
+
tracerProvider?: TracerProvider;
|
7750
8337
|
}): Promise<Listen>;
|
7751
8338
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7752
8339
|
}
|
@@ -7775,9 +8362,10 @@ export declare class Mention extends Link {
|
|
7775
8362
|
height?: number | null;
|
7776
8363
|
width?: number | null;
|
7777
8364
|
previews?: (Link | Object | URL)[];
|
7778
|
-
}, { documentLoader, contextLoader, }?: {
|
8365
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
7779
8366
|
documentLoader?: DocumentLoader;
|
7780
8367
|
contextLoader?: DocumentLoader;
|
8368
|
+
tracerProvider?: TracerProvider;
|
7781
8369
|
});
|
7782
8370
|
/**
|
7783
8371
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7820,12 +8408,23 @@ export declare class Mention extends Link {
|
|
7820
8408
|
/**
|
7821
8409
|
* Converts a JSON-LD structure to an object of this type.
|
7822
8410
|
* @param json The JSON-LD structure to convert.
|
8411
|
+
* @param options The options to use.
|
8412
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
8413
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
8414
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
8415
|
+
* If omitted, the global tracer provider is used.
|
7823
8416
|
* @returns The object of this type.
|
7824
8417
|
* @throws {TypeError} If the given `json` is invalid.
|
7825
8418
|
*/
|
7826
8419
|
static fromJsonLd(json: unknown, options?: {
|
7827
8420
|
documentLoader?: DocumentLoader;
|
7828
8421
|
contextLoader?: DocumentLoader;
|
8422
|
+
tracerProvider?: TracerProvider;
|
8423
|
+
}): Promise<Mention>;
|
8424
|
+
protected static __fromJsonLd__Mention__(json: unknown, span: Span, options?: {
|
8425
|
+
documentLoader?: DocumentLoader;
|
8426
|
+
contextLoader?: DocumentLoader;
|
8427
|
+
tracerProvider?: TracerProvider;
|
7829
8428
|
}): Promise<Mention>;
|
7830
8429
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7831
8430
|
}
|
@@ -7903,9 +8502,10 @@ export declare class Move extends Activity {
|
|
7903
8502
|
origins?: (Object | URL)[];
|
7904
8503
|
instrument?: Object | URL | null;
|
7905
8504
|
instruments?: (Object | URL)[];
|
7906
|
-
}, { documentLoader, contextLoader, }?: {
|
8505
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
7907
8506
|
documentLoader?: DocumentLoader;
|
7908
8507
|
contextLoader?: DocumentLoader;
|
8508
|
+
tracerProvider?: TracerProvider;
|
7909
8509
|
});
|
7910
8510
|
/**
|
7911
8511
|
* Clones this instance, optionally updating it with the given values.
|
@@ -7995,12 +8595,23 @@ export declare class Move extends Activity {
|
|
7995
8595
|
/**
|
7996
8596
|
* Converts a JSON-LD structure to an object of this type.
|
7997
8597
|
* @param json The JSON-LD structure to convert.
|
8598
|
+
* @param options The options to use.
|
8599
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
8600
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
8601
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
8602
|
+
* If omitted, the global tracer provider is used.
|
7998
8603
|
* @returns The object of this type.
|
7999
8604
|
* @throws {TypeError} If the given `json` is invalid.
|
8000
8605
|
*/
|
8001
8606
|
static fromJsonLd(json: unknown, options?: {
|
8002
8607
|
documentLoader?: DocumentLoader;
|
8003
8608
|
contextLoader?: DocumentLoader;
|
8609
|
+
tracerProvider?: TracerProvider;
|
8610
|
+
}): Promise<Move>;
|
8611
|
+
protected static __fromJsonLd__Move__(json: unknown, span: Span, options?: {
|
8612
|
+
documentLoader?: DocumentLoader;
|
8613
|
+
contextLoader?: DocumentLoader;
|
8614
|
+
tracerProvider?: TracerProvider;
|
8004
8615
|
}): Promise<Move>;
|
8005
8616
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
8006
8617
|
}
|
@@ -8066,9 +8677,10 @@ export declare class Note extends Object {
|
|
8066
8677
|
proof?: DataIntegrityProof | URL | null;
|
8067
8678
|
proofs?: (DataIntegrityProof | URL)[];
|
8068
8679
|
quoteUrl?: URL | null;
|
8069
|
-
}, { documentLoader, contextLoader, }?: {
|
8680
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
8070
8681
|
documentLoader?: DocumentLoader;
|
8071
8682
|
contextLoader?: DocumentLoader;
|
8683
|
+
tracerProvider?: TracerProvider;
|
8072
8684
|
});
|
8073
8685
|
/**
|
8074
8686
|
* Clones this instance, optionally updating it with the given values.
|
@@ -8159,12 +8771,23 @@ export declare class Note extends Object {
|
|
8159
8771
|
/**
|
8160
8772
|
* Converts a JSON-LD structure to an object of this type.
|
8161
8773
|
* @param json The JSON-LD structure to convert.
|
8774
|
+
* @param options The options to use.
|
8775
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
8776
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
8777
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
8778
|
+
* If omitted, the global tracer provider is used.
|
8162
8779
|
* @returns The object of this type.
|
8163
8780
|
* @throws {TypeError} If the given `json` is invalid.
|
8164
8781
|
*/
|
8165
8782
|
static fromJsonLd(json: unknown, options?: {
|
8166
8783
|
documentLoader?: DocumentLoader;
|
8167
8784
|
contextLoader?: DocumentLoader;
|
8785
|
+
tracerProvider?: TracerProvider;
|
8786
|
+
}): Promise<Note>;
|
8787
|
+
protected static __fromJsonLd__Note__(json: unknown, span: Span, options?: {
|
8788
|
+
documentLoader?: DocumentLoader;
|
8789
|
+
contextLoader?: DocumentLoader;
|
8790
|
+
tracerProvider?: TracerProvider;
|
8168
8791
|
}): Promise<Note>;
|
8169
8792
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
8170
8793
|
}
|
@@ -8234,9 +8857,10 @@ export declare class OrderedCollection extends Collection {
|
|
8234
8857
|
first?: CollectionPage | URL | null;
|
8235
8858
|
last?: CollectionPage | URL | null;
|
8236
8859
|
items?: (Object | Link | URL)[];
|
8237
|
-
}, { documentLoader, contextLoader, }?: {
|
8860
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
8238
8861
|
documentLoader?: DocumentLoader;
|
8239
8862
|
contextLoader?: DocumentLoader;
|
8863
|
+
tracerProvider?: TracerProvider;
|
8240
8864
|
});
|
8241
8865
|
/**
|
8242
8866
|
* Clones this instance, optionally updating it with the given values.
|
@@ -8313,6 +8937,7 @@ export declare class OrderedCollection extends Collection {
|
|
8313
8937
|
documentLoader?: DocumentLoader;
|
8314
8938
|
contextLoader?: DocumentLoader;
|
8315
8939
|
suppressError?: boolean;
|
8940
|
+
tracerProvider?: TracerProvider;
|
8316
8941
|
}): AsyncIterable<Object | Link>;
|
8317
8942
|
/**
|
8318
8943
|
* Converts this object to a JSON-LD structure.
|
@@ -8333,12 +8958,23 @@ export declare class OrderedCollection extends Collection {
|
|
8333
8958
|
/**
|
8334
8959
|
* Converts a JSON-LD structure to an object of this type.
|
8335
8960
|
* @param json The JSON-LD structure to convert.
|
8961
|
+
* @param options The options to use.
|
8962
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
8963
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
8964
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
8965
|
+
* If omitted, the global tracer provider is used.
|
8336
8966
|
* @returns The object of this type.
|
8337
8967
|
* @throws {TypeError} If the given `json` is invalid.
|
8338
8968
|
*/
|
8339
8969
|
static fromJsonLd(json: unknown, options?: {
|
8340
8970
|
documentLoader?: DocumentLoader;
|
8341
8971
|
contextLoader?: DocumentLoader;
|
8972
|
+
tracerProvider?: TracerProvider;
|
8973
|
+
}): Promise<OrderedCollection>;
|
8974
|
+
protected static __fromJsonLd__OrderedCollection__(json: unknown, span: Span, options?: {
|
8975
|
+
documentLoader?: DocumentLoader;
|
8976
|
+
contextLoader?: DocumentLoader;
|
8977
|
+
tracerProvider?: TracerProvider;
|
8342
8978
|
}): Promise<OrderedCollection>;
|
8343
8979
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
8344
8980
|
}
|
@@ -8413,9 +9049,10 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
8413
9049
|
prev?: CollectionPage | URL | null;
|
8414
9050
|
items?: (Object | Link | URL)[];
|
8415
9051
|
startIndex?: number | null;
|
8416
|
-
}, { documentLoader, contextLoader, }?: {
|
9052
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
8417
9053
|
documentLoader?: DocumentLoader;
|
8418
9054
|
contextLoader?: DocumentLoader;
|
9055
|
+
tracerProvider?: TracerProvider;
|
8419
9056
|
});
|
8420
9057
|
/**
|
8421
9058
|
* Clones this instance, optionally updating it with the given values.
|
@@ -8496,6 +9133,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
8496
9133
|
documentLoader?: DocumentLoader;
|
8497
9134
|
contextLoader?: DocumentLoader;
|
8498
9135
|
suppressError?: boolean;
|
9136
|
+
tracerProvider?: TracerProvider;
|
8499
9137
|
}): AsyncIterable<Object | Link>;
|
8500
9138
|
/** A non-negative integer value identifying the relative position within
|
8501
9139
|
* the logical view of a strictly ordered collection.
|
@@ -8520,12 +9158,23 @@ export declare class OrderedCollectionPage extends CollectionPage {
|
|
8520
9158
|
/**
|
8521
9159
|
* Converts a JSON-LD structure to an object of this type.
|
8522
9160
|
* @param json The JSON-LD structure to convert.
|
9161
|
+
* @param options The options to use.
|
9162
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
9163
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
9164
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
9165
|
+
* If omitted, the global tracer provider is used.
|
8523
9166
|
* @returns The object of this type.
|
8524
9167
|
* @throws {TypeError} If the given `json` is invalid.
|
8525
9168
|
*/
|
8526
9169
|
static fromJsonLd(json: unknown, options?: {
|
8527
9170
|
documentLoader?: DocumentLoader;
|
8528
9171
|
contextLoader?: DocumentLoader;
|
9172
|
+
tracerProvider?: TracerProvider;
|
9173
|
+
}): Promise<OrderedCollectionPage>;
|
9174
|
+
protected static __fromJsonLd__OrderedCollectionPage__(json: unknown, span: Span, options?: {
|
9175
|
+
documentLoader?: DocumentLoader;
|
9176
|
+
contextLoader?: DocumentLoader;
|
9177
|
+
tracerProvider?: TracerProvider;
|
8529
9178
|
}): Promise<OrderedCollectionPage>;
|
8530
9179
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
8531
9180
|
}
|
@@ -8616,9 +9265,10 @@ export declare class Organization extends Object {
|
|
8616
9265
|
services?: (DidService | URL)[];
|
8617
9266
|
followedMessage?: string | null;
|
8618
9267
|
cat?: boolean | null;
|
8619
|
-
}, { documentLoader, contextLoader, }?: {
|
9268
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
8620
9269
|
documentLoader?: DocumentLoader;
|
8621
9270
|
contextLoader?: DocumentLoader;
|
9271
|
+
tracerProvider?: TracerProvider;
|
8622
9272
|
});
|
8623
9273
|
/**
|
8624
9274
|
* Clones this instance, optionally updating it with the given values.
|
@@ -8724,6 +9374,7 @@ export declare class Organization extends Object {
|
|
8724
9374
|
documentLoader?: DocumentLoader;
|
8725
9375
|
contextLoader?: DocumentLoader;
|
8726
9376
|
suppressError?: boolean;
|
9377
|
+
tracerProvider?: TracerProvider;
|
8727
9378
|
}): Promise<CryptographicKey | null>;
|
8728
9379
|
/**
|
8729
9380
|
* Similar to
|
@@ -8737,6 +9388,7 @@ export declare class Organization extends Object {
|
|
8737
9388
|
documentLoader?: DocumentLoader;
|
8738
9389
|
contextLoader?: DocumentLoader;
|
8739
9390
|
suppressError?: boolean;
|
9391
|
+
tracerProvider?: TracerProvider;
|
8740
9392
|
}): AsyncIterable<CryptographicKey>;
|
8741
9393
|
/**
|
8742
9394
|
* Similar to
|
@@ -8753,6 +9405,7 @@ export declare class Organization extends Object {
|
|
8753
9405
|
documentLoader?: DocumentLoader;
|
8754
9406
|
contextLoader?: DocumentLoader;
|
8755
9407
|
suppressError?: boolean;
|
9408
|
+
tracerProvider?: TracerProvider;
|
8756
9409
|
}): Promise<Multikey | null>;
|
8757
9410
|
/**
|
8758
9411
|
* Similar to
|
@@ -8769,6 +9422,7 @@ export declare class Organization extends Object {
|
|
8769
9422
|
documentLoader?: DocumentLoader;
|
8770
9423
|
contextLoader?: DocumentLoader;
|
8771
9424
|
suppressError?: boolean;
|
9425
|
+
tracerProvider?: TracerProvider;
|
8772
9426
|
}): AsyncIterable<Multikey>;
|
8773
9427
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
8774
9428
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -8802,6 +9456,7 @@ export declare class Organization extends Object {
|
|
8802
9456
|
documentLoader?: DocumentLoader;
|
8803
9457
|
contextLoader?: DocumentLoader;
|
8804
9458
|
suppressError?: boolean;
|
9459
|
+
tracerProvider?: TracerProvider;
|
8805
9460
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
8806
9461
|
/**
|
8807
9462
|
* Similar to
|
@@ -8824,6 +9479,7 @@ export declare class Organization extends Object {
|
|
8824
9479
|
documentLoader?: DocumentLoader;
|
8825
9480
|
contextLoader?: DocumentLoader;
|
8826
9481
|
suppressError?: boolean;
|
9482
|
+
tracerProvider?: TracerProvider;
|
8827
9483
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
8828
9484
|
/**
|
8829
9485
|
* Similar to
|
@@ -8841,6 +9497,7 @@ export declare class Organization extends Object {
|
|
8841
9497
|
documentLoader?: DocumentLoader;
|
8842
9498
|
contextLoader?: DocumentLoader;
|
8843
9499
|
suppressError?: boolean;
|
9500
|
+
tracerProvider?: TracerProvider;
|
8844
9501
|
}): Promise<Collection | null>;
|
8845
9502
|
/**
|
8846
9503
|
* Similar to
|
@@ -8861,6 +9518,7 @@ export declare class Organization extends Object {
|
|
8861
9518
|
documentLoader?: DocumentLoader;
|
8862
9519
|
contextLoader?: DocumentLoader;
|
8863
9520
|
suppressError?: boolean;
|
9521
|
+
tracerProvider?: TracerProvider;
|
8864
9522
|
}): Promise<Collection | null>;
|
8865
9523
|
/**
|
8866
9524
|
* Similar to
|
@@ -8879,6 +9537,7 @@ export declare class Organization extends Object {
|
|
8879
9537
|
documentLoader?: DocumentLoader;
|
8880
9538
|
contextLoader?: DocumentLoader;
|
8881
9539
|
suppressError?: boolean;
|
9540
|
+
tracerProvider?: TracerProvider;
|
8882
9541
|
}): Promise<Collection | null>;
|
8883
9542
|
/**
|
8884
9543
|
* Similar to
|
@@ -8895,6 +9554,7 @@ export declare class Organization extends Object {
|
|
8895
9554
|
documentLoader?: DocumentLoader;
|
8896
9555
|
contextLoader?: DocumentLoader;
|
8897
9556
|
suppressError?: boolean;
|
9557
|
+
tracerProvider?: TracerProvider;
|
8898
9558
|
}): Promise<Collection | null>;
|
8899
9559
|
/**
|
8900
9560
|
* Similar to
|
@@ -8911,6 +9571,7 @@ export declare class Organization extends Object {
|
|
8911
9571
|
documentLoader?: DocumentLoader;
|
8912
9572
|
contextLoader?: DocumentLoader;
|
8913
9573
|
suppressError?: boolean;
|
9574
|
+
tracerProvider?: TracerProvider;
|
8914
9575
|
}): Promise<Collection | null>;
|
8915
9576
|
/**
|
8916
9577
|
* Similar to
|
@@ -8924,6 +9585,7 @@ export declare class Organization extends Object {
|
|
8924
9585
|
documentLoader?: DocumentLoader;
|
8925
9586
|
contextLoader?: DocumentLoader;
|
8926
9587
|
suppressError?: boolean;
|
9588
|
+
tracerProvider?: TracerProvider;
|
8927
9589
|
}): AsyncIterable<Collection>;
|
8928
9590
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
8929
9591
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -8959,6 +9621,7 @@ export declare class Organization extends Object {
|
|
8959
9621
|
documentLoader?: DocumentLoader;
|
8960
9622
|
contextLoader?: DocumentLoader;
|
8961
9623
|
suppressError?: boolean;
|
9624
|
+
tracerProvider?: TracerProvider;
|
8962
9625
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
8963
9626
|
/**
|
8964
9627
|
* Similar to
|
@@ -8975,6 +9638,7 @@ export declare class Organization extends Object {
|
|
8975
9638
|
documentLoader?: DocumentLoader;
|
8976
9639
|
contextLoader?: DocumentLoader;
|
8977
9640
|
suppressError?: boolean;
|
9641
|
+
tracerProvider?: TracerProvider;
|
8978
9642
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
8979
9643
|
/**
|
8980
9644
|
* Similar to
|
@@ -8991,6 +9655,7 @@ export declare class Organization extends Object {
|
|
8991
9655
|
documentLoader?: DocumentLoader;
|
8992
9656
|
contextLoader?: DocumentLoader;
|
8993
9657
|
suppressError?: boolean;
|
9658
|
+
tracerProvider?: TracerProvider;
|
8994
9659
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
8995
9660
|
/**
|
8996
9661
|
* Similar to
|
@@ -9007,6 +9672,7 @@ export declare class Organization extends Object {
|
|
9007
9672
|
documentLoader?: DocumentLoader;
|
9008
9673
|
contextLoader?: DocumentLoader;
|
9009
9674
|
suppressError?: boolean;
|
9675
|
+
tracerProvider?: TracerProvider;
|
9010
9676
|
}): Promise<DidService | null>;
|
9011
9677
|
/**
|
9012
9678
|
* Similar to
|
@@ -9023,6 +9689,7 @@ export declare class Organization extends Object {
|
|
9023
9689
|
documentLoader?: DocumentLoader;
|
9024
9690
|
contextLoader?: DocumentLoader;
|
9025
9691
|
suppressError?: boolean;
|
9692
|
+
tracerProvider?: TracerProvider;
|
9026
9693
|
}): AsyncIterable<DidService>;
|
9027
9694
|
/** This value is used for `Actor` type objects to show message on followed.
|
9028
9695
|
*/
|
@@ -9052,12 +9719,23 @@ export declare class Organization extends Object {
|
|
9052
9719
|
/**
|
9053
9720
|
* Converts a JSON-LD structure to an object of this type.
|
9054
9721
|
* @param json The JSON-LD structure to convert.
|
9722
|
+
* @param options The options to use.
|
9723
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
9724
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
9725
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
9726
|
+
* If omitted, the global tracer provider is used.
|
9055
9727
|
* @returns The object of this type.
|
9056
9728
|
* @throws {TypeError} If the given `json` is invalid.
|
9057
9729
|
*/
|
9058
9730
|
static fromJsonLd(json: unknown, options?: {
|
9059
9731
|
documentLoader?: DocumentLoader;
|
9060
9732
|
contextLoader?: DocumentLoader;
|
9733
|
+
tracerProvider?: TracerProvider;
|
9734
|
+
}): Promise<Organization>;
|
9735
|
+
protected static __fromJsonLd__Organization__(json: unknown, span: Span, options?: {
|
9736
|
+
documentLoader?: DocumentLoader;
|
9737
|
+
contextLoader?: DocumentLoader;
|
9738
|
+
tracerProvider?: TracerProvider;
|
9061
9739
|
}): Promise<Organization>;
|
9062
9740
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
9063
9741
|
}
|
@@ -9123,9 +9801,10 @@ export declare class Page extends Document {
|
|
9123
9801
|
proofs?: (DataIntegrityProof | URL)[];
|
9124
9802
|
width?: number | null;
|
9125
9803
|
height?: number | null;
|
9126
|
-
}, { documentLoader, contextLoader, }?: {
|
9804
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
9127
9805
|
documentLoader?: DocumentLoader;
|
9128
9806
|
contextLoader?: DocumentLoader;
|
9807
|
+
tracerProvider?: TracerProvider;
|
9129
9808
|
});
|
9130
9809
|
/**
|
9131
9810
|
* Clones this instance, optionally updating it with the given values.
|
@@ -9205,12 +9884,23 @@ export declare class Page extends Document {
|
|
9205
9884
|
/**
|
9206
9885
|
* Converts a JSON-LD structure to an object of this type.
|
9207
9886
|
* @param json The JSON-LD structure to convert.
|
9887
|
+
* @param options The options to use.
|
9888
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
9889
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
9890
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
9891
|
+
* If omitted, the global tracer provider is used.
|
9208
9892
|
* @returns The object of this type.
|
9209
9893
|
* @throws {TypeError} If the given `json` is invalid.
|
9210
9894
|
*/
|
9211
9895
|
static fromJsonLd(json: unknown, options?: {
|
9212
9896
|
documentLoader?: DocumentLoader;
|
9213
9897
|
contextLoader?: DocumentLoader;
|
9898
|
+
tracerProvider?: TracerProvider;
|
9899
|
+
}): Promise<Page>;
|
9900
|
+
protected static __fromJsonLd__Page__(json: unknown, span: Span, options?: {
|
9901
|
+
documentLoader?: DocumentLoader;
|
9902
|
+
contextLoader?: DocumentLoader;
|
9903
|
+
tracerProvider?: TracerProvider;
|
9214
9904
|
}): Promise<Page>;
|
9215
9905
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
9216
9906
|
}
|
@@ -9301,9 +9991,10 @@ export declare class Person extends Object {
|
|
9301
9991
|
services?: (DidService | URL)[];
|
9302
9992
|
followedMessage?: string | null;
|
9303
9993
|
cat?: boolean | null;
|
9304
|
-
}, { documentLoader, contextLoader, }?: {
|
9994
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
9305
9995
|
documentLoader?: DocumentLoader;
|
9306
9996
|
contextLoader?: DocumentLoader;
|
9997
|
+
tracerProvider?: TracerProvider;
|
9307
9998
|
});
|
9308
9999
|
/**
|
9309
10000
|
* Clones this instance, optionally updating it with the given values.
|
@@ -9409,6 +10100,7 @@ export declare class Person extends Object {
|
|
9409
10100
|
documentLoader?: DocumentLoader;
|
9410
10101
|
contextLoader?: DocumentLoader;
|
9411
10102
|
suppressError?: boolean;
|
10103
|
+
tracerProvider?: TracerProvider;
|
9412
10104
|
}): Promise<CryptographicKey | null>;
|
9413
10105
|
/**
|
9414
10106
|
* Similar to
|
@@ -9422,6 +10114,7 @@ export declare class Person extends Object {
|
|
9422
10114
|
documentLoader?: DocumentLoader;
|
9423
10115
|
contextLoader?: DocumentLoader;
|
9424
10116
|
suppressError?: boolean;
|
10117
|
+
tracerProvider?: TracerProvider;
|
9425
10118
|
}): AsyncIterable<CryptographicKey>;
|
9426
10119
|
/**
|
9427
10120
|
* Similar to
|
@@ -9438,6 +10131,7 @@ export declare class Person extends Object {
|
|
9438
10131
|
documentLoader?: DocumentLoader;
|
9439
10132
|
contextLoader?: DocumentLoader;
|
9440
10133
|
suppressError?: boolean;
|
10134
|
+
tracerProvider?: TracerProvider;
|
9441
10135
|
}): Promise<Multikey | null>;
|
9442
10136
|
/**
|
9443
10137
|
* Similar to
|
@@ -9454,6 +10148,7 @@ export declare class Person extends Object {
|
|
9454
10148
|
documentLoader?: DocumentLoader;
|
9455
10149
|
contextLoader?: DocumentLoader;
|
9456
10150
|
suppressError?: boolean;
|
10151
|
+
tracerProvider?: TracerProvider;
|
9457
10152
|
}): AsyncIterable<Multikey>;
|
9458
10153
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
9459
10154
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -9487,6 +10182,7 @@ export declare class Person extends Object {
|
|
9487
10182
|
documentLoader?: DocumentLoader;
|
9488
10183
|
contextLoader?: DocumentLoader;
|
9489
10184
|
suppressError?: boolean;
|
10185
|
+
tracerProvider?: TracerProvider;
|
9490
10186
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
9491
10187
|
/**
|
9492
10188
|
* Similar to
|
@@ -9509,6 +10205,7 @@ export declare class Person extends Object {
|
|
9509
10205
|
documentLoader?: DocumentLoader;
|
9510
10206
|
contextLoader?: DocumentLoader;
|
9511
10207
|
suppressError?: boolean;
|
10208
|
+
tracerProvider?: TracerProvider;
|
9512
10209
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
9513
10210
|
/**
|
9514
10211
|
* Similar to
|
@@ -9526,6 +10223,7 @@ export declare class Person extends Object {
|
|
9526
10223
|
documentLoader?: DocumentLoader;
|
9527
10224
|
contextLoader?: DocumentLoader;
|
9528
10225
|
suppressError?: boolean;
|
10226
|
+
tracerProvider?: TracerProvider;
|
9529
10227
|
}): Promise<Collection | null>;
|
9530
10228
|
/**
|
9531
10229
|
* Similar to
|
@@ -9546,6 +10244,7 @@ export declare class Person extends Object {
|
|
9546
10244
|
documentLoader?: DocumentLoader;
|
9547
10245
|
contextLoader?: DocumentLoader;
|
9548
10246
|
suppressError?: boolean;
|
10247
|
+
tracerProvider?: TracerProvider;
|
9549
10248
|
}): Promise<Collection | null>;
|
9550
10249
|
/**
|
9551
10250
|
* Similar to
|
@@ -9564,6 +10263,7 @@ export declare class Person extends Object {
|
|
9564
10263
|
documentLoader?: DocumentLoader;
|
9565
10264
|
contextLoader?: DocumentLoader;
|
9566
10265
|
suppressError?: boolean;
|
10266
|
+
tracerProvider?: TracerProvider;
|
9567
10267
|
}): Promise<Collection | null>;
|
9568
10268
|
/**
|
9569
10269
|
* Similar to
|
@@ -9580,6 +10280,7 @@ export declare class Person extends Object {
|
|
9580
10280
|
documentLoader?: DocumentLoader;
|
9581
10281
|
contextLoader?: DocumentLoader;
|
9582
10282
|
suppressError?: boolean;
|
10283
|
+
tracerProvider?: TracerProvider;
|
9583
10284
|
}): Promise<Collection | null>;
|
9584
10285
|
/**
|
9585
10286
|
* Similar to
|
@@ -9596,6 +10297,7 @@ export declare class Person extends Object {
|
|
9596
10297
|
documentLoader?: DocumentLoader;
|
9597
10298
|
contextLoader?: DocumentLoader;
|
9598
10299
|
suppressError?: boolean;
|
10300
|
+
tracerProvider?: TracerProvider;
|
9599
10301
|
}): Promise<Collection | null>;
|
9600
10302
|
/**
|
9601
10303
|
* Similar to
|
@@ -9609,6 +10311,7 @@ export declare class Person extends Object {
|
|
9609
10311
|
documentLoader?: DocumentLoader;
|
9610
10312
|
contextLoader?: DocumentLoader;
|
9611
10313
|
suppressError?: boolean;
|
10314
|
+
tracerProvider?: TracerProvider;
|
9612
10315
|
}): AsyncIterable<Collection>;
|
9613
10316
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
9614
10317
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -9644,6 +10347,7 @@ export declare class Person extends Object {
|
|
9644
10347
|
documentLoader?: DocumentLoader;
|
9645
10348
|
contextLoader?: DocumentLoader;
|
9646
10349
|
suppressError?: boolean;
|
10350
|
+
tracerProvider?: TracerProvider;
|
9647
10351
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
9648
10352
|
/**
|
9649
10353
|
* Similar to
|
@@ -9660,6 +10364,7 @@ export declare class Person extends Object {
|
|
9660
10364
|
documentLoader?: DocumentLoader;
|
9661
10365
|
contextLoader?: DocumentLoader;
|
9662
10366
|
suppressError?: boolean;
|
10367
|
+
tracerProvider?: TracerProvider;
|
9663
10368
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
9664
10369
|
/**
|
9665
10370
|
* Similar to
|
@@ -9676,6 +10381,7 @@ export declare class Person extends Object {
|
|
9676
10381
|
documentLoader?: DocumentLoader;
|
9677
10382
|
contextLoader?: DocumentLoader;
|
9678
10383
|
suppressError?: boolean;
|
10384
|
+
tracerProvider?: TracerProvider;
|
9679
10385
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
9680
10386
|
/**
|
9681
10387
|
* Similar to
|
@@ -9692,6 +10398,7 @@ export declare class Person extends Object {
|
|
9692
10398
|
documentLoader?: DocumentLoader;
|
9693
10399
|
contextLoader?: DocumentLoader;
|
9694
10400
|
suppressError?: boolean;
|
10401
|
+
tracerProvider?: TracerProvider;
|
9695
10402
|
}): Promise<DidService | null>;
|
9696
10403
|
/**
|
9697
10404
|
* Similar to
|
@@ -9708,6 +10415,7 @@ export declare class Person extends Object {
|
|
9708
10415
|
documentLoader?: DocumentLoader;
|
9709
10416
|
contextLoader?: DocumentLoader;
|
9710
10417
|
suppressError?: boolean;
|
10418
|
+
tracerProvider?: TracerProvider;
|
9711
10419
|
}): AsyncIterable<DidService>;
|
9712
10420
|
/** This value is used for `Actor` type objects to show message on followed.
|
9713
10421
|
*/
|
@@ -9737,12 +10445,23 @@ export declare class Person extends Object {
|
|
9737
10445
|
/**
|
9738
10446
|
* Converts a JSON-LD structure to an object of this type.
|
9739
10447
|
* @param json The JSON-LD structure to convert.
|
10448
|
+
* @param options The options to use.
|
10449
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
10450
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
10451
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
10452
|
+
* If omitted, the global tracer provider is used.
|
9740
10453
|
* @returns The object of this type.
|
9741
10454
|
* @throws {TypeError} If the given `json` is invalid.
|
9742
10455
|
*/
|
9743
10456
|
static fromJsonLd(json: unknown, options?: {
|
9744
10457
|
documentLoader?: DocumentLoader;
|
9745
10458
|
contextLoader?: DocumentLoader;
|
10459
|
+
tracerProvider?: TracerProvider;
|
10460
|
+
}): Promise<Person>;
|
10461
|
+
protected static __fromJsonLd__Person__(json: unknown, span: Span, options?: {
|
10462
|
+
documentLoader?: DocumentLoader;
|
10463
|
+
contextLoader?: DocumentLoader;
|
10464
|
+
tracerProvider?: TracerProvider;
|
9746
10465
|
}): Promise<Person>;
|
9747
10466
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
9748
10467
|
}
|
@@ -9814,9 +10533,10 @@ export declare class Place extends Object {
|
|
9814
10533
|
longitude?: number | null;
|
9815
10534
|
radius?: number | null;
|
9816
10535
|
units?: "cm" | "feet" | "inches" | "km" | "m" | "miles" | URL | null;
|
9817
|
-
}, { documentLoader, contextLoader, }?: {
|
10536
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
9818
10537
|
documentLoader?: DocumentLoader;
|
9819
10538
|
contextLoader?: DocumentLoader;
|
10539
|
+
tracerProvider?: TracerProvider;
|
9820
10540
|
});
|
9821
10541
|
/**
|
9822
10542
|
* Clones this instance, optionally updating it with the given values.
|
@@ -9926,12 +10646,23 @@ export declare class Place extends Object {
|
|
9926
10646
|
/**
|
9927
10647
|
* Converts a JSON-LD structure to an object of this type.
|
9928
10648
|
* @param json The JSON-LD structure to convert.
|
10649
|
+
* @param options The options to use.
|
10650
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
10651
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
10652
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
10653
|
+
* If omitted, the global tracer provider is used.
|
9929
10654
|
* @returns The object of this type.
|
9930
10655
|
* @throws {TypeError} If the given `json` is invalid.
|
9931
10656
|
*/
|
9932
10657
|
static fromJsonLd(json: unknown, options?: {
|
9933
10658
|
documentLoader?: DocumentLoader;
|
9934
10659
|
contextLoader?: DocumentLoader;
|
10660
|
+
tracerProvider?: TracerProvider;
|
10661
|
+
}): Promise<Place>;
|
10662
|
+
protected static __fromJsonLd__Place__(json: unknown, span: Span, options?: {
|
10663
|
+
documentLoader?: DocumentLoader;
|
10664
|
+
contextLoader?: DocumentLoader;
|
10665
|
+
tracerProvider?: TracerProvider;
|
9935
10666
|
}): Promise<Place>;
|
9936
10667
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
9937
10668
|
}
|
@@ -10000,9 +10731,10 @@ export declare class Profile extends Object {
|
|
10000
10731
|
proof?: DataIntegrityProof | URL | null;
|
10001
10732
|
proofs?: (DataIntegrityProof | URL)[];
|
10002
10733
|
describes?: Object | URL | null;
|
10003
|
-
}, { documentLoader, contextLoader, }?: {
|
10734
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
10004
10735
|
documentLoader?: DocumentLoader;
|
10005
10736
|
contextLoader?: DocumentLoader;
|
10737
|
+
tracerProvider?: TracerProvider;
|
10006
10738
|
});
|
10007
10739
|
/**
|
10008
10740
|
* Clones this instance, optionally updating it with the given values.
|
@@ -10075,6 +10807,7 @@ export declare class Profile extends Object {
|
|
10075
10807
|
documentLoader?: DocumentLoader;
|
10076
10808
|
contextLoader?: DocumentLoader;
|
10077
10809
|
suppressError?: boolean;
|
10810
|
+
tracerProvider?: TracerProvider;
|
10078
10811
|
}): Promise<Object | null>;
|
10079
10812
|
/**
|
10080
10813
|
* Converts this object to a JSON-LD structure.
|
@@ -10095,12 +10828,23 @@ export declare class Profile extends Object {
|
|
10095
10828
|
/**
|
10096
10829
|
* Converts a JSON-LD structure to an object of this type.
|
10097
10830
|
* @param json The JSON-LD structure to convert.
|
10831
|
+
* @param options The options to use.
|
10832
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
10833
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
10834
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
10835
|
+
* If omitted, the global tracer provider is used.
|
10098
10836
|
* @returns The object of this type.
|
10099
10837
|
* @throws {TypeError} If the given `json` is invalid.
|
10100
10838
|
*/
|
10101
10839
|
static fromJsonLd(json: unknown, options?: {
|
10102
10840
|
documentLoader?: DocumentLoader;
|
10103
10841
|
contextLoader?: DocumentLoader;
|
10842
|
+
tracerProvider?: TracerProvider;
|
10843
|
+
}): Promise<Profile>;
|
10844
|
+
protected static __fromJsonLd__Profile__(json: unknown, span: Span, options?: {
|
10845
|
+
documentLoader?: DocumentLoader;
|
10846
|
+
contextLoader?: DocumentLoader;
|
10847
|
+
tracerProvider?: TracerProvider;
|
10104
10848
|
}): Promise<Profile>;
|
10105
10849
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
10106
10850
|
}
|
@@ -10188,9 +10932,10 @@ export declare class Question extends IntransitiveActivity {
|
|
10188
10932
|
closed?: dntShim.Temporal.Instant | boolean | null;
|
10189
10933
|
voters?: number | null;
|
10190
10934
|
quoteUrl?: URL | null;
|
10191
|
-
}, { documentLoader, contextLoader, }?: {
|
10935
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
10192
10936
|
documentLoader?: DocumentLoader;
|
10193
10937
|
contextLoader?: DocumentLoader;
|
10938
|
+
tracerProvider?: TracerProvider;
|
10194
10939
|
});
|
10195
10940
|
/**
|
10196
10941
|
* Clones this instance, optionally updating it with the given values.
|
@@ -10280,6 +11025,7 @@ export declare class Question extends IntransitiveActivity {
|
|
10280
11025
|
documentLoader?: DocumentLoader;
|
10281
11026
|
contextLoader?: DocumentLoader;
|
10282
11027
|
suppressError?: boolean;
|
11028
|
+
tracerProvider?: TracerProvider;
|
10283
11029
|
}): AsyncIterable<Object>;
|
10284
11030
|
/**
|
10285
11031
|
* Similar to
|
@@ -10295,6 +11041,7 @@ export declare class Question extends IntransitiveActivity {
|
|
10295
11041
|
documentLoader?: DocumentLoader;
|
10296
11042
|
contextLoader?: DocumentLoader;
|
10297
11043
|
suppressError?: boolean;
|
11044
|
+
tracerProvider?: TracerProvider;
|
10298
11045
|
}): AsyncIterable<Object>;
|
10299
11046
|
/** Indicates that a question has been closed, and answers are no longer
|
10300
11047
|
* accepted.
|
@@ -10335,12 +11082,23 @@ export declare class Question extends IntransitiveActivity {
|
|
10335
11082
|
/**
|
10336
11083
|
* Converts a JSON-LD structure to an object of this type.
|
10337
11084
|
* @param json The JSON-LD structure to convert.
|
11085
|
+
* @param options The options to use.
|
11086
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
11087
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
11088
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
11089
|
+
* If omitted, the global tracer provider is used.
|
10338
11090
|
* @returns The object of this type.
|
10339
11091
|
* @throws {TypeError} If the given `json` is invalid.
|
10340
11092
|
*/
|
10341
11093
|
static fromJsonLd(json: unknown, options?: {
|
10342
11094
|
documentLoader?: DocumentLoader;
|
10343
11095
|
contextLoader?: DocumentLoader;
|
11096
|
+
tracerProvider?: TracerProvider;
|
11097
|
+
}): Promise<Question>;
|
11098
|
+
protected static __fromJsonLd__Question__(json: unknown, span: Span, options?: {
|
11099
|
+
documentLoader?: DocumentLoader;
|
11100
|
+
contextLoader?: DocumentLoader;
|
11101
|
+
tracerProvider?: TracerProvider;
|
10344
11102
|
}): Promise<Question>;
|
10345
11103
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
10346
11104
|
}
|
@@ -10416,9 +11174,10 @@ export declare class Read extends Activity {
|
|
10416
11174
|
origins?: (Object | URL)[];
|
10417
11175
|
instrument?: Object | URL | null;
|
10418
11176
|
instruments?: (Object | URL)[];
|
10419
|
-
}, { documentLoader, contextLoader, }?: {
|
11177
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
10420
11178
|
documentLoader?: DocumentLoader;
|
10421
11179
|
contextLoader?: DocumentLoader;
|
11180
|
+
tracerProvider?: TracerProvider;
|
10422
11181
|
});
|
10423
11182
|
/**
|
10424
11183
|
* Clones this instance, optionally updating it with the given values.
|
@@ -10508,12 +11267,23 @@ export declare class Read extends Activity {
|
|
10508
11267
|
/**
|
10509
11268
|
* Converts a JSON-LD structure to an object of this type.
|
10510
11269
|
* @param json The JSON-LD structure to convert.
|
11270
|
+
* @param options The options to use.
|
11271
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
11272
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
11273
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
11274
|
+
* If omitted, the global tracer provider is used.
|
10511
11275
|
* @returns The object of this type.
|
10512
11276
|
* @throws {TypeError} If the given `json` is invalid.
|
10513
11277
|
*/
|
10514
11278
|
static fromJsonLd(json: unknown, options?: {
|
10515
11279
|
documentLoader?: DocumentLoader;
|
10516
11280
|
contextLoader?: DocumentLoader;
|
11281
|
+
tracerProvider?: TracerProvider;
|
11282
|
+
}): Promise<Read>;
|
11283
|
+
protected static __fromJsonLd__Read__(json: unknown, span: Span, options?: {
|
11284
|
+
documentLoader?: DocumentLoader;
|
11285
|
+
contextLoader?: DocumentLoader;
|
11286
|
+
tracerProvider?: TracerProvider;
|
10517
11287
|
}): Promise<Read>;
|
10518
11288
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
10519
11289
|
}
|
@@ -10590,9 +11360,10 @@ export declare class Reject extends Activity {
|
|
10590
11360
|
origins?: (Object | URL)[];
|
10591
11361
|
instrument?: Object | URL | null;
|
10592
11362
|
instruments?: (Object | URL)[];
|
10593
|
-
}, { documentLoader, contextLoader, }?: {
|
11363
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
10594
11364
|
documentLoader?: DocumentLoader;
|
10595
11365
|
contextLoader?: DocumentLoader;
|
11366
|
+
tracerProvider?: TracerProvider;
|
10596
11367
|
});
|
10597
11368
|
/**
|
10598
11369
|
* Clones this instance, optionally updating it with the given values.
|
@@ -10682,12 +11453,23 @@ export declare class Reject extends Activity {
|
|
10682
11453
|
/**
|
10683
11454
|
* Converts a JSON-LD structure to an object of this type.
|
10684
11455
|
* @param json The JSON-LD structure to convert.
|
11456
|
+
* @param options The options to use.
|
11457
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
11458
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
11459
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
11460
|
+
* If omitted, the global tracer provider is used.
|
10685
11461
|
* @returns The object of this type.
|
10686
11462
|
* @throws {TypeError} If the given `json` is invalid.
|
10687
11463
|
*/
|
10688
11464
|
static fromJsonLd(json: unknown, options?: {
|
10689
11465
|
documentLoader?: DocumentLoader;
|
10690
11466
|
contextLoader?: DocumentLoader;
|
11467
|
+
tracerProvider?: TracerProvider;
|
11468
|
+
}): Promise<Reject>;
|
11469
|
+
protected static __fromJsonLd__Reject__(json: unknown, span: Span, options?: {
|
11470
|
+
documentLoader?: DocumentLoader;
|
11471
|
+
contextLoader?: DocumentLoader;
|
11472
|
+
tracerProvider?: TracerProvider;
|
10691
11473
|
}): Promise<Reject>;
|
10692
11474
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
10693
11475
|
}
|
@@ -10762,9 +11544,10 @@ export declare class Relationship extends Object {
|
|
10762
11544
|
objects?: (Object | URL)[];
|
10763
11545
|
relationship?: Object | URL | null;
|
10764
11546
|
relationships?: (Object | URL)[];
|
10765
|
-
}, { documentLoader, contextLoader, }?: {
|
11547
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
10766
11548
|
documentLoader?: DocumentLoader;
|
10767
11549
|
contextLoader?: DocumentLoader;
|
11550
|
+
tracerProvider?: TracerProvider;
|
10768
11551
|
});
|
10769
11552
|
/**
|
10770
11553
|
* Clones this instance, optionally updating it with the given values.
|
@@ -10843,6 +11626,7 @@ export declare class Relationship extends Object {
|
|
10843
11626
|
documentLoader?: DocumentLoader;
|
10844
11627
|
contextLoader?: DocumentLoader;
|
10845
11628
|
suppressError?: boolean;
|
11629
|
+
tracerProvider?: TracerProvider;
|
10846
11630
|
}): Promise<Object | null>;
|
10847
11631
|
/**
|
10848
11632
|
* Similar to
|
@@ -10856,6 +11640,7 @@ export declare class Relationship extends Object {
|
|
10856
11640
|
documentLoader?: DocumentLoader;
|
10857
11641
|
contextLoader?: DocumentLoader;
|
10858
11642
|
suppressError?: boolean;
|
11643
|
+
tracerProvider?: TracerProvider;
|
10859
11644
|
}): Promise<Object | null>;
|
10860
11645
|
/**
|
10861
11646
|
* Similar to
|
@@ -10869,6 +11654,7 @@ export declare class Relationship extends Object {
|
|
10869
11654
|
documentLoader?: DocumentLoader;
|
10870
11655
|
contextLoader?: DocumentLoader;
|
10871
11656
|
suppressError?: boolean;
|
11657
|
+
tracerProvider?: TracerProvider;
|
10872
11658
|
}): AsyncIterable<Object>;
|
10873
11659
|
/**
|
10874
11660
|
* Similar to
|
@@ -10884,6 +11670,7 @@ export declare class Relationship extends Object {
|
|
10884
11670
|
documentLoader?: DocumentLoader;
|
10885
11671
|
contextLoader?: DocumentLoader;
|
10886
11672
|
suppressError?: boolean;
|
11673
|
+
tracerProvider?: TracerProvider;
|
10887
11674
|
}): Promise<Object | null>;
|
10888
11675
|
/**
|
10889
11676
|
* Similar to
|
@@ -10899,6 +11686,7 @@ export declare class Relationship extends Object {
|
|
10899
11686
|
documentLoader?: DocumentLoader;
|
10900
11687
|
contextLoader?: DocumentLoader;
|
10901
11688
|
suppressError?: boolean;
|
11689
|
+
tracerProvider?: TracerProvider;
|
10902
11690
|
}): AsyncIterable<Object>;
|
10903
11691
|
/**
|
10904
11692
|
* Converts this object to a JSON-LD structure.
|
@@ -10919,12 +11707,23 @@ export declare class Relationship extends Object {
|
|
10919
11707
|
/**
|
10920
11708
|
* Converts a JSON-LD structure to an object of this type.
|
10921
11709
|
* @param json The JSON-LD structure to convert.
|
11710
|
+
* @param options The options to use.
|
11711
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
11712
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
11713
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
11714
|
+
* If omitted, the global tracer provider is used.
|
10922
11715
|
* @returns The object of this type.
|
10923
11716
|
* @throws {TypeError} If the given `json` is invalid.
|
10924
11717
|
*/
|
10925
11718
|
static fromJsonLd(json: unknown, options?: {
|
10926
11719
|
documentLoader?: DocumentLoader;
|
10927
11720
|
contextLoader?: DocumentLoader;
|
11721
|
+
tracerProvider?: TracerProvider;
|
11722
|
+
}): Promise<Relationship>;
|
11723
|
+
protected static __fromJsonLd__Relationship__(json: unknown, span: Span, options?: {
|
11724
|
+
documentLoader?: DocumentLoader;
|
11725
|
+
contextLoader?: DocumentLoader;
|
11726
|
+
tracerProvider?: TracerProvider;
|
10928
11727
|
}): Promise<Relationship>;
|
10929
11728
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
10930
11729
|
}
|
@@ -11001,9 +11800,10 @@ export declare class Remove extends Activity {
|
|
11001
11800
|
origins?: (Object | URL)[];
|
11002
11801
|
instrument?: Object | URL | null;
|
11003
11802
|
instruments?: (Object | URL)[];
|
11004
|
-
}, { documentLoader, contextLoader, }?: {
|
11803
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
11005
11804
|
documentLoader?: DocumentLoader;
|
11006
11805
|
contextLoader?: DocumentLoader;
|
11806
|
+
tracerProvider?: TracerProvider;
|
11007
11807
|
});
|
11008
11808
|
/**
|
11009
11809
|
* Clones this instance, optionally updating it with the given values.
|
@@ -11093,12 +11893,23 @@ export declare class Remove extends Activity {
|
|
11093
11893
|
/**
|
11094
11894
|
* Converts a JSON-LD structure to an object of this type.
|
11095
11895
|
* @param json The JSON-LD structure to convert.
|
11896
|
+
* @param options The options to use.
|
11897
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
11898
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
11899
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
11900
|
+
* If omitted, the global tracer provider is used.
|
11096
11901
|
* @returns The object of this type.
|
11097
11902
|
* @throws {TypeError} If the given `json` is invalid.
|
11098
11903
|
*/
|
11099
11904
|
static fromJsonLd(json: unknown, options?: {
|
11100
11905
|
documentLoader?: DocumentLoader;
|
11101
11906
|
contextLoader?: DocumentLoader;
|
11907
|
+
tracerProvider?: TracerProvider;
|
11908
|
+
}): Promise<Remove>;
|
11909
|
+
protected static __fromJsonLd__Remove__(json: unknown, span: Span, options?: {
|
11910
|
+
documentLoader?: DocumentLoader;
|
11911
|
+
contextLoader?: DocumentLoader;
|
11912
|
+
tracerProvider?: TracerProvider;
|
11102
11913
|
}): Promise<Remove>;
|
11103
11914
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
11104
11915
|
}
|
@@ -11189,9 +12000,10 @@ export declare class Service extends Object {
|
|
11189
12000
|
services?: (DidService | URL)[];
|
11190
12001
|
followedMessage?: string | null;
|
11191
12002
|
cat?: boolean | null;
|
11192
|
-
}, { documentLoader, contextLoader, }?: {
|
12003
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
11193
12004
|
documentLoader?: DocumentLoader;
|
11194
12005
|
contextLoader?: DocumentLoader;
|
12006
|
+
tracerProvider?: TracerProvider;
|
11195
12007
|
});
|
11196
12008
|
/**
|
11197
12009
|
* Clones this instance, optionally updating it with the given values.
|
@@ -11297,6 +12109,7 @@ export declare class Service extends Object {
|
|
11297
12109
|
documentLoader?: DocumentLoader;
|
11298
12110
|
contextLoader?: DocumentLoader;
|
11299
12111
|
suppressError?: boolean;
|
12112
|
+
tracerProvider?: TracerProvider;
|
11300
12113
|
}): Promise<CryptographicKey | null>;
|
11301
12114
|
/**
|
11302
12115
|
* Similar to
|
@@ -11310,6 +12123,7 @@ export declare class Service extends Object {
|
|
11310
12123
|
documentLoader?: DocumentLoader;
|
11311
12124
|
contextLoader?: DocumentLoader;
|
11312
12125
|
suppressError?: boolean;
|
12126
|
+
tracerProvider?: TracerProvider;
|
11313
12127
|
}): AsyncIterable<CryptographicKey>;
|
11314
12128
|
/**
|
11315
12129
|
* Similar to
|
@@ -11326,6 +12140,7 @@ export declare class Service extends Object {
|
|
11326
12140
|
documentLoader?: DocumentLoader;
|
11327
12141
|
contextLoader?: DocumentLoader;
|
11328
12142
|
suppressError?: boolean;
|
12143
|
+
tracerProvider?: TracerProvider;
|
11329
12144
|
}): Promise<Multikey | null>;
|
11330
12145
|
/**
|
11331
12146
|
* Similar to
|
@@ -11342,6 +12157,7 @@ export declare class Service extends Object {
|
|
11342
12157
|
documentLoader?: DocumentLoader;
|
11343
12158
|
contextLoader?: DocumentLoader;
|
11344
12159
|
suppressError?: boolean;
|
12160
|
+
tracerProvider?: TracerProvider;
|
11345
12161
|
}): AsyncIterable<Multikey>;
|
11346
12162
|
/** When `true`, conveys that for this actor, follow requests are not usually
|
11347
12163
|
* automatically approved, but instead are examined by a person who may accept
|
@@ -11375,6 +12191,7 @@ export declare class Service extends Object {
|
|
11375
12191
|
documentLoader?: DocumentLoader;
|
11376
12192
|
contextLoader?: DocumentLoader;
|
11377
12193
|
suppressError?: boolean;
|
12194
|
+
tracerProvider?: TracerProvider;
|
11378
12195
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
11379
12196
|
/**
|
11380
12197
|
* Similar to
|
@@ -11397,6 +12214,7 @@ export declare class Service extends Object {
|
|
11397
12214
|
documentLoader?: DocumentLoader;
|
11398
12215
|
contextLoader?: DocumentLoader;
|
11399
12216
|
suppressError?: boolean;
|
12217
|
+
tracerProvider?: TracerProvider;
|
11400
12218
|
}): Promise<OrderedCollection | OrderedCollectionPage | null>;
|
11401
12219
|
/**
|
11402
12220
|
* Similar to
|
@@ -11414,6 +12232,7 @@ export declare class Service extends Object {
|
|
11414
12232
|
documentLoader?: DocumentLoader;
|
11415
12233
|
contextLoader?: DocumentLoader;
|
11416
12234
|
suppressError?: boolean;
|
12235
|
+
tracerProvider?: TracerProvider;
|
11417
12236
|
}): Promise<Collection | null>;
|
11418
12237
|
/**
|
11419
12238
|
* Similar to
|
@@ -11434,6 +12253,7 @@ export declare class Service extends Object {
|
|
11434
12253
|
documentLoader?: DocumentLoader;
|
11435
12254
|
contextLoader?: DocumentLoader;
|
11436
12255
|
suppressError?: boolean;
|
12256
|
+
tracerProvider?: TracerProvider;
|
11437
12257
|
}): Promise<Collection | null>;
|
11438
12258
|
/**
|
11439
12259
|
* Similar to
|
@@ -11452,6 +12272,7 @@ export declare class Service extends Object {
|
|
11452
12272
|
documentLoader?: DocumentLoader;
|
11453
12273
|
contextLoader?: DocumentLoader;
|
11454
12274
|
suppressError?: boolean;
|
12275
|
+
tracerProvider?: TracerProvider;
|
11455
12276
|
}): Promise<Collection | null>;
|
11456
12277
|
/**
|
11457
12278
|
* Similar to
|
@@ -11468,6 +12289,7 @@ export declare class Service extends Object {
|
|
11468
12289
|
documentLoader?: DocumentLoader;
|
11469
12290
|
contextLoader?: DocumentLoader;
|
11470
12291
|
suppressError?: boolean;
|
12292
|
+
tracerProvider?: TracerProvider;
|
11471
12293
|
}): Promise<Collection | null>;
|
11472
12294
|
/**
|
11473
12295
|
* Similar to
|
@@ -11484,6 +12306,7 @@ export declare class Service extends Object {
|
|
11484
12306
|
documentLoader?: DocumentLoader;
|
11485
12307
|
contextLoader?: DocumentLoader;
|
11486
12308
|
suppressError?: boolean;
|
12309
|
+
tracerProvider?: TracerProvider;
|
11487
12310
|
}): Promise<Collection | null>;
|
11488
12311
|
/**
|
11489
12312
|
* Similar to
|
@@ -11497,6 +12320,7 @@ export declare class Service extends Object {
|
|
11497
12320
|
documentLoader?: DocumentLoader;
|
11498
12321
|
contextLoader?: DocumentLoader;
|
11499
12322
|
suppressError?: boolean;
|
12323
|
+
tracerProvider?: TracerProvider;
|
11500
12324
|
}): AsyncIterable<Collection>;
|
11501
12325
|
/** A JSON object which maps additional (typically server/domain-wide) endpoints
|
11502
12326
|
* which may be useful either for this actor or someone referencing this actor.
|
@@ -11532,6 +12356,7 @@ export declare class Service extends Object {
|
|
11532
12356
|
documentLoader?: DocumentLoader;
|
11533
12357
|
contextLoader?: DocumentLoader;
|
11534
12358
|
suppressError?: boolean;
|
12359
|
+
tracerProvider?: TracerProvider;
|
11535
12360
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
11536
12361
|
/**
|
11537
12362
|
* Similar to
|
@@ -11548,6 +12373,7 @@ export declare class Service extends Object {
|
|
11548
12373
|
documentLoader?: DocumentLoader;
|
11549
12374
|
contextLoader?: DocumentLoader;
|
11550
12375
|
suppressError?: boolean;
|
12376
|
+
tracerProvider?: TracerProvider;
|
11551
12377
|
}): Promise<Application | Group | Organization | Person | Service | null>;
|
11552
12378
|
/**
|
11553
12379
|
* Similar to
|
@@ -11564,6 +12390,7 @@ export declare class Service extends Object {
|
|
11564
12390
|
documentLoader?: DocumentLoader;
|
11565
12391
|
contextLoader?: DocumentLoader;
|
11566
12392
|
suppressError?: boolean;
|
12393
|
+
tracerProvider?: TracerProvider;
|
11567
12394
|
}): AsyncIterable<Application | Group | Organization | Person | Service>;
|
11568
12395
|
/**
|
11569
12396
|
* Similar to
|
@@ -11580,6 +12407,7 @@ export declare class Service extends Object {
|
|
11580
12407
|
documentLoader?: DocumentLoader;
|
11581
12408
|
contextLoader?: DocumentLoader;
|
11582
12409
|
suppressError?: boolean;
|
12410
|
+
tracerProvider?: TracerProvider;
|
11583
12411
|
}): Promise<DidService | null>;
|
11584
12412
|
/**
|
11585
12413
|
* Similar to
|
@@ -11596,6 +12424,7 @@ export declare class Service extends Object {
|
|
11596
12424
|
documentLoader?: DocumentLoader;
|
11597
12425
|
contextLoader?: DocumentLoader;
|
11598
12426
|
suppressError?: boolean;
|
12427
|
+
tracerProvider?: TracerProvider;
|
11599
12428
|
}): AsyncIterable<DidService>;
|
11600
12429
|
/** This value is used for `Actor` type objects to show message on followed.
|
11601
12430
|
*/
|
@@ -11625,12 +12454,23 @@ export declare class Service extends Object {
|
|
11625
12454
|
/**
|
11626
12455
|
* Converts a JSON-LD structure to an object of this type.
|
11627
12456
|
* @param json The JSON-LD structure to convert.
|
12457
|
+
* @param options The options to use.
|
12458
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
12459
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
12460
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
12461
|
+
* If omitted, the global tracer provider is used.
|
11628
12462
|
* @returns The object of this type.
|
11629
12463
|
* @throws {TypeError} If the given `json` is invalid.
|
11630
12464
|
*/
|
11631
12465
|
static fromJsonLd(json: unknown, options?: {
|
11632
12466
|
documentLoader?: DocumentLoader;
|
11633
12467
|
contextLoader?: DocumentLoader;
|
12468
|
+
tracerProvider?: TracerProvider;
|
12469
|
+
}): Promise<Service>;
|
12470
|
+
protected static __fromJsonLd__Service__(json: unknown, span: Span, options?: {
|
12471
|
+
documentLoader?: DocumentLoader;
|
12472
|
+
contextLoader?: DocumentLoader;
|
12473
|
+
tracerProvider?: TracerProvider;
|
11634
12474
|
}): Promise<Service>;
|
11635
12475
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
11636
12476
|
}
|
@@ -11641,6 +12481,7 @@ export declare class Source {
|
|
11641
12481
|
readonly id: URL | null;
|
11642
12482
|
protected get _documentLoader(): DocumentLoader | undefined;
|
11643
12483
|
protected get _contextLoader(): DocumentLoader | undefined;
|
12484
|
+
protected get _tracerProvider(): TracerProvider | undefined;
|
11644
12485
|
/**
|
11645
12486
|
* The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
|
11646
12487
|
*/
|
@@ -11655,9 +12496,10 @@ export declare class Source {
|
|
11655
12496
|
content?: string | LanguageString | null;
|
11656
12497
|
contents?: ((string | LanguageString))[];
|
11657
12498
|
mediaType?: string | null;
|
11658
|
-
}, { documentLoader, contextLoader, }?: {
|
12499
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
11659
12500
|
documentLoader?: DocumentLoader;
|
11660
12501
|
contextLoader?: DocumentLoader;
|
12502
|
+
tracerProvider?: TracerProvider;
|
11661
12503
|
});
|
11662
12504
|
/**
|
11663
12505
|
* Clones this instance, optionally updating it with the given values.
|
@@ -11702,12 +12544,23 @@ export declare class Source {
|
|
11702
12544
|
/**
|
11703
12545
|
* Converts a JSON-LD structure to an object of this type.
|
11704
12546
|
* @param json The JSON-LD structure to convert.
|
12547
|
+
* @param options The options to use.
|
12548
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
12549
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
12550
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
12551
|
+
* If omitted, the global tracer provider is used.
|
11705
12552
|
* @returns The object of this type.
|
11706
12553
|
* @throws {TypeError} If the given `json` is invalid.
|
11707
12554
|
*/
|
11708
12555
|
static fromJsonLd(json: unknown, options?: {
|
11709
12556
|
documentLoader?: DocumentLoader;
|
11710
12557
|
contextLoader?: DocumentLoader;
|
12558
|
+
tracerProvider?: TracerProvider;
|
12559
|
+
}): Promise<Source>;
|
12560
|
+
protected static __fromJsonLd__Source__(json: unknown, span: Span, options?: {
|
12561
|
+
documentLoader?: DocumentLoader;
|
12562
|
+
contextLoader?: DocumentLoader;
|
12563
|
+
tracerProvider?: TracerProvider;
|
11711
12564
|
}): Promise<Source>;
|
11712
12565
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
11713
12566
|
}
|
@@ -11784,9 +12637,10 @@ export declare class TentativeAccept extends Accept {
|
|
11784
12637
|
origins?: (Object | URL)[];
|
11785
12638
|
instrument?: Object | URL | null;
|
11786
12639
|
instruments?: (Object | URL)[];
|
11787
|
-
}, { documentLoader, contextLoader, }?: {
|
12640
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
11788
12641
|
documentLoader?: DocumentLoader;
|
11789
12642
|
contextLoader?: DocumentLoader;
|
12643
|
+
tracerProvider?: TracerProvider;
|
11790
12644
|
});
|
11791
12645
|
/**
|
11792
12646
|
* Clones this instance, optionally updating it with the given values.
|
@@ -11876,12 +12730,23 @@ export declare class TentativeAccept extends Accept {
|
|
11876
12730
|
/**
|
11877
12731
|
* Converts a JSON-LD structure to an object of this type.
|
11878
12732
|
* @param json The JSON-LD structure to convert.
|
12733
|
+
* @param options The options to use.
|
12734
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
12735
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
12736
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
12737
|
+
* If omitted, the global tracer provider is used.
|
11879
12738
|
* @returns The object of this type.
|
11880
12739
|
* @throws {TypeError} If the given `json` is invalid.
|
11881
12740
|
*/
|
11882
12741
|
static fromJsonLd(json: unknown, options?: {
|
11883
12742
|
documentLoader?: DocumentLoader;
|
11884
12743
|
contextLoader?: DocumentLoader;
|
12744
|
+
tracerProvider?: TracerProvider;
|
12745
|
+
}): Promise<TentativeAccept>;
|
12746
|
+
protected static __fromJsonLd__TentativeAccept__(json: unknown, span: Span, options?: {
|
12747
|
+
documentLoader?: DocumentLoader;
|
12748
|
+
contextLoader?: DocumentLoader;
|
12749
|
+
tracerProvider?: TracerProvider;
|
11885
12750
|
}): Promise<TentativeAccept>;
|
11886
12751
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
11887
12752
|
}
|
@@ -11958,9 +12823,10 @@ export declare class TentativeReject extends Reject {
|
|
11958
12823
|
origins?: (Object | URL)[];
|
11959
12824
|
instrument?: Object | URL | null;
|
11960
12825
|
instruments?: (Object | URL)[];
|
11961
|
-
}, { documentLoader, contextLoader, }?: {
|
12826
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
11962
12827
|
documentLoader?: DocumentLoader;
|
11963
12828
|
contextLoader?: DocumentLoader;
|
12829
|
+
tracerProvider?: TracerProvider;
|
11964
12830
|
});
|
11965
12831
|
/**
|
11966
12832
|
* Clones this instance, optionally updating it with the given values.
|
@@ -12050,12 +12916,23 @@ export declare class TentativeReject extends Reject {
|
|
12050
12916
|
/**
|
12051
12917
|
* Converts a JSON-LD structure to an object of this type.
|
12052
12918
|
* @param json The JSON-LD structure to convert.
|
12919
|
+
* @param options The options to use.
|
12920
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
12921
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
12922
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
12923
|
+
* If omitted, the global tracer provider is used.
|
12053
12924
|
* @returns The object of this type.
|
12054
12925
|
* @throws {TypeError} If the given `json` is invalid.
|
12055
12926
|
*/
|
12056
12927
|
static fromJsonLd(json: unknown, options?: {
|
12057
12928
|
documentLoader?: DocumentLoader;
|
12058
12929
|
contextLoader?: DocumentLoader;
|
12930
|
+
tracerProvider?: TracerProvider;
|
12931
|
+
}): Promise<TentativeReject>;
|
12932
|
+
protected static __fromJsonLd__TentativeReject__(json: unknown, span: Span, options?: {
|
12933
|
+
documentLoader?: DocumentLoader;
|
12934
|
+
contextLoader?: DocumentLoader;
|
12935
|
+
tracerProvider?: TracerProvider;
|
12059
12936
|
}): Promise<TentativeReject>;
|
12060
12937
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
12061
12938
|
}
|
@@ -12122,9 +12999,10 @@ export declare class Tombstone extends Object {
|
|
12122
12999
|
proof?: DataIntegrityProof | URL | null;
|
12123
13000
|
proofs?: (DataIntegrityProof | URL)[];
|
12124
13001
|
deleted?: dntShim.Temporal.Instant | null;
|
12125
|
-
}, { documentLoader, contextLoader, }?: {
|
13002
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
12126
13003
|
documentLoader?: DocumentLoader;
|
12127
13004
|
contextLoader?: DocumentLoader;
|
13005
|
+
tracerProvider?: TracerProvider;
|
12128
13006
|
});
|
12129
13007
|
/**
|
12130
13008
|
* Clones this instance, optionally updating it with the given values.
|
@@ -12207,12 +13085,23 @@ export declare class Tombstone extends Object {
|
|
12207
13085
|
/**
|
12208
13086
|
* Converts a JSON-LD structure to an object of this type.
|
12209
13087
|
* @param json The JSON-LD structure to convert.
|
13088
|
+
* @param options The options to use.
|
13089
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
13090
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
13091
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
13092
|
+
* If omitted, the global tracer provider is used.
|
12210
13093
|
* @returns The object of this type.
|
12211
13094
|
* @throws {TypeError} If the given `json` is invalid.
|
12212
13095
|
*/
|
12213
13096
|
static fromJsonLd(json: unknown, options?: {
|
12214
13097
|
documentLoader?: DocumentLoader;
|
12215
13098
|
contextLoader?: DocumentLoader;
|
13099
|
+
tracerProvider?: TracerProvider;
|
13100
|
+
}): Promise<Tombstone>;
|
13101
|
+
protected static __fromJsonLd__Tombstone__(json: unknown, span: Span, options?: {
|
13102
|
+
documentLoader?: DocumentLoader;
|
13103
|
+
contextLoader?: DocumentLoader;
|
13104
|
+
tracerProvider?: TracerProvider;
|
12216
13105
|
}): Promise<Tombstone>;
|
12217
13106
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
12218
13107
|
}
|
@@ -12291,9 +13180,10 @@ export declare class Travel extends IntransitiveActivity {
|
|
12291
13180
|
origins?: (Object | URL)[];
|
12292
13181
|
instrument?: Object | URL | null;
|
12293
13182
|
instruments?: (Object | URL)[];
|
12294
|
-
}, { documentLoader, contextLoader, }?: {
|
13183
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
12295
13184
|
documentLoader?: DocumentLoader;
|
12296
13185
|
contextLoader?: DocumentLoader;
|
13186
|
+
tracerProvider?: TracerProvider;
|
12297
13187
|
});
|
12298
13188
|
/**
|
12299
13189
|
* Clones this instance, optionally updating it with the given values.
|
@@ -12383,12 +13273,23 @@ export declare class Travel extends IntransitiveActivity {
|
|
12383
13273
|
/**
|
12384
13274
|
* Converts a JSON-LD structure to an object of this type.
|
12385
13275
|
* @param json The JSON-LD structure to convert.
|
13276
|
+
* @param options The options to use.
|
13277
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
13278
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
13279
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
13280
|
+
* If omitted, the global tracer provider is used.
|
12386
13281
|
* @returns The object of this type.
|
12387
13282
|
* @throws {TypeError} If the given `json` is invalid.
|
12388
13283
|
*/
|
12389
13284
|
static fromJsonLd(json: unknown, options?: {
|
12390
13285
|
documentLoader?: DocumentLoader;
|
12391
13286
|
contextLoader?: DocumentLoader;
|
13287
|
+
tracerProvider?: TracerProvider;
|
13288
|
+
}): Promise<Travel>;
|
13289
|
+
protected static __fromJsonLd__Travel__(json: unknown, span: Span, options?: {
|
13290
|
+
documentLoader?: DocumentLoader;
|
13291
|
+
contextLoader?: DocumentLoader;
|
13292
|
+
tracerProvider?: TracerProvider;
|
12392
13293
|
}): Promise<Travel>;
|
12393
13294
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
12394
13295
|
}
|
@@ -12470,9 +13371,10 @@ export declare class Undo extends Activity {
|
|
12470
13371
|
origins?: (Object | URL)[];
|
12471
13372
|
instrument?: Object | URL | null;
|
12472
13373
|
instruments?: (Object | URL)[];
|
12473
|
-
}, { documentLoader, contextLoader, }?: {
|
13374
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
12474
13375
|
documentLoader?: DocumentLoader;
|
12475
13376
|
contextLoader?: DocumentLoader;
|
13377
|
+
tracerProvider?: TracerProvider;
|
12476
13378
|
});
|
12477
13379
|
/**
|
12478
13380
|
* Clones this instance, optionally updating it with the given values.
|
@@ -12562,12 +13464,23 @@ export declare class Undo extends Activity {
|
|
12562
13464
|
/**
|
12563
13465
|
* Converts a JSON-LD structure to an object of this type.
|
12564
13466
|
* @param json The JSON-LD structure to convert.
|
13467
|
+
* @param options The options to use.
|
13468
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
13469
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
13470
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
13471
|
+
* If omitted, the global tracer provider is used.
|
12565
13472
|
* @returns The object of this type.
|
12566
13473
|
* @throws {TypeError} If the given `json` is invalid.
|
12567
13474
|
*/
|
12568
13475
|
static fromJsonLd(json: unknown, options?: {
|
12569
13476
|
documentLoader?: DocumentLoader;
|
12570
13477
|
contextLoader?: DocumentLoader;
|
13478
|
+
tracerProvider?: TracerProvider;
|
13479
|
+
}): Promise<Undo>;
|
13480
|
+
protected static __fromJsonLd__Undo__(json: unknown, span: Span, options?: {
|
13481
|
+
documentLoader?: DocumentLoader;
|
13482
|
+
contextLoader?: DocumentLoader;
|
13483
|
+
tracerProvider?: TracerProvider;
|
12571
13484
|
}): Promise<Undo>;
|
12572
13485
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
12573
13486
|
}
|
@@ -12647,9 +13560,10 @@ export declare class Update extends Activity {
|
|
12647
13560
|
origins?: (Object | URL)[];
|
12648
13561
|
instrument?: Object | URL | null;
|
12649
13562
|
instruments?: (Object | URL)[];
|
12650
|
-
}, { documentLoader, contextLoader, }?: {
|
13563
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
12651
13564
|
documentLoader?: DocumentLoader;
|
12652
13565
|
contextLoader?: DocumentLoader;
|
13566
|
+
tracerProvider?: TracerProvider;
|
12653
13567
|
});
|
12654
13568
|
/**
|
12655
13569
|
* Clones this instance, optionally updating it with the given values.
|
@@ -12739,12 +13653,23 @@ export declare class Update extends Activity {
|
|
12739
13653
|
/**
|
12740
13654
|
* Converts a JSON-LD structure to an object of this type.
|
12741
13655
|
* @param json The JSON-LD structure to convert.
|
13656
|
+
* @param options The options to use.
|
13657
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
13658
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
13659
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
13660
|
+
* If omitted, the global tracer provider is used.
|
12742
13661
|
* @returns The object of this type.
|
12743
13662
|
* @throws {TypeError} If the given `json` is invalid.
|
12744
13663
|
*/
|
12745
13664
|
static fromJsonLd(json: unknown, options?: {
|
12746
13665
|
documentLoader?: DocumentLoader;
|
12747
13666
|
contextLoader?: DocumentLoader;
|
13667
|
+
tracerProvider?: TracerProvider;
|
13668
|
+
}): Promise<Update>;
|
13669
|
+
protected static __fromJsonLd__Update__(json: unknown, span: Span, options?: {
|
13670
|
+
documentLoader?: DocumentLoader;
|
13671
|
+
contextLoader?: DocumentLoader;
|
13672
|
+
tracerProvider?: TracerProvider;
|
12748
13673
|
}): Promise<Update>;
|
12749
13674
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
12750
13675
|
}
|
@@ -12810,9 +13735,10 @@ export declare class Video extends Document {
|
|
12810
13735
|
proofs?: (DataIntegrityProof | URL)[];
|
12811
13736
|
width?: number | null;
|
12812
13737
|
height?: number | null;
|
12813
|
-
}, { documentLoader, contextLoader, }?: {
|
13738
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
12814
13739
|
documentLoader?: DocumentLoader;
|
12815
13740
|
contextLoader?: DocumentLoader;
|
13741
|
+
tracerProvider?: TracerProvider;
|
12816
13742
|
});
|
12817
13743
|
/**
|
12818
13744
|
* Clones this instance, optionally updating it with the given values.
|
@@ -12892,12 +13818,23 @@ export declare class Video extends Document {
|
|
12892
13818
|
/**
|
12893
13819
|
* Converts a JSON-LD structure to an object of this type.
|
12894
13820
|
* @param json The JSON-LD structure to convert.
|
13821
|
+
* @param options The options to use.
|
13822
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
13823
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
13824
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
13825
|
+
* If omitted, the global tracer provider is used.
|
12895
13826
|
* @returns The object of this type.
|
12896
13827
|
* @throws {TypeError} If the given `json` is invalid.
|
12897
13828
|
*/
|
12898
13829
|
static fromJsonLd(json: unknown, options?: {
|
12899
13830
|
documentLoader?: DocumentLoader;
|
12900
13831
|
contextLoader?: DocumentLoader;
|
13832
|
+
tracerProvider?: TracerProvider;
|
13833
|
+
}): Promise<Video>;
|
13834
|
+
protected static __fromJsonLd__Video__(json: unknown, span: Span, options?: {
|
13835
|
+
documentLoader?: DocumentLoader;
|
13836
|
+
contextLoader?: DocumentLoader;
|
13837
|
+
tracerProvider?: TracerProvider;
|
12901
13838
|
}): Promise<Video>;
|
12902
13839
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
12903
13840
|
}
|
@@ -12973,9 +13910,10 @@ export declare class View extends Activity {
|
|
12973
13910
|
origins?: (Object | URL)[];
|
12974
13911
|
instrument?: Object | URL | null;
|
12975
13912
|
instruments?: (Object | URL)[];
|
12976
|
-
}, { documentLoader, contextLoader, }?: {
|
13913
|
+
}, { documentLoader, contextLoader, tracerProvider, }?: {
|
12977
13914
|
documentLoader?: DocumentLoader;
|
12978
13915
|
contextLoader?: DocumentLoader;
|
13916
|
+
tracerProvider?: TracerProvider;
|
12979
13917
|
});
|
12980
13918
|
/**
|
12981
13919
|
* Clones this instance, optionally updating it with the given values.
|
@@ -13065,12 +14003,23 @@ export declare class View extends Activity {
|
|
13065
14003
|
/**
|
13066
14004
|
* Converts a JSON-LD structure to an object of this type.
|
13067
14005
|
* @param json The JSON-LD structure to convert.
|
14006
|
+
* @param options The options to use.
|
14007
|
+
* - `documentLoader`: The loader for remote JSON-LD documents.
|
14008
|
+
* - `contextLoader`: The loader for remote JSON-LD contexts.
|
14009
|
+
* - `tracerProvider`: The OpenTelemetry tracer provider to use.
|
14010
|
+
* If omitted, the global tracer provider is used.
|
13068
14011
|
* @returns The object of this type.
|
13069
14012
|
* @throws {TypeError} If the given `json` is invalid.
|
13070
14013
|
*/
|
13071
14014
|
static fromJsonLd(json: unknown, options?: {
|
13072
14015
|
documentLoader?: DocumentLoader;
|
13073
14016
|
contextLoader?: DocumentLoader;
|
14017
|
+
tracerProvider?: TracerProvider;
|
14018
|
+
}): Promise<View>;
|
14019
|
+
protected static __fromJsonLd__View__(json: unknown, span: Span, options?: {
|
14020
|
+
documentLoader?: DocumentLoader;
|
14021
|
+
contextLoader?: DocumentLoader;
|
14022
|
+
tracerProvider?: TracerProvider;
|
13074
14023
|
}): Promise<View>;
|
13075
14024
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
13076
14025
|
}
|