[]previous and next page

OpenGraph

The Open Graph block.

The Open Graph block. Each type takes its own fields (article:published_time for an article, and so on). Without a type the block is written as the generic Open Graph fields.

Import#

ts
import type { OpenGraph } from "@shadow-js/dusk";

Signature#

ts
type OpenGraph =
  | OpenGraphWebsite
  | OpenGraphArticle
  | OpenGraphBook
  | OpenGraphProfile
  | OpenGraphMusicSong
  | OpenGraphMusicAlbum
  | OpenGraphMusicPlaylist
  | OpenGraphMusicRadioStation
  | OpenGraphVideoMovie
  | OpenGraphVideoEpisode
  | OpenGraphVideoTvShow
  | OpenGraphVideoOther
  | (OpenGraphBase & { readonly type?: undefined })