import Template from 'template'; import PermissionNode from 'type/node/permission'; import getNodeParameters from 'utility/get-node-parameters'; interface Input { readonly permissions: PermissionNode[]; } class PermissionsTableTemplate extends Template { protected getHtml(): string { if (!this.hasPermissions()) { return this.getEmptyHtml(); } const permission_rows_html = this.getPermissionRowsHtml(); return `
| Group | Action type |
|---|