import Template from 'template'; import FieldInput from 'template/page/node-details/type/field-input'; import FieldRowTemplate from 'template/page/type-details/field-row'; interface Input { readonly fields: FieldInput[]; } class FieldTableTemplate extends Template { protected getHtml(): string { if (!this.hasFields()) { return this.getEmptyHtml(); } const rows_html = this.getRowsHtml(); return `
| Key | Type |
|---|