UNPKG

@kya-os/mcp-i

Version:

The TypeScript MCP framework with identity features built-in

92 lines (91 loc) 3.23 kB
import { z } from "zod"; export declare const adapterConfigSchema: z.ZodEnum<["express", "nextjs"]>; export type AdapterConfig = z.infer<typeof adapterConfigSchema>; export declare const experimentalConfigSchema: z.ZodObject<{ oauth: z.ZodOptional<z.ZodObject<{ endpoints: z.ZodObject<{ authorizationUrl: z.ZodString; tokenUrl: z.ZodString; revocationUrl: z.ZodOptional<z.ZodString>; userInfoUrl: z.ZodOptional<z.ZodString>; registerUrl: z.ZodString; }, "strip", z.ZodTypeAny, { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }, { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }>; issuerUrl: z.ZodString; baseUrl: z.ZodString; serviceDocumentationUrl: z.ZodOptional<z.ZodString>; pathPrefix: z.ZodDefault<z.ZodString>; defaultScopes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; pathPrefix: string; defaultScopes: string[]; serviceDocumentationUrl?: string | undefined; }, { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; serviceDocumentationUrl?: string | undefined; pathPrefix?: string | undefined; defaultScopes?: string[] | undefined; }>>; adapter: z.ZodOptional<z.ZodEnum<["express", "nextjs"]>>; }, "strip", z.ZodTypeAny, { oauth?: { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; pathPrefix: string; defaultScopes: string[]; serviceDocumentationUrl?: string | undefined; } | undefined; adapter?: "express" | "nextjs" | undefined; }, { oauth?: { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; serviceDocumentationUrl?: string | undefined; pathPrefix?: string | undefined; defaultScopes?: string[] | undefined; } | undefined; adapter?: "express" | "nextjs" | undefined; }>; export type ExperimentalConfig = z.infer<typeof experimentalConfigSchema>;