@breautek/storm 9.7.3 → 9.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/docs/assets/hierarchy.js +1 -1
  3. package/docs/assets/highlight.css +5 -5
  4. package/docs/assets/main.js +1 -1
  5. package/docs/assets/style.css +18 -3
  6. package/docs/classes/Application.html +927 -254
  7. package/docs/classes/Command.html +1470 -147
  8. package/docs/classes/ConfigLoader.html +110 -4
  9. package/docs/classes/Database.html +220 -3
  10. package/docs/classes/DatabaseCastObject.html +104 -3
  11. package/docs/classes/DatabaseConnection.html +484 -50
  12. package/docs/classes/DatabaseQueryError.html +264 -13
  13. package/docs/classes/DeadLockError.html +265 -14
  14. package/docs/classes/DiskSpaceError.html +245 -11
  15. package/docs/classes/DropTemporaryTableQuery.html +199 -12
  16. package/docs/classes/DuplicateEntryError.html +247 -11
  17. package/docs/classes/EntityNotFoundError.html +245 -11
  18. package/docs/classes/ExpiredTokenError.html +245 -11
  19. package/docs/classes/ForbiddenError.html +241 -11
  20. package/docs/classes/GetMySQLVersion.html +203 -12
  21. package/docs/classes/Handler.html +283 -3
  22. package/docs/classes/IllegalStateError.html +250 -12
  23. package/docs/classes/InternalError.html +245 -11
  24. package/docs/classes/InvalidCredentialsError.html +245 -11
  25. package/docs/classes/InvalidValueError.html +247 -11
  26. package/docs/classes/LineString.html +112 -3
  27. package/docs/classes/LockWaitTimeoutError.html +265 -14
  28. package/docs/classes/ManagedDatabaseConnection.html +349 -6
  29. package/docs/classes/MetricStore.html +119 -2
  30. package/docs/classes/Middleware.html +122 -3
  31. package/docs/classes/MissingConfigError.html +245 -11
  32. package/docs/classes/MissingParameterError.html +245 -11
  33. package/docs/classes/MySQLConnection.html +509 -54
  34. package/docs/classes/MySQLDatabase.html +235 -3
  35. package/docs/classes/NotImplementedError.html +245 -11
  36. package/docs/classes/Point.html +113 -3
  37. package/docs/classes/Polygon.html +112 -3
  38. package/docs/classes/Query.html +220 -12
  39. package/docs/classes/RawError.html +249 -12
  40. package/docs/classes/RawQuery.html +212 -12
  41. package/docs/classes/Request.html +345 -8
  42. package/docs/classes/Response.html +204 -3
  43. package/docs/classes/ResponseData.html +162 -5
  44. package/docs/classes/ServiceProvider.html +243 -3
  45. package/docs/classes/ServiceResponse.html +108 -3
  46. package/docs/classes/SetSessionVariableQuery.html +199 -12
  47. package/docs/classes/StormError.html +261 -11
  48. package/docs/classes/TemporaryTableQuery.html +203 -12
  49. package/docs/classes/TimeoutError.html +246 -12
  50. package/docs/classes/Token.html +80 -3
  51. package/docs/classes/TokenManager.html +137 -5
  52. package/docs/classes/Transaction.html +163 -4
  53. package/docs/classes/UnauthorizedAccessError.html +245 -11
  54. package/docs/enums/ErrorCode.html +94 -2
  55. package/docs/enums/ExitCode.html +59 -2
  56. package/docs/enums/HTTPMethod.html +69 -2
  57. package/docs/enums/IsolationLevel.html +69 -2
  58. package/docs/enums/JWTError.html +59 -2
  59. package/docs/enums/StatusCode.html +289 -2
  60. package/docs/enums/TransactionAccessLevel.html +64 -3
  61. package/docs/functions/getInstance.html +42 -2
  62. package/docs/hierarchy.html +83 -1
  63. package/docs/index.html +59 -1
  64. package/docs/interfaces/IAdditionalErrorDetails.html +37 -1
  65. package/docs/interfaces/IAuthTokenData.html +65 -2
  66. package/docs/interfaces/ICloudwatchConfig.html +65 -2
  67. package/docs/interfaces/ICloudwatchCredentials.html +60 -2
  68. package/docs/interfaces/ICloudwatchStreamConfig.html +60 -2
  69. package/docs/interfaces/IConfig.html +114 -3
  70. package/docs/interfaces/IDatabaseConfig.html +84 -2
  71. package/docs/interfaces/IDatabaseConnection.html +270 -5
  72. package/docs/interfaces/IDatabasePosition.html +65 -3
  73. package/docs/interfaces/IErrorResponse.html +75 -2
  74. package/docs/interfaces/IFormData.html +60 -2
  75. package/docs/interfaces/IGetMySQLVersionResult.html +70 -2
  76. package/docs/interfaces/IGetMySQLVersionRow.html +55 -2
  77. package/docs/interfaces/IHistogramConfig.html +79 -2
  78. package/docs/interfaces/IInsertQueryResult.html +65 -2
  79. package/docs/interfaces/IJWTVerifyOptions.html +55 -2
  80. package/docs/interfaces/IMetricConfig.html +71 -2
  81. package/docs/interfaces/IMetricCounter.html +74 -2
  82. package/docs/interfaces/IMetricGauge.html +122 -2
  83. package/docs/interfaces/IMetricHistogram.html +87 -2
  84. package/docs/interfaces/IOKPacket.html +95 -3
  85. package/docs/interfaces/IParameterMap.html +37 -1
  86. package/docs/interfaces/IQueryable.html +134 -2
  87. package/docs/interfaces/IRequestResponse.html +65 -2
  88. package/docs/interfaces/ISetSessionVariableQueryInput.html +60 -2
  89. package/docs/interfaces/IStormCLIArgs.html +85 -2
  90. package/docs/interfaces/ITemporaryTableQueryInput.html +60 -2
  91. package/docs/interfaces/IUpdateQueryResult.html +60 -2
  92. package/docs/interfaces/formidable.EmitData.html +71 -2
  93. package/docs/interfaces/formidable.EventData.html +86 -2
  94. package/docs/interfaces/formidable.File.html +138 -12
  95. package/docs/interfaces/formidable.FileJSON.html +120 -9
  96. package/docs/interfaces/formidable.Options.html +226 -32
  97. package/docs/interfaces/formidable.Part.html +534 -64
  98. package/docs/modules/formidable.html +41 -1
  99. package/docs/types/IDeleteQueryResult.html +33 -1
  100. package/docs/types/IStoredProcedureResult.html +44 -3
  101. package/docs/types/TCoordinate.html +33 -1
  102. package/docs/types/TExpiresIn.html +33 -1
  103. package/docs/types/TSerializableResponse.html +41 -4
  104. package/docs/types/TSupportedResponsePrimitives.html +33 -1
  105. package/docs/types/TSupportedResponseTypes.html +33 -1
  106. package/docs/types/formidable.BufferEncoding.html +34 -1
  107. package/docs/types/formidable.DefaultOptions.html +34 -1
  108. package/docs/types/formidable.EnabledPlugins.html +34 -1
  109. package/docs/types/formidable.EventNames.html +64 -8
  110. package/docs/types/formidable.Fields.html +38 -1
  111. package/docs/types/formidable.Files.html +38 -1
  112. package/docs/types/formidable.FormidableError.html +34 -1
  113. package/docs/types/formidable.MappedParsers.html +34 -1
  114. package/docs/types/formidable.Plugin.html +34 -1
  115. package/docs/types/formidable.PluginFunction.html +47 -1
  116. package/docs/types/formidable.Plugins.html +34 -1
  117. package/docs/variables/formidable.html +81 -1
  118. package/lib/Application.js +1 -0
  119. package/lib/Application.js.map +1 -1
  120. package/lib/MySQLConnection.js +2 -2
  121. package/package.json +11 -11
  122. package/pnpm-workspace.yaml +3 -1
  123. package/src/Application.ts +1 -0
  124. package/src/MySQLConnection.ts +2 -2
@@ -1,4 +1,27 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Options | @breautek/storm</title><meta name="description" content="Documentation for @breautek/storm"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@breautek/storm</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/formidable.html">formidable</a></li><li><a href="" aria-current="page">Options</a></li></ul><h1>Interface Options</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Options</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#allowemptyfiles">allowEmptyFiles</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#createdirsfromuploads">createDirsFromUploads</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enabledplugins">enabledPlugins</a><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.PluginFunction.html" class="tsd-signature-type tsd-kind-type-alias">PluginFunction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#encoding">encoding</a><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.BufferEncoding.html" class="tsd-signature-type tsd-kind-type-alias">BufferEncoding</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#filename">filename</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">ext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">form</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IncomingForm</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#filewritestreamhandler">fileWriteStreamHandler</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">file</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">VolatileFile</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Writable</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#filter">filter</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#hashalgorithm">hashAlgorithm</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#keepextensions">keepExtensions</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfields">maxFields</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfieldssize">maxFieldsSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfiles">maxFiles</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfilesize">maxFileSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxtotalfilesize">maxTotalFileSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#minfilesize">minFileSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#multiples">multiples</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#uploaddir">uploadDir</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:80</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#allowemptyfiles" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Empty<wbr/>Files?</span></a>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Options | @breautek/storm</title><meta name="description" content="Documentation for @breautek/storm"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@breautek/storm</a>
3
+ <div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
4
+ <ul role="listbox" id="tsd-search-results"></ul>
5
+ <div id="tsd-search-status" aria-live="polite" aria-atomic="true">
6
+ <div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
7
+ <div class="container container-main">
8
+ <div class="col-content">
9
+ <div class="tsd-page-title">
10
+ <ul class="tsd-breadcrumb" aria-label="Breadcrumb">
11
+ <li><a href="../modules/formidable.html">formidable</a></li>
12
+ <li><a href="" aria-current="page">Options</a></li></ul>
13
+ <h1>Interface Options</h1></div>
14
+ <div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Options</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#allowemptyfiles">allowEmptyFiles</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#createdirsfromuploads">createDirsFromUploads</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enabledplugins">enabledPlugins</a><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.PluginFunction.html" class="tsd-signature-type tsd-kind-type-alias">PluginFunction</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#encoding">encoding</a><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.BufferEncoding.html" class="tsd-signature-type tsd-kind-type-alias">BufferEncoding</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#filename">filename</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">ext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">form</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IncomingForm</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#filewritestreamhandler">fileWriteStreamHandler</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">file</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">VolatileFile</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Writable</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#filter">filter</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#hashalgorithm">hashAlgorithm</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#keepextensions">keepExtensions</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfields">maxFields</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfieldssize">maxFieldsSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfiles">maxFiles</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxfilesize">maxFileSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#maxtotalfilesize">maxTotalFileSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#minfilesize">minFileSize</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#multiples">multiples</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#uploaddir">uploadDir</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
15
+ <ul>
16
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:80</li></ul></aside>
17
+ <section class="tsd-panel-group tsd-index-group">
18
+ <section class="tsd-panel tsd-index-panel">
19
+ <details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
20
+ <h5 class="tsd-index-heading uppercase">Index</h5></summary>
21
+ <div class="tsd-accordion-details">
22
+ <section class="tsd-index-section">
23
+ <h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
24
+ <div class="tsd-index-list"><a href="#allowemptyfiles" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Empty<wbr/>Files?</span></a>
2
25
  <a href="#createdirsfromuploads" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>create<wbr/>Dirs<wbr/>From<wbr/>Uploads?</span></a>
3
26
  <a href="#enabledplugins" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled<wbr/>Plugins?</span></a>
4
27
  <a href="#encoding" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>encoding?</span></a>
@@ -15,74 +38,245 @@
15
38
  <a href="#minfilesize" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min<wbr/>File<wbr/>Size?</span></a>
16
39
  <a href="#multiples" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>multiples?</span></a>
17
40
  <a href="#uploaddir" class="tsd-index-link tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>upload<wbr/>Dir?</span></a>
18
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="allowemptyfiles"><code class="tsd-tag">Optional</code><span>allow<wbr/>Empty<wbr/>Files</span><a href="#allowemptyfiles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">allowEmptyFiles</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>allow upload empty files</p>
19
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default">Default<a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">true</span>
41
+ </div></section></div></details></section></section>
42
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
43
+ <h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
44
+ <section>
45
+ <section class="tsd-panel tsd-member tsd-is-external">
46
+ <h3 class="tsd-anchor-link" id="allowemptyfiles"><code class="tsd-tag">Optional</code><span>allow<wbr/>Empty<wbr/>Files</span><a href="#allowemptyfiles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
47
+ <div class="tsd-signature"><span class="tsd-kind-property">allowEmptyFiles</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
48
+ <div class="tsd-comment tsd-typography"><p>allow upload empty files</p>
49
+ </div>
50
+ <div class="tsd-comment tsd-typography">
51
+ <div class="tsd-tag-default">
52
+ <h4 class="tsd-anchor-link" id="default">Default<a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">true</span>
20
53
  </code><button type="button">Copy</button></pre>
21
54
 
22
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:107</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="createdirsfromuploads"><code class="tsd-tag">Optional</code><span>create<wbr/>Dirs<wbr/>From<wbr/>Uploads</span><a href="#createdirsfromuploads" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">createDirsFromUploads</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>If true, makes direct folder uploads possible.</p>
23
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-1">Default<a href="#default-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
55
+ </div></div><aside class="tsd-sources">
56
+ <ul>
57
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:107</li></ul></aside></section>
58
+ <section class="tsd-panel tsd-member tsd-is-external">
59
+ <h3 class="tsd-anchor-link" id="createdirsfromuploads"><code class="tsd-tag">Optional</code><span>create<wbr/>Dirs<wbr/>From<wbr/>Uploads</span><a href="#createdirsfromuploads" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
60
+ <div class="tsd-signature"><span class="tsd-kind-property">createDirsFromUploads</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
61
+ <div class="tsd-comment tsd-typography"><p>If true, makes direct folder uploads possible.</p>
62
+ </div>
63
+ <div class="tsd-comment tsd-typography">
64
+ <div class="tsd-tag-default">
65
+ <h4 class="tsd-anchor-link" id="default-1">Default<a href="#default-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
24
66
  </code><button type="button">Copy</button></pre>
25
67
 
26
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:186</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="enabledplugins"><code class="tsd-tag">Optional</code><span>enabled<wbr/>Plugins</span><a href="#enabledplugins" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enabledPlugins</span><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.PluginFunction.html" class="tsd-signature-type tsd-kind-type-alias">PluginFunction</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:196</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="encoding"><code class="tsd-tag">Optional</code><span>encoding</span><a href="#encoding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">encoding</span><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.BufferEncoding.html" class="tsd-signature-type tsd-kind-type-alias">BufferEncoding</a></div><div class="tsd-comment tsd-typography"><p>sets encoding for incoming form fields</p>
27
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-2">Default<a href="#default-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-1">&#39;utf-8&#39;</span>
68
+ </div></div><aside class="tsd-sources">
69
+ <ul>
70
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:186</li></ul></aside></section>
71
+ <section class="tsd-panel tsd-member tsd-is-external">
72
+ <h3 class="tsd-anchor-link" id="enabledplugins"><code class="tsd-tag">Optional</code><span>enabled<wbr/>Plugins</span><a href="#enabledplugins" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
73
+ <div class="tsd-signature"><span class="tsd-kind-property">enabledPlugins</span><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.PluginFunction.html" class="tsd-signature-type tsd-kind-type-alias">PluginFunction</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
74
+ <ul>
75
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:196</li></ul></aside></section>
76
+ <section class="tsd-panel tsd-member tsd-is-external">
77
+ <h3 class="tsd-anchor-link" id="encoding"><code class="tsd-tag">Optional</code><span>encoding</span><a href="#encoding" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
78
+ <div class="tsd-signature"><span class="tsd-kind-property">encoding</span><span class="tsd-signature-symbol">?:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="../types/formidable.BufferEncoding.html" class="tsd-signature-type tsd-kind-type-alias">BufferEncoding</a></div>
79
+ <div class="tsd-comment tsd-typography"><p>sets encoding for incoming form fields</p>
80
+ </div>
81
+ <div class="tsd-comment tsd-typography">
82
+ <div class="tsd-tag-default">
83
+ <h4 class="tsd-anchor-link" id="default-2">Default<a href="#default-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-1">&#39;utf-8&#39;</span>
28
84
  </code><button type="button">Copy</button></pre>
29
85
 
30
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:86</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="filename"><code class="tsd-tag">Optional</code><span>filename</span><a href="#filename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">filename</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">ext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">form</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IncomingForm</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Use it to control newFilename. Must return a string. Will be joined with
86
+ </div></div><aside class="tsd-sources">
87
+ <ul>
88
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:86</li></ul></aside></section>
89
+ <section class="tsd-panel tsd-member tsd-is-external">
90
+ <h3 class="tsd-anchor-link" id="filename"><code class="tsd-tag">Optional</code><span>filename</span><a href="#filename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
91
+ <div class="tsd-signature"><span class="tsd-kind-property">filename</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">ext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">form</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IncomingForm</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span></div>
92
+ <div class="tsd-comment tsd-typography"><p>Use it to control newFilename. Must return a string. Will be joined with
31
93
  options.uploadDir.</p>
32
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-3">Default<a href="#default-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">undefined</span>
94
+ </div>
95
+ <div class="tsd-comment tsd-typography">
96
+ <div class="tsd-tag-default">
97
+ <h4 class="tsd-anchor-link" id="default-3">Default<a href="#default-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">undefined</span>
33
98
  </code><button type="button">Copy</button></pre>
34
99
 
35
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:194</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="filewritestreamhandler"><code class="tsd-tag">Optional</code><span>file<wbr/>Write<wbr/>Stream<wbr/>Handler</span><a href="#filewritestreamhandler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fileWriteStreamHandler</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">file</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">VolatileFile</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Writable</span></div><div class="tsd-comment tsd-typography"><p>which by default writes to host machine file system every file parsed; The function should
100
+ </div></div><aside class="tsd-sources">
101
+ <ul>
102
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:194</li></ul></aside></section>
103
+ <section class="tsd-panel tsd-member tsd-is-external">
104
+ <h3 class="tsd-anchor-link" id="filewritestreamhandler"><code class="tsd-tag">Optional</code><span>file<wbr/>Write<wbr/>Stream<wbr/>Handler</span><a href="#filewritestreamhandler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
105
+ <div class="tsd-signature"><span class="tsd-kind-property">fileWriteStreamHandler</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">file</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">VolatileFile</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Writable</span></div>
106
+ <div class="tsd-comment tsd-typography"><p>which by default writes to host machine file system every file parsed; The function should
36
107
  return an instance of a Writable stream that will receive the uploaded file data. With this
37
108
  option, you can have any custom behavior regarding where the uploaded file data will be
38
109
  streamed for. If you are looking to write the file uploaded in other types of cloud storages
39
110
  (AWS S3, Azure blob storage, Google cloud storage) or private file storage, this is the option
40
111
  you're looking for. When this option is defined the default behavior of writing the file in the
41
112
  host machine file system is lost.</p>
42
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-4">Default<a href="#default-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">null</span>
113
+ </div>
114
+ <div class="tsd-comment tsd-typography">
115
+ <div class="tsd-tag-default">
116
+ <h4 class="tsd-anchor-link" id="default-4">Default<a href="#default-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">null</span>
43
117
  </code><button type="button">Copy</button></pre>
44
118
 
45
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:170</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="filter"><code class="tsd-tag">Optional</code><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">filter</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:198</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="hashalgorithm"><code class="tsd-tag">Optional</code><span>hash<wbr/>Algorithm</span><a href="#hashalgorithm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hashAlgorithm</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">false</span></div><div class="tsd-comment tsd-typography"><p>include checksums calculated for incoming files, set this to some hash algorithm, see
119
+ </div></div><aside class="tsd-sources">
120
+ <ul>
121
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:170</li></ul></aside></section>
122
+ <section class="tsd-panel tsd-member tsd-is-external">
123
+ <h3 class="tsd-anchor-link" id="filter"><code class="tsd-tag">Optional</code><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
124
+ <div class="tsd-signature"><span class="tsd-kind-property">filter</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">part</span><span class="tsd-signature-symbol">:</span> <a href="../modules/formidable.html" class="tsd-signature-type tsd-kind-namespace">formidable</a><span class="tsd-signature-symbol">.</span><a href="formidable.Part.html" class="tsd-signature-type tsd-kind-interface">Part</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
125
+ <ul>
126
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:198</li></ul></aside></section>
127
+ <section class="tsd-panel tsd-member tsd-is-external">
128
+ <h3 class="tsd-anchor-link" id="hashalgorithm"><code class="tsd-tag">Optional</code><span>hash<wbr/>Algorithm</span><a href="#hashalgorithm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
129
+ <div class="tsd-signature"><span class="tsd-kind-property">hashAlgorithm</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">false</span></div>
130
+ <div class="tsd-comment tsd-typography"><p>include checksums calculated for incoming files, set this to some hash algorithm, see
46
131
  crypto.createHash for available algorithms</p>
47
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-5">Default<a href="#default-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
132
+ </div>
133
+ <div class="tsd-comment tsd-typography">
134
+ <div class="tsd-tag-default">
135
+ <h4 class="tsd-anchor-link" id="default-5">Default<a href="#default-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
48
136
  </code><button type="button">Copy</button></pre>
49
137
 
50
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:157</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="keepextensions"><code class="tsd-tag">Optional</code><span>keep<wbr/>Extensions</span><a href="#keepextensions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">keepExtensions</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>to include the extensions of the original files or not</p>
51
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-6">Default<a href="#default-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
138
+ </div></div><aside class="tsd-sources">
139
+ <ul>
140
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:157</li></ul></aside></section>
141
+ <section class="tsd-panel tsd-member tsd-is-external">
142
+ <h3 class="tsd-anchor-link" id="keepextensions"><code class="tsd-tag">Optional</code><span>keep<wbr/>Extensions</span><a href="#keepextensions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
143
+ <div class="tsd-signature"><span class="tsd-kind-property">keepExtensions</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
144
+ <div class="tsd-comment tsd-typography"><p>to include the extensions of the original files or not</p>
145
+ </div>
146
+ <div class="tsd-comment tsd-typography">
147
+ <div class="tsd-tag-default">
148
+ <h4 class="tsd-anchor-link" id="default-6">Default<a href="#default-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
52
149
  </code><button type="button">Copy</button></pre>
53
150
 
54
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:100</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="maxfields"><code class="tsd-tag">Optional</code><span>max<wbr/>Fields</span><a href="#maxfields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxFields</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>limit the number of fields, set 0 for unlimited</p>
55
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-7">Default<a href="#default-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">1000</span>
151
+ </div></div><aside class="tsd-sources">
152
+ <ul>
153
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:100</li></ul></aside></section>
154
+ <section class="tsd-panel tsd-member tsd-is-external">
155
+ <h3 class="tsd-anchor-link" id="maxfields"><code class="tsd-tag">Optional</code><span>max<wbr/>Fields</span><a href="#maxfields" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
156
+ <div class="tsd-signature"><span class="tsd-kind-property">maxFields</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
157
+ <div class="tsd-comment tsd-typography"><p>limit the number of fields, set 0 for unlimited</p>
158
+ </div>
159
+ <div class="tsd-comment tsd-typography">
160
+ <div class="tsd-tag-default">
161
+ <h4 class="tsd-anchor-link" id="default-7">Default<a href="#default-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">1000</span>
56
162
  </code><button type="button">Copy</button></pre>
57
163
 
58
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:142</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="maxfieldssize"><code class="tsd-tag">Optional</code><span>max<wbr/>Fields<wbr/>Size</span><a href="#maxfieldssize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxFieldsSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>limit the amount of memory all fields together (except files) can allocate in bytes</p>
59
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-8">Default<a href="#default-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">20</span><span class="hl-3"> * </span><span class="hl-2">1024</span><span class="hl-3"> * </span><span class="hl-2">1024</span>
164
+ </div></div><aside class="tsd-sources">
165
+ <ul>
166
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:142</li></ul></aside></section>
167
+ <section class="tsd-panel tsd-member tsd-is-external">
168
+ <h3 class="tsd-anchor-link" id="maxfieldssize"><code class="tsd-tag">Optional</code><span>max<wbr/>Fields<wbr/>Size</span><a href="#maxfieldssize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
169
+ <div class="tsd-signature"><span class="tsd-kind-property">maxFieldsSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
170
+ <div class="tsd-comment tsd-typography"><p>limit the amount of memory all fields together (except files) can allocate in bytes</p>
171
+ </div>
172
+ <div class="tsd-comment tsd-typography">
173
+ <div class="tsd-tag-default">
174
+ <h4 class="tsd-anchor-link" id="default-8">Default<a href="#default-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">20</span><span class="hl-3"> * </span><span class="hl-2">1024</span><span class="hl-3"> * </span><span class="hl-2">1024</span>
60
175
  </code><button type="button">Copy</button></pre>
61
176
 
62
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:149</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="maxfiles"><code class="tsd-tag">Optional</code><span>max<wbr/>Files</span><a href="#maxfiles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxFiles</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>limit the amount of uploaded files, set Infinity for unlimited</p>
63
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-9">Default<a href="#default-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">Infinity</span>
177
+ </div></div><aside class="tsd-sources">
178
+ <ul>
179
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:149</li></ul></aside></section>
180
+ <section class="tsd-panel tsd-member tsd-is-external">
181
+ <h3 class="tsd-anchor-link" id="maxfiles"><code class="tsd-tag">Optional</code><span>max<wbr/>Files</span><a href="#maxfiles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
182
+ <div class="tsd-signature"><span class="tsd-kind-property">maxFiles</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
183
+ <div class="tsd-comment tsd-typography"><p>limit the amount of uploaded files, set Infinity for unlimited</p>
184
+ </div>
185
+ <div class="tsd-comment tsd-typography">
186
+ <div class="tsd-tag-default">
187
+ <h4 class="tsd-anchor-link" id="default-9">Default<a href="#default-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">Infinity</span>
64
188
  </code><button type="button">Copy</button></pre>
65
189
 
66
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:121</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="maxfilesize"><code class="tsd-tag">Optional</code><span>max<wbr/>File<wbr/>Size</span><a href="#maxfilesize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxFileSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>limit the size of uploaded file</p>
67
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-10">Default<a href="#default-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">200</span><span class="hl-3"> * </span><span class="hl-2">1024</span><span class="hl-3"> * </span><span class="hl-2">1024</span>
190
+ </div></div><aside class="tsd-sources">
191
+ <ul>
192
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:121</li></ul></aside></section>
193
+ <section class="tsd-panel tsd-member tsd-is-external">
194
+ <h3 class="tsd-anchor-link" id="maxfilesize"><code class="tsd-tag">Optional</code><span>max<wbr/>File<wbr/>Size</span><a href="#maxfilesize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
195
+ <div class="tsd-signature"><span class="tsd-kind-property">maxFileSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
196
+ <div class="tsd-comment tsd-typography"><p>limit the size of uploaded file</p>
197
+ </div>
198
+ <div class="tsd-comment tsd-typography">
199
+ <div class="tsd-tag-default">
200
+ <h4 class="tsd-anchor-link" id="default-10">Default<a href="#default-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">200</span><span class="hl-3"> * </span><span class="hl-2">1024</span><span class="hl-3"> * </span><span class="hl-2">1024</span>
68
201
  </code><button type="button">Copy</button></pre>
69
202
 
70
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:128</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="maxtotalfilesize"><code class="tsd-tag">Optional</code><span>max<wbr/>Total<wbr/>File<wbr/>Size</span><a href="#maxtotalfilesize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxTotalFileSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>limit the size of the batch of uploaded files</p>
71
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-11">Default<a href="#default-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-4">options</span><span class="hl-3">.</span><span class="hl-4">maxFileSize</span>
203
+ </div></div><aside class="tsd-sources">
204
+ <ul>
205
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:128</li></ul></aside></section>
206
+ <section class="tsd-panel tsd-member tsd-is-external">
207
+ <h3 class="tsd-anchor-link" id="maxtotalfilesize"><code class="tsd-tag">Optional</code><span>max<wbr/>Total<wbr/>File<wbr/>Size</span><a href="#maxtotalfilesize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
208
+ <div class="tsd-signature"><span class="tsd-kind-property">maxTotalFileSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
209
+ <div class="tsd-comment tsd-typography"><p>limit the size of the batch of uploaded files</p>
210
+ </div>
211
+ <div class="tsd-comment tsd-typography">
212
+ <div class="tsd-tag-default">
213
+ <h4 class="tsd-anchor-link" id="default-11">Default<a href="#default-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-4">options</span><span class="hl-3">.</span><span class="hl-4">maxFileSize</span>
72
214
  </code><button type="button">Copy</button></pre>
73
215
 
74
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:135</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="minfilesize"><code class="tsd-tag">Optional</code><span>min<wbr/>File<wbr/>Size</span><a href="#minfilesize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">minFileSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>the minium size of uploaded file</p>
75
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-12">Default<a href="#default-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">1</span>
216
+ </div></div><aside class="tsd-sources">
217
+ <ul>
218
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:135</li></ul></aside></section>
219
+ <section class="tsd-panel tsd-member tsd-is-external">
220
+ <h3 class="tsd-anchor-link" id="minfilesize"><code class="tsd-tag">Optional</code><span>min<wbr/>File<wbr/>Size</span><a href="#minfilesize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
221
+ <div class="tsd-signature"><span class="tsd-kind-property">minFileSize</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
222
+ <div class="tsd-comment tsd-typography"><p>the minium size of uploaded file</p>
223
+ </div>
224
+ <div class="tsd-comment tsd-typography">
225
+ <div class="tsd-tag-default">
226
+ <h4 class="tsd-anchor-link" id="default-12">Default<a href="#default-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-2">1</span>
76
227
  </code><button type="button">Copy</button></pre>
77
228
 
78
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:114</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="multiples"><code class="tsd-tag">Optional</code><span>multiples</span><a href="#multiples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">multiples</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>when you call the .parse method, the files argument (of the callback) will contain arrays of
229
+ </div></div><aside class="tsd-sources">
230
+ <ul>
231
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:114</li></ul></aside></section>
232
+ <section class="tsd-panel tsd-member tsd-is-external">
233
+ <h3 class="tsd-anchor-link" id="multiples"><code class="tsd-tag">Optional</code><span>multiples</span><a href="#multiples" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
234
+ <div class="tsd-signature"><span class="tsd-kind-property">multiples</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
235
+ <div class="tsd-comment tsd-typography"><p>when you call the .parse method, the files argument (of the callback) will contain arrays of
79
236
  files for inputs which submit multiple files using the HTML5 multiple attribute. Also, the
80
237
  fields argument will contain arrays of values for fields that have names ending with '[]'</p>
81
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-13">Default<a href="#default-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
238
+ </div>
239
+ <div class="tsd-comment tsd-typography">
240
+ <div class="tsd-tag-default">
241
+ <h4 class="tsd-anchor-link" id="default-13">Default<a href="#default-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">false</span>
82
242
  </code><button type="button">Copy</button></pre>
83
243
 
84
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:179</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-external"><h3 class="tsd-anchor-link" id="uploaddir"><code class="tsd-tag">Optional</code><span>upload<wbr/>Dir</span><a href="#uploaddir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">uploadDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>the directory for placing file uploads in. You can move them later by using fs.rename()</p>
85
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-default"><h4 class="tsd-anchor-link" id="default-14">Default<a href="#default-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-4">os</span><span class="hl-3">.</span><span class="hl-5">tmpdir</span><span class="hl-3">()</span>
244
+ </div></div><aside class="tsd-sources">
245
+ <ul>
246
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:179</li></ul></aside></section>
247
+ <section class="tsd-panel tsd-member tsd-is-external">
248
+ <h3 class="tsd-anchor-link" id="uploaddir"><code class="tsd-tag">Optional</code><span>upload<wbr/>Dir</span><a href="#uploaddir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
249
+ <div class="tsd-signature"><span class="tsd-kind-property">uploadDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
250
+ <div class="tsd-comment tsd-typography"><p>the directory for placing file uploads in. You can move them later by using fs.rename()</p>
251
+ </div>
252
+ <div class="tsd-comment tsd-typography">
253
+ <div class="tsd-tag-default">
254
+ <h4 class="tsd-anchor-link" id="default-14">Default<a href="#default-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-4">os</span><span class="hl-3">.</span><span class="hl-5">tmpdir</span><span class="hl-3">()</span>
86
255
  </code><button type="button">Copy</button></pre>
87
256
 
88
- </div></div><aside class="tsd-sources"><ul><li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:93</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#allowemptyfiles" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Empty<wbr/>Files</span></a><a href="#createdirsfromuploads" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>create<wbr/>Dirs<wbr/>From<wbr/>Uploads</span></a><a href="#enabledplugins" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled<wbr/>Plugins</span></a><a href="#encoding" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>encoding</span></a><a href="#filename" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>filename</span></a><a href="#filewritestreamhandler" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>file<wbr/>Write<wbr/>Stream<wbr/>Handler</span></a><a href="#filter" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>filter</span></a><a href="#hashalgorithm" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash<wbr/>Algorithm</span></a><a href="#keepextensions" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>keep<wbr/>Extensions</span></a><a href="#maxfields" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Fields</span></a><a href="#maxfieldssize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Fields<wbr/>Size</span></a><a href="#maxfiles" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Files</span></a><a href="#maxfilesize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>File<wbr/>Size</span></a><a href="#maxtotalfilesize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Total<wbr/>File<wbr/>Size</span></a><a href="#minfilesize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min<wbr/>File<wbr/>Size</span></a><a href="#multiples" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>multiples</span></a><a href="#uploaddir" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>upload<wbr/>Dir</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">@breautek/storm</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
257
+ </div></div><aside class="tsd-sources">
258
+ <ul>
259
+ <li>Defined in node_modules/.pnpm/@types+formidable@3.5.1/node_modules/@types/formidable/index.d.ts:93</li></ul></aside></section></section></details></div>
260
+ <div class="col-sidebar">
261
+ <div class="page-menu">
262
+ <div class="tsd-navigation settings">
263
+ <details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
264
+ <h3>Settings</h3></summary>
265
+ <div class="tsd-accordion-details">
266
+ <div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
267
+ <ul id="tsd-filter-options">
268
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
269
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
270
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
271
+ <div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
272
+ <details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
273
+ <h3>On This Page</h3></summary>
274
+ <div class="tsd-accordion-details">
275
+ <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
276
+ <div><a href="#allowemptyfiles" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Empty<wbr/>Files</span></a><a href="#createdirsfromuploads" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>create<wbr/>Dirs<wbr/>From<wbr/>Uploads</span></a><a href="#enabledplugins" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled<wbr/>Plugins</span></a><a href="#encoding" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>encoding</span></a><a href="#filename" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>filename</span></a><a href="#filewritestreamhandler" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>file<wbr/>Write<wbr/>Stream<wbr/>Handler</span></a><a href="#filter" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>filter</span></a><a href="#hashalgorithm" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash<wbr/>Algorithm</span></a><a href="#keepextensions" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>keep<wbr/>Extensions</span></a><a href="#maxfields" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Fields</span></a><a href="#maxfieldssize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Fields<wbr/>Size</span></a><a href="#maxfiles" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Files</span></a><a href="#maxfilesize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>File<wbr/>Size</span></a><a href="#maxtotalfilesize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Total<wbr/>File<wbr/>Size</span></a><a href="#minfilesize" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min<wbr/>File<wbr/>Size</span></a><a href="#multiples" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>multiples</span></a><a href="#uploaddir" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>upload<wbr/>Dir</span></a></div></details></div></details></div>
277
+ <div class="site-menu">
278
+ <nav class="tsd-navigation"><a href="../index.html">@breautek/storm</a>
279
+ <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
280
+ <li>Loading...</li></ul></nav></div></div></div><footer>
281
+ <p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
282
+ <div class="overlay"></div></body></html>