/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Represents a form field configuration for Smart Paste. */ export interface SmartPasteFormField { /** * Sets the name or identifier of the form field. */ field: string; /** * Sets the data type of the form field. */ type: SmartPasteType; /** * Sets the description of the form field. * Helps the AI understand the purpose and expected content of the field. */ description: string; /** * Sets the allowed values for enum-type fields. * Use this for fields with a fixed set of options like select or radio buttons. */ allowedValues?: string[]; } /** * @hidden */ export interface SmartPasteFormFieldInternal extends SmartPasteFormField { /** * The DOM element associated with the form field. */ element: Element | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; } /** * Defines the data type for a Smart Paste form field. */ export type SmartPasteType = 'string' | 'boolean' | 'number' | 'fixed-choices' | 'kendo-input';