Loading CHANGES.md +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,10 @@ To be released. - Added `Federation.setInboxDispatcher()` method. [[#71]] - Added `Federation.setLikedDispatcher()` method. - Added `Context.getLikedUri()` method. - Added `{ type: "liked"; handle: string }` case to `ParseUriResult` type. - Renamed `linked` property (which was a typo) to `liked` in `Application`, `Group`, `Organization`, `Person`, and `Service` classes. - Frequently used JSON-LD contexts are now preloaded. [[74]] Loading codegen/__snapshots__/class.test.ts.snap +80 −80 File changed.Preview size limit exceeded, changes collapsed. Show changes vocab/__snapshots__/vocab.test.ts.snap +15 −15 Original line number Diff line number Diff line Loading @@ -726,7 +726,7 @@ snapshot[`Deno.inspect(Application) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -775,7 +775,7 @@ snapshot[`Deno.inspect(Application) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -824,7 +824,7 @@ snapshot[`Deno.inspect(Application) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -2328,7 +2328,7 @@ snapshot[`Deno.inspect(Group) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -2377,7 +2377,7 @@ snapshot[`Deno.inspect(Group) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -2426,7 +2426,7 @@ snapshot[`Deno.inspect(Group) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3645,7 +3645,7 @@ snapshot[`Deno.inspect(Organization) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3694,7 +3694,7 @@ snapshot[`Deno.inspect(Organization) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3743,7 +3743,7 @@ snapshot[`Deno.inspect(Organization) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3900,7 +3900,7 @@ snapshot[`Deno.inspect(Person) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3949,7 +3949,7 @@ snapshot[`Deno.inspect(Person) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3998,7 +3998,7 @@ snapshot[`Deno.inspect(Person) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -4713,7 +4713,7 @@ snapshot[`Deno.inspect(Service) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -4762,7 +4762,7 @@ snapshot[`Deno.inspect(Service) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -4811,7 +4811,7 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading vocab/application.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -130,7 +130,7 @@ properties: range: - "https://www.w3.org/ns/activitystreams#Collection" - singularName: linked - singularName: liked functional: true uri: "https://www.w3.org/ns/activitystreams#liked" description: | Loading vocab/group.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -130,7 +130,7 @@ properties: range: - "https://www.w3.org/ns/activitystreams#Collection" - singularName: linked - singularName: liked functional: true uri: "https://www.w3.org/ns/activitystreams#liked" description: | Loading Loading
CHANGES.md +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,10 @@ To be released. - Added `Federation.setInboxDispatcher()` method. [[#71]] - Added `Federation.setLikedDispatcher()` method. - Added `Context.getLikedUri()` method. - Added `{ type: "liked"; handle: string }` case to `ParseUriResult` type. - Renamed `linked` property (which was a typo) to `liked` in `Application`, `Group`, `Organization`, `Person`, and `Service` classes. - Frequently used JSON-LD contexts are now preloaded. [[74]] Loading
codegen/__snapshots__/class.test.ts.snap +80 −80 File changed.Preview size limit exceeded, changes collapsed. Show changes
vocab/__snapshots__/vocab.test.ts.snap +15 −15 Original line number Diff line number Diff line Loading @@ -726,7 +726,7 @@ snapshot[`Deno.inspect(Application) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -775,7 +775,7 @@ snapshot[`Deno.inspect(Application) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -824,7 +824,7 @@ snapshot[`Deno.inspect(Application) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -2328,7 +2328,7 @@ snapshot[`Deno.inspect(Group) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -2377,7 +2377,7 @@ snapshot[`Deno.inspect(Group) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -2426,7 +2426,7 @@ snapshot[`Deno.inspect(Group) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3645,7 +3645,7 @@ snapshot[`Deno.inspect(Organization) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3694,7 +3694,7 @@ snapshot[`Deno.inspect(Organization) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3743,7 +3743,7 @@ snapshot[`Deno.inspect(Organization) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3900,7 +3900,7 @@ snapshot[`Deno.inspect(Person) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3949,7 +3949,7 @@ snapshot[`Deno.inspect(Person) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -3998,7 +3998,7 @@ snapshot[`Deno.inspect(Person) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -4713,7 +4713,7 @@ snapshot[`Deno.inspect(Service) [auto] 1`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -4762,7 +4762,7 @@ snapshot[`Deno.inspect(Service) [auto] 2`] = ` outbox: URL "https://example.com/", following: URL "https://example.com/", followers: URL "https://example.com/", linked: URL "https://example.com/", liked: URL "https://example.com/", streams: [ URL "https://example.com/" ], endpoints: Endpoints {}, discoverable: true, Loading Loading @@ -4811,7 +4811,7 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = ` outbox: OrderedCollection {}, following: Collection {}, followers: Collection {}, linked: Collection {}, liked: Collection {}, streams: [ Collection {}, Collection {} ], endpoints: Endpoints {}, discoverable: true, Loading
vocab/application.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -130,7 +130,7 @@ properties: range: - "https://www.w3.org/ns/activitystreams#Collection" - singularName: linked - singularName: liked functional: true uri: "https://www.w3.org/ns/activitystreams#liked" description: | Loading
vocab/group.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -130,7 +130,7 @@ properties: range: - "https://www.w3.org/ns/activitystreams#Collection" - singularName: linked - singularName: liked functional: true uri: "https://www.w3.org/ns/activitystreams#liked" description: | Loading