Mpves the `postList` type to a separate file