Sanity Library Reference Docs
    Preparing search index...
    • The Content Release names a perspective pins, in stack order. A perspective array's drafts, published, and raw entries are not releases and are left out; a string perspective or undefined pins none and returns [].

      Parameters

      Returns readonly string[]

      perspectiveReleaseNames(['spring-launch', 'published']) // ['spring-launch']
      perspectiveReleaseNames('drafts') // []