/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { FieldPropertiesDto } from './FieldPropertiesDto'; import type { StringFieldEditor } from './StringFieldEditor'; import type { StringContentType } from './StringContentType'; /** * * @export * @interface StringFieldPropertiesDto */ export interface StringFieldPropertiesDto extends FieldPropertiesDto { /** * * @type {{ [key: string]: string; }} * @memberof StringFieldPropertiesDto */ defaultValues?: { [key: string]: string; }; /** * The default value for the field value. * @type {string} * @memberof StringFieldPropertiesDto */ defaultValue?: string | null; /** * The pattern to enforce a specific format for the field value. * @type {string} * @memberof StringFieldPropertiesDto */ pattern?: string | null; /** * The validation message for the pattern. * @type {string} * @memberof StringFieldPropertiesDto */ patternMessage?: string | null; /** * The initial id to the folder when the control supports file uploads. * @type {string} * @memberof StringFieldPropertiesDto */ folderId?: string | null; /** * The minimum allowed length for the field value. * @type {number} * @memberof StringFieldPropertiesDto */ minLength?: number | null; /** * The maximum allowed length for the field value. * @type {number} * @memberof StringFieldPropertiesDto */ maxLength?: number | null; /** * The minimum allowed of normal characters for the field value. * @type {number} * @memberof StringFieldPropertiesDto */ minCharacters?: number | null; /** * The maximum allowed of normal characters for the field value. * @type {number} * @memberof StringFieldPropertiesDto */ maxCharacters?: number | null; /** * The minimum allowed number of words for the field value. * @type {number} * @memberof StringFieldPropertiesDto */ minWords?: number | null; /** * The maximum allowed number of words for the field value. * @type {number} * @memberof StringFieldPropertiesDto */ maxWords?: number | null; /** * The class names for the editor. * @type {Array} * @memberof StringFieldPropertiesDto */ classNames?: Array | null; /** * The allowed values for the field value. * @type {Array} * @memberof StringFieldPropertiesDto */ allowedValues?: Array | null; /** * The allowed schema ids that can be embedded. * @type {Array} * @memberof StringFieldPropertiesDto */ schemaIds?: Array | null; /** * Indicates if the field value must be unique. Ignored for nested fields and localized fields. * @type {boolean} * @memberof StringFieldPropertiesDto */ isUnique?: boolean; /** * Indicates that other content items or references are embedded. * @type {boolean} * @memberof StringFieldPropertiesDto */ isEmbeddable?: boolean; /** * Indicates that the inline editor is enabled for this field. * @type {boolean} * @memberof StringFieldPropertiesDto */ inlineEditable?: boolean; /** * Indicates whether GraphQL Enum should be created. * @type {boolean} * @memberof StringFieldPropertiesDto */ createEnum?: boolean; /** * * @type {StringContentType} * @memberof StringFieldPropertiesDto */ contentType?: StringContentType; /** * * @type {StringFieldEditor} * @memberof StringFieldPropertiesDto */ editor?: StringFieldEditor; } /** * Check if a given object implements the StringFieldPropertiesDto interface. */ export declare function instanceOfStringFieldPropertiesDto(value: any): value is StringFieldPropertiesDto; export declare function StringFieldPropertiesDtoFromJSON(json: any): StringFieldPropertiesDto; export declare function StringFieldPropertiesDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): StringFieldPropertiesDto; export declare function StringFieldPropertiesDtoToJSON(value?: StringFieldPropertiesDto | null, _ignoreDiscriminator?: boolean): any;