import { EntityId } from "./types" ; interface PostStaticParams { id : EntityId ; } interface PostStaticPath { params : PostStaticParams ; } const staticPostsIdList = [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ] ; export const postPaths = staticPostsIdList . map ( ( id ) => ( { params : { id : String ( id ) } } ) ) ;