/** * 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 { AssetType } from './AssetType'; import type { AssetPreviewMode } from './AssetPreviewMode'; /** * * @export * @interface AssetsFieldPropertiesDto */ export interface AssetsFieldPropertiesDto extends FieldPropertiesDto { /** * * @type {AssetPreviewMode} * @memberof AssetsFieldPropertiesDto */ previewMode?: AssetPreviewMode; /** * * @type {{ [key: string]: Array; }} * @memberof AssetsFieldPropertiesDto */ defaultValues?: { [key: string]: Array; }; /** * The default value as a list of asset ids. * @type {Array} * @memberof AssetsFieldPropertiesDto */ defaultValue?: Array | null; /** * The initial id to the folder. * @type {string} * @memberof AssetsFieldPropertiesDto */ folderId?: string | null; /** * The preview format. * @type {string} * @memberof AssetsFieldPropertiesDto */ previewFormat?: string | null; /** * The minimum allowed items for the field value. * @type {number} * @memberof AssetsFieldPropertiesDto */ minItems?: number | null; /** * The maximum allowed items for the field value. * @type {number} * @memberof AssetsFieldPropertiesDto */ maxItems?: number | null; /** * The minimum file size in bytes. * @type {number} * @memberof AssetsFieldPropertiesDto */ minSize?: number | null; /** * The maximum file size in bytes. * @type {number} * @memberof AssetsFieldPropertiesDto */ maxSize?: number | null; /** * The minimum image width in pixels. * @type {number} * @memberof AssetsFieldPropertiesDto */ minWidth?: number | null; /** * The maximum image width in pixels. * @type {number} * @memberof AssetsFieldPropertiesDto */ maxWidth?: number | null; /** * The minimum image height in pixels. * @type {number} * @memberof AssetsFieldPropertiesDto */ minHeight?: number | null; /** * The maximum image height in pixels. * @type {number} * @memberof AssetsFieldPropertiesDto */ maxHeight?: number | null; /** * The image aspect width in pixels. * @type {number} * @memberof AssetsFieldPropertiesDto */ aspectWidth?: number | null; /** * The image aspect height in pixels. * @type {number} * @memberof AssetsFieldPropertiesDto */ aspectHeight?: number | null; /** * * @type {AssetType} * @memberof AssetsFieldPropertiesDto */ expectedType?: AssetType; /** * True to resolve first asset in the content list. * @type {boolean} * @memberof AssetsFieldPropertiesDto */ resolveFirst?: boolean; /** * True to resolve first image in the content list. * @type {boolean} * @memberof AssetsFieldPropertiesDto * @deprecated */ mustBeImage?: boolean; /** * True to resolve first image in the content list. * @type {boolean} * @memberof AssetsFieldPropertiesDto * @deprecated */ resolveImage?: boolean; /** * The allowed file extensions. * @type {Array} * @memberof AssetsFieldPropertiesDto */ allowedExtensions?: Array | null; /** * True, if duplicate values are allowed. * @type {boolean} * @memberof AssetsFieldPropertiesDto */ allowDuplicates?: boolean; } /** * Check if a given object implements the AssetsFieldPropertiesDto interface. */ export declare function instanceOfAssetsFieldPropertiesDto(value: any): value is AssetsFieldPropertiesDto; export declare function AssetsFieldPropertiesDtoFromJSON(json: any): AssetsFieldPropertiesDto; export declare function AssetsFieldPropertiesDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): AssetsFieldPropertiesDto; export declare function AssetsFieldPropertiesDtoToJSON(value?: AssetsFieldPropertiesDto | null, _ignoreDiscriminator?: boolean): any;