@fedify/fedify 1.0.0 → 1.0.2

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": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -638,6 +638,7 @@ export declare class Object {
638
638
  contextLoader?: DocumentLoader;
639
639
  context?: string | Record<string, string> | (string | Record<string, string>)[];
640
640
  }): Promise<unknown>;
641
+ protected isCompactable(): boolean;
641
642
  /**
642
643
  * Converts a JSON-LD structure to an object of this type.
643
644
  * @param json The JSON-LD structure to convert.
@@ -786,6 +787,7 @@ export declare class Emoji extends Object {
786
787
  contextLoader?: DocumentLoader;
787
788
  context?: string | Record<string, string> | (string | Record<string, string>)[];
788
789
  }): Promise<unknown>;
790
+ protected isCompactable(): boolean;
789
791
  /**
790
792
  * Converts a JSON-LD structure to an object of this type.
791
793
  * @param json The JSON-LD structure to convert.
@@ -952,6 +954,7 @@ export declare class ChatMessage extends Object {
952
954
  contextLoader?: DocumentLoader;
953
955
  context?: string | Record<string, string> | (string | Record<string, string>)[];
954
956
  }): Promise<unknown>;
957
+ protected isCompactable(): boolean;
955
958
  /**
956
959
  * Converts a JSON-LD structure to an object of this type.
957
960
  * @param json The JSON-LD structure to convert.
@@ -1023,6 +1026,7 @@ export declare class PropertyValue {
1023
1026
  contextLoader?: DocumentLoader;
1024
1027
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1025
1028
  }): Promise<unknown>;
1029
+ protected isCompactable(): boolean;
1026
1030
  /**
1027
1031
  * Converts a JSON-LD structure to an object of this type.
1028
1032
  * @param json The JSON-LD structure to convert.
@@ -1129,6 +1133,7 @@ export declare class DataIntegrityProof {
1129
1133
  contextLoader?: DocumentLoader;
1130
1134
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1131
1135
  }): Promise<unknown>;
1136
+ protected isCompactable(): boolean;
1132
1137
  /**
1133
1138
  * Converts a JSON-LD structure to an object of this type.
1134
1139
  * @param json The JSON-LD structure to convert.
@@ -1210,6 +1215,7 @@ export declare class CryptographicKey {
1210
1215
  contextLoader?: DocumentLoader;
1211
1216
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1212
1217
  }): Promise<unknown>;
1218
+ protected isCompactable(): boolean;
1213
1219
  /**
1214
1220
  * Converts a JSON-LD structure to an object of this type.
1215
1221
  * @param json The JSON-LD structure to convert.
@@ -1297,6 +1303,7 @@ export declare class Multikey {
1297
1303
  contextLoader?: DocumentLoader;
1298
1304
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1299
1305
  }): Promise<unknown>;
1306
+ protected isCompactable(): boolean;
1300
1307
  /**
1301
1308
  * Converts a JSON-LD structure to an object of this type.
1302
1309
  * @param json The JSON-LD structure to convert.
@@ -1659,6 +1666,7 @@ export declare class Activity extends Object {
1659
1666
  contextLoader?: DocumentLoader;
1660
1667
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1661
1668
  }): Promise<unknown>;
1669
+ protected isCompactable(): boolean;
1662
1670
  /**
1663
1671
  * Converts a JSON-LD structure to an object of this type.
1664
1672
  * @param json The JSON-LD structure to convert.
@@ -1833,6 +1841,7 @@ export declare class Accept extends Activity {
1833
1841
  contextLoader?: DocumentLoader;
1834
1842
  context?: string | Record<string, string> | (string | Record<string, string>)[];
1835
1843
  }): Promise<unknown>;
1844
+ protected isCompactable(): boolean;
1836
1845
  /**
1837
1846
  * Converts a JSON-LD structure to an object of this type.
1838
1847
  * @param json The JSON-LD structure to convert.
@@ -2008,6 +2017,7 @@ export declare class Add extends Activity {
2008
2017
  contextLoader?: DocumentLoader;
2009
2018
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2010
2019
  }): Promise<unknown>;
2020
+ protected isCompactable(): boolean;
2011
2021
  /**
2012
2022
  * Converts a JSON-LD structure to an object of this type.
2013
2023
  * @param json The JSON-LD structure to convert.
@@ -2182,6 +2192,7 @@ export declare class Announce extends Activity {
2182
2192
  contextLoader?: DocumentLoader;
2183
2193
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2184
2194
  }): Promise<unknown>;
2195
+ protected isCompactable(): boolean;
2185
2196
  /**
2186
2197
  * Converts a JSON-LD structure to an object of this type.
2187
2198
  * @param json The JSON-LD structure to convert.
@@ -2657,6 +2668,7 @@ export declare class Application extends Object {
2657
2668
  contextLoader?: DocumentLoader;
2658
2669
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2659
2670
  }): Promise<unknown>;
2671
+ protected isCompactable(): boolean;
2660
2672
  /**
2661
2673
  * Converts a JSON-LD structure to an object of this type.
2662
2674
  * @param json The JSON-LD structure to convert.
@@ -2831,6 +2843,7 @@ export declare class IntransitiveActivity extends Activity {
2831
2843
  contextLoader?: DocumentLoader;
2832
2844
  context?: string | Record<string, string> | (string | Record<string, string>)[];
2833
2845
  }): Promise<unknown>;
2846
+ protected isCompactable(): boolean;
2834
2847
  /**
2835
2848
  * Converts a JSON-LD structure to an object of this type.
2836
2849
  * @param json The JSON-LD structure to convert.
@@ -3005,6 +3018,7 @@ export declare class Arrive extends IntransitiveActivity {
3005
3018
  contextLoader?: DocumentLoader;
3006
3019
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3007
3020
  }): Promise<unknown>;
3021
+ protected isCompactable(): boolean;
3008
3022
  /**
3009
3023
  * Converts a JSON-LD structure to an object of this type.
3010
3024
  * @param json The JSON-LD structure to convert.
@@ -3167,6 +3181,7 @@ export declare class Article extends Object {
3167
3181
  contextLoader?: DocumentLoader;
3168
3182
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3169
3183
  }): Promise<unknown>;
3184
+ protected isCompactable(): boolean;
3170
3185
  /**
3171
3186
  * Converts a JSON-LD structure to an object of this type.
3172
3187
  * @param json The JSON-LD structure to convert.
@@ -3327,6 +3342,7 @@ export declare class Document extends Object {
3327
3342
  contextLoader?: DocumentLoader;
3328
3343
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3329
3344
  }): Promise<unknown>;
3345
+ protected isCompactable(): boolean;
3330
3346
  /**
3331
3347
  * Converts a JSON-LD structure to an object of this type.
3332
3348
  * @param json The JSON-LD structure to convert.
@@ -3479,6 +3495,7 @@ export declare class Audio extends Document {
3479
3495
  contextLoader?: DocumentLoader;
3480
3496
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3481
3497
  }): Promise<unknown>;
3498
+ protected isCompactable(): boolean;
3482
3499
  /**
3483
3500
  * Converts a JSON-LD structure to an object of this type.
3484
3501
  * @param json The JSON-LD structure to convert.
@@ -3652,6 +3669,7 @@ export declare class Ignore extends Activity {
3652
3669
  contextLoader?: DocumentLoader;
3653
3670
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3654
3671
  }): Promise<unknown>;
3672
+ protected isCompactable(): boolean;
3655
3673
  /**
3656
3674
  * Converts a JSON-LD structure to an object of this type.
3657
3675
  * @param json The JSON-LD structure to convert.
@@ -3827,6 +3845,7 @@ export declare class Block extends Ignore {
3827
3845
  contextLoader?: DocumentLoader;
3828
3846
  context?: string | Record<string, string> | (string | Record<string, string>)[];
3829
3847
  }): Promise<unknown>;
3848
+ protected isCompactable(): boolean;
3830
3849
  /**
3831
3850
  * Converts a JSON-LD structure to an object of this type.
3832
3851
  * @param json The JSON-LD structure to convert.
@@ -4050,6 +4069,7 @@ export declare class Collection extends Object {
4050
4069
  contextLoader?: DocumentLoader;
4051
4070
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4052
4071
  }): Promise<unknown>;
4072
+ protected isCompactable(): boolean;
4053
4073
  /**
4054
4074
  * Converts a JSON-LD structure to an object of this type.
4055
4075
  * @param json The JSON-LD structure to convert.
@@ -4256,6 +4276,7 @@ export declare class CollectionPage extends Collection {
4256
4276
  contextLoader?: DocumentLoader;
4257
4277
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4258
4278
  }): Promise<unknown>;
4279
+ protected isCompactable(): boolean;
4259
4280
  /**
4260
4281
  * Converts a JSON-LD structure to an object of this type.
4261
4282
  * @param json The JSON-LD structure to convert.
@@ -4428,6 +4449,7 @@ export declare class Create extends Activity {
4428
4449
  contextLoader?: DocumentLoader;
4429
4450
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4430
4451
  }): Promise<unknown>;
4452
+ protected isCompactable(): boolean;
4431
4453
  /**
4432
4454
  * Converts a JSON-LD structure to an object of this type.
4433
4455
  * @param json The JSON-LD structure to convert.
@@ -4601,6 +4623,7 @@ export declare class Delete extends Activity {
4601
4623
  contextLoader?: DocumentLoader;
4602
4624
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4603
4625
  }): Promise<unknown>;
4626
+ protected isCompactable(): boolean;
4604
4627
  /**
4605
4628
  * Converts a JSON-LD structure to an object of this type.
4606
4629
  * @param json The JSON-LD structure to convert.
@@ -4773,6 +4796,7 @@ export declare class Dislike extends Activity {
4773
4796
  contextLoader?: DocumentLoader;
4774
4797
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4775
4798
  }): Promise<unknown>;
4799
+ protected isCompactable(): boolean;
4776
4800
  /**
4777
4801
  * Converts a JSON-LD structure to an object of this type.
4778
4802
  * @param json The JSON-LD structure to convert.
@@ -4887,6 +4911,7 @@ export declare class Endpoints {
4887
4911
  contextLoader?: DocumentLoader;
4888
4912
  context?: string | Record<string, string> | (string | Record<string, string>)[];
4889
4913
  }): Promise<unknown>;
4914
+ protected isCompactable(): boolean;
4890
4915
  /**
4891
4916
  * Converts a JSON-LD structure to an object of this type.
4892
4917
  * @param json The JSON-LD structure to convert.
@@ -5035,6 +5060,7 @@ export declare class Event extends Object {
5035
5060
  contextLoader?: DocumentLoader;
5036
5061
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5037
5062
  }): Promise<unknown>;
5063
+ protected isCompactable(): boolean;
5038
5064
  /**
5039
5065
  * Converts a JSON-LD structure to an object of this type.
5040
5066
  * @param json The JSON-LD structure to convert.
@@ -5209,6 +5235,7 @@ export declare class Flag extends Activity {
5209
5235
  contextLoader?: DocumentLoader;
5210
5236
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5211
5237
  }): Promise<unknown>;
5238
+ protected isCompactable(): boolean;
5212
5239
  /**
5213
5240
  * Converts a JSON-LD structure to an object of this type.
5214
5241
  * @param json The JSON-LD structure to convert.
@@ -5384,6 +5411,7 @@ export declare class Follow extends Activity {
5384
5411
  contextLoader?: DocumentLoader;
5385
5412
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5386
5413
  }): Promise<unknown>;
5414
+ protected isCompactable(): boolean;
5387
5415
  /**
5388
5416
  * Converts a JSON-LD structure to an object of this type.
5389
5417
  * @param json The JSON-LD structure to convert.
@@ -5859,6 +5887,7 @@ export declare class Group extends Object {
5859
5887
  contextLoader?: DocumentLoader;
5860
5888
  context?: string | Record<string, string> | (string | Record<string, string>)[];
5861
5889
  }): Promise<unknown>;
5890
+ protected isCompactable(): boolean;
5862
5891
  /**
5863
5892
  * Converts a JSON-LD structure to an object of this type.
5864
5893
  * @param json The JSON-LD structure to convert.
@@ -6005,6 +6034,7 @@ export declare class Link {
6005
6034
  contextLoader?: DocumentLoader;
6006
6035
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6007
6036
  }): Promise<unknown>;
6037
+ protected isCompactable(): boolean;
6008
6038
  /**
6009
6039
  * Converts a JSON-LD structure to an object of this type.
6010
6040
  * @param json The JSON-LD structure to convert.
@@ -6085,6 +6115,7 @@ export declare class Hashtag extends Link {
6085
6115
  contextLoader?: DocumentLoader;
6086
6116
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6087
6117
  }): Promise<unknown>;
6118
+ protected isCompactable(): boolean;
6088
6119
  /**
6089
6120
  * Converts a JSON-LD structure to an object of this type.
6090
6121
  * @param json The JSON-LD structure to convert.
@@ -6237,6 +6268,7 @@ export declare class Image extends Document {
6237
6268
  contextLoader?: DocumentLoader;
6238
6269
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6239
6270
  }): Promise<unknown>;
6271
+ protected isCompactable(): boolean;
6240
6272
  /**
6241
6273
  * Converts a JSON-LD structure to an object of this type.
6242
6274
  * @param json The JSON-LD structure to convert.
@@ -6411,6 +6443,7 @@ export declare class Offer extends Activity {
6411
6443
  contextLoader?: DocumentLoader;
6412
6444
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6413
6445
  }): Promise<unknown>;
6446
+ protected isCompactable(): boolean;
6414
6447
  /**
6415
6448
  * Converts a JSON-LD structure to an object of this type.
6416
6449
  * @param json The JSON-LD structure to convert.
@@ -6584,6 +6617,7 @@ export declare class Invite extends Offer {
6584
6617
  contextLoader?: DocumentLoader;
6585
6618
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6586
6619
  }): Promise<unknown>;
6620
+ protected isCompactable(): boolean;
6587
6621
  /**
6588
6622
  * Converts a JSON-LD structure to an object of this type.
6589
6623
  * @param json The JSON-LD structure to convert.
@@ -6757,6 +6791,7 @@ export declare class Join extends Activity {
6757
6791
  contextLoader?: DocumentLoader;
6758
6792
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6759
6793
  }): Promise<unknown>;
6794
+ protected isCompactable(): boolean;
6760
6795
  /**
6761
6796
  * Converts a JSON-LD structure to an object of this type.
6762
6797
  * @param json The JSON-LD structure to convert.
@@ -6930,6 +6965,7 @@ export declare class Leave extends Activity {
6930
6965
  contextLoader?: DocumentLoader;
6931
6966
  context?: string | Record<string, string> | (string | Record<string, string>)[];
6932
6967
  }): Promise<unknown>;
6968
+ protected isCompactable(): boolean;
6933
6969
  /**
6934
6970
  * Converts a JSON-LD structure to an object of this type.
6935
6971
  * @param json The JSON-LD structure to convert.
@@ -7103,6 +7139,7 @@ export declare class Like extends Activity {
7103
7139
  contextLoader?: DocumentLoader;
7104
7140
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7105
7141
  }): Promise<unknown>;
7142
+ protected isCompactable(): boolean;
7106
7143
  /**
7107
7144
  * Converts a JSON-LD structure to an object of this type.
7108
7145
  * @param json The JSON-LD structure to convert.
@@ -7275,6 +7312,7 @@ export declare class Listen extends Activity {
7275
7312
  contextLoader?: DocumentLoader;
7276
7313
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7277
7314
  }): Promise<unknown>;
7315
+ protected isCompactable(): boolean;
7278
7316
  /**
7279
7317
  * Converts a JSON-LD structure to an object of this type.
7280
7318
  * @param json The JSON-LD structure to convert.
@@ -7353,6 +7391,7 @@ export declare class Mention extends Link {
7353
7391
  contextLoader?: DocumentLoader;
7354
7392
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7355
7393
  }): Promise<unknown>;
7394
+ protected isCompactable(): boolean;
7356
7395
  /**
7357
7396
  * Converts a JSON-LD structure to an object of this type.
7358
7397
  * @param json The JSON-LD structure to convert.
@@ -7527,6 +7566,7 @@ export declare class Move extends Activity {
7527
7566
  contextLoader?: DocumentLoader;
7528
7567
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7529
7568
  }): Promise<unknown>;
7569
+ protected isCompactable(): boolean;
7530
7570
  /**
7531
7571
  * Converts a JSON-LD structure to an object of this type.
7532
7572
  * @param json The JSON-LD structure to convert.
@@ -7690,6 +7730,7 @@ export declare class Note extends Object {
7690
7730
  contextLoader?: DocumentLoader;
7691
7731
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7692
7732
  }): Promise<unknown>;
7733
+ protected isCompactable(): boolean;
7693
7734
  /**
7694
7735
  * Converts a JSON-LD structure to an object of this type.
7695
7736
  * @param json The JSON-LD structure to convert.
@@ -7863,6 +7904,7 @@ export declare class OrderedCollection extends Collection {
7863
7904
  contextLoader?: DocumentLoader;
7864
7905
  context?: string | Record<string, string> | (string | Record<string, string>)[];
7865
7906
  }): Promise<unknown>;
7907
+ protected isCompactable(): boolean;
7866
7908
  /**
7867
7909
  * Converts a JSON-LD structure to an object of this type.
7868
7910
  * @param json The JSON-LD structure to convert.
@@ -8049,6 +8091,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
8049
8091
  contextLoader?: DocumentLoader;
8050
8092
  context?: string | Record<string, string> | (string | Record<string, string>)[];
8051
8093
  }): Promise<unknown>;
8094
+ protected isCompactable(): boolean;
8052
8095
  /**
8053
8096
  * Converts a JSON-LD structure to an object of this type.
8054
8097
  * @param json The JSON-LD structure to convert.
@@ -8524,6 +8567,7 @@ export declare class Organization extends Object {
8524
8567
  contextLoader?: DocumentLoader;
8525
8568
  context?: string | Record<string, string> | (string | Record<string, string>)[];
8526
8569
  }): Promise<unknown>;
8570
+ protected isCompactable(): boolean;
8527
8571
  /**
8528
8572
  * Converts a JSON-LD structure to an object of this type.
8529
8573
  * @param json The JSON-LD structure to convert.
@@ -8676,6 +8720,7 @@ export declare class Page extends Document {
8676
8720
  contextLoader?: DocumentLoader;
8677
8721
  context?: string | Record<string, string> | (string | Record<string, string>)[];
8678
8722
  }): Promise<unknown>;
8723
+ protected isCompactable(): boolean;
8679
8724
  /**
8680
8725
  * Converts a JSON-LD structure to an object of this type.
8681
8726
  * @param json The JSON-LD structure to convert.
@@ -9151,6 +9196,7 @@ export declare class Person extends Object {
9151
9196
  contextLoader?: DocumentLoader;
9152
9197
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9153
9198
  }): Promise<unknown>;
9199
+ protected isCompactable(): boolean;
9154
9200
  /**
9155
9201
  * Converts a JSON-LD structure to an object of this type.
9156
9202
  * @param json The JSON-LD structure to convert.
@@ -9339,6 +9385,7 @@ export declare class Place extends Object {
9339
9385
  contextLoader?: DocumentLoader;
9340
9386
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9341
9387
  }): Promise<unknown>;
9388
+ protected isCompactable(): boolean;
9342
9389
  /**
9343
9390
  * Converts a JSON-LD structure to an object of this type.
9344
9391
  * @param json The JSON-LD structure to convert.
@@ -9507,6 +9554,7 @@ export declare class Profile extends Object {
9507
9554
  contextLoader?: DocumentLoader;
9508
9555
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9509
9556
  }): Promise<unknown>;
9557
+ protected isCompactable(): boolean;
9510
9558
  /**
9511
9559
  * Converts a JSON-LD structure to an object of this type.
9512
9560
  * @param json The JSON-LD structure to convert.
@@ -9746,6 +9794,7 @@ export declare class Question extends IntransitiveActivity {
9746
9794
  contextLoader?: DocumentLoader;
9747
9795
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9748
9796
  }): Promise<unknown>;
9797
+ protected isCompactable(): boolean;
9749
9798
  /**
9750
9799
  * Converts a JSON-LD structure to an object of this type.
9751
9800
  * @param json The JSON-LD structure to convert.
@@ -9918,6 +9967,7 @@ export declare class Read extends Activity {
9918
9967
  contextLoader?: DocumentLoader;
9919
9968
  context?: string | Record<string, string> | (string | Record<string, string>)[];
9920
9969
  }): Promise<unknown>;
9970
+ protected isCompactable(): boolean;
9921
9971
  /**
9922
9972
  * Converts a JSON-LD structure to an object of this type.
9923
9973
  * @param json The JSON-LD structure to convert.
@@ -10091,6 +10141,7 @@ export declare class Reject extends Activity {
10091
10141
  contextLoader?: DocumentLoader;
10092
10142
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10093
10143
  }): Promise<unknown>;
10144
+ protected isCompactable(): boolean;
10094
10145
  /**
10095
10146
  * Converts a JSON-LD structure to an object of this type.
10096
10147
  * @param json The JSON-LD structure to convert.
@@ -10327,6 +10378,7 @@ export declare class Relationship extends Object {
10327
10378
  contextLoader?: DocumentLoader;
10328
10379
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10329
10380
  }): Promise<unknown>;
10381
+ protected isCompactable(): boolean;
10330
10382
  /**
10331
10383
  * Converts a JSON-LD structure to an object of this type.
10332
10384
  * @param json The JSON-LD structure to convert.
@@ -10500,6 +10552,7 @@ export declare class Remove extends Activity {
10500
10552
  contextLoader?: DocumentLoader;
10501
10553
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10502
10554
  }): Promise<unknown>;
10555
+ protected isCompactable(): boolean;
10503
10556
  /**
10504
10557
  * Converts a JSON-LD structure to an object of this type.
10505
10558
  * @param json The JSON-LD structure to convert.
@@ -10975,6 +11028,7 @@ export declare class Service extends Object {
10975
11028
  contextLoader?: DocumentLoader;
10976
11029
  context?: string | Record<string, string> | (string | Record<string, string>)[];
10977
11030
  }): Promise<unknown>;
11031
+ protected isCompactable(): boolean;
10978
11032
  /**
10979
11033
  * Converts a JSON-LD structure to an object of this type.
10980
11034
  * @param json The JSON-LD structure to convert.
@@ -11051,6 +11105,7 @@ export declare class Source {
11051
11105
  contextLoader?: DocumentLoader;
11052
11106
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11053
11107
  }): Promise<unknown>;
11108
+ protected isCompactable(): boolean;
11054
11109
  /**
11055
11110
  * Converts a JSON-LD structure to an object of this type.
11056
11111
  * @param json The JSON-LD structure to convert.
@@ -11224,6 +11279,7 @@ export declare class TentativeAccept extends Accept {
11224
11279
  contextLoader?: DocumentLoader;
11225
11280
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11226
11281
  }): Promise<unknown>;
11282
+ protected isCompactable(): boolean;
11227
11283
  /**
11228
11284
  * Converts a JSON-LD structure to an object of this type.
11229
11285
  * @param json The JSON-LD structure to convert.
@@ -11397,6 +11453,7 @@ export declare class TentativeReject extends Reject {
11397
11453
  contextLoader?: DocumentLoader;
11398
11454
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11399
11455
  }): Promise<unknown>;
11456
+ protected isCompactable(): boolean;
11400
11457
  /**
11401
11458
  * Converts a JSON-LD structure to an object of this type.
11402
11459
  * @param json The JSON-LD structure to convert.
@@ -11553,6 +11610,7 @@ export declare class Tombstone extends Object {
11553
11610
  contextLoader?: DocumentLoader;
11554
11611
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11555
11612
  }): Promise<unknown>;
11613
+ protected isCompactable(): boolean;
11556
11614
  /**
11557
11615
  * Converts a JSON-LD structure to an object of this type.
11558
11616
  * @param json The JSON-LD structure to convert.
@@ -11728,6 +11786,7 @@ export declare class Travel extends IntransitiveActivity {
11728
11786
  contextLoader?: DocumentLoader;
11729
11787
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11730
11788
  }): Promise<unknown>;
11789
+ protected isCompactable(): boolean;
11731
11790
  /**
11732
11791
  * Converts a JSON-LD structure to an object of this type.
11733
11792
  * @param json The JSON-LD structure to convert.
@@ -11906,6 +11965,7 @@ export declare class Undo extends Activity {
11906
11965
  contextLoader?: DocumentLoader;
11907
11966
  context?: string | Record<string, string> | (string | Record<string, string>)[];
11908
11967
  }): Promise<unknown>;
11968
+ protected isCompactable(): boolean;
11909
11969
  /**
11910
11970
  * Converts a JSON-LD structure to an object of this type.
11911
11971
  * @param json The JSON-LD structure to convert.
@@ -12082,6 +12142,7 @@ export declare class Update extends Activity {
12082
12142
  contextLoader?: DocumentLoader;
12083
12143
  context?: string | Record<string, string> | (string | Record<string, string>)[];
12084
12144
  }): Promise<unknown>;
12145
+ protected isCompactable(): boolean;
12085
12146
  /**
12086
12147
  * Converts a JSON-LD structure to an object of this type.
12087
12148
  * @param json The JSON-LD structure to convert.
@@ -12234,6 +12295,7 @@ export declare class Video extends Document {
12234
12295
  contextLoader?: DocumentLoader;
12235
12296
  context?: string | Record<string, string> | (string | Record<string, string>)[];
12236
12297
  }): Promise<unknown>;
12298
+ protected isCompactable(): boolean;
12237
12299
  /**
12238
12300
  * Converts a JSON-LD structure to an object of this type.
12239
12301
  * @param json The JSON-LD structure to convert.
@@ -12406,6 +12468,7 @@ export declare class View extends Activity {
12406
12468
  contextLoader?: DocumentLoader;
12407
12469
  context?: string | Record<string, string> | (string | Record<string, string>)[];
12408
12470
  }): Promise<unknown>;
12471
+ protected isCompactable(): boolean;
12409
12472
  /**
12410
12473
  * Converts a JSON-LD structure to an object of this type.
12411
12474
  * @param json The JSON-LD structure to convert.