We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
id.ts•528 B
import type { Generic } from 'adopted-style-sheets';
import { watchString } from '../utils';
/* types */
export type IdPropType = string;
/**
* Defines the internal ID of the primary component element.
* @deprecated Will be removed in the next major version.
*/
export type PropId = {
id: IdPropType;
};
/* validator */
/** @deprecated Will be removed in the next major version. */
export const validateId = (component: Generic.Element.Component, value?: IdPropType): void => {
watchString(component, '_id', value);
};