Loading docs/manual/vocab.md +29 −2 Original line number Diff line number Diff line Loading @@ -90,6 +90,33 @@ the sake of convenience. In such cases, the singular accessors return the first value of the property, while the plural accessors return all values of the property. > [!NOTE] > Some of the properties in Activity Vocabulary have been renamed in Fedify: > > | Original name | Accessor in Fedify | > |------------------------|-----------------------------------| > | [`alsoKnownAs`] | `Actor.getAliases()` | > | [`anyOf`] | `Question.getInclusiveOptions()` | > | [`attributedTo`] | `Object.getAttributions()` | > | [`hreflang`] | `Link.language` | > | [`inReplyTo`] | `Object.getReplyTargets()` | > | [`oneOf`] | `Question.getExclusiveOptions()` | > | [`orderedItems`] | `OrderedCollection.getItems()` | > | [`publicKeyMultibase`] | `Multikey.publicKey` | > | [`publicKeyPem`] | `CryptographicKey.publicKey` | > | [`votersCount`] | `Question.voters` | [`alsoKnownAs`]: https://www.w3.org/TR/did-core/#dfn-alsoknownas [`anyOf`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-anyof [`attributedTo`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto [`hreflang`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-hreflang [`inReplyTo`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto [`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 [`publicKeyPem`]: https://web.archive.org/web/20221218063101/https://web-payments.org/vocabs/security#publicKey [`votersCount`]: https://docs.joinmastodon.org/spec/activitypub/#poll-specific-properties Object IDs and remote objects ----------------------------- Loading src/codegen/__snapshots__/class.test.ts.snap +4 −4 File changed.Contains only whitespace changes. Show changes Loading
docs/manual/vocab.md +29 −2 Original line number Diff line number Diff line Loading @@ -90,6 +90,33 @@ the sake of convenience. In such cases, the singular accessors return the first value of the property, while the plural accessors return all values of the property. > [!NOTE] > Some of the properties in Activity Vocabulary have been renamed in Fedify: > > | Original name | Accessor in Fedify | > |------------------------|-----------------------------------| > | [`alsoKnownAs`] | `Actor.getAliases()` | > | [`anyOf`] | `Question.getInclusiveOptions()` | > | [`attributedTo`] | `Object.getAttributions()` | > | [`hreflang`] | `Link.language` | > | [`inReplyTo`] | `Object.getReplyTargets()` | > | [`oneOf`] | `Question.getExclusiveOptions()` | > | [`orderedItems`] | `OrderedCollection.getItems()` | > | [`publicKeyMultibase`] | `Multikey.publicKey` | > | [`publicKeyPem`] | `CryptographicKey.publicKey` | > | [`votersCount`] | `Question.voters` | [`alsoKnownAs`]: https://www.w3.org/TR/did-core/#dfn-alsoknownas [`anyOf`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-anyof [`attributedTo`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto [`hreflang`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-hreflang [`inReplyTo`]: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto [`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 [`publicKeyPem`]: https://web.archive.org/web/20221218063101/https://web-payments.org/vocabs/security#publicKey [`votersCount`]: https://docs.joinmastodon.org/spec/activitypub/#poll-specific-properties Object IDs and remote objects ----------------------------- Loading
src/codegen/__snapshots__/class.test.ts.snap +4 −4 File changed.Contains only whitespace changes. Show changes