videosphere
    Preparing search index...

    Function parseLivestreamTargetsFromRequestBody

    • Validate targets from POST/PATCH body: non-empty, livestream platforms only.

      Parameters

      • value: unknown

        Raw targets array from a request body.

      Returns { ok: true; value: ConnectedAccountPlatform[] } | { ok: false; error: string }

      Parsed targets or a validation error message.