I am studying Algebraic Operads with the book Algebraic Operads, by Jean-Louis Loday and Bruno Vallette and I'm having a little problem with the definition of graded vector space. My advisor and I disagree on the definition. The book defines it this way:

my advisor thinks it is equivalent to saying that $V = \bigoplus_{n\in \mathbb{Z}} V_n$. I believe that they are different. In nLab (Graded Vector Spaces) I found the following definition
which strengthens my argument. Finally, who is correct? Can anyone suggest me any other reference about graded vector spaces?