Loading CHANGES.md +19 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,25 @@ To be released. - Added `EmojiReact` class to Activity Vocabulary API. [[FEP-c0e0]] - Added `successor` property to the `Actor` types in the Activity Vocabulary API. - Added `Application.successor` property. - `new Application()` constructor now accepts `successor` option. - `Application.clone()` method now accepts `successor` option. - Added `Group.successor` property. - `new Group()` constructor now accepts `successor` option. - `Group.clone()` method now accepts `successor` option. - Added `Organization.successor` property. - `new Organization()` constructor now accepts `successor` option. - `Organization.clone()` method now accepts `successor` option. - Added `Person.successor` property. - `new Person()` constructor now accepts `successor` option. - `Person.clone()` method now accepts `successor` option. - Added `Service.successor` property. - `new Service()` constructor now accepts `successor` option. - `Service.clone()` method now accepts `successor` option. - Added `DidService` class to Activity Vocabulary API. [[FEP-9091], [#146]] Loading docs/manual/vocab.md +2 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ property. > | [`hreflang`] | `Link.language` | > | [`inReplyTo`] | `Object.getReplyTargets()` | > | [`isCat`] | `Application.cat`/`Group.cat`/`Organization.cat`/`Person.cat`/`Service.cat` | > | [`movedTo`] | `Application.successor`/`Group.successor`/`Organization.successor`/`Person.successor`/`Service.successor` | > | [`oneOf`] | `Question.getExclusiveOptions()` | > | [`orderedItems`] | `OrderedCollection.getItems()` | > | [`publicKeyMultibase`] | `Multikey.publicKey` | Loading @@ -111,6 +112,7 @@ property. [`hreflang`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-hreflang [`inReplyTo`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto [`isCat`]: https://misskey-hub.net/ns#iscat [`movedTo`]: https://swicg.github.io/miscellany/#movedTo [`oneOf`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-oneof [`orderedItems`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-items [`publicKeyMultibase`]: https://www.w3.org/TR/controller-document/#dfn-publickeymultibase Loading src/codegen/__snapshots__/class.test.ts.snap +1255 −20 File changed.Preview size limit exceeded, changes collapsed. Show changes src/federation/handler.test.ts +8 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,10 @@ test("handleActor()", async () => { "@type": "@id", }, manuallyApprovesFollowers: "as:manuallyApprovesFollowers", movedTo: { "@id": "as:movedTo", "@type": "@id", }, featured: { "@id": "toot:featured", "@type": "@id", Loading Loading @@ -290,6 +294,10 @@ test("handleActor()", async () => { "@type": "@id", }, manuallyApprovesFollowers: "as:manuallyApprovesFollowers", movedTo: { "@id": "as:movedTo", "@type": "@id", }, featured: { "@id": "toot:featured", "@type": "@id", Loading src/vocab/__snapshots__/vocab.test.ts.snap +15 −0 Original line number Diff line number Diff line Loading @@ -1051,6 +1051,7 @@ snapshot[`Deno.inspect(Application) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -1106,6 +1107,7 @@ snapshot[`Deno.inspect(Application) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -1161,6 +1163,7 @@ snapshot[`Deno.inspect(Application) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -2797,6 +2800,7 @@ snapshot[`Deno.inspect(Group) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -2852,6 +2856,7 @@ snapshot[`Deno.inspect(Group) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -2907,6 +2912,7 @@ snapshot[`Deno.inspect(Group) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -4825,6 +4831,7 @@ snapshot[`Deno.inspect(Organization) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -4880,6 +4887,7 @@ snapshot[`Deno.inspect(Organization) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -4935,6 +4943,7 @@ snapshot[`Deno.inspect(Organization) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -5101,6 +5110,7 @@ snapshot[`Deno.inspect(Person) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -5156,6 +5166,7 @@ snapshot[`Deno.inspect(Person) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -5211,6 +5222,7 @@ snapshot[`Deno.inspect(Person) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -6118,6 +6130,7 @@ snapshot[`Deno.inspect(Service) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -6173,6 +6186,7 @@ snapshot[`Deno.inspect(Service) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -6228,6 +6242,7 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading
CHANGES.md +19 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,25 @@ To be released. - Added `EmojiReact` class to Activity Vocabulary API. [[FEP-c0e0]] - Added `successor` property to the `Actor` types in the Activity Vocabulary API. - Added `Application.successor` property. - `new Application()` constructor now accepts `successor` option. - `Application.clone()` method now accepts `successor` option. - Added `Group.successor` property. - `new Group()` constructor now accepts `successor` option. - `Group.clone()` method now accepts `successor` option. - Added `Organization.successor` property. - `new Organization()` constructor now accepts `successor` option. - `Organization.clone()` method now accepts `successor` option. - Added `Person.successor` property. - `new Person()` constructor now accepts `successor` option. - `Person.clone()` method now accepts `successor` option. - Added `Service.successor` property. - `new Service()` constructor now accepts `successor` option. - `Service.clone()` method now accepts `successor` option. - Added `DidService` class to Activity Vocabulary API. [[FEP-9091], [#146]] Loading
docs/manual/vocab.md +2 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,7 @@ property. > | [`hreflang`] | `Link.language` | > | [`inReplyTo`] | `Object.getReplyTargets()` | > | [`isCat`] | `Application.cat`/`Group.cat`/`Organization.cat`/`Person.cat`/`Service.cat` | > | [`movedTo`] | `Application.successor`/`Group.successor`/`Organization.successor`/`Person.successor`/`Service.successor` | > | [`oneOf`] | `Question.getExclusiveOptions()` | > | [`orderedItems`] | `OrderedCollection.getItems()` | > | [`publicKeyMultibase`] | `Multikey.publicKey` | Loading @@ -111,6 +112,7 @@ property. [`hreflang`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-hreflang [`inReplyTo`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto [`isCat`]: https://misskey-hub.net/ns#iscat [`movedTo`]: https://swicg.github.io/miscellany/#movedTo [`oneOf`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-oneof [`orderedItems`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-items [`publicKeyMultibase`]: https://www.w3.org/TR/controller-document/#dfn-publickeymultibase Loading
src/codegen/__snapshots__/class.test.ts.snap +1255 −20 File changed.Preview size limit exceeded, changes collapsed. Show changes
src/federation/handler.test.ts +8 −0 Original line number Diff line number Diff line Loading @@ -190,6 +190,10 @@ test("handleActor()", async () => { "@type": "@id", }, manuallyApprovesFollowers: "as:manuallyApprovesFollowers", movedTo: { "@id": "as:movedTo", "@type": "@id", }, featured: { "@id": "toot:featured", "@type": "@id", Loading Loading @@ -290,6 +294,10 @@ test("handleActor()", async () => { "@type": "@id", }, manuallyApprovesFollowers: "as:manuallyApprovesFollowers", movedTo: { "@id": "as:movedTo", "@type": "@id", }, featured: { "@id": "toot:featured", "@type": "@id", Loading
src/vocab/__snapshots__/vocab.test.ts.snap +15 −0 Original line number Diff line number Diff line Loading @@ -1051,6 +1051,7 @@ snapshot[`Deno.inspect(Application) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -1106,6 +1107,7 @@ snapshot[`Deno.inspect(Application) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -1161,6 +1163,7 @@ snapshot[`Deno.inspect(Application) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -2797,6 +2800,7 @@ snapshot[`Deno.inspect(Group) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -2852,6 +2856,7 @@ snapshot[`Deno.inspect(Group) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -2907,6 +2912,7 @@ snapshot[`Deno.inspect(Group) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -4825,6 +4831,7 @@ snapshot[`Deno.inspect(Organization) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -4880,6 +4887,7 @@ snapshot[`Deno.inspect(Organization) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -4935,6 +4943,7 @@ snapshot[`Deno.inspect(Organization) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -5101,6 +5110,7 @@ snapshot[`Deno.inspect(Person) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -5156,6 +5166,7 @@ snapshot[`Deno.inspect(Person) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -5211,6 +5222,7 @@ snapshot[`Deno.inspect(Person) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading Loading @@ -6118,6 +6130,7 @@ snapshot[`Deno.inspect(Service) [auto] 1`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], service: DidService {}, cat: true Loading Loading @@ -6173,6 +6186,7 @@ snapshot[`Deno.inspect(Service) [auto] 2`] = ` suspended: true, memorial: true, indexable: true, successor: URL "https://example.com/", alias: URL "https://example.com/", service: URL "https://example.com/", cat: true Loading Loading @@ -6228,6 +6242,7 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = ` suspended: true, memorial: true, indexable: true, successor: Application {}, aliases: [ Application {}, Application {} ], services: [ DidService {}, DidService {} ], cat: true Loading