videosphere
    Preparing search index...

    Function parseScheduledStartTimeFromRequestBody

    • Validates optional scheduledStartTime from POST/PATCH JSON. null or empty string clears the stored value; omitted fields are handled by callers.

      Parameters

      • value: unknown

        Raw scheduledStartTime from a request body.

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

      Normalized ISO timestamp, null to clear, or a validation error message.