renderFieldsTableHeader function presentation exported ✓ 100.0%

Last updated: 2026-03-04T23:21:38.426Z

Metrics

LOC: 18 Complexity: 3 Params: 2 Coverage: 100.0% (2/2 lines, 3x executed)

Signature

renderFieldsTableHeader( options: FieldsTableOptions = {}, ): : string

Summary

Renders the <thead> row for the detected-fields table.

Source Code

export function renderFieldsTableHeader(
  options: FieldsTableOptions = {},
): string {
  const p = options.prefix ?? "";
  return `
    <thead>
      <tr>
        <th>#</th>
        <th>Tipo</th>
        <th>Método</th>
        <th>Confiança</th>
        <th>ID / Name</th>
        <th>Label</th>
        ${options.showActions !== false ? "<th>Ações</th>" : ""}
      </tr>
    </thead>
  `;
}

No outgoing dependencies.

No incoming dependencies.