Skip to main content
Glama
useAddPasskeySchema.ts376 B
import { useIntlayer } from 'next-intlayer'; import { z } from 'zod'; export const useAddPasskeySchema = () => { const { nameInput } = useIntlayer('add-passkey-schema'); const addPasskeySchema = z.object({ name: z.string().min(1, nameInput.error.value), }); return addPasskeySchema; }; export type AddPasskey = z.infer<ReturnType<typeof useAddPasskeySchema>>;

Latest Blog Posts

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/aymericzip/intlayer'

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