@fedify/fedify 0.11.0-dev.241 → 0.11.0-dev.242

Sign up to get free protection for your applications and to get access to all the features.
@@ -1163,6 +1163,14 @@ export declare class Activity extends Object {
1163
1163
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1164
1164
  object?: Object | URL | null;
1165
1165
  objects?: (Object | URL)[];
1166
+ target?: Object | URL | null;
1167
+ targets?: (Object | URL)[];
1168
+ result?: Object | URL | null;
1169
+ results?: (Object | URL)[];
1170
+ origin?: Object | URL | null;
1171
+ origins?: (Object | URL)[];
1172
+ instrument?: Object | URL | null;
1173
+ instruments?: (Object | URL)[];
1166
1174
  }, { documentLoader, contextLoader, }?: {
1167
1175
  documentLoader?: DocumentLoader;
1168
1176
  contextLoader?: DocumentLoader;
@@ -1223,6 +1231,14 @@ export declare class Activity extends Object {
1223
1231
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1224
1232
  object?: Object | URL | null;
1225
1233
  objects?: (Object | URL)[];
1234
+ target?: Object | URL | null;
1235
+ targets?: (Object | URL)[];
1236
+ result?: Object | URL | null;
1237
+ results?: (Object | URL)[];
1238
+ origin?: Object | URL | null;
1239
+ origins?: (Object | URL)[];
1240
+ instrument?: Object | URL | null;
1241
+ instruments?: (Object | URL)[];
1226
1242
  }, options?: {
1227
1243
  documentLoader?: DocumentLoader;
1228
1244
  contextLoader?: DocumentLoader;
@@ -1287,6 +1303,132 @@ export declare class Activity extends Object {
1287
1303
  contextLoader?: DocumentLoader;
1288
1304
  suppressError?: boolean;
1289
1305
  }): AsyncIterable<Object>;
1306
+ /**
1307
+ * Similar to
1308
+ * {@link Activity.getTarget},
1309
+ * but returns its `@id` URL instead of the object itself.
1310
+ */
1311
+ get targetId(): URL | null;
1312
+ /** Describes the indirect object, or target, of the activity. The precise
1313
+ * meaning of the target is largely dependent on the type of action being
1314
+ * described but will often be the object of the English preposition "to".
1315
+ * For instance, in the activity "John added a movie to his wishlist",
1316
+ * the target of the activity is John's wishlist. An activity can have more
1317
+ * than one target.
1318
+ */
1319
+ getTarget(options?: {
1320
+ documentLoader?: DocumentLoader;
1321
+ contextLoader?: DocumentLoader;
1322
+ suppressError?: boolean;
1323
+ }): Promise<Object | null>;
1324
+ /**
1325
+ * Similar to
1326
+ * {@link Activity.getTargets},
1327
+ * but returns their `@id`s instead of the objects themselves.
1328
+ */
1329
+ get targetIds(): URL[];
1330
+ /** Describes the indirect object, or target, of the activity. The precise
1331
+ * meaning of the target is largely dependent on the type of action being
1332
+ * described but will often be the object of the English preposition "to".
1333
+ * For instance, in the activity "John added a movie to his wishlist",
1334
+ * the target of the activity is John's wishlist. An activity can have more
1335
+ * than one target.
1336
+ */
1337
+ getTargets(options?: {
1338
+ documentLoader?: DocumentLoader;
1339
+ contextLoader?: DocumentLoader;
1340
+ suppressError?: boolean;
1341
+ }): AsyncIterable<Object>;
1342
+ /**
1343
+ * Similar to
1344
+ * {@link Activity.getResult},
1345
+ * but returns its `@id` URL instead of the object itself.
1346
+ */
1347
+ get resultId(): URL | null;
1348
+ /** Describes the result of the activity. For instance, if a particular action
1349
+ * results in the creation of a new resource, the result property can be used
1350
+ * to describe that new resource.
1351
+ */
1352
+ getResult(options?: {
1353
+ documentLoader?: DocumentLoader;
1354
+ contextLoader?: DocumentLoader;
1355
+ suppressError?: boolean;
1356
+ }): Promise<Object | null>;
1357
+ /**
1358
+ * Similar to
1359
+ * {@link Activity.getResults},
1360
+ * but returns their `@id`s instead of the objects themselves.
1361
+ */
1362
+ get resultIds(): URL[];
1363
+ /** Describes the result of the activity. For instance, if a particular action
1364
+ * results in the creation of a new resource, the result property can be used
1365
+ * to describe that new resource.
1366
+ */
1367
+ getResults(options?: {
1368
+ documentLoader?: DocumentLoader;
1369
+ contextLoader?: DocumentLoader;
1370
+ suppressError?: boolean;
1371
+ }): AsyncIterable<Object>;
1372
+ /**
1373
+ * Similar to
1374
+ * {@link Activity.getOrigin},
1375
+ * but returns its `@id` URL instead of the object itself.
1376
+ */
1377
+ get originId(): URL | null;
1378
+ /** Describes an indirect object of the activity from which the activity is
1379
+ * directed. The precise meaning of the origin is the object of the English
1380
+ * preposition "from". For instance, in the activity "John moved an item to
1381
+ * List B from List A", the origin of the activity is "List A".
1382
+ */
1383
+ getOrigin(options?: {
1384
+ documentLoader?: DocumentLoader;
1385
+ contextLoader?: DocumentLoader;
1386
+ suppressError?: boolean;
1387
+ }): Promise<Object | null>;
1388
+ /**
1389
+ * Similar to
1390
+ * {@link Activity.getOrigins},
1391
+ * but returns their `@id`s instead of the objects themselves.
1392
+ */
1393
+ get originIds(): URL[];
1394
+ /** Describes an indirect object of the activity from which the activity is
1395
+ * directed. The precise meaning of the origin is the object of the English
1396
+ * preposition "from". For instance, in the activity "John moved an item to
1397
+ * List B from List A", the origin of the activity is "List A".
1398
+ */
1399
+ getOrigins(options?: {
1400
+ documentLoader?: DocumentLoader;
1401
+ contextLoader?: DocumentLoader;
1402
+ suppressError?: boolean;
1403
+ }): AsyncIterable<Object>;
1404
+ /**
1405
+ * Similar to
1406
+ * {@link Activity.getInstrument},
1407
+ * but returns its `@id` URL instead of the object itself.
1408
+ */
1409
+ get instrumentId(): URL | null;
1410
+ /** Identifies one or more objects used (or to be used) in the completion of
1411
+ * an {@link Activity}.
1412
+ */
1413
+ getInstrument(options?: {
1414
+ documentLoader?: DocumentLoader;
1415
+ contextLoader?: DocumentLoader;
1416
+ suppressError?: boolean;
1417
+ }): Promise<Object | null>;
1418
+ /**
1419
+ * Similar to
1420
+ * {@link Activity.getInstruments},
1421
+ * but returns their `@id`s instead of the objects themselves.
1422
+ */
1423
+ get instrumentIds(): URL[];
1424
+ /** Identifies one or more objects used (or to be used) in the completion of
1425
+ * an {@link Activity}.
1426
+ */
1427
+ getInstruments(options?: {
1428
+ documentLoader?: DocumentLoader;
1429
+ contextLoader?: DocumentLoader;
1430
+ suppressError?: boolean;
1431
+ }): AsyncIterable<Object>;
1290
1432
  /**
1291
1433
  * Converts this object to a JSON-LD structure.
1292
1434
  * @returns The JSON-LD representation of this object.
@@ -1372,6 +1514,14 @@ export declare class Accept extends Activity {
1372
1514
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1373
1515
  object?: Object | URL | null;
1374
1516
  objects?: (Object | URL)[];
1517
+ target?: Object | URL | null;
1518
+ targets?: (Object | URL)[];
1519
+ result?: Object | URL | null;
1520
+ results?: (Object | URL)[];
1521
+ origin?: Object | URL | null;
1522
+ origins?: (Object | URL)[];
1523
+ instrument?: Object | URL | null;
1524
+ instruments?: (Object | URL)[];
1375
1525
  }, { documentLoader, contextLoader, }?: {
1376
1526
  documentLoader?: DocumentLoader;
1377
1527
  contextLoader?: DocumentLoader;
@@ -1432,6 +1582,14 @@ export declare class Accept extends Activity {
1432
1582
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1433
1583
  object?: Object | URL | null;
1434
1584
  objects?: (Object | URL)[];
1585
+ target?: Object | URL | null;
1586
+ targets?: (Object | URL)[];
1587
+ result?: Object | URL | null;
1588
+ results?: (Object | URL)[];
1589
+ origin?: Object | URL | null;
1590
+ origins?: (Object | URL)[];
1591
+ instrument?: Object | URL | null;
1592
+ instruments?: (Object | URL)[];
1435
1593
  }, options?: {
1436
1594
  documentLoader?: DocumentLoader;
1437
1595
  contextLoader?: DocumentLoader;
@@ -1522,6 +1680,14 @@ export declare class Add extends Activity {
1522
1680
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1523
1681
  object?: Object | URL | null;
1524
1682
  objects?: (Object | URL)[];
1683
+ target?: Object | URL | null;
1684
+ targets?: (Object | URL)[];
1685
+ result?: Object | URL | null;
1686
+ results?: (Object | URL)[];
1687
+ origin?: Object | URL | null;
1688
+ origins?: (Object | URL)[];
1689
+ instrument?: Object | URL | null;
1690
+ instruments?: (Object | URL)[];
1525
1691
  }, { documentLoader, contextLoader, }?: {
1526
1692
  documentLoader?: DocumentLoader;
1527
1693
  contextLoader?: DocumentLoader;
@@ -1582,6 +1748,14 @@ export declare class Add extends Activity {
1582
1748
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1583
1749
  object?: Object | URL | null;
1584
1750
  objects?: (Object | URL)[];
1751
+ target?: Object | URL | null;
1752
+ targets?: (Object | URL)[];
1753
+ result?: Object | URL | null;
1754
+ results?: (Object | URL)[];
1755
+ origin?: Object | URL | null;
1756
+ origins?: (Object | URL)[];
1757
+ instrument?: Object | URL | null;
1758
+ instruments?: (Object | URL)[];
1585
1759
  }, options?: {
1586
1760
  documentLoader?: DocumentLoader;
1587
1761
  contextLoader?: DocumentLoader;
@@ -1671,6 +1845,14 @@ export declare class Announce extends Activity {
1671
1845
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1672
1846
  object?: Object | URL | null;
1673
1847
  objects?: (Object | URL)[];
1848
+ target?: Object | URL | null;
1849
+ targets?: (Object | URL)[];
1850
+ result?: Object | URL | null;
1851
+ results?: (Object | URL)[];
1852
+ origin?: Object | URL | null;
1853
+ origins?: (Object | URL)[];
1854
+ instrument?: Object | URL | null;
1855
+ instruments?: (Object | URL)[];
1674
1856
  }, { documentLoader, contextLoader, }?: {
1675
1857
  documentLoader?: DocumentLoader;
1676
1858
  contextLoader?: DocumentLoader;
@@ -1731,6 +1913,14 @@ export declare class Announce extends Activity {
1731
1913
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1732
1914
  object?: Object | URL | null;
1733
1915
  objects?: (Object | URL)[];
1916
+ target?: Object | URL | null;
1917
+ targets?: (Object | URL)[];
1918
+ result?: Object | URL | null;
1919
+ results?: (Object | URL)[];
1920
+ origin?: Object | URL | null;
1921
+ origins?: (Object | URL)[];
1922
+ instrument?: Object | URL | null;
1923
+ instruments?: (Object | URL)[];
1734
1924
  }, options?: {
1735
1925
  documentLoader?: DocumentLoader;
1736
1926
  contextLoader?: DocumentLoader;
@@ -2225,6 +2415,14 @@ export declare class IntransitiveActivity extends Activity {
2225
2415
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2226
2416
  object?: Object | URL | null;
2227
2417
  objects?: (Object | URL)[];
2418
+ target?: Object | URL | null;
2419
+ targets?: (Object | URL)[];
2420
+ result?: Object | URL | null;
2421
+ results?: (Object | URL)[];
2422
+ origin?: Object | URL | null;
2423
+ origins?: (Object | URL)[];
2424
+ instrument?: Object | URL | null;
2425
+ instruments?: (Object | URL)[];
2228
2426
  }, { documentLoader, contextLoader, }?: {
2229
2427
  documentLoader?: DocumentLoader;
2230
2428
  contextLoader?: DocumentLoader;
@@ -2285,6 +2483,14 @@ export declare class IntransitiveActivity extends Activity {
2285
2483
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2286
2484
  object?: Object | URL | null;
2287
2485
  objects?: (Object | URL)[];
2486
+ target?: Object | URL | null;
2487
+ targets?: (Object | URL)[];
2488
+ result?: Object | URL | null;
2489
+ results?: (Object | URL)[];
2490
+ origin?: Object | URL | null;
2491
+ origins?: (Object | URL)[];
2492
+ instrument?: Object | URL | null;
2493
+ instruments?: (Object | URL)[];
2288
2494
  }, options?: {
2289
2495
  documentLoader?: DocumentLoader;
2290
2496
  contextLoader?: DocumentLoader;
@@ -2374,6 +2580,14 @@ export declare class Arrive extends IntransitiveActivity {
2374
2580
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2375
2581
  object?: Object | URL | null;
2376
2582
  objects?: (Object | URL)[];
2583
+ target?: Object | URL | null;
2584
+ targets?: (Object | URL)[];
2585
+ result?: Object | URL | null;
2586
+ results?: (Object | URL)[];
2587
+ origin?: Object | URL | null;
2588
+ origins?: (Object | URL)[];
2589
+ instrument?: Object | URL | null;
2590
+ instruments?: (Object | URL)[];
2377
2591
  }, { documentLoader, contextLoader, }?: {
2378
2592
  documentLoader?: DocumentLoader;
2379
2593
  contextLoader?: DocumentLoader;
@@ -2434,6 +2648,14 @@ export declare class Arrive extends IntransitiveActivity {
2434
2648
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2435
2649
  object?: Object | URL | null;
2436
2650
  objects?: (Object | URL)[];
2651
+ target?: Object | URL | null;
2652
+ targets?: (Object | URL)[];
2653
+ result?: Object | URL | null;
2654
+ results?: (Object | URL)[];
2655
+ origin?: Object | URL | null;
2656
+ origins?: (Object | URL)[];
2657
+ instrument?: Object | URL | null;
2658
+ instruments?: (Object | URL)[];
2437
2659
  }, options?: {
2438
2660
  documentLoader?: DocumentLoader;
2439
2661
  contextLoader?: DocumentLoader;
@@ -2956,6 +3178,14 @@ export declare class Ignore extends Activity {
2956
3178
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2957
3179
  object?: Object | URL | null;
2958
3180
  objects?: (Object | URL)[];
3181
+ target?: Object | URL | null;
3182
+ targets?: (Object | URL)[];
3183
+ result?: Object | URL | null;
3184
+ results?: (Object | URL)[];
3185
+ origin?: Object | URL | null;
3186
+ origins?: (Object | URL)[];
3187
+ instrument?: Object | URL | null;
3188
+ instruments?: (Object | URL)[];
2959
3189
  }, { documentLoader, contextLoader, }?: {
2960
3190
  documentLoader?: DocumentLoader;
2961
3191
  contextLoader?: DocumentLoader;
@@ -3016,6 +3246,14 @@ export declare class Ignore extends Activity {
3016
3246
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3017
3247
  object?: Object | URL | null;
3018
3248
  objects?: (Object | URL)[];
3249
+ target?: Object | URL | null;
3250
+ targets?: (Object | URL)[];
3251
+ result?: Object | URL | null;
3252
+ results?: (Object | URL)[];
3253
+ origin?: Object | URL | null;
3254
+ origins?: (Object | URL)[];
3255
+ instrument?: Object | URL | null;
3256
+ instruments?: (Object | URL)[];
3019
3257
  }, options?: {
3020
3258
  documentLoader?: DocumentLoader;
3021
3259
  contextLoader?: DocumentLoader;
@@ -3106,6 +3344,14 @@ export declare class Block extends Ignore {
3106
3344
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3107
3345
  object?: Object | URL | null;
3108
3346
  objects?: (Object | URL)[];
3347
+ target?: Object | URL | null;
3348
+ targets?: (Object | URL)[];
3349
+ result?: Object | URL | null;
3350
+ results?: (Object | URL)[];
3351
+ origin?: Object | URL | null;
3352
+ origins?: (Object | URL)[];
3353
+ instrument?: Object | URL | null;
3354
+ instruments?: (Object | URL)[];
3109
3355
  }, { documentLoader, contextLoader, }?: {
3110
3356
  documentLoader?: DocumentLoader;
3111
3357
  contextLoader?: DocumentLoader;
@@ -3166,6 +3412,14 @@ export declare class Block extends Ignore {
3166
3412
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3167
3413
  object?: Object | URL | null;
3168
3414
  objects?: (Object | URL)[];
3415
+ target?: Object | URL | null;
3416
+ targets?: (Object | URL)[];
3417
+ result?: Object | URL | null;
3418
+ results?: (Object | URL)[];
3419
+ origin?: Object | URL | null;
3420
+ origins?: (Object | URL)[];
3421
+ instrument?: Object | URL | null;
3422
+ instruments?: (Object | URL)[];
3169
3423
  }, options?: {
3170
3424
  documentLoader?: DocumentLoader;
3171
3425
  contextLoader?: DocumentLoader;
@@ -3255,10 +3509,10 @@ export declare class Collection extends Object {
3255
3509
  proof?: DataIntegrityProof | URL | null;
3256
3510
  proofs?: (DataIntegrityProof | URL)[];
3257
3511
  totalItems?: number | null;
3258
- current?: CollectionPage | Link | URL | null;
3259
- first?: CollectionPage | Link | URL | null;
3260
- last?: CollectionPage | Link | URL | null;
3261
- items?: (Object | Link | URL)[];
3512
+ current?: CollectionPage | URL | null;
3513
+ first?: CollectionPage | URL | null;
3514
+ last?: CollectionPage | URL | null;
3515
+ items?: (Object | URL)[];
3262
3516
  }, { documentLoader, contextLoader, }?: {
3263
3517
  documentLoader?: DocumentLoader;
3264
3518
  contextLoader?: DocumentLoader;
@@ -3316,10 +3570,10 @@ export declare class Collection extends Object {
3316
3570
  proof?: DataIntegrityProof | URL | null;
3317
3571
  proofs?: (DataIntegrityProof | URL)[];
3318
3572
  totalItems?: number | null;
3319
- current?: CollectionPage | Link | URL | null;
3320
- first?: CollectionPage | Link | URL | null;
3321
- last?: CollectionPage | Link | URL | null;
3322
- items?: (Object | Link | URL)[];
3573
+ current?: CollectionPage | URL | null;
3574
+ first?: CollectionPage | URL | null;
3575
+ last?: CollectionPage | URL | null;
3576
+ items?: (Object | URL)[];
3323
3577
  }, options?: {
3324
3578
  documentLoader?: DocumentLoader;
3325
3579
  contextLoader?: DocumentLoader;
@@ -3342,7 +3596,7 @@ export declare class Collection extends Object {
3342
3596
  documentLoader?: DocumentLoader;
3343
3597
  contextLoader?: DocumentLoader;
3344
3598
  suppressError?: boolean;
3345
- }): Promise<CollectionPage | Link | null>;
3599
+ }): Promise<CollectionPage | null>;
3346
3600
  /**
3347
3601
  * Similar to
3348
3602
  * {@link Collection.getFirst},
@@ -3356,7 +3610,7 @@ export declare class Collection extends Object {
3356
3610
  documentLoader?: DocumentLoader;
3357
3611
  contextLoader?: DocumentLoader;
3358
3612
  suppressError?: boolean;
3359
- }): Promise<CollectionPage | Link | null>;
3613
+ }): Promise<CollectionPage | null>;
3360
3614
  /**
3361
3615
  * Similar to
3362
3616
  * {@link Collection.getLast},
@@ -3370,7 +3624,7 @@ export declare class Collection extends Object {
3370
3624
  documentLoader?: DocumentLoader;
3371
3625
  contextLoader?: DocumentLoader;
3372
3626
  suppressError?: boolean;
3373
- }): Promise<CollectionPage | Link | null>;
3627
+ }): Promise<CollectionPage | null>;
3374
3628
  /**
3375
3629
  * Similar to
3376
3630
  * {@link Collection.getItems},
@@ -3384,7 +3638,7 @@ export declare class Collection extends Object {
3384
3638
  documentLoader?: DocumentLoader;
3385
3639
  contextLoader?: DocumentLoader;
3386
3640
  suppressError?: boolean;
3387
- }): AsyncIterable<Object | Link>;
3641
+ }): AsyncIterable<Object>;
3388
3642
  /**
3389
3643
  * Converts this object to a JSON-LD structure.
3390
3644
  * @returns The JSON-LD representation of this object.
@@ -3468,13 +3722,13 @@ export declare class CollectionPage extends Collection {
3468
3722
  proof?: DataIntegrityProof | URL | null;
3469
3723
  proofs?: (DataIntegrityProof | URL)[];
3470
3724
  totalItems?: number | null;
3471
- current?: CollectionPage | Link | URL | null;
3472
- first?: CollectionPage | Link | URL | null;
3473
- last?: CollectionPage | Link | URL | null;
3474
- items?: (Object | Link | URL)[];
3475
- partOf?: Link | Collection | URL | null;
3476
- next?: CollectionPage | Link | URL | null;
3477
- prev?: CollectionPage | Link | URL | null;
3725
+ current?: CollectionPage | URL | null;
3726
+ first?: CollectionPage | URL | null;
3727
+ last?: CollectionPage | URL | null;
3728
+ items?: (Object | URL)[];
3729
+ partOf?: Collection | URL | null;
3730
+ next?: CollectionPage | URL | null;
3731
+ prev?: CollectionPage | URL | null;
3478
3732
  }, { documentLoader, contextLoader, }?: {
3479
3733
  documentLoader?: DocumentLoader;
3480
3734
  contextLoader?: DocumentLoader;
@@ -3532,13 +3786,13 @@ export declare class CollectionPage extends Collection {
3532
3786
  proof?: DataIntegrityProof | URL | null;
3533
3787
  proofs?: (DataIntegrityProof | URL)[];
3534
3788
  totalItems?: number | null;
3535
- current?: CollectionPage | Link | URL | null;
3536
- first?: CollectionPage | Link | URL | null;
3537
- last?: CollectionPage | Link | URL | null;
3538
- items?: (Object | Link | URL)[];
3539
- partOf?: Link | Collection | URL | null;
3540
- next?: CollectionPage | Link | URL | null;
3541
- prev?: CollectionPage | Link | URL | null;
3789
+ current?: CollectionPage | URL | null;
3790
+ first?: CollectionPage | URL | null;
3791
+ last?: CollectionPage | URL | null;
3792
+ items?: (Object | URL)[];
3793
+ partOf?: Collection | URL | null;
3794
+ next?: CollectionPage | URL | null;
3795
+ prev?: CollectionPage | URL | null;
3542
3796
  }, options?: {
3543
3797
  documentLoader?: DocumentLoader;
3544
3798
  contextLoader?: DocumentLoader;
@@ -3556,7 +3810,7 @@ export declare class CollectionPage extends Collection {
3556
3810
  documentLoader?: DocumentLoader;
3557
3811
  contextLoader?: DocumentLoader;
3558
3812
  suppressError?: boolean;
3559
- }): Promise<Link | Collection | null>;
3813
+ }): Promise<Collection | null>;
3560
3814
  /**
3561
3815
  * Similar to
3562
3816
  * {@link CollectionPage.getNext},
@@ -3569,7 +3823,7 @@ export declare class CollectionPage extends Collection {
3569
3823
  documentLoader?: DocumentLoader;
3570
3824
  contextLoader?: DocumentLoader;
3571
3825
  suppressError?: boolean;
3572
- }): Promise<CollectionPage | Link | null>;
3826
+ }): Promise<CollectionPage | null>;
3573
3827
  /**
3574
3828
  * Similar to
3575
3829
  * {@link CollectionPage.getPrev},
@@ -3582,7 +3836,7 @@ export declare class CollectionPage extends Collection {
3582
3836
  documentLoader?: DocumentLoader;
3583
3837
  contextLoader?: DocumentLoader;
3584
3838
  suppressError?: boolean;
3585
- }): Promise<CollectionPage | Link | null>;
3839
+ }): Promise<CollectionPage | null>;
3586
3840
  /**
3587
3841
  * Converts this object to a JSON-LD structure.
3588
3842
  * @returns The JSON-LD representation of this object.
@@ -3666,6 +3920,14 @@ export declare class Create extends Activity {
3666
3920
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3667
3921
  object?: Object | URL | null;
3668
3922
  objects?: (Object | URL)[];
3923
+ target?: Object | URL | null;
3924
+ targets?: (Object | URL)[];
3925
+ result?: Object | URL | null;
3926
+ results?: (Object | URL)[];
3927
+ origin?: Object | URL | null;
3928
+ origins?: (Object | URL)[];
3929
+ instrument?: Object | URL | null;
3930
+ instruments?: (Object | URL)[];
3669
3931
  }, { documentLoader, contextLoader, }?: {
3670
3932
  documentLoader?: DocumentLoader;
3671
3933
  contextLoader?: DocumentLoader;
@@ -3726,6 +3988,14 @@ export declare class Create extends Activity {
3726
3988
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3727
3989
  object?: Object | URL | null;
3728
3990
  objects?: (Object | URL)[];
3991
+ target?: Object | URL | null;
3992
+ targets?: (Object | URL)[];
3993
+ result?: Object | URL | null;
3994
+ results?: (Object | URL)[];
3995
+ origin?: Object | URL | null;
3996
+ origins?: (Object | URL)[];
3997
+ instrument?: Object | URL | null;
3998
+ instruments?: (Object | URL)[];
3729
3999
  }, options?: {
3730
4000
  documentLoader?: DocumentLoader;
3731
4001
  contextLoader?: DocumentLoader;
@@ -3814,6 +4084,14 @@ export declare class Delete extends Activity {
3814
4084
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3815
4085
  object?: Object | URL | null;
3816
4086
  objects?: (Object | URL)[];
4087
+ target?: Object | URL | null;
4088
+ targets?: (Object | URL)[];
4089
+ result?: Object | URL | null;
4090
+ results?: (Object | URL)[];
4091
+ origin?: Object | URL | null;
4092
+ origins?: (Object | URL)[];
4093
+ instrument?: Object | URL | null;
4094
+ instruments?: (Object | URL)[];
3817
4095
  }, { documentLoader, contextLoader, }?: {
3818
4096
  documentLoader?: DocumentLoader;
3819
4097
  contextLoader?: DocumentLoader;
@@ -3874,6 +4152,14 @@ export declare class Delete extends Activity {
3874
4152
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3875
4153
  object?: Object | URL | null;
3876
4154
  objects?: (Object | URL)[];
4155
+ target?: Object | URL | null;
4156
+ targets?: (Object | URL)[];
4157
+ result?: Object | URL | null;
4158
+ results?: (Object | URL)[];
4159
+ origin?: Object | URL | null;
4160
+ origins?: (Object | URL)[];
4161
+ instrument?: Object | URL | null;
4162
+ instruments?: (Object | URL)[];
3877
4163
  }, options?: {
3878
4164
  documentLoader?: DocumentLoader;
3879
4165
  contextLoader?: DocumentLoader;
@@ -3961,6 +4247,14 @@ export declare class Dislike extends Activity {
3961
4247
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3962
4248
  object?: Object | URL | null;
3963
4249
  objects?: (Object | URL)[];
4250
+ target?: Object | URL | null;
4251
+ targets?: (Object | URL)[];
4252
+ result?: Object | URL | null;
4253
+ results?: (Object | URL)[];
4254
+ origin?: Object | URL | null;
4255
+ origins?: (Object | URL)[];
4256
+ instrument?: Object | URL | null;
4257
+ instruments?: (Object | URL)[];
3964
4258
  }, { documentLoader, contextLoader, }?: {
3965
4259
  documentLoader?: DocumentLoader;
3966
4260
  contextLoader?: DocumentLoader;
@@ -4021,6 +4315,14 @@ export declare class Dislike extends Activity {
4021
4315
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4022
4316
  object?: Object | URL | null;
4023
4317
  objects?: (Object | URL)[];
4318
+ target?: Object | URL | null;
4319
+ targets?: (Object | URL)[];
4320
+ result?: Object | URL | null;
4321
+ results?: (Object | URL)[];
4322
+ origin?: Object | URL | null;
4323
+ origins?: (Object | URL)[];
4324
+ instrument?: Object | URL | null;
4325
+ instruments?: (Object | URL)[];
4024
4326
  }, options?: {
4025
4327
  documentLoader?: DocumentLoader;
4026
4328
  contextLoader?: DocumentLoader;
@@ -4357,6 +4659,14 @@ export declare class Flag extends Activity {
4357
4659
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4358
4660
  object?: Object | URL | null;
4359
4661
  objects?: (Object | URL)[];
4662
+ target?: Object | URL | null;
4663
+ targets?: (Object | URL)[];
4664
+ result?: Object | URL | null;
4665
+ results?: (Object | URL)[];
4666
+ origin?: Object | URL | null;
4667
+ origins?: (Object | URL)[];
4668
+ instrument?: Object | URL | null;
4669
+ instruments?: (Object | URL)[];
4360
4670
  }, { documentLoader, contextLoader, }?: {
4361
4671
  documentLoader?: DocumentLoader;
4362
4672
  contextLoader?: DocumentLoader;
@@ -4417,6 +4727,14 @@ export declare class Flag extends Activity {
4417
4727
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4418
4728
  object?: Object | URL | null;
4419
4729
  objects?: (Object | URL)[];
4730
+ target?: Object | URL | null;
4731
+ targets?: (Object | URL)[];
4732
+ result?: Object | URL | null;
4733
+ results?: (Object | URL)[];
4734
+ origin?: Object | URL | null;
4735
+ origins?: (Object | URL)[];
4736
+ instrument?: Object | URL | null;
4737
+ instruments?: (Object | URL)[];
4420
4738
  }, options?: {
4421
4739
  documentLoader?: DocumentLoader;
4422
4740
  contextLoader?: DocumentLoader;
@@ -4507,6 +4825,14 @@ export declare class Follow extends Activity {
4507
4825
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4508
4826
  object?: Object | URL | null;
4509
4827
  objects?: (Object | URL)[];
4828
+ target?: Object | URL | null;
4829
+ targets?: (Object | URL)[];
4830
+ result?: Object | URL | null;
4831
+ results?: (Object | URL)[];
4832
+ origin?: Object | URL | null;
4833
+ origins?: (Object | URL)[];
4834
+ instrument?: Object | URL | null;
4835
+ instruments?: (Object | URL)[];
4510
4836
  }, { documentLoader, contextLoader, }?: {
4511
4837
  documentLoader?: DocumentLoader;
4512
4838
  contextLoader?: DocumentLoader;
@@ -4567,6 +4893,14 @@ export declare class Follow extends Activity {
4567
4893
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4568
4894
  object?: Object | URL | null;
4569
4895
  objects?: (Object | URL)[];
4896
+ target?: Object | URL | null;
4897
+ targets?: (Object | URL)[];
4898
+ result?: Object | URL | null;
4899
+ results?: (Object | URL)[];
4900
+ origin?: Object | URL | null;
4901
+ origins?: (Object | URL)[];
4902
+ instrument?: Object | URL | null;
4903
+ instruments?: (Object | URL)[];
4570
4904
  }, options?: {
4571
4905
  documentLoader?: DocumentLoader;
4572
4906
  contextLoader?: DocumentLoader;
@@ -5416,6 +5750,14 @@ export declare class Like extends Activity {
5416
5750
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5417
5751
  object?: Object | URL | null;
5418
5752
  objects?: (Object | URL)[];
5753
+ target?: Object | URL | null;
5754
+ targets?: (Object | URL)[];
5755
+ result?: Object | URL | null;
5756
+ results?: (Object | URL)[];
5757
+ origin?: Object | URL | null;
5758
+ origins?: (Object | URL)[];
5759
+ instrument?: Object | URL | null;
5760
+ instruments?: (Object | URL)[];
5419
5761
  }, { documentLoader, contextLoader, }?: {
5420
5762
  documentLoader?: DocumentLoader;
5421
5763
  contextLoader?: DocumentLoader;
@@ -5476,6 +5818,14 @@ export declare class Like extends Activity {
5476
5818
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5477
5819
  object?: Object | URL | null;
5478
5820
  objects?: (Object | URL)[];
5821
+ target?: Object | URL | null;
5822
+ targets?: (Object | URL)[];
5823
+ result?: Object | URL | null;
5824
+ results?: (Object | URL)[];
5825
+ origin?: Object | URL | null;
5826
+ origins?: (Object | URL)[];
5827
+ instrument?: Object | URL | null;
5828
+ instruments?: (Object | URL)[];
5479
5829
  }, options?: {
5480
5830
  documentLoader?: DocumentLoader;
5481
5831
  contextLoader?: DocumentLoader;
@@ -5776,6 +6126,14 @@ export declare class Offer extends Activity {
5776
6126
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5777
6127
  object?: Object | URL | null;
5778
6128
  objects?: (Object | URL)[];
6129
+ target?: Object | URL | null;
6130
+ targets?: (Object | URL)[];
6131
+ result?: Object | URL | null;
6132
+ results?: (Object | URL)[];
6133
+ origin?: Object | URL | null;
6134
+ origins?: (Object | URL)[];
6135
+ instrument?: Object | URL | null;
6136
+ instruments?: (Object | URL)[];
5779
6137
  }, { documentLoader, contextLoader, }?: {
5780
6138
  documentLoader?: DocumentLoader;
5781
6139
  contextLoader?: DocumentLoader;
@@ -5836,6 +6194,14 @@ export declare class Offer extends Activity {
5836
6194
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5837
6195
  object?: Object | URL | null;
5838
6196
  objects?: (Object | URL)[];
6197
+ target?: Object | URL | null;
6198
+ targets?: (Object | URL)[];
6199
+ result?: Object | URL | null;
6200
+ results?: (Object | URL)[];
6201
+ origin?: Object | URL | null;
6202
+ origins?: (Object | URL)[];
6203
+ instrument?: Object | URL | null;
6204
+ instruments?: (Object | URL)[];
5839
6205
  }, options?: {
5840
6206
  documentLoader?: DocumentLoader;
5841
6207
  contextLoader?: DocumentLoader;
@@ -5921,10 +6287,10 @@ export declare class OrderedCollection extends Collection {
5921
6287
  proof?: DataIntegrityProof | URL | null;
5922
6288
  proofs?: (DataIntegrityProof | URL)[];
5923
6289
  totalItems?: number | null;
5924
- current?: CollectionPage | Link | URL | null;
5925
- first?: CollectionPage | Link | URL | null;
5926
- last?: CollectionPage | Link | URL | null;
5927
- items?: (Object | Link | URL)[];
6290
+ current?: CollectionPage | URL | null;
6291
+ first?: CollectionPage | URL | null;
6292
+ last?: CollectionPage | URL | null;
6293
+ items?: (Object | URL)[];
5928
6294
  }, { documentLoader, contextLoader, }?: {
5929
6295
  documentLoader?: DocumentLoader;
5930
6296
  contextLoader?: DocumentLoader;
@@ -5982,10 +6348,10 @@ export declare class OrderedCollection extends Collection {
5982
6348
  proof?: DataIntegrityProof | URL | null;
5983
6349
  proofs?: (DataIntegrityProof | URL)[];
5984
6350
  totalItems?: number | null;
5985
- current?: CollectionPage | Link | URL | null;
5986
- first?: CollectionPage | Link | URL | null;
5987
- last?: CollectionPage | Link | URL | null;
5988
- items?: (Object | Link | URL)[];
6351
+ current?: CollectionPage | URL | null;
6352
+ first?: CollectionPage | URL | null;
6353
+ last?: CollectionPage | URL | null;
6354
+ items?: (Object | URL)[];
5989
6355
  }, options?: {
5990
6356
  documentLoader?: DocumentLoader;
5991
6357
  contextLoader?: DocumentLoader;
@@ -6073,13 +6439,13 @@ export declare class OrderedCollectionPage extends CollectionPage {
6073
6439
  proof?: DataIntegrityProof | URL | null;
6074
6440
  proofs?: (DataIntegrityProof | URL)[];
6075
6441
  totalItems?: number | null;
6076
- current?: CollectionPage | Link | URL | null;
6077
- first?: CollectionPage | Link | URL | null;
6078
- last?: CollectionPage | Link | URL | null;
6079
- items?: (Object | Link | URL)[];
6080
- partOf?: Link | Collection | URL | null;
6081
- next?: CollectionPage | Link | URL | null;
6082
- prev?: CollectionPage | Link | URL | null;
6442
+ current?: CollectionPage | URL | null;
6443
+ first?: CollectionPage | URL | null;
6444
+ last?: CollectionPage | URL | null;
6445
+ items?: (Object | URL)[];
6446
+ partOf?: Collection | URL | null;
6447
+ next?: CollectionPage | URL | null;
6448
+ prev?: CollectionPage | URL | null;
6083
6449
  startIndex?: number | null;
6084
6450
  }, { documentLoader, contextLoader, }?: {
6085
6451
  documentLoader?: DocumentLoader;
@@ -6138,13 +6504,13 @@ export declare class OrderedCollectionPage extends CollectionPage {
6138
6504
  proof?: DataIntegrityProof | URL | null;
6139
6505
  proofs?: (DataIntegrityProof | URL)[];
6140
6506
  totalItems?: number | null;
6141
- current?: CollectionPage | Link | URL | null;
6142
- first?: CollectionPage | Link | URL | null;
6143
- last?: CollectionPage | Link | URL | null;
6144
- items?: (Object | Link | URL)[];
6145
- partOf?: Link | Collection | URL | null;
6146
- next?: CollectionPage | Link | URL | null;
6147
- prev?: CollectionPage | Link | URL | null;
6507
+ current?: CollectionPage | URL | null;
6508
+ first?: CollectionPage | URL | null;
6509
+ last?: CollectionPage | URL | null;
6510
+ items?: (Object | URL)[];
6511
+ partOf?: Collection | URL | null;
6512
+ next?: CollectionPage | URL | null;
6513
+ prev?: CollectionPage | URL | null;
6148
6514
  startIndex?: number | null;
6149
6515
  }, options?: {
6150
6516
  documentLoader?: DocumentLoader;
@@ -7537,6 +7903,14 @@ export declare class Question extends IntransitiveActivity {
7537
7903
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7538
7904
  object?: Object | URL | null;
7539
7905
  objects?: (Object | URL)[];
7906
+ target?: Object | URL | null;
7907
+ targets?: (Object | URL)[];
7908
+ result?: Object | URL | null;
7909
+ results?: (Object | URL)[];
7910
+ origin?: Object | URL | null;
7911
+ origins?: (Object | URL)[];
7912
+ instrument?: Object | URL | null;
7913
+ instruments?: (Object | URL)[];
7540
7914
  exclusiveOptions?: (Object | URL)[];
7541
7915
  inclusiveOptions?: (Object | URL)[];
7542
7916
  }, { documentLoader, contextLoader, }?: {
@@ -7599,6 +7973,14 @@ export declare class Question extends IntransitiveActivity {
7599
7973
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7600
7974
  object?: Object | URL | null;
7601
7975
  objects?: (Object | URL)[];
7976
+ target?: Object | URL | null;
7977
+ targets?: (Object | URL)[];
7978
+ result?: Object | URL | null;
7979
+ results?: (Object | URL)[];
7980
+ origin?: Object | URL | null;
7981
+ origins?: (Object | URL)[];
7982
+ instrument?: Object | URL | null;
7983
+ instruments?: (Object | URL)[];
7602
7984
  exclusiveOptions?: (Object | URL)[];
7603
7985
  inclusiveOptions?: (Object | URL)[];
7604
7986
  }, options?: {
@@ -7719,6 +8101,14 @@ export declare class Reject extends Activity {
7719
8101
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7720
8102
  object?: Object | URL | null;
7721
8103
  objects?: (Object | URL)[];
8104
+ target?: Object | URL | null;
8105
+ targets?: (Object | URL)[];
8106
+ result?: Object | URL | null;
8107
+ results?: (Object | URL)[];
8108
+ origin?: Object | URL | null;
8109
+ origins?: (Object | URL)[];
8110
+ instrument?: Object | URL | null;
8111
+ instruments?: (Object | URL)[];
7722
8112
  }, { documentLoader, contextLoader, }?: {
7723
8113
  documentLoader?: DocumentLoader;
7724
8114
  contextLoader?: DocumentLoader;
@@ -7779,6 +8169,14 @@ export declare class Reject extends Activity {
7779
8169
  actors?: (Application | Group | Organization | Person | Service | URL)[];
7780
8170
  object?: Object | URL | null;
7781
8171
  objects?: (Object | URL)[];
8172
+ target?: Object | URL | null;
8173
+ targets?: (Object | URL)[];
8174
+ result?: Object | URL | null;
8175
+ results?: (Object | URL)[];
8176
+ origin?: Object | URL | null;
8177
+ origins?: (Object | URL)[];
8178
+ instrument?: Object | URL | null;
8179
+ instruments?: (Object | URL)[];
7782
8180
  }, options?: {
7783
8181
  documentLoader?: DocumentLoader;
7784
8182
  contextLoader?: DocumentLoader;
@@ -8095,6 +8493,14 @@ export declare class Remove extends Activity {
8095
8493
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8096
8494
  object?: Object | URL | null;
8097
8495
  objects?: (Object | URL)[];
8496
+ target?: Object | URL | null;
8497
+ targets?: (Object | URL)[];
8498
+ result?: Object | URL | null;
8499
+ results?: (Object | URL)[];
8500
+ origin?: Object | URL | null;
8501
+ origins?: (Object | URL)[];
8502
+ instrument?: Object | URL | null;
8503
+ instruments?: (Object | URL)[];
8098
8504
  }, { documentLoader, contextLoader, }?: {
8099
8505
  documentLoader?: DocumentLoader;
8100
8506
  contextLoader?: DocumentLoader;
@@ -8155,6 +8561,14 @@ export declare class Remove extends Activity {
8155
8561
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8156
8562
  object?: Object | URL | null;
8157
8563
  objects?: (Object | URL)[];
8564
+ target?: Object | URL | null;
8565
+ targets?: (Object | URL)[];
8566
+ result?: Object | URL | null;
8567
+ results?: (Object | URL)[];
8568
+ origin?: Object | URL | null;
8569
+ origins?: (Object | URL)[];
8570
+ instrument?: Object | URL | null;
8571
+ instruments?: (Object | URL)[];
8158
8572
  }, options?: {
8159
8573
  documentLoader?: DocumentLoader;
8160
8574
  contextLoader?: DocumentLoader;
@@ -8801,6 +9215,14 @@ export declare class Undo extends Activity {
8801
9215
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8802
9216
  object?: Object | URL | null;
8803
9217
  objects?: (Object | URL)[];
9218
+ target?: Object | URL | null;
9219
+ targets?: (Object | URL)[];
9220
+ result?: Object | URL | null;
9221
+ results?: (Object | URL)[];
9222
+ origin?: Object | URL | null;
9223
+ origins?: (Object | URL)[];
9224
+ instrument?: Object | URL | null;
9225
+ instruments?: (Object | URL)[];
8804
9226
  }, { documentLoader, contextLoader, }?: {
8805
9227
  documentLoader?: DocumentLoader;
8806
9228
  contextLoader?: DocumentLoader;
@@ -8861,6 +9283,14 @@ export declare class Undo extends Activity {
8861
9283
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8862
9284
  object?: Object | URL | null;
8863
9285
  objects?: (Object | URL)[];
9286
+ target?: Object | URL | null;
9287
+ targets?: (Object | URL)[];
9288
+ result?: Object | URL | null;
9289
+ results?: (Object | URL)[];
9290
+ origin?: Object | URL | null;
9291
+ origins?: (Object | URL)[];
9292
+ instrument?: Object | URL | null;
9293
+ instruments?: (Object | URL)[];
8864
9294
  }, options?: {
8865
9295
  documentLoader?: DocumentLoader;
8866
9296
  contextLoader?: DocumentLoader;
@@ -8952,6 +9382,14 @@ export declare class Update extends Activity {
8952
9382
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8953
9383
  object?: Object | URL | null;
8954
9384
  objects?: (Object | URL)[];
9385
+ target?: Object | URL | null;
9386
+ targets?: (Object | URL)[];
9387
+ result?: Object | URL | null;
9388
+ results?: (Object | URL)[];
9389
+ origin?: Object | URL | null;
9390
+ origins?: (Object | URL)[];
9391
+ instrument?: Object | URL | null;
9392
+ instruments?: (Object | URL)[];
8955
9393
  }, { documentLoader, contextLoader, }?: {
8956
9394
  documentLoader?: DocumentLoader;
8957
9395
  contextLoader?: DocumentLoader;
@@ -9012,6 +9450,14 @@ export declare class Update extends Activity {
9012
9450
  actors?: (Application | Group | Organization | Person | Service | URL)[];
9013
9451
  object?: Object | URL | null;
9014
9452
  objects?: (Object | URL)[];
9453
+ target?: Object | URL | null;
9454
+ targets?: (Object | URL)[];
9455
+ result?: Object | URL | null;
9456
+ results?: (Object | URL)[];
9457
+ origin?: Object | URL | null;
9458
+ origins?: (Object | URL)[];
9459
+ instrument?: Object | URL | null;
9460
+ instruments?: (Object | URL)[];
9015
9461
  }, options?: {
9016
9462
  documentLoader?: DocumentLoader;
9017
9463
  contextLoader?: DocumentLoader;