Skip to main content
Glama
collection.ts471 B
/** * Collection Formatters * * Collection related formatters */ import type { OutlineCollection } from '../types/api.js'; /** Format collections list */ export function formatCollections(collections: OutlineCollection[]) { return collections.map((col) => ({ id: col.id, name: col.name, description: col.description, color: col.color, documentCount: col.documentCount ?? 0, createdAt: col.createdAt, updatedAt: col.updatedAt, })); }

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