@fedify/fedify 0.11.0-dev.238 → 0.11.0-dev.240
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +4 -0
- package/esm/federation/middleware.js +13 -0
- package/esm/vocab/application.yaml +1 -1
- package/esm/vocab/group.yaml +1 -1
- package/esm/vocab/organization.yaml +1 -1
- package/esm/vocab/person.yaml +1 -1
- package/esm/vocab/service.yaml +1 -1
- package/esm/vocab/vocab.js +70 -70
- package/package.json +1 -1
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +25 -25
- package/types/vocab/vocab.d.ts.map +1 -1
package/types/vocab/vocab.d.ts
CHANGED
@@ -1826,7 +1826,7 @@ export declare class Application extends Object {
|
|
1826
1826
|
outbox?: OrderedCollection | URL | null;
|
1827
1827
|
following?: Collection | URL | null;
|
1828
1828
|
followers?: Collection | URL | null;
|
1829
|
-
|
1829
|
+
liked?: Collection | URL | null;
|
1830
1830
|
streams?: (Collection | URL)[];
|
1831
1831
|
endpoints?: Endpoints | null;
|
1832
1832
|
discoverable?: boolean | null;
|
@@ -1900,7 +1900,7 @@ export declare class Application extends Object {
|
|
1900
1900
|
outbox?: OrderedCollection | URL | null;
|
1901
1901
|
following?: Collection | URL | null;
|
1902
1902
|
followers?: Collection | URL | null;
|
1903
|
-
|
1903
|
+
liked?: Collection | URL | null;
|
1904
1904
|
streams?: (Collection | URL)[];
|
1905
1905
|
endpoints?: Endpoints | null;
|
1906
1906
|
discoverable?: boolean | null;
|
@@ -2071,10 +2071,10 @@ export declare class Application extends Object {
|
|
2071
2071
|
}): Promise<Collection | null>;
|
2072
2072
|
/**
|
2073
2073
|
* Similar to
|
2074
|
-
* {@link Application.
|
2074
|
+
* {@link Application.getLiked},
|
2075
2075
|
* but returns its `@id` URL instead of the object itself.
|
2076
2076
|
*/
|
2077
|
-
get
|
2077
|
+
get likedId(): URL | null;
|
2078
2078
|
/** This is a list of every object from all of the actor's {@link Like}
|
2079
2079
|
* activities, added as a
|
2080
2080
|
* [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
|
@@ -2082,7 +2082,7 @@ export declare class Application extends Object {
|
|
2082
2082
|
* a {@link Collection} and MAY be filtered on privileges of an authenticated
|
2083
2083
|
* user or as appropriate when no authentication is given.
|
2084
2084
|
*/
|
2085
|
-
|
2085
|
+
getLiked(options?: {
|
2086
2086
|
documentLoader?: DocumentLoader;
|
2087
2087
|
contextLoader?: DocumentLoader;
|
2088
2088
|
suppressError?: boolean;
|
@@ -4644,7 +4644,7 @@ export declare class Group extends Object {
|
|
4644
4644
|
outbox?: OrderedCollection | URL | null;
|
4645
4645
|
following?: Collection | URL | null;
|
4646
4646
|
followers?: Collection | URL | null;
|
4647
|
-
|
4647
|
+
liked?: Collection | URL | null;
|
4648
4648
|
streams?: (Collection | URL)[];
|
4649
4649
|
endpoints?: Endpoints | null;
|
4650
4650
|
discoverable?: boolean | null;
|
@@ -4718,7 +4718,7 @@ export declare class Group extends Object {
|
|
4718
4718
|
outbox?: OrderedCollection | URL | null;
|
4719
4719
|
following?: Collection | URL | null;
|
4720
4720
|
followers?: Collection | URL | null;
|
4721
|
-
|
4721
|
+
liked?: Collection | URL | null;
|
4722
4722
|
streams?: (Collection | URL)[];
|
4723
4723
|
endpoints?: Endpoints | null;
|
4724
4724
|
discoverable?: boolean | null;
|
@@ -4889,10 +4889,10 @@ export declare class Group extends Object {
|
|
4889
4889
|
}): Promise<Collection | null>;
|
4890
4890
|
/**
|
4891
4891
|
* Similar to
|
4892
|
-
* {@link Group.
|
4892
|
+
* {@link Group.getLiked},
|
4893
4893
|
* but returns its `@id` URL instead of the object itself.
|
4894
4894
|
*/
|
4895
|
-
get
|
4895
|
+
get likedId(): URL | null;
|
4896
4896
|
/** This is a list of every object from all of the actor's {@link Like}
|
4897
4897
|
* activities, added as a
|
4898
4898
|
* [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
|
@@ -4900,7 +4900,7 @@ export declare class Group extends Object {
|
|
4900
4900
|
* a {@link Collection} and MAY be filtered on privileges of an authenticated
|
4901
4901
|
* user or as appropriate when no authentication is given.
|
4902
4902
|
*/
|
4903
|
-
|
4903
|
+
getLiked(options?: {
|
4904
4904
|
documentLoader?: DocumentLoader;
|
4905
4905
|
contextLoader?: DocumentLoader;
|
4906
4906
|
suppressError?: boolean;
|
@@ -6209,7 +6209,7 @@ export declare class Organization extends Object {
|
|
6209
6209
|
outbox?: OrderedCollection | URL | null;
|
6210
6210
|
following?: Collection | URL | null;
|
6211
6211
|
followers?: Collection | URL | null;
|
6212
|
-
|
6212
|
+
liked?: Collection | URL | null;
|
6213
6213
|
streams?: (Collection | URL)[];
|
6214
6214
|
endpoints?: Endpoints | null;
|
6215
6215
|
discoverable?: boolean | null;
|
@@ -6283,7 +6283,7 @@ export declare class Organization extends Object {
|
|
6283
6283
|
outbox?: OrderedCollection | URL | null;
|
6284
6284
|
following?: Collection | URL | null;
|
6285
6285
|
followers?: Collection | URL | null;
|
6286
|
-
|
6286
|
+
liked?: Collection | URL | null;
|
6287
6287
|
streams?: (Collection | URL)[];
|
6288
6288
|
endpoints?: Endpoints | null;
|
6289
6289
|
discoverable?: boolean | null;
|
@@ -6454,10 +6454,10 @@ export declare class Organization extends Object {
|
|
6454
6454
|
}): Promise<Collection | null>;
|
6455
6455
|
/**
|
6456
6456
|
* Similar to
|
6457
|
-
* {@link Organization.
|
6457
|
+
* {@link Organization.getLiked},
|
6458
6458
|
* but returns its `@id` URL instead of the object itself.
|
6459
6459
|
*/
|
6460
|
-
get
|
6460
|
+
get likedId(): URL | null;
|
6461
6461
|
/** This is a list of every object from all of the actor's {@link Like}
|
6462
6462
|
* activities, added as a
|
6463
6463
|
* [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
|
@@ -6465,7 +6465,7 @@ export declare class Organization extends Object {
|
|
6465
6465
|
* a {@link Collection} and MAY be filtered on privileges of an authenticated
|
6466
6466
|
* user or as appropriate when no authentication is given.
|
6467
6467
|
*/
|
6468
|
-
|
6468
|
+
getLiked(options?: {
|
6469
6469
|
documentLoader?: DocumentLoader;
|
6470
6470
|
contextLoader?: DocumentLoader;
|
6471
6471
|
suppressError?: boolean;
|
@@ -6739,7 +6739,7 @@ export declare class Person extends Object {
|
|
6739
6739
|
outbox?: OrderedCollection | URL | null;
|
6740
6740
|
following?: Collection | URL | null;
|
6741
6741
|
followers?: Collection | URL | null;
|
6742
|
-
|
6742
|
+
liked?: Collection | URL | null;
|
6743
6743
|
streams?: (Collection | URL)[];
|
6744
6744
|
endpoints?: Endpoints | null;
|
6745
6745
|
discoverable?: boolean | null;
|
@@ -6813,7 +6813,7 @@ export declare class Person extends Object {
|
|
6813
6813
|
outbox?: OrderedCollection | URL | null;
|
6814
6814
|
following?: Collection | URL | null;
|
6815
6815
|
followers?: Collection | URL | null;
|
6816
|
-
|
6816
|
+
liked?: Collection | URL | null;
|
6817
6817
|
streams?: (Collection | URL)[];
|
6818
6818
|
endpoints?: Endpoints | null;
|
6819
6819
|
discoverable?: boolean | null;
|
@@ -6984,10 +6984,10 @@ export declare class Person extends Object {
|
|
6984
6984
|
}): Promise<Collection | null>;
|
6985
6985
|
/**
|
6986
6986
|
* Similar to
|
6987
|
-
* {@link Person.
|
6987
|
+
* {@link Person.getLiked},
|
6988
6988
|
* but returns its `@id` URL instead of the object itself.
|
6989
6989
|
*/
|
6990
|
-
get
|
6990
|
+
get likedId(): URL | null;
|
6991
6991
|
/** This is a list of every object from all of the actor's {@link Like}
|
6992
6992
|
* activities, added as a
|
6993
6993
|
* [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
|
@@ -6995,7 +6995,7 @@ export declare class Person extends Object {
|
|
6995
6995
|
* a {@link Collection} and MAY be filtered on privileges of an authenticated
|
6996
6996
|
* user or as appropriate when no authentication is given.
|
6997
6997
|
*/
|
6998
|
-
|
6998
|
+
getLiked(options?: {
|
6999
6999
|
documentLoader?: DocumentLoader;
|
7000
7000
|
contextLoader?: DocumentLoader;
|
7001
7001
|
suppressError?: boolean;
|
@@ -8178,7 +8178,7 @@ export declare class Service extends Object {
|
|
8178
8178
|
outbox?: OrderedCollection | URL | null;
|
8179
8179
|
following?: Collection | URL | null;
|
8180
8180
|
followers?: Collection | URL | null;
|
8181
|
-
|
8181
|
+
liked?: Collection | URL | null;
|
8182
8182
|
streams?: (Collection | URL)[];
|
8183
8183
|
endpoints?: Endpoints | null;
|
8184
8184
|
discoverable?: boolean | null;
|
@@ -8252,7 +8252,7 @@ export declare class Service extends Object {
|
|
8252
8252
|
outbox?: OrderedCollection | URL | null;
|
8253
8253
|
following?: Collection | URL | null;
|
8254
8254
|
followers?: Collection | URL | null;
|
8255
|
-
|
8255
|
+
liked?: Collection | URL | null;
|
8256
8256
|
streams?: (Collection | URL)[];
|
8257
8257
|
endpoints?: Endpoints | null;
|
8258
8258
|
discoverable?: boolean | null;
|
@@ -8423,10 +8423,10 @@ export declare class Service extends Object {
|
|
8423
8423
|
}): Promise<Collection | null>;
|
8424
8424
|
/**
|
8425
8425
|
* Similar to
|
8426
|
-
* {@link Service.
|
8426
|
+
* {@link Service.getLiked},
|
8427
8427
|
* but returns its `@id` URL instead of the object itself.
|
8428
8428
|
*/
|
8429
|
-
get
|
8429
|
+
get likedId(): URL | null;
|
8430
8430
|
/** This is a list of every object from all of the actor's {@link Like}
|
8431
8431
|
* activities, added as a
|
8432
8432
|
* [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
|
@@ -8434,7 +8434,7 @@ export declare class Service extends Object {
|
|
8434
8434
|
* a {@link Collection} and MAY be filtered on privileges of an authenticated
|
8435
8435
|
* user or as appropriate when no authentication is given.
|
8436
8436
|
*/
|
8437
|
-
|
8437
|
+
getLiked(options?: {
|
8438
8438
|
documentLoader?: DocumentLoader;
|
8439
8439
|
contextLoader?: DocumentLoader;
|
8440
8440
|
suppressError?: boolean;
|