videosphere
    Preparing search index...

    Function isLivestreamThumbnailPendingKeyForUser

    • Returns whether key is a pending livestream thumbnail for the given user and livestream.

      Parameters

      • key: string

        R2 object key to validate.

      • userId: string

        Expected owner user id.

      • livestreamId: string

        Expected livestream row id.

      Returns boolean

      True when the key is under the user's pending prefix for this livestream.