coldbydefault-portfolio
    Preparing search index...

    Function parseSiteAction

    • Reads a tool part back as a site action, or null when it is not one. The server has already validated the input with zod; this repeats the check against the same allowlists without shipping zod to the browser, and gives the client a typed action to run or label.

      Parameters

      • name: string
      • input: unknown

      Returns SiteAction | null