Skip to main content
Glama
comment.ts384 B
/** * Comment Formatters * * Comment related formatters */ import type { OutlineComment } from '../types/api.js'; /** Format comments list */ export function formatComments(comments: OutlineComment[]) { return comments.map((c) => ({ id: c.id, data: c.data, createdAt: c.createdAt, createdBy: c.createdBy?.name, parentCommentId: c.parentCommentId, })); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huiseo/outline-smart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server