@fedify/fedify 0.11.0-dev.237 → 0.11.0-dev.239
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +9 -1
- package/esm/federation/middleware.js +66 -1
- 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/context.d.ts +16 -0
- package/types/federation/context.d.ts.map +1 -1
- package/types/federation/middleware.d.ts +14 -1
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/testing/context.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +25 -25
- package/types/vocab/vocab.d.ts.map +1 -1
@@ -3,7 +3,7 @@
|
|
3
3
|
import * as dntShim from "../_dnt.shims.js";
|
4
4
|
import { type AuthenticatedDocumentLoaderFactory, type DocumentLoader } from "../runtime/docloader.js";
|
5
5
|
import type { Actor, Recipient } from "../vocab/actor.js";
|
6
|
-
import { Activity, type Object } from "../vocab/
|
6
|
+
import { Activity, type Like, type Object } from "../vocab/vocab.js";
|
7
7
|
import type { ActorDispatcher, ActorKeyPairDispatcher, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
|
8
8
|
import type { Context, RequestContext, SendActivityOptions } from "./context.js";
|
9
9
|
import type { KvKey, KvStore } from "./kv.js";
|
@@ -372,6 +372,19 @@ export declare class Federation<TContextData> {
|
|
372
372
|
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
373
373
|
*/
|
374
374
|
setFollowersDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Recipient, TContextData, URL>): CollectionCallbackSetters<TContextData, URL>;
|
375
|
+
/**
|
376
|
+
* Registers a liked collection dispatcher.
|
377
|
+
* @param path The URI path pattern for the liked collection. The syntax
|
378
|
+
* is based on URI Template
|
379
|
+
* ([RFC 6570](https://tools.ietf.org/html/rfc6570)). The path
|
380
|
+
* must have one variable: `{handle}`.
|
381
|
+
* @param dispatcher A liked collection callback to register.
|
382
|
+
* @returns An object with methods to set other liked collection
|
383
|
+
* callbacks.
|
384
|
+
* @throws {@link RouterError} Thrown if the path pattern is invalid.
|
385
|
+
* @since 0.11.0
|
386
|
+
*/
|
387
|
+
setLikedDispatcher(path: `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Like, TContextData, void>): CollectionCallbackSetters<TContextData, void>;
|
375
388
|
/**
|
376
389
|
* Assigns the URL path for the inbox and starts setting inbox listeners.
|
377
390
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAIpB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EACL,QAAQ,
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAIpB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EACL,QAAQ,EAER,KAAK,IAAI,EAET,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,g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AAoB,CAAC,YAAY,CAAC,CAAC;IAEtC;;;;;;;;OAQG;IACH,sBAAsB,CACpB,UAAU,EAAE,wBAAwB,CAAC,YAAY,CAAC,GACjD,oBAAoB,CAAC,YAAY,CAAC,CAAC;CACvC;AAED,UAAU,2BAA4B,SAAQ,mBAAmB;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/testing/context.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAKxE,wBAAgB,aAAa,CAAC,YAAY,EACxC,EACE,IAAI,EACJ,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,YAAY,GACb,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACzD,OAAO,CAAC,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/testing/context.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAKxE,wBAAgB,aAAa,CAAC,YAAY,EACxC,EACE,IAAI,EACJ,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,YAAY,GACb,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACzD,OAAO,CAAC,YAAY,CAAC,CA0DvB;AAED,wBAAgB,oBAAoB,CAAC,YAAY,EAC/C,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,GAAG;IAC5C,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,YAAY,CAAC;CACpB,GACA,cAAc,CAAC,YAAY,CAAC,CAa9B"}
|
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;
|