export function makeSkeletonPage(definition) {
  return {
    ...definition,
    status: definition.status || "skeleton",
    render() {
      return {
        type: "skeleton-page",
        title: definition.title,
        routePath: definition.routePath,
        moduleId: definition.moduleId,
        featureKey: definition.featureKey,
        notes: definition.notes || [],
      };
    },
  };
}
