`generateStaticParams` must return an array of parameter objects. Add validation so invalid return values fail with a clear error that identifies `generateStaticParams` and the expected shape. Throw when the returned value is not an array, and throw when any item in the returned array is not an object. Continue accepting an empty parameter object (`{}`) as a valid array item.