This release is 2 versions behind 1.10.0 — the latest version of @fedify/fedify. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score94%•This package works with Node.js, Deno, Bun


Downloads42/wk
•Published2 months ago (1.9.1)
An ActivityPub/fediverse server framework
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667/** * Describes a resource. See also * [RFC 7033 section 4.4](https://datatracker.ietf.org/doc/html/rfc7033#section-4.4). */ export interface ResourceDescriptor { /** * A URI that identifies the entity that this descriptor describes. */ subject?: string; /** * URIs that identify the same entity as the `subject`. */ aliases?: string[]; /** * Conveys additional information about the `subject` of this descriptor. */ properties?: Record<string, string>; /** * Links to other resources. */ links?: Link[]; } /** * Represents a link. See also * [RFC 7033 section 4.4.4](https://datatracker.ietf.org/doc/html/rfc7033#section-4.4.4). */ export interface Link { /** * The link's relation type, which is either a URI or a registered relation * type (see [RFC 5988](https://datatracker.ietf.org/doc/html/rfc5988)). */ rel: string; /** * The media type of the target resource (see * [RFC 6838](https://datatracker.ietf.org/doc/html/rfc6838)). */ type?: string; /** * A URI pointing to the target resource. */ href?: string; /** * Human-readable titles describing the link relation. If the language is * unknown or unspecified, the key is `"und"`. */ titles?: Record<string, string>; /** * Conveys additional information about the link relation. */ properties?: Record<string, string>; /** * A URI Template (RFC 6570) that can be used to construct URIs by * substituting variables. Used primarily for subscription endpoints * where parameters like account URIs need to be dynamically inserted. * @since 1.9.0 */ template?: string; }