Files
oh-my-opencode/src/features/mcp-oauth/schema.ts
T

9 lines
201 B
TypeScript
Raw Normal View History

import { z } from "zod"
export const McpOauthSchema = z.object({
clientId: z.string().optional(),
scopes: z.array(z.string()).optional(),
})
export type McpOauth = z.infer<typeof McpOauthSchema>