/** * Defines any key-value pair in any type of DNS-record * Used for input fields on DNS creator pages */ export class Field { displayName = null; description = null; constructor(key) { this.key = key; } // Virtual methods getInputHtml() { return null; } getInputValue() { return null; } // Builder methods label(label) { this.displayName = label; return this; } desc(description) { this.description = description; return this; } }