@fedify/fedify 0.11.0-dev.244 → 0.11.0-dev.250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/CHANGES.md +1 -60
  2. package/esm/federation/handler.js +2 -2
  3. package/esm/federation/middleware.js +0 -80
  4. package/esm/vocab/application.yaml +0 -14
  5. package/esm/vocab/collection.yaml +1 -8
  6. package/esm/vocab/collectionpage.yaml +1 -7
  7. package/esm/vocab/group.yaml +0 -14
  8. package/esm/vocab/orderedcollection.yaml +1 -8
  9. package/esm/vocab/orderedcollectionpage.yaml +1 -7
  10. package/esm/vocab/organization.yaml +0 -14
  11. package/esm/vocab/person.yaml +0 -14
  12. package/esm/vocab/service.yaml +0 -14
  13. package/esm/vocab/vocab.js +22 -814
  14. package/package.json +1 -1
  15. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_dumper/dumper.d.ts.map +1 -1
  16. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_dumper/dumper_state.d.ts.map +1 -1
  17. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_error.d.ts.map +1 -1
  18. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_loader/loader.d.ts.map +1 -1
  19. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_loader/loader_state.d.ts.map +1 -1
  20. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_mark.d.ts.map +1 -1
  21. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_state.d.ts.map +1 -1
  22. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/binary.d.ts.map +1 -1
  23. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/bool.d.ts.map +1 -1
  24. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/float.d.ts.map +1 -1
  25. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/function.d.ts.map +1 -1
  26. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/int.d.ts.map +1 -1
  27. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/map.d.ts.map +1 -1
  28. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/merge.d.ts.map +1 -1
  29. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/mod.d.ts.map +1 -1
  30. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/nil.d.ts.map +1 -1
  31. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/omap.d.ts.map +1 -1
  32. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/pairs.d.ts.map +1 -1
  33. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/regexp.d.ts.map +1 -1
  34. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/seq.d.ts.map +1 -1
  35. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/set.d.ts.map +1 -1
  36. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/str.d.ts.map +1 -1
  37. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/timestamp.d.ts.map +1 -1
  38. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_type/undefined.d.ts.map +1 -1
  39. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/_utils.d.ts.map +1 -1
  40. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/mod.d.ts.map +1 -1
  41. package/types/deps/jsr.io/@std/yaml/0.224.3/parse.d.ts.map +1 -0
  42. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/schema/core.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/schema/default.d.ts.map +1 -1
  44. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/schema/extended.d.ts.map +1 -1
  45. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/schema/failsafe.d.ts.map +1 -1
  46. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/schema/json.d.ts.map +1 -1
  47. package/types/deps/jsr.io/@std/yaml/0.224.3/schema/mod.d.ts.map +1 -0
  48. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/schema.d.ts.map +1 -1
  49. package/types/deps/jsr.io/@std/yaml/0.224.3/stringify.d.ts.map +1 -0
  50. package/types/deps/jsr.io/@std/yaml/{0.224.2 → 0.224.3}/type.d.ts.map +1 -1
  51. package/types/federation/context.d.ts +0 -17
  52. package/types/federation/context.d.ts.map +1 -1
  53. package/types/federation/handler.d.ts +2 -2
  54. package/types/federation/handler.d.ts.map +1 -1
  55. package/types/federation/middleware.d.ts +1 -14
  56. package/types/federation/middleware.d.ts.map +1 -1
  57. package/types/testing/context.d.ts.map +1 -1
  58. package/types/vocab/vocab.d.ts +10 -100
  59. package/types/vocab/vocab.d.ts.map +1 -1
  60. package/types/deps/jsr.io/@std/yaml/0.224.2/parse.d.ts.map +0 -1
  61. package/types/deps/jsr.io/@std/yaml/0.224.2/schema/mod.d.ts.map +0 -1
  62. package/types/deps/jsr.io/@std/yaml/0.224.2/stringify.d.ts.map +0 -1
@@ -2018,7 +2018,6 @@ export declare class Application extends Object {
2018
2018
  followers?: Collection | URL | null;
2019
2019
  liked?: Collection | URL | null;
2020
2020
  featured?: Collection | URL | null;
2021
- featuredTags?: Collection | URL | null;
2022
2021
  streams?: (Collection | URL)[];
2023
2022
  endpoints?: Endpoints | null;
2024
2023
  discoverable?: boolean | null;
@@ -2094,7 +2093,6 @@ export declare class Application extends Object {
2094
2093
  followers?: Collection | URL | null;
2095
2094
  liked?: Collection | URL | null;
2096
2095
  featured?: Collection | URL | null;
2097
- featuredTags?: Collection | URL | null;
2098
2096
  streams?: (Collection | URL)[];
2099
2097
  endpoints?: Endpoints | null;
2100
2098
  discoverable?: boolean | null;
@@ -2297,22 +2295,6 @@ export declare class Application extends Object {
2297
2295
  contextLoader?: DocumentLoader;
2298
2296
  suppressError?: boolean;
2299
2297
  }): Promise<Collection | null>;
2300
- /**
2301
- * Similar to
2302
- * {@link Application.getFeaturedTags},
2303
- * but returns its `@id` URL instead of the object itself.
2304
- */
2305
- get featuredTagsId(): URL | null;
2306
- /** What is known in Mastodon as "featured hashtags", hashtags that are featured
2307
- * at people's profiles, is implemented using an extra property `featuredTags`
2308
- * on the actor object that points to a {@link Collection} of {@link Hashtag}
2309
- * objects specifically.
2310
- */
2311
- getFeaturedTags(options?: {
2312
- documentLoader?: DocumentLoader;
2313
- contextLoader?: DocumentLoader;
2314
- suppressError?: boolean;
2315
- }): Promise<Collection | null>;
2316
2298
  /**
2317
2299
  * Similar to
2318
2300
  * {@link Application.getStreams},
@@ -3530,7 +3512,7 @@ export declare class Collection extends Object {
3530
3512
  current?: CollectionPage | URL | null;
3531
3513
  first?: CollectionPage | URL | null;
3532
3514
  last?: CollectionPage | URL | null;
3533
- items?: (Object | Link | URL)[];
3515
+ items?: (Object | URL)[];
3534
3516
  }, { documentLoader, contextLoader, }?: {
3535
3517
  documentLoader?: DocumentLoader;
3536
3518
  contextLoader?: DocumentLoader;
@@ -3591,7 +3573,7 @@ export declare class Collection extends Object {
3591
3573
  current?: CollectionPage | URL | null;
3592
3574
  first?: CollectionPage | URL | null;
3593
3575
  last?: CollectionPage | URL | null;
3594
- items?: (Object | Link | URL)[];
3576
+ items?: (Object | URL)[];
3595
3577
  }, options?: {
3596
3578
  documentLoader?: DocumentLoader;
3597
3579
  contextLoader?: DocumentLoader;
@@ -3656,7 +3638,7 @@ export declare class Collection extends Object {
3656
3638
  documentLoader?: DocumentLoader;
3657
3639
  contextLoader?: DocumentLoader;
3658
3640
  suppressError?: boolean;
3659
- }): AsyncIterable<Object | Link>;
3641
+ }): AsyncIterable<Object>;
3660
3642
  /**
3661
3643
  * Converts this object to a JSON-LD structure.
3662
3644
  * @returns The JSON-LD representation of this object.
@@ -3743,7 +3725,7 @@ export declare class CollectionPage extends Collection {
3743
3725
  current?: CollectionPage | URL | null;
3744
3726
  first?: CollectionPage | URL | null;
3745
3727
  last?: CollectionPage | URL | null;
3746
- items?: (Object | Link | URL)[];
3728
+ items?: (Object | URL)[];
3747
3729
  partOf?: Collection | URL | null;
3748
3730
  next?: CollectionPage | URL | null;
3749
3731
  prev?: CollectionPage | URL | null;
@@ -3807,7 +3789,7 @@ export declare class CollectionPage extends Collection {
3807
3789
  current?: CollectionPage | URL | null;
3808
3790
  first?: CollectionPage | URL | null;
3809
3791
  last?: CollectionPage | URL | null;
3810
- items?: (Object | Link | URL)[];
3792
+ items?: (Object | URL)[];
3811
3793
  partOf?: Collection | URL | null;
3812
3794
  next?: CollectionPage | URL | null;
3813
3795
  prev?: CollectionPage | URL | null;
@@ -5016,7 +4998,6 @@ export declare class Group extends Object {
5016
4998
  followers?: Collection | URL | null;
5017
4999
  liked?: Collection | URL | null;
5018
5000
  featured?: Collection | URL | null;
5019
- featuredTags?: Collection | URL | null;
5020
5001
  streams?: (Collection | URL)[];
5021
5002
  endpoints?: Endpoints | null;
5022
5003
  discoverable?: boolean | null;
@@ -5092,7 +5073,6 @@ export declare class Group extends Object {
5092
5073
  followers?: Collection | URL | null;
5093
5074
  liked?: Collection | URL | null;
5094
5075
  featured?: Collection | URL | null;
5095
- featuredTags?: Collection | URL | null;
5096
5076
  streams?: (Collection | URL)[];
5097
5077
  endpoints?: Endpoints | null;
5098
5078
  discoverable?: boolean | null;
@@ -5295,22 +5275,6 @@ export declare class Group extends Object {
5295
5275
  contextLoader?: DocumentLoader;
5296
5276
  suppressError?: boolean;
5297
5277
  }): Promise<Collection | null>;
5298
- /**
5299
- * Similar to
5300
- * {@link Group.getFeaturedTags},
5301
- * but returns its `@id` URL instead of the object itself.
5302
- */
5303
- get featuredTagsId(): URL | null;
5304
- /** What is known in Mastodon as "featured hashtags", hashtags that are featured
5305
- * at people's profiles, is implemented using an extra property `featuredTags`
5306
- * on the actor object that points to a {@link Collection} of {@link Hashtag}
5307
- * objects specifically.
5308
- */
5309
- getFeaturedTags(options?: {
5310
- documentLoader?: DocumentLoader;
5311
- contextLoader?: DocumentLoader;
5312
- suppressError?: boolean;
5313
- }): Promise<Collection | null>;
5314
5278
  /**
5315
5279
  * Similar to
5316
5280
  * {@link Group.getStreams},
@@ -6327,7 +6291,7 @@ export declare class OrderedCollection extends Collection {
6327
6291
  current?: CollectionPage | URL | null;
6328
6292
  first?: CollectionPage | URL | null;
6329
6293
  last?: CollectionPage | URL | null;
6330
- items?: (Object | Link | URL)[];
6294
+ items?: (Object | URL)[];
6331
6295
  }, { documentLoader, contextLoader, }?: {
6332
6296
  documentLoader?: DocumentLoader;
6333
6297
  contextLoader?: DocumentLoader;
@@ -6388,7 +6352,7 @@ export declare class OrderedCollection extends Collection {
6388
6352
  current?: CollectionPage | URL | null;
6389
6353
  first?: CollectionPage | URL | null;
6390
6354
  last?: CollectionPage | URL | null;
6391
- items?: (Object | Link | URL)[];
6355
+ items?: (Object | URL)[];
6392
6356
  }, options?: {
6393
6357
  documentLoader?: DocumentLoader;
6394
6358
  contextLoader?: DocumentLoader;
@@ -6406,7 +6370,7 @@ export declare class OrderedCollection extends Collection {
6406
6370
  documentLoader?: DocumentLoader;
6407
6371
  contextLoader?: DocumentLoader;
6408
6372
  suppressError?: boolean;
6409
- }): AsyncIterable<Object | Link>;
6373
+ }): AsyncIterable<Object>;
6410
6374
  /**
6411
6375
  * Converts this object to a JSON-LD structure.
6412
6376
  * @returns The JSON-LD representation of this object.
@@ -6493,7 +6457,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
6493
6457
  current?: CollectionPage | URL | null;
6494
6458
  first?: CollectionPage | URL | null;
6495
6459
  last?: CollectionPage | URL | null;
6496
- items?: (Object | Link | URL)[];
6460
+ items?: (Object | URL)[];
6497
6461
  partOf?: Collection | URL | null;
6498
6462
  next?: CollectionPage | URL | null;
6499
6463
  prev?: CollectionPage | URL | null;
@@ -6558,7 +6522,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
6558
6522
  current?: CollectionPage | URL | null;
6559
6523
  first?: CollectionPage | URL | null;
6560
6524
  last?: CollectionPage | URL | null;
6561
- items?: (Object | Link | URL)[];
6525
+ items?: (Object | URL)[];
6562
6526
  partOf?: Collection | URL | null;
6563
6527
  next?: CollectionPage | URL | null;
6564
6528
  prev?: CollectionPage | URL | null;
@@ -6664,7 +6628,6 @@ export declare class Organization extends Object {
6664
6628
  followers?: Collection | URL | null;
6665
6629
  liked?: Collection | URL | null;
6666
6630
  featured?: Collection | URL | null;
6667
- featuredTags?: Collection | URL | null;
6668
6631
  streams?: (Collection | URL)[];
6669
6632
  endpoints?: Endpoints | null;
6670
6633
  discoverable?: boolean | null;
@@ -6740,7 +6703,6 @@ export declare class Organization extends Object {
6740
6703
  followers?: Collection | URL | null;
6741
6704
  liked?: Collection | URL | null;
6742
6705
  featured?: Collection | URL | null;
6743
- featuredTags?: Collection | URL | null;
6744
6706
  streams?: (Collection | URL)[];
6745
6707
  endpoints?: Endpoints | null;
6746
6708
  discoverable?: boolean | null;
@@ -6943,22 +6905,6 @@ export declare class Organization extends Object {
6943
6905
  contextLoader?: DocumentLoader;
6944
6906
  suppressError?: boolean;
6945
6907
  }): Promise<Collection | null>;
6946
- /**
6947
- * Similar to
6948
- * {@link Organization.getFeaturedTags},
6949
- * but returns its `@id` URL instead of the object itself.
6950
- */
6951
- get featuredTagsId(): URL | null;
6952
- /** What is known in Mastodon as "featured hashtags", hashtags that are featured
6953
- * at people's profiles, is implemented using an extra property `featuredTags`
6954
- * on the actor object that points to a {@link Collection} of {@link Hashtag}
6955
- * objects specifically.
6956
- */
6957
- getFeaturedTags(options?: {
6958
- documentLoader?: DocumentLoader;
6959
- contextLoader?: DocumentLoader;
6960
- suppressError?: boolean;
6961
- }): Promise<Collection | null>;
6962
6908
  /**
6963
6909
  * Similar to
6964
6910
  * {@link Organization.getStreams},
@@ -7230,7 +7176,6 @@ export declare class Person extends Object {
7230
7176
  followers?: Collection | URL | null;
7231
7177
  liked?: Collection | URL | null;
7232
7178
  featured?: Collection | URL | null;
7233
- featuredTags?: Collection | URL | null;
7234
7179
  streams?: (Collection | URL)[];
7235
7180
  endpoints?: Endpoints | null;
7236
7181
  discoverable?: boolean | null;
@@ -7306,7 +7251,6 @@ export declare class Person extends Object {
7306
7251
  followers?: Collection | URL | null;
7307
7252
  liked?: Collection | URL | null;
7308
7253
  featured?: Collection | URL | null;
7309
- featuredTags?: Collection | URL | null;
7310
7254
  streams?: (Collection | URL)[];
7311
7255
  endpoints?: Endpoints | null;
7312
7256
  discoverable?: boolean | null;
@@ -7509,22 +7453,6 @@ export declare class Person extends Object {
7509
7453
  contextLoader?: DocumentLoader;
7510
7454
  suppressError?: boolean;
7511
7455
  }): Promise<Collection | null>;
7512
- /**
7513
- * Similar to
7514
- * {@link Person.getFeaturedTags},
7515
- * but returns its `@id` URL instead of the object itself.
7516
- */
7517
- get featuredTagsId(): URL | null;
7518
- /** What is known in Mastodon as "featured hashtags", hashtags that are featured
7519
- * at people's profiles, is implemented using an extra property `featuredTags`
7520
- * on the actor object that points to a {@link Collection} of {@link Hashtag}
7521
- * objects specifically.
7522
- */
7523
- getFeaturedTags(options?: {
7524
- documentLoader?: DocumentLoader;
7525
- contextLoader?: DocumentLoader;
7526
- suppressError?: boolean;
7527
- }): Promise<Collection | null>;
7528
7456
  /**
7529
7457
  * Similar to
7530
7458
  * {@link Person.getStreams},
@@ -8753,7 +8681,6 @@ export declare class Service extends Object {
8753
8681
  followers?: Collection | URL | null;
8754
8682
  liked?: Collection | URL | null;
8755
8683
  featured?: Collection | URL | null;
8756
- featuredTags?: Collection | URL | null;
8757
8684
  streams?: (Collection | URL)[];
8758
8685
  endpoints?: Endpoints | null;
8759
8686
  discoverable?: boolean | null;
@@ -8829,7 +8756,6 @@ export declare class Service extends Object {
8829
8756
  followers?: Collection | URL | null;
8830
8757
  liked?: Collection | URL | null;
8831
8758
  featured?: Collection | URL | null;
8832
- featuredTags?: Collection | URL | null;
8833
8759
  streams?: (Collection | URL)[];
8834
8760
  endpoints?: Endpoints | null;
8835
8761
  discoverable?: boolean | null;
@@ -9032,22 +8958,6 @@ export declare class Service extends Object {
9032
8958
  contextLoader?: DocumentLoader;
9033
8959
  suppressError?: boolean;
9034
8960
  }): Promise<Collection | null>;
9035
- /**
9036
- * Similar to
9037
- * {@link Service.getFeaturedTags},
9038
- * but returns its `@id` URL instead of the object itself.
9039
- */
9040
- get featuredTagsId(): URL | null;
9041
- /** What is known in Mastodon as "featured hashtags", hashtags that are featured
9042
- * at people's profiles, is implemented using an extra property `featuredTags`
9043
- * on the actor object that points to a {@link Collection} of {@link Hashtag}
9044
- * objects specifically.
9045
- */
9046
- getFeaturedTags(options?: {
9047
- documentLoader?: DocumentLoader;
9048
- contextLoader?: DocumentLoader;
9049
- suppressError?: boolean;
9050
- }): Promise<Collection | null>;
9051
8961
  /**
9052
8962
  * Similar to
9053
8963
  * {@link Service.getStreams},