shelves()->scopes('visible')->get(); return [ 'shelves' => $shelves, ]; } }