@fedify/fedify 0.10.0-dev.198 → 0.10.0-dev.199

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.10.0-dev.198+8cacf374",
3
+ "version": "0.10.0-dev.199+c4529cfa",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -593,6 +593,7 @@ export declare class Object {
593
593
  toJsonLd(options?: {
594
594
  expand?: boolean;
595
595
  contextLoader?: DocumentLoader;
596
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
596
597
  }): Promise<unknown>;
597
598
  /**
598
599
  * Converts a JSON-LD structure to an object of this type.
@@ -731,6 +732,7 @@ export declare class Emoji extends Object {
731
732
  toJsonLd(options?: {
732
733
  expand?: boolean;
733
734
  contextLoader?: DocumentLoader;
735
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
734
736
  }): Promise<unknown>;
735
737
  /**
736
738
  * Converts a JSON-LD structure to an object of this type.
@@ -795,6 +797,7 @@ export declare class PropertyValue {
795
797
  toJsonLd(options?: {
796
798
  expand?: boolean;
797
799
  contextLoader?: DocumentLoader;
800
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
798
801
  }): Promise<unknown>;
799
802
  /**
800
803
  * Converts a JSON-LD structure to an object of this type.
@@ -893,6 +896,7 @@ export declare class DataIntegrityProof {
893
896
  toJsonLd(options?: {
894
897
  expand?: boolean;
895
898
  contextLoader?: DocumentLoader;
899
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
896
900
  }): Promise<unknown>;
897
901
  /**
898
902
  * Converts a JSON-LD structure to an object of this type.
@@ -966,6 +970,7 @@ export declare class CryptographicKey {
966
970
  toJsonLd(options?: {
967
971
  expand?: boolean;
968
972
  contextLoader?: DocumentLoader;
973
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
969
974
  }): Promise<unknown>;
970
975
  /**
971
976
  * Converts a JSON-LD structure to an object of this type.
@@ -1045,6 +1050,7 @@ export declare class Multikey {
1045
1050
  toJsonLd(options?: {
1046
1051
  expand?: boolean;
1047
1052
  contextLoader?: DocumentLoader;
1053
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
1048
1054
  }): Promise<unknown>;
1049
1055
  /**
1050
1056
  * Converts a JSON-LD structure to an object of this type.
@@ -1252,6 +1258,7 @@ export declare class Activity extends Object {
1252
1258
  toJsonLd(options?: {
1253
1259
  expand?: boolean;
1254
1260
  contextLoader?: DocumentLoader;
1261
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
1255
1262
  }): Promise<unknown>;
1256
1263
  /**
1257
1264
  * Converts a JSON-LD structure to an object of this type.
@@ -1400,6 +1407,7 @@ export declare class Accept extends Activity {
1400
1407
  toJsonLd(options?: {
1401
1408
  expand?: boolean;
1402
1409
  contextLoader?: DocumentLoader;
1410
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
1403
1411
  }): Promise<unknown>;
1404
1412
  /**
1405
1413
  * Converts a JSON-LD structure to an object of this type.
@@ -1549,6 +1557,7 @@ export declare class Add extends Activity {
1549
1557
  toJsonLd(options?: {
1550
1558
  expand?: boolean;
1551
1559
  contextLoader?: DocumentLoader;
1560
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
1552
1561
  }): Promise<unknown>;
1553
1562
  /**
1554
1563
  * Converts a JSON-LD structure to an object of this type.
@@ -1697,6 +1706,7 @@ export declare class Announce extends Activity {
1697
1706
  toJsonLd(options?: {
1698
1707
  expand?: boolean;
1699
1708
  contextLoader?: DocumentLoader;
1709
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
1700
1710
  }): Promise<unknown>;
1701
1711
  /**
1702
1712
  * Converts a JSON-LD structure to an object of this type.
@@ -2073,6 +2083,7 @@ export declare class Application extends Object {
2073
2083
  toJsonLd(options?: {
2074
2084
  expand?: boolean;
2075
2085
  contextLoader?: DocumentLoader;
2086
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
2076
2087
  }): Promise<unknown>;
2077
2088
  /**
2078
2089
  * Converts a JSON-LD structure to an object of this type.
@@ -2211,6 +2222,7 @@ export declare class Article extends Object {
2211
2222
  toJsonLd(options?: {
2212
2223
  expand?: boolean;
2213
2224
  contextLoader?: DocumentLoader;
2225
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
2214
2226
  }): Promise<unknown>;
2215
2227
  /**
2216
2228
  * Converts a JSON-LD structure to an object of this type.
@@ -2362,6 +2374,7 @@ export declare class Document extends Object {
2362
2374
  toJsonLd(options?: {
2363
2375
  expand?: boolean;
2364
2376
  contextLoader?: DocumentLoader;
2377
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
2365
2378
  }): Promise<unknown>;
2366
2379
  /**
2367
2380
  * Converts a JSON-LD structure to an object of this type.
@@ -2504,6 +2517,7 @@ export declare class Audio extends Document {
2504
2517
  toJsonLd(options?: {
2505
2518
  expand?: boolean;
2506
2519
  contextLoader?: DocumentLoader;
2520
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
2507
2521
  }): Promise<unknown>;
2508
2522
  /**
2509
2523
  * Converts a JSON-LD structure to an object of this type.
@@ -2651,6 +2665,7 @@ export declare class Ignore extends Activity {
2651
2665
  toJsonLd(options?: {
2652
2666
  expand?: boolean;
2653
2667
  contextLoader?: DocumentLoader;
2668
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
2654
2669
  }): Promise<unknown>;
2655
2670
  /**
2656
2671
  * Converts a JSON-LD structure to an object of this type.
@@ -2800,6 +2815,7 @@ export declare class Block extends Ignore {
2800
2815
  toJsonLd(options?: {
2801
2816
  expand?: boolean;
2802
2817
  contextLoader?: DocumentLoader;
2818
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
2803
2819
  }): Promise<unknown>;
2804
2820
  /**
2805
2821
  * Converts a JSON-LD structure to an object of this type.
@@ -3010,6 +3026,7 @@ export declare class Collection extends Object {
3010
3026
  toJsonLd(options?: {
3011
3027
  expand?: boolean;
3012
3028
  contextLoader?: DocumentLoader;
3029
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3013
3030
  }): Promise<unknown>;
3014
3031
  /**
3015
3032
  * Converts a JSON-LD structure to an object of this type.
@@ -3204,6 +3221,7 @@ export declare class CollectionPage extends Collection {
3204
3221
  toJsonLd(options?: {
3205
3222
  expand?: boolean;
3206
3223
  contextLoader?: DocumentLoader;
3224
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3207
3225
  }): Promise<unknown>;
3208
3226
  /**
3209
3227
  * Converts a JSON-LD structure to an object of this type.
@@ -3350,6 +3368,7 @@ export declare class Create extends Activity {
3350
3368
  toJsonLd(options?: {
3351
3369
  expand?: boolean;
3352
3370
  contextLoader?: DocumentLoader;
3371
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3353
3372
  }): Promise<unknown>;
3354
3373
  /**
3355
3374
  * Converts a JSON-LD structure to an object of this type.
@@ -3497,6 +3516,7 @@ export declare class Delete extends Activity {
3497
3516
  toJsonLd(options?: {
3498
3517
  expand?: boolean;
3499
3518
  contextLoader?: DocumentLoader;
3519
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3500
3520
  }): Promise<unknown>;
3501
3521
  /**
3502
3522
  * Converts a JSON-LD structure to an object of this type.
@@ -3643,6 +3663,7 @@ export declare class Dislike extends Activity {
3643
3663
  toJsonLd(options?: {
3644
3664
  expand?: boolean;
3645
3665
  contextLoader?: DocumentLoader;
3666
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3646
3667
  }): Promise<unknown>;
3647
3668
  /**
3648
3669
  * Converts a JSON-LD structure to an object of this type.
@@ -3750,6 +3771,7 @@ export declare class Endpoints {
3750
3771
  toJsonLd(options?: {
3751
3772
  expand?: boolean;
3752
3773
  contextLoader?: DocumentLoader;
3774
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3753
3775
  }): Promise<unknown>;
3754
3776
  /**
3755
3777
  * Converts a JSON-LD structure to an object of this type.
@@ -3888,6 +3910,7 @@ export declare class Event extends Object {
3888
3910
  toJsonLd(options?: {
3889
3911
  expand?: boolean;
3890
3912
  contextLoader?: DocumentLoader;
3913
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
3891
3914
  }): Promise<unknown>;
3892
3915
  /**
3893
3916
  * Converts a JSON-LD structure to an object of this type.
@@ -4036,6 +4059,7 @@ export declare class Flag extends Activity {
4036
4059
  toJsonLd(options?: {
4037
4060
  expand?: boolean;
4038
4061
  contextLoader?: DocumentLoader;
4062
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4039
4063
  }): Promise<unknown>;
4040
4064
  /**
4041
4065
  * Converts a JSON-LD structure to an object of this type.
@@ -4185,6 +4209,7 @@ export declare class Follow extends Activity {
4185
4209
  toJsonLd(options?: {
4186
4210
  expand?: boolean;
4187
4211
  contextLoader?: DocumentLoader;
4212
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4188
4213
  }): Promise<unknown>;
4189
4214
  /**
4190
4215
  * Converts a JSON-LD structure to an object of this type.
@@ -4561,6 +4586,7 @@ export declare class Group extends Object {
4561
4586
  toJsonLd(options?: {
4562
4587
  expand?: boolean;
4563
4588
  contextLoader?: DocumentLoader;
4589
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4564
4590
  }): Promise<unknown>;
4565
4591
  /**
4566
4592
  * Converts a JSON-LD structure to an object of this type.
@@ -4699,6 +4725,7 @@ export declare class Link {
4699
4725
  toJsonLd(options?: {
4700
4726
  expand?: boolean;
4701
4727
  contextLoader?: DocumentLoader;
4728
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4702
4729
  }): Promise<unknown>;
4703
4730
  /**
4704
4731
  * Converts a JSON-LD structure to an object of this type.
@@ -4771,6 +4798,7 @@ export declare class Hashtag extends Link {
4771
4798
  toJsonLd(options?: {
4772
4799
  expand?: boolean;
4773
4800
  contextLoader?: DocumentLoader;
4801
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4774
4802
  }): Promise<unknown>;
4775
4803
  /**
4776
4804
  * Converts a JSON-LD structure to an object of this type.
@@ -4913,6 +4941,7 @@ export declare class Image extends Document {
4913
4941
  toJsonLd(options?: {
4914
4942
  expand?: boolean;
4915
4943
  contextLoader?: DocumentLoader;
4944
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4916
4945
  }): Promise<unknown>;
4917
4946
  /**
4918
4947
  * Converts a JSON-LD structure to an object of this type.
@@ -5061,6 +5090,7 @@ export declare class IntransitiveActivity extends Activity {
5061
5090
  toJsonLd(options?: {
5062
5091
  expand?: boolean;
5063
5092
  contextLoader?: DocumentLoader;
5093
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
5064
5094
  }): Promise<unknown>;
5065
5095
  /**
5066
5096
  * Converts a JSON-LD structure to an object of this type.
@@ -5208,6 +5238,7 @@ export declare class Like extends Activity {
5208
5238
  toJsonLd(options?: {
5209
5239
  expand?: boolean;
5210
5240
  contextLoader?: DocumentLoader;
5241
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
5211
5242
  }): Promise<unknown>;
5212
5243
  /**
5213
5244
  * Converts a JSON-LD structure to an object of this type.
@@ -5278,6 +5309,7 @@ export declare class Mention extends Link {
5278
5309
  toJsonLd(options?: {
5279
5310
  expand?: boolean;
5280
5311
  contextLoader?: DocumentLoader;
5312
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
5281
5313
  }): Promise<unknown>;
5282
5314
  /**
5283
5315
  * Converts a JSON-LD structure to an object of this type.
@@ -5417,6 +5449,7 @@ export declare class Note extends Object {
5417
5449
  toJsonLd(options?: {
5418
5450
  expand?: boolean;
5419
5451
  contextLoader?: DocumentLoader;
5452
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
5420
5453
  }): Promise<unknown>;
5421
5454
  /**
5422
5455
  * Converts a JSON-LD structure to an object of this type.
@@ -5566,6 +5599,7 @@ export declare class OrderedCollection extends Collection {
5566
5599
  toJsonLd(options?: {
5567
5600
  expand?: boolean;
5568
5601
  contextLoader?: DocumentLoader;
5602
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
5569
5603
  }): Promise<unknown>;
5570
5604
  /**
5571
5605
  * Converts a JSON-LD structure to an object of this type.
@@ -5729,6 +5763,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
5729
5763
  toJsonLd(options?: {
5730
5764
  expand?: boolean;
5731
5765
  contextLoader?: DocumentLoader;
5766
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
5732
5767
  }): Promise<unknown>;
5733
5768
  /**
5734
5769
  * Converts a JSON-LD structure to an object of this type.
@@ -6105,6 +6140,7 @@ export declare class Organization extends Object {
6105
6140
  toJsonLd(options?: {
6106
6141
  expand?: boolean;
6107
6142
  contextLoader?: DocumentLoader;
6143
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6108
6144
  }): Promise<unknown>;
6109
6145
  /**
6110
6146
  * Converts a JSON-LD structure to an object of this type.
@@ -6247,6 +6283,7 @@ export declare class Page extends Document {
6247
6283
  toJsonLd(options?: {
6248
6284
  expand?: boolean;
6249
6285
  contextLoader?: DocumentLoader;
6286
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6250
6287
  }): Promise<unknown>;
6251
6288
  /**
6252
6289
  * Converts a JSON-LD structure to an object of this type.
@@ -6623,6 +6660,7 @@ export declare class Person extends Object {
6623
6660
  toJsonLd(options?: {
6624
6661
  expand?: boolean;
6625
6662
  contextLoader?: DocumentLoader;
6663
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6626
6664
  }): Promise<unknown>;
6627
6665
  /**
6628
6666
  * Converts a JSON-LD structure to an object of this type.
@@ -6802,6 +6840,7 @@ export declare class Place extends Object {
6802
6840
  toJsonLd(options?: {
6803
6841
  expand?: boolean;
6804
6842
  contextLoader?: DocumentLoader;
6843
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6805
6844
  }): Promise<unknown>;
6806
6845
  /**
6807
6846
  * Converts a JSON-LD structure to an object of this type.
@@ -6960,6 +6999,7 @@ export declare class Profile extends Object {
6960
6999
  toJsonLd(options?: {
6961
7000
  expand?: boolean;
6962
7001
  contextLoader?: DocumentLoader;
7002
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6963
7003
  }): Promise<unknown>;
6964
7004
  /**
6965
7005
  * Converts a JSON-LD structure to an object of this type.
@@ -7107,6 +7147,7 @@ export declare class Reject extends Activity {
7107
7147
  toJsonLd(options?: {
7108
7148
  expand?: boolean;
7109
7149
  contextLoader?: DocumentLoader;
7150
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
7110
7151
  }): Promise<unknown>;
7111
7152
  /**
7112
7153
  * Converts a JSON-LD structure to an object of this type.
@@ -7329,6 +7370,7 @@ export declare class Relationship extends Object {
7329
7370
  toJsonLd(options?: {
7330
7371
  expand?: boolean;
7331
7372
  contextLoader?: DocumentLoader;
7373
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
7332
7374
  }): Promise<unknown>;
7333
7375
  /**
7334
7376
  * Converts a JSON-LD structure to an object of this type.
@@ -7476,6 +7518,7 @@ export declare class Remove extends Activity {
7476
7518
  toJsonLd(options?: {
7477
7519
  expand?: boolean;
7478
7520
  contextLoader?: DocumentLoader;
7521
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
7479
7522
  }): Promise<unknown>;
7480
7523
  /**
7481
7524
  * Converts a JSON-LD structure to an object of this type.
@@ -7852,6 +7895,7 @@ export declare class Service extends Object {
7852
7895
  toJsonLd(options?: {
7853
7896
  expand?: boolean;
7854
7897
  contextLoader?: DocumentLoader;
7898
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
7855
7899
  }): Promise<unknown>;
7856
7900
  /**
7857
7901
  * Converts a JSON-LD structure to an object of this type.
@@ -7999,6 +8043,7 @@ export declare class Tombstone extends Object {
7999
8043
  toJsonLd(options?: {
8000
8044
  expand?: boolean;
8001
8045
  contextLoader?: DocumentLoader;
8046
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
8002
8047
  }): Promise<unknown>;
8003
8048
  /**
8004
8049
  * Converts a JSON-LD structure to an object of this type.
@@ -8151,6 +8196,7 @@ export declare class Undo extends Activity {
8151
8196
  toJsonLd(options?: {
8152
8197
  expand?: boolean;
8153
8198
  contextLoader?: DocumentLoader;
8199
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
8154
8200
  }): Promise<unknown>;
8155
8201
  /**
8156
8202
  * Converts a JSON-LD structure to an object of this type.
@@ -8301,6 +8347,7 @@ export declare class Update extends Activity {
8301
8347
  toJsonLd(options?: {
8302
8348
  expand?: boolean;
8303
8349
  contextLoader?: DocumentLoader;
8350
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
8304
8351
  }): Promise<unknown>;
8305
8352
  /**
8306
8353
  * Converts a JSON-LD structure to an object of this type.
@@ -8443,6 +8490,7 @@ export declare class Video extends Document {
8443
8490
  toJsonLd(options?: {
8444
8491
  expand?: boolean;
8445
8492
  contextLoader?: DocumentLoader;
8493
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
8446
8494
  }): Promise<unknown>;
8447
8495
  /**
8448
8496
  * Converts a JSON-LD structure to an object of this type.