Skip to main content
Glama

YCloud WhatsApp API MCP Server

limitNumberExclusive.ts663 B
import type { CodeKeywordDefinition, // ErrorObject, KeywordCxt, // KeywordErrorDefinition, } from "ajv/dist/core" import {LimitKwd, ExclusiveLimitKwd} from "./limitNumber" const KWDs: {[K in ExclusiveLimitKwd]: LimitKwd} = { exclusiveMaximum: "maximum", exclusiveMinimum: "minimum", } const def: CodeKeywordDefinition = { keyword: Object.keys(KWDs), type: "number", schemaType: "boolean", code({keyword, parentSchema}: KeywordCxt) { const limitKwd = KWDs[keyword as ExclusiveLimitKwd] if (parentSchema[limitKwd] === undefined) { throw new Error(`${keyword} can only be used with ${limitKwd}`) } }, } export default def

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/YCloud-Developers/ycloud-whatsapp-mcp-server'

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