JSR

method Service.prototype.getFeatured

View code

Service.prototype.getFeatured(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise<Collection | null>

What is known in Mastodon as "pinned statuses", or statuses that are always featured at the top of people's profiles, is implemented using an extra property featured on the actor object that points to a Collection of objects.

Parameters

Return Type

Use with

Deno logo

Deno

Deno logo

Deno

pnpm logo

pnpm

Yarn logo

Yarn

vlt logo

vlt

npm logo

npm

Bun logo

Bun

Add Package

deno add jsr:@fedify/vocab

Import symbol

import { Service } from "@fedify/vocab";

or

Import directly with a jsr specifier

import { Service } from "jsr:@fedify/vocab@^2.3.6";

Document Navigation

Read the original on jsr.io ↗