@newspapper/core
    Preparing search index...

    Function setPostStatus

    • Move a post between draft and published. Publishing stamps published_at; returning to draft clears it.

      Parameters

      Returns Post | undefined