What is the max lineItems & shippingLines amout?

I’m trying to make an app with graphql and i was wondering what would happen if a client order more than the amount i’ve put in for exemple lineItems(first:10) and the client orders 50products.Is there is anyway to make that number dynamic ?