Genkit JS API reference
    Preparing search index...

    Function annotateSchema

    • Annotates a Zod schema with UI-specific metadata.

      NOTE: It's typically recommended to use x-genkit-* (or similar) as the prefix.

      Type Parameters

      Parameters

      • schema: T
      • annotations: Record<string, any>

      Returns T