Activity.prototype.getObject(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise<Object | null>
When used within an Activity, describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added.
Parameters
Return Type
Use with
Deno
Deno
pnpm
Yarn
vlt
npm
Bun
Add Package
deno add jsr:@fedify/vocab
Import symbol
import { Activity } from "@fedify/vocab";
or
Import directly with a jsr specifier
import { Activity } from "jsr:@fedify/vocab@^2.3.6";