Skip to main content
Glama

Memory Bank MCP Server

by yywdandan
SchemaMapOptions.js1.11 kB
'use strict'; const SchemaTypeOptions = require('./SchemaTypeOptions'); /** * The options defined on a Map schematype. * * #### Example: * * const schema = new Schema({ socialMediaHandles: { type: Map, of: String } }); * schema.path('socialMediaHandles').options; // SchemaMapOptions instance * * @api public * @inherits SchemaTypeOptions * @constructor SchemaMapOptions */ class SchemaMapOptions extends SchemaTypeOptions {} const opts = require('./propertyOptions'); /** * If set, specifies the type of this map's values. Mongoose will cast * this map's values to the given type. * * If not set, Mongoose will not cast the map's values. * * #### Example: * * // Mongoose will cast `socialMediaHandles` values to strings * const schema = new Schema({ socialMediaHandles: { type: Map, of: String } }); * schema.path('socialMediaHandles').options.of; // String * * @api public * @property of * @memberOf SchemaMapOptions * @type {Function|string} * @instance */ Object.defineProperty(SchemaMapOptions.prototype, 'of', opts); module.exports = SchemaMapOptions;

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/yywdandan/memory-bank-mcp-server'

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