Skip to main content
Glama
y-range.d.ts610 B
/** * Defines a range on text using relative positions that can be transformed back to * absolute positions. (https://docs.yjs.dev/api/relative-positions) */ export class YRange { /** * @param {any} json * @return {YRange} */ static fromJSON(json: any): YRange; /** * @param {Y.RelativePosition} yanchor * @param {Y.RelativePosition} yhead */ constructor(yanchor: Y.RelativePosition, yhead: Y.RelativePosition); yanchor: Y.RelativePosition; yhead: Y.RelativePosition; /** * @returns {any} */ toJSON(): any; } import * as Y from "yjs";

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/systeminit/si'

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