UNPKG

@kya-os/mcp-i

Version:

The TypeScript MCP framework with identity features built-in

17 lines (16 loc) 799 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.experimentalConfigSchema = exports.adapterConfigSchema = void 0; const zod_1 = require("zod"); const oauth_1 = require("./oauth"); // ------------------------------------------------------------ // Adapter config schema (perhaps a separate file but it's small yet) // ------------------------------------------------------------ exports.adapterConfigSchema = zod_1.z.enum(["express", "nextjs"]); // ------------------------------------------------------------ // Experimental features schema // ------------------------------------------------------------ exports.experimentalConfigSchema = zod_1.z.object({ oauth: oauth_1.oauthConfigSchema.optional(), adapter: exports.adapterConfigSchema.optional(), });