FILE_UPLOAD_CONFIG
Variable: FILE_UPLOAD_CONFIG
constFILE_UPLOAD_CONFIG:object
Defined in: src/routes/graphql.ts:169
File upload configuration for GraphQL multipart requests. These limits are enforced by mercurius-upload and are exported for use in tests.
Type Declaration
maxFieldSize
readonlymaxFieldSize:1048576=1048576
Maximum allowed non-file multipart form field size in bytes. This is the size of the actual graphql document excluding file uploads. 1024 * 1024 = 1MB
maxFiles
readonlymaxFiles:20=20
Maximum allowed number of files in a single graphql operation.
maxFileSize
readonlymaxFileSize:10485760=10485760
Maximum allowed file size in bytes. 1024 * 1024 * 10 = 10MB