next.js
7d855e2e - Name the build-time generator work-unit context independently of gSP

Commit
52 days ago
Name the build-time generator work-unit context independently of gSP Rename GenerateStaticParamsStore to BuildTimeGeneratorStore and its internal discriminant from generate-static-params to build-time-generator. Update every exhaustive consumer without changing its behavior, fields, or error messages. generateStaticParams remains the only producer in this commit. Naming the context for its capabilities lets other build-time generators reuse the same cache/request restrictions rather than adding a function-specific store and duplicating every switch. Function-specific contexts can be introduced later if their actual requirements diverge. Verified that all 37 changed files differ only by the two renames. The full build/type checks pass, as do the five existing gSP root-parameter success/error tests and the existing static-HTML assertion that exercises cached gSP helpers.
Author
Parents
Loading