/* eslint-disable @typescript-eslint/no-explicit-any */ //TODO: CI-1975 reset any types to something better, requires some digging // Remove this helper when we no longer need to handle incoming WordPress events. const normalisePost = (post: any) => { if (post && !post.id && post.postId) { post.id = post.postId } return post } export { normalisePost }