Member Junction
    Preparing search index...

    Interface MJEntityEntity_IEntityAttachmentsConfiguration

    Configuration for entity-level file attachments.

    interface MJEntityEntity_IEntityAttachmentsConfiguration {
        AllowedContentTypes?: string[];
        DefaultCategoryID?: string;
        DefaultStorageAccountID?: string;
        Enabled?: boolean;
        MaxFileSizeBytes?: number;
    }
    Index

    Properties

    AllowedContentTypes?: string[]

    Allowed MIME types or file extensions (e.g. ['image/*', 'application/pdf', '.docx']). When omitted, all file types supported by the storage provider are allowed.

    DefaultCategoryID?: string

    Optional default File Category ID for attachments on this entity.

    DefaultStorageAccountID?: string

    Optional default Storage Account ID to route uploads for this entity.

    Enabled?: boolean

    Whether file attachments/linking are enabled for this entity. Default: true when storage providers are active. Set to false to explicitly disallow attachments.

    MaxFileSizeBytes?: number

    Maximum allowed size per attachment in bytes (e.g. 52428800 for 50MB). When omitted, uses global storage provider default.