Skip to content

The open alternative to Salesforce, designed for AI.

509 B
Raw Blame
import { MAX_REQUEST_BODY_SIZE } from 'src/engine/constants/max-request-body-size.constant';

import { type Settings } from './interfaces/settings.interface';

export const settings: Settings = {
  storage: {
    maxMultipartFileSize: '5MB',
    // Direct uploads stream to storage without transiting server memory
    maxDirectUploadFileSize: '1GB',
    maxCorePictureFileSize: '10MB',
  },
  maxRequestBodySize: MAX_REQUEST_BODY_SIZE,
  minLengthOfStringForDuplicateCheck: 3,
  maxVisibleViewFields: 30,
};